:: Home :: BugTracker :: FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

The time now is Mon Dec 22, 2014 12:02 pm
All times are UTC + 0
 Forum index » Modding Central » Tiberian Sun Editing Forum » Tutorials Factory
Task Forces (ai.ini)
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sat Aug 09, 2003 2:59 pm    Post subject:   Task Forces (ai.ini) Reply with quote

Quote:
Tutorial Name: Adding New Task Forces
Made by: Banshee
Difficulty: Very Easy

Attention: It works also with Red Alert 2, although you will need to edit the file aimd.ini if you have Yuri's Revenge and ai.ini if you only have Red Alert 2.

Extra Info:

This tutorial was originally written for Intel Website (from PPM) and lately written for Entertainment Explosion. Since EE is no longer, it has been posted here in PPM. If you wanna post it somewhere else, feel free to do it as long as you credit me.



:: Adding New Task Forces ::


Task Forces are the units that AI will recruit to attack the enemy base.

To make new taskforces, you need to open your ai.ini if you don`t have Firestorm or your aifs.ini if you have Firestorm and go to the TaskForce List that is in the beggining of the file and write your new taskforce:

[TaskForces]
XX=NEWFORCE



XX is an unused number for the taskforce and NEWFORCE is the internal name of your taskforce.

Then, add the code to the NEWFORCE:

[NEWFORCE]
Name=My new task force.
0=YY,UNIT
Group=-1

Name
can be anything....YY is the number of units and UNIT is the internal name of the unit that will be produced located in rules.ini/firestrm.ini.

You can add more than one type of unit. In this case, you should add more one line after 0=YY,UNIT that should be 1=ZZ,UNIT2...ZZ will be the number of units and UNIT2 will be the internal name of the unit that AI produce located in rules.ini/firestrm.ini.

Group is the formation used by the task force. I`m not sure if all of them work, but it seems to be imported by Ra1 engine:

-1 = Default - All units assume their default
movement and facing settings
-40094 = According to Deezire, the group attack
together at object posing least threat, but I`ve never tested that...

The final example goes here:

[TaskForces]
1061=BANSHEE


[BANSHEE]
Name=Banshee Rush
0=10,SCRIN
Group=-1


Note that taskforces doesn`t work alone. They need to be attached at a Team Type that uses an script type. The team type is called by an AI Trigger Type. Further explanations about it are available in their respective tutorials.




Related Tutorials:

- Script Types (TS Only)
- Team Types (TS Only)
- AI Trigger Types (TS Only)
- AI Mini Guide (RA2 Only, but it shows a global use of all parts of ai.ini together which is also interesting for TS modders)

The TS Only tutorials shows codes that also works in RA2 (in 99% of the cases), but doesnt shows the new options that came with Red Aert 2.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
 Forum index » Modding Central » Tiberian Sun Editing Forum » Tutorials Factory
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

CNC Top 101
[ Time: 0.0619s ][ Queries: 10 (0.0128s) ][ Debug on ]