- Login to post comments
Thu, 2012-12-20 18:26
im starting to mod the ini files. one thing: the AI have destroied my thech centre, but i was still able to build objects that were tech-prerequisite.
is tech like one only upgrade and nomore lose the benefits?
if is like that it is not so good, if enemy tears down one structure the damage is most on the features lost....and i have to rebuild to regain the new contruction objects.
or may be i modded bad it...
rampasting: to add new units to AI can you showme an example?
is tech like one only upgrade and nomore lose the benefits?
if is like that it is not so good, if enemy tears down one structure the damage is most on the features lost....and i have to rebuild to regain the new contruction objects.
or may be i modded bad it...
rampasting: to add new units to AI can you showme an example?
Thu, 2012-12-20 18:38
#1
I do agree that it'd be better if you'd lose any tech gained after building a tech center when it's destroyed, but unfortunately this is an engine limitation and thus can't be changed.
Thu, 2012-12-20 18:54
#2
rampasting: to add new units to AI can you showme an example?
Open AI(E).ini. Then take some taskforce which the AI builds often, I'll use this one as an example:
[075BFDC0-G]
Name=3 Rocket Launcher
0=4,AIMSAM
1=7,AIMTNK
Group=-1
Now, let's say that you want to add the Phase Tank (Rules.ini ID [PTNK]) to GDI and want to make the AI include the PTNK in this attack taskforce. In this case, add a new line for the Phase Tank, starting with the first free number (2 in this case). After that, type = and then the amount of the specific unit type you want the AI to build. After that, type a comma (',') and the internal ID of the unit, for the Phase Tank this is PTNK.
After adding the Phase Tank, it should be like this:
[075BFDC0-G]
Name=3 Rocket Launcher
0=4,AIMSAM
1=7,AIMTNK
2=4,PTNK
Group=-1
The AI would then build 4 Phase Tanks in that taskforce.
In other words, the format for taskforces is:
[TaskforceId]
Name={Taskforce name}
{some number from 0-6}={number of units},{unit ID in Rules.ini}
{some number from 0-6}={number of units},{unit ID in Rules.ini}
...
{some number from 0-6}={number of units},{unit ID in Rules.ini}
Group=-1
Note that you shouldn't make the TaskForces have too many units (especially expensive ones) or you'll mess up the AI.
is tech like one only upgrade and nomore lose the benefits?
Yes, unless you also lose your factories in addition to the tech center. If you for example lose your Weapons Factory after losing your Tech Center, and then you build a new Weapons Factory, you won't be able to build high-tech units until you get a new Tech Center. It's like, building a tech center upgrades your factories.
- Login to post comments