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 »One life for you

Author Topic: One life for you (7 messages, Page 1 of 1)
Moderators: Dennis

AzelfandQuilava
Joined: Jul 15, 2011

"Would you like a second opinion? You are Ugly!"


Posted: Dec 31, 2011 12:29 PM    Msg. 1 of 7       
How do I get the AI in my map to spawn once (like a campaign map)


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Dec 31, 2011 07:27 PM    Msg. 2 of 7       
ai_place <ai>


Xoronatus
Joined: Dec 6, 2010

Taking a break


Posted: Jan 1, 2012 01:07 AM    Msg. 3 of 7       
Quote: --- Original message by: AzelfandQuilava
How do I get the AI in my map to spawn once (like a campaign map)


You have to learn some simple Halo script code and then you can do that (ai_place)


sOMeonEUNo
Joined: Nov 20, 2010

Willing to help with what I know but still a Newb!


Posted: Jan 1, 2012 02:04 AM    Msg. 4 of 7       
If you are tyring to make an ai multiplayer map all you have to do is on the properties for the encounter just don't check the box that says respawn enabled, then when the ai dies it will not respawn.


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Jan 1, 2012 11:22 AM    Msg. 5 of 7       
Quote: --- Original message by: sOMeonEUNo
If you are tyring to make an ai multiplayer map all you have to do is on the properties for the encounter just don't check the box that says respawn enabled, then when the ai dies it will not respawn.

Then the AI won't spawn at all...


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Jan 2, 2012 12:20 AM    Msg. 6 of 7       
Yes, you should uncheck the "Respawn Enabled" box in the encounter properties, but after you do that you need to compile a script telling Halo to spawn the encounter at startup (or any other time you want the encounter(s) to spawn), otherwise you won't have any AI spawning.

Here's a script example. The encounter name is "red_team" and the script is called "spawner". After script and map compilation the script should tell Halo to spawn the encounter when you start the map.


(script startup spawner
(ai_place red_team)
)


game user10
Joined: Dec 9, 2011

Who is the Overseer?


Posted: Jan 2, 2012 05:49 AM    Msg. 7 of 7       
You could also just fill in the "respawn total" box.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 3:40 AM 125 ms.
A Halo Maps Website