
Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 20, 2011 12:46 AM
Msg. 1 of 9
I've added my vehicles to globals.globals. I've added them in sapien without it complaining. The map has built fine. I load up my Halo CE, and the vehicles aren't there. Huh? Can anyone help me to solve what the problem might be?
|
|
|

jackotheblah
Joined: Jan 5, 2011
uthink ur lag is bad,takes jesus 3 days to respawn
|
Posted: Jan 20, 2011 01:27 AM
Msg. 2 of 9
it doesent work if you add them to globals, what you need to do is open up notepad or something similar and make a script like this
(script startup vehiclespawn (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) )
with vehicle being the name of the vehicle in sapien.
you MUST save it as a hsc file in the data\levels\etc\etc in a folder called scripts. then in sapien before you save go to file and compile scripts. hope that works for you.
|
|
|

rerout343
Joined: Aug 7, 2010
Targeted and Firing
|
Posted: Jan 20, 2011 01:51 AM
Msg. 3 of 9
Quote: --- Original message by: jackotheblah it doesent work if you add them to globals, what you need to do is open up notepad or something similar and make a script like this
(script startup vehiclespawn (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) (object_create_anew vehicle) )
with vehicle being the name of the vehicle in sapien.
you MUST save it as a hsc file in the data\levels\etc\etc in a folder called scripts. then in sapien before you save go to file and compile scripts. hope that works for you. You only have to do that if have more than six vehicles. Unless you mean you "added" them to the list globals, you have to replace the vehicles already in the list. Make sure that the default/allowed gametype checkboxes are checked for each vehicle in sapien. Edited by rerout343 on Jan 20, 2011 at 01:54 AM
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 20, 2011 02:16 AM
Msg. 4 of 9
oh i need to replace the vehicles... I just added them to the list. i'll try that.
|
|
|

rerout343
Joined: Aug 7, 2010
Targeted and Firing
|
Posted: Jan 20, 2011 02:23 AM
Msg. 5 of 9
Ok, let me know if that fixes it. Easy mistake to make if you never had a proper tutorial.
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 24, 2011 08:33 PM
Msg. 6 of 9
I was just wondering. if i wanted to spawn, lets say, a hornet. would i type in:
(script startup vehiclespawn (object_create_anew hornet) (object_create_anew hornet) (object_create_anew hornet) (object_create_anew hornet) (object_create_anew hornet) )
and is that for just one hornet?
|
|
|

rerout343
Joined: Aug 7, 2010
Targeted and Firing
|
Posted: Jan 25, 2011 04:19 AM
Msg. 7 of 9
No, use each line for a different vehicle in sapien like:
(script startup vehiclespawn (object_create_anew warthog1) (object_create_anew warthog2) (object_create_anew banshee1) (object_create_anew banshee2) (object_create_anew banshee3) )
Like that.
|
|
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: Jan 25, 2011 05:15 AM
Msg. 8 of 9
Nah dude, use this: (script startup vehiclespawn (object_create_anew_containing warthog) (object_create_anew_containing banshee) )
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 25, 2011 02:53 PM
Msg. 9 of 9
Quote: --- Original message by: MoooseGuyNah dude, use this: (script startup vehiclespawn (object_create_anew_containing warthog) (object_create_anew_containing banshee) ) So that's the recipe for one warthog and one banshee? Ok, so i want just one hornet: (script startup vehiclespawn (object_create_anew_containing hornet) ) or (script startup vehiclespawn (object_create_anew hornet) ) Edited by spartan314 on Jan 25, 2011 at 11:18 PM
|
|
|