View Single Post
Old 03-12-2005, 09:21 AM   #4 (permalink)
DCoder
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,056
Send a message via MSN to DCoder
Default

Have you read The Guide? It explains what they are and what they do.

It is very similar to a unit-weapon hierarchy. Compare:

* A unit owns 1/2/more Weapon= s.
* Each Weapon= owns:
** 1) Projectile= ;
** 2) Warhead= .

* An AITriggerType owns one or two [TeamType]s.
* Each [TeamType] owns:
* 1) ScriptType= ;
* 2) TaskForce= .

The AITriggerType executes the TeamType when certain conditions ("Commandah Yuri, ze enemy owns 5 Kirovs!") are met.
The TeamType assembles the TaskForce ("I need 6 Gattling Tanks, and I need zem NOW!").
The TeamType then tells the TaskForce to execute the ScriptType ("Ze weak minded enemy is planning an air assault. How predictable. You go out there and patrol the base perimeter. Do not let anyzing get zrough. Go, go, go!").
Depending on how successful the TaskForce was at completing their mission, the AITrigger may be disabled and not used again ("Note to zelf: Don't try to stop 7 Kirovs wiz only 6 Gattling Tanks!").

For more info, get AI E V2 (*points at sig*) and open up the standard aimd.ini in it. Review and understand the things you see. Then you can try modifying stuff. There are some more AI-related tutorials at C-GEN forums ( http://www.cannis.net/forums/ ) [ in the Editing Tutorials / RedUtils (&RA2/YR AI Editing) subforums. ] {Registration required. }
DCoder is offline   Reply With Quote