ai squad triggers

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
srchrisknight





Posts: 130
Joined: Tue Apr 04, 2006 4:54 pm

ai squad triggers

Post by srchrisknight »

ok, as some of u know u need to edit the deathzones in sp to spawn ai. well i want to know how to link specific squads to a certain trigger (death zone) anyone know how?
User avatar
turk645




Artisan Translator Pyre

Posts: 2887
Joined: Wed May 18, 2005 12:32 pm
Location: In my special pillow fort.
Contact:

Post by turk645 »

i think it is script based considering im trying to use those in a vehicle teleporter script.
Image
ScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠ
srchrisknight





Posts: 130
Joined: Tue Apr 04, 2006 4:54 pm

Post by srchrisknight »

script base? how so?
User avatar
turk645




Artisan Translator Pyre

Posts: 2887
Joined: Wed May 18, 2005 12:32 pm
Location: In my special pillow fort.
Contact:

Post by turk645 »

Basicly it would be used for something like telling and entire squad in the area to do something. I could post an example later if you want.
Image
ScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠ
srchrisknight





Posts: 130
Joined: Tue Apr 04, 2006 4:54 pm

Post by srchrisknight »

yea that'd be cool, but are u sure the triggers qwould be linked in there? cuz i've got them in the map i want i just can't link them
User avatar
turk645




Artisan Translator Pyre

Posts: 2887
Joined: Wed May 18, 2005 12:32 pm
Location: In my special pillow fort.
Contact:

Post by turk645 »

If i read it right you want to spawn ai when you get to a certain spot in order to do that you have to write a script to get it to be triggered when you hit the trigger zone. An example script would be one from old membasa...

Code: Select all

(script dormant e13_cov_ghosts1_main
 (begin
   (sleep_until (volume_test_objects tv_e13_cov_creep0_6_begin (players)) 15)
   (ai_place e13_cov_ghosts1)
))
You would have to write a script like that to get something to spawn. The "tv_e13_cov_creep0_6_begin" is the trigger zone. That is how it is linked to the ai.
Image
ScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠ
srchrisknight





Posts: 130
Joined: Tue Apr 04, 2006 4:54 pm

Post by srchrisknight »

kk, thnx for the info
Post Reply