A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »How to make AI only spawn once like in campaign.

Author Topic: How to make AI only spawn once like in campaign. (4 messages, Page 1 of 1)
Moderators: Dennis

Keifre
Joined: Jan 3, 2017


Posted: Feb 21, 2017 11:59 PM    Msg. 1 of 4       
Does anyone know how to make AI spawn only once in Sapien? Like if I shot a grunt and it did not respawn.


Spartan314
Joined: Aug 21, 2010

Former biped rigger & FP animator


Posted: Feb 22, 2017 02:53 AM    Msg. 2 of 4       

Someone might correct me, but changing respawn total to 2 should do the trick.


JadeRifter
Joined: Dec 20, 2015

I'm a real light sleeper, Childs.


Posted: Feb 22, 2017 04:33 AM    Msg. 3 of 4       
Quote: --- Original message by: Keifre
Does anyone know how to make AI spawn only once in Sapien? Like if I shot a grunt and it did not respawn.


I forget how to do that normally, but you can spawn named bipeds and have scripts handle it. Like you could spawn a grunt biped, name it something like Grunt1, and then attach it to an encounter using scripts. Pretty sure it won't respawn unless you have it set up to this way.


DeadHamster
Joined: Jun 8, 2014


Posted: Feb 22, 2017 02:47 PM    Msg. 4 of 4       
Set the respawn totals to 0

Set the number of AI to whatever you'd like it to be.

Create a script and use the function (ai_place)

If you named your Encounter and Squad to be

Covenant > Elites_Plasma_Rifle
Covenant > Grunts_Plasma_Pistol
Marines > Marine_Assault_Rifle


You could place all the covenant at once by using the command (ai_place covenant)

Or you could place only the grunts

(ai_place covenant/grunt_plasma_pistol)



Now if you get platoons involved, you can have some real fun;


Covenant > Elites_Plasma_Rifle (Initial_Encounter)
Covenant > Grunts_Plasma_Pistol (Initial_Encounter)
Covenant > Jackal_Plamsa_Pistol (Second_Encounter)


If you create platoons, you can also order AI using them as well. If your platoon for covenant was named "Initial_Encounter", like above;


(ai_place Covenant/Initial_Encounter) and it'd place both the elites and grunts. But it would NOT place the jackals.

 

 
Previous Older Thread    Next newer Thread





Time: Tue October 17, 2017 11:44 PM 484 ms.
A Halo Maps Website