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 »possible to have more than 6 vehicles in a map?

Author Topic: possible to have more than 6 vehicles in a map? (5 messages, Page 1 of 1)
Moderators: Dennis

max1zzz
Joined: Dec 18, 2010


Posted: Jan 9, 2011 03:36 PM    Msg. 1 of 5       
i was playing the map "extinction" and couldn't help noticing there where more than 6 vehicles, i took a look at the globles.globles file from it and only 6 of the verhicles where in it, how is this done?

thanks in advance


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Jan 9, 2011 03:50 PM    Msg. 2 of 5       
it is done through scripting i believe


max1zzz
Joined: Dec 18, 2010


Posted: Jan 9, 2011 03:51 PM    Msg. 3 of 5       
any idear what the script is?


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Jan 9, 2011 03:54 PM    Msg. 4 of 5       
i dunno. I'm not a mp guru


max1zzz
Joined: Dec 18, 2010


Posted: Jan 9, 2011 03:55 PM    Msg. 5 of 5       
found it:
There is a limit of 6 vehicles being spawned at a time in a map. No more than 6 can be loaded at a time, unless you script the vehicles in.

Scripting the vehicles in will make it so the vehicles WILL spawn, and they don't count towards the limit.

Make a script (if you don't have one already) and put this line in:

(script startup create_vehicles
(object_create vehicle1)
(object_create vehicle2)
(object_create vehicle3)
)



Where vehicles 1 to 3 are your vehicles you want to be spawned. You can add more than three, I just stopped at three.

Two commands exist that are similar in naming but are actually different.

"object_create" creates an object, even if the object in question already exist. This makes another of the same vehicle without deleting the old one.

"object_create_anew" will delete any old listed objects present in the map, then spawn that object. This removes an older listed object and creates a new one.

Since this script is a startup script, it doesn't need to do object_create_anew since these objects haven't been made yet.

If someone has the phynum player counting script handy, I could also show a respawning vehicles script, if needed.
Edited by Codebrain on Jan 8, 2011 at 10:03 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 8:53 AM 156 ms.
A Halo Maps Website