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 »Breakable Longsword scripts

Author Topic: Breakable Longsword scripts (4 messages, Page 1 of 1)
Moderators: Dennis

ghost901
Joined: Mar 4, 2010


Posted: May 2, 2013 06:51 PM    Msg. 1 of 4       
Has anyone gotten the breakable Longsword (fighterbomber) scripts working? If so, how?


OoEWolf
Joined: Oct 10, 2008

Injuriouswolf


Posted: May 2, 2013 07:02 PM    Msg. 2 of 4       
Are these the scripts you're talking about?

(script static void red_fb_kill (begin (set red_fb_alive false) (object_create_anew red_hull) (objects_attach red_fighterbomber attach red_hull attach) (object_create_anew red_front) (objects_attach red_fighterbomber attach red_front attach) (object_create_anew red_tail) (objects_attach red_fighterbomber attach red_tail attach) (object_create_anew red_left_engine) (objects_attach red_fighterbomber attach red_left_engine attach) (object_create_anew red_right_engine) (objects_attach red_fighterbomber attach red_right_engine attach) (object_create_anew red_left_wing) (objects_attach red_fighterbomber attach red_left_wing attach) (object_create_anew red_right_wing) (objects_attach red_fighterbomber attach red_right_wing attach) (if (vehicle_test_seat_list red_fighterbomber w-driver (players)) (unit_kill (vehicle_driver red_fighterbomber))) (if (vehicle_test_seat_list red_fighterbomber g-driver (players)) (unit_kill (vehicle_gunner red_fighterbomber))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (if (or (vehicle_test_seat_list red_fighterbomber fb-stand (players)) (vehicle_test_seat_list red_fighterbomber fb-crouch (players))) (unit_kill (unit (list_get (vehicle_riders red_fighterbomber) 0)))) (objects_detach red_fighterbomber red_hull) (objects_detach red_fighterbomber red_front) (objects_detach red_fighterbomber red_tail) (objects_detach red_fighterbomber red_left_engine) (objects_detach red_fighterbomber red_right_engine) (objects_detach red_fighterbomber red_left_wing) (objects_detach red_fighterbomber red_right_wing) (object_destroy red_fighterbomber) (if (and red_fb (= red_fb_alive false)) (sleep 1800)) (if (and red_fb (= red_fb_alive false)) (object_create_anew red_fighterbomber)) (if (and red_fb (= red_fb_alive false)) (set red_fb_alive true))))

I have no idea how to get them to work though, not that good at scripting. Lol


Hobbet360
Joined: Jan 10, 2012

ProTools > ToolPro


Posted: May 4, 2013 12:21 AM    Msg. 3 of 4       
The way you put it out is just confusing.

But it involves 4 vehicles (left wing, right wing, cockpit, tail) that are all attached to one longsword. And when it breaks, the longsword dissapearing and the pieces have nothing to support then and fall apart.

Also...

That script is incomplete. It is referring to globals which are non-existant (sorry for not-so-simple explainations and stuff, you said you have little scripting experience)

Other than that... That script could nearly work... Where did you find it?
Edited by hobbet360 on May 4, 2013 at 12:21 AM


OoEWolf
Joined: Oct 10, 2008

Injuriouswolf


Posted: May 4, 2013 12:38 AM    Msg. 4 of 4       
Yeah I didn't think it was complete, I just looked for it in the scripts for hugeass, since he was asking about those scripts, I think they're also in coldsnap.

But yeah I'm a bit curious on how one would get them working myself since I have not seen any maps that use them other than hugeass and coldsnap, that I know of.

 

 
Previous Older Thread    Next newer Thread







Time: Tue April 23, 2019 1:26 PM 500 ms.
A Halo Maps Website