
Stealth Tank

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun

|
As far as i remember the AI builds all the units, that are listet in the Teams of the TeamTypes section. Those are the Teams that attack in a group.
[Triggers] This trigger tells the game to try to create a group of one of the TeamTypes and send it on its mission. the mission is defined in the [TeamTypes] section. aut2=Time,Autocreate,10,Multi2,None,1 This is done every 10 timesteps and the 1 at the end tells that it loops. Afaik the AI builds the units in a random way, so sometime this triggers finds the units to build one of the teams and sometimes not.
e.g. Team 1 has 2 Minigunners Team 2 has 10 Minigunners and 2 Tanks Due to the fact that Team 1 can be created much more easy, it takes Team 2 the Minigunners. This could cause the game to never send Team 2 and leave many Tanks back in the Base unused.
so my tip would be, don't have equal units in different TeamTypes.
[TeamTypes] The mission is defined in the TeamTypes: like go to waypoint 1, go then to waypoint 2, finally attack units or buildings. mula=Multi6,1,0,0,1,0,15,1,0,0,1,LTNK:2,3,Move:1,Attack Base:99,Loop:99,0,0 This TeamType makes the AI create 2 Lighttanks and send them to Waypoint 1 (Move:1) and then Attack the enemys Base (Attack Base:99), and this should be repeated (Loop:99) The number 3 between LTNK:2 and Move:1 tells the game the number of commands that will follow. here Move, Attack Base and Loop The meaning of the many numbers between Multi6 and LTNK:2 is unkown to me. i just copy them.
However, it often happens that many units stay in the base and never do anything.
With this trigger you give the AI the command to attack with everything it has. hunt=Time,All to Hunt,150,Multi6,None,1 Every 150 timesteps it starts this massive attack with all units. The number 1 at the end tells the game to loop this command. 0 would mean to run this trigger only one time.
This way an enemy can become, in a very easy way, very hard. Just make many TeamTypes and this trigger. Et voilĂ , heavy war.
example: [Triggers] airs=destroyed,Airstrike,0,GoodGuy,aira,0 [TeamTypes] aira=GoodGuy,1,0,0,0,0,7,0,0,0,1,A10:10,0,0,0 this gives the Player the airstrike special weapon with 10 Bomber after destroying somthing like 102=BadGuy,TMPL,256,905,0,AIRS
All these examples are from me, so to make sure that a trigger works, i recommend to copy them of the original Westwood missions.
This post has been edited by Lin Kuei Ominae: Apr 27 2007, 07:53 PM
--------------------
|