Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Mar 19, 2024 6:21 am
All times are UTC + 0
Task Forces (ai.ini)
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sat Aug 09, 2003 2:59 pm    Post subject:  Task Forces (ai.ini) Reply with quote  Mark this post and the followings unread

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.


Key Words: #Tutorials #Modding #TiberianSun #Firestorm #RedAlert2 #YurisRevenge #AI.INI 

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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

[ Time: 0.1431s ][ Queries: 11 (0.0076s) ][ Debug on ]