Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
254 stars 83 forks source link

Port of DTA's advanced AI by Rampastring #1276

Open ZivDero opened 1 month ago

ZivDero commented 1 month ago

A port of DTA's advanced AI made by Rampastring Still needs some adjustment for YR purposes

Has been modified to support custom tech trees, sample config provided below.

Sample config:

[TechTreeTypes]
0=AlliedTechTree
1=SovietTechTree
2=YuriTechTree

[AlliedTechTree]
SideIndex=0
ConstructionYard=GACNST
BuildPower=GAPOWR
BuildRefinery=GAREFN
BuildBarracks=GAPILE
BuildWeapons=GAWEAP
BuildRadar=GAAIRC,AMRADR
BuildHelipad=GAAIRC,AMRADR
BuildNavalYard=GAYARD
BuildTech=GATECH
BuildAdvancedPower=
BuildDefense=GAPILL,ATESLA,NASAM

[SovietTechTree]
SideIndex=1
ConstructionYard=NACNST
BuildPower=NAPOWR
BuildRefinery=NAREFN
BuildBarracks=NAHAND
BuildWeapons=NAWEAP
BuildRadar=NARADR
BuildHelipad=
BuildNavalYard=NAYARD
BuildTech=NATECH
BuildAdvancedPower=NANRCT
BuildDefense=NALASR,TESLA,NAFLAK

[YuriTechTree]
SideIndex=2
ConstructionYard=YACNST
BuildPower=YAPOWR
BuildRefinery=YAREFN
BuildBarracks=YABRCK
BuildWeapons=YAWEAP
BuildRadar=NAPSIS
BuildHelipad=
BuildNavalYard=YAYARD
BuildTech=YATECH
BuildAdvancedPower=
BuildDefense=YAGGUN,YAPSYT

Also make sure to up the anti-armor value of advanced defences, as they are technically worse than basic defenses in anti-vehicle-score/cost (which is currently used).

github-actions[bot] commented 1 month ago

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.