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 »scripting more than 6 vehicles

Author Topic: scripting more than 6 vehicles (5 messages, Page 1 of 1)
Moderators: Dennis

kev3344
Joined: Aug 8, 2008

IMAAA FIRING MAAA LAZAAA!!!!


Posted: Aug 19, 2010 11:29 AM    Msg. 1 of 5       
I used this script from easy halo scripter v2 to spawn more than 6 vehicles in my map:

(global boolean is_server false)
(script startup svsync
(begin
(if (= (unit_get_health check_vehicle) 0.0)
(begin
(set is_server true)
(object_destroy check_vehicle)
(object_create g1)
(object_create nt1)
(object_create bf1)
(object_create d1)
(object_create k1)
(object_create fs1)
(object_create ghost1)
(object_create gp1)
)
)
)
)
(script continuous client
(begin
(if (= is_server true)
(begin
(if (= (volume_test_object vol1 g1) true)
(begin
(object_teleport g1 fg1)
(object_set_facing g1 fg1)
)
)
(if (= (volume_test_object vol1 nt1) true)
(begin
(object_teleport nt1 fnt1)
(object_set_facing nt1 fnt1)
)
)
(if (= (volume_test_object vol1 bf1) true)
(begin
(object_teleport bf1 fbf1)
(object_set_facing bf1 fbf1)
)
)
(if (= (volume_test_object vol1 d1) true)
(begin
(object_teleport d1 fd1)
(object_set_facing d1 fd1)
)
)
(if (= (volume_test_object vol1 k1) true)
(begin
(object_teleport k1 fk1)
(object_set_facing k1 fk1)
)
)
(if (= (volume_test_object vol1 fs1) true)
(begin
(object_teleport fs1 ffs1)
(object_set_facing fs1 ffs1)
)
)
(if (= (volume_test_object vol1 ghost1) true)
(begin
(object_teleport ghost1 fghost1)
(object_set_facing ghost1 fghost1)
)
)
(if (= (volume_test_object vol1 gp1) true)
(begin
(object_teleport gp1 fgp1)
(object_set_facing gp1 fgp1)
)
)
)
)
)
)


But when I test my map in game, I can enter the vehicles but they can't move. What is wrong with this script?


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Aug 19, 2010 11:33 AM    Msg. 2 of 5       
*blink* *blink*





Cool, nice to see people can do crazy stuff like this


kev3344
Joined: Aug 8, 2008

IMAAA FIRING MAAA LAZAAA!!!!


Posted: Aug 19, 2010 11:56 AM    Msg. 3 of 5       
nvm I used another script and now it works


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Aug 19, 2010 12:06 PM    Msg. 4 of 5       
I see in your avatar that this relates to a "Mute City" project.

What exactly is Mute City?


kev3344
Joined: Aug 8, 2008

IMAAA FIRING MAAA LAZAAA!!!!


Posted: Aug 19, 2010 03:29 PM    Msg. 5 of 5       
mute city is the first track in f-zero X on nintendo 64.

I modeled 11 vehicles from the game, modified the ghost and the warthog and modeled a speeder bike. I have 14 vehicles and I need 16 so the map will be released in 2-3 days if I have the time to model the vehicles.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 6:14 PM 109 ms.
A Halo Maps Website