PDA

View Full Version : [AiTriggerTypes]


Condemer
08-31-2007, 03:39 PM
I have two friend's that can do this and i asked them but they haven't told me how to do this yet !

when u allow the pc to use such attacks as the one's you made you must put them in the [AiTriggerTypes] section with the taskforce code # and it goes something like this >>>>>

AllBaseDefense1,01000012,<all>,1,1,GAPILE,0100000003000000000000000000000000000000000000000000000000000000,60.000000,30.000000,60.000000,1,0,1,1,<none>,1,1,1

I am wondering how you get this code here to put in under the taskforce code #


Example: (01000006) Allied Base Defense 1
AllBaseDefense1,01000012,<all>,1,1,GAPILE,0100000003000000000000000000000000000000000000000000000000000000,60.000000,30.000000,60.000000,1,0,1,1,<none>,1,1,1 <<<< that would be the code for that Taskforce code

Please tell me how i would get that code but for my taskforce (team)

perhaps someplace i got to go that i can copy it !?!?

Fenring
08-31-2007, 03:41 PM
No, you use the TeamType, not the TaskForce.

Condemer
08-31-2007, 11:27 PM
i meant teamtype ty fenring

how do i get that code tho ????

hogo98
09-01-2007, 08:50 AM
In fa2 In TeamTypes you have the option to add them together? Sorry if that didnt help I didnt really understand.

Condemer
09-01-2007, 06:36 PM
I have all the taskforces and stuff in there proper location my question is how do i get theat code so i can add it to the [AiTriggerTypes] section that way i can add it to the [AiTriggerTypesEnabled] so that the ai will do wat i want 'em to do !

do i have to manually type the code out for the [ID] ???

Fenring
09-02-2007, 01:19 AM
What the hell are you talking about? I don't get what you're asking because you're being too vague.

FlyingZ
09-02-2007, 08:42 AM
do i have to manually type the code
It's easy to make an AI trigger in FA2

Condemer
09-02-2007, 10:52 AM
when you create a new team type for the pc to use you have to get a code like this

[AiTriggerTypes]

01000010 =
Allied Rocky's attacking Allied Conyard Trigger,01000006,<all>,1,0,JUMPJET,1c00000003000000000000000000000000000000000000000000000000000000,70.000000,30.000000,70.000000,1,0,1,0,<none>,1,1,1

^^ Your supposed to put that in the value field of the "01000010" and then ur suppose to put that in the [AiTriggerTypesEnabled]

"01000010 = yes" (Yes for the pc to use this attack)


This attack team has 20 rockateer's and 8 Harrier's ( prolly to many )

Fenring
09-02-2007, 11:21 AM
Right, you get an AI trigger. Since you're adding it to a map, you have to enable it and it appears you understand that already so what's the problem?

Condemer
09-02-2007, 10:07 PM
the problem fenring is that they won't form >>> build the 20 rocky's and the 8 harrier's (yes thre in the same taskforce)(I don't know how to get those two units to attack the same thing if they in different taskforces)

My friend played the map with me and he was observing cause they killed him and he told me they only would build 10, but they never ever attacked my construcion yard !

This is the id thing i have in the [AiTriggerTypes] field for the key "01000010"

01000010 =
Allied Rocky's attacking Allied Conyard Trigger,01000006,<ALL>,1,0,JUMPJET,1c00000003000000000000000000000000000000000000000000000000000000,70.000000,30.000000,70.000000,1,0,1,0,<NONE>,1,1,1
^^ - is the "c" ok for being in the code ????

Fenring
09-03-2007, 11:16 AM
There's too many units. The AI is either running out of money or dissolving the team because it's taking too long to make.

Condemer
09-05-2007, 11:15 PM
I fixed my own problem i had the old version of fa2 which didn't have the "Ai Trigger" section and i was trying to do the code manually :'(


:redface::redface::redface::lol::lol::lol: