
YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 6, 2012 07:46 PM
Msg. 1 of 14
When I load a script with sapien, there was errors and didn't say "scripts compiled successfully" Heres my last paragraph of debug.txt: 01.06.12 16:42:22 [armp line 5] this is not a valid object name.: armor_lock "A-driver" (unit (list_get (players) 0))) false) 1)
01.06.12 16:42:22 [cqb line 2] this is not a valid object name.: cqb) 0) (object_create_anew cqb))
01.06.12 16:42:22 [eod line 2] this is not a valid object name.: eod) 0) (object_create_anew eod))
01.06.12 16:42:22 recompiling scripts after scenarios were merged. 01.06.12 16:42:22 [armp line 4] this left parenthesis is unmatched.: (script continuous armorlockcheck
01.06.12 16:42:22 [cqb line 1] this left parenthesis is unmatched.: (script continuous biped_respawn
01.06.12 16:42:22 [eod line 1] this left parenthesis is unmatched.: (script continuous biped_respawn
I'm thinking this is very common..
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 6, 2012 07:51 PM
Msg. 2 of 14
Show us your script.
|
|
|

YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 6, 2012 07:58 PM
Msg. 3 of 14
Quote: --- Original message by: Spartan314 Show us your script. Armor Lock: (global "long" armor_lock_timer 90) (global "long" armor_lock_timer2 90)
(script continuous armorlockcheck (sleep_until (= (vehicle_test_seat_list armor_lock "A-driver" (unit (list_get (players) 0))) false) 1) (begin (unit_set_enterable_by_player armor_lock false) (object_set_collideable armor_lock false) (sound_impulse_stop "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop") (object_can_take_damage (unit (list_get (players) 0))) (unit_impervious (players) false) (object_destroy armor_lock) ) )
(script continuous flashlightcheck (sleep_until (and (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true) (> armor_lock_timer 30)) 1) (begin (object_create_anew armor_lock) (object_set_collideable armor_lock true) (unit_set_enterable_by_player armor_lock true) (objects_attach (unit (list_get (players) 0)) "body" armor_lock "body") (objects_detach (unit (list_get (players) 0)) armor_lock) (unit_enter_vehicle (unit (list_get (players) 0)) armor_lock "A-driver") (sound_impulse_start "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop" armor_lock 1) (sound_impulse_start "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_begin" armor_lock 1) (unit_set_enterable_by_player armor_lock false) (object_cannot_take_damage armor_lock) (object_cannot_take_damage (unit (list_get (players) 0))) (unit_impervious (players) true) ) )
(script continuous armor_lock_disable (sleep_until (<= armor_lock_timer 30) 1) (begin (effect_new_on_object_marker "seanthelawn\halo_reach\characters\cyborg\armor_lock\effects\defensive detonation" armor_lock "body") (sleep 5) (object_can_take_damage (unit (list_get (players) 0))) (unit_impervious (players) false) (unit_set_enterable_by_player armor_lock false) (object_set_collideable armor_lock false) (unit_exit_vehicle (unit (list_get (players) 0))) (sound_impulse_stop "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop") (sleep 1) (object_destroy armor_lock) ) )
(script continuous armor_lock_timer_down (sleep_until (= (vehicle_test_seat_list armor_lock "A-driver" (unit (list_get (players) 0))) true) 1) (begin (set armor_lock_timer (- armor_lock_timer 1)) ) )
(script continuous armor_lock_timer_up (sleep_until (and (= (vehicle_test_seat_list armor_lock "A-driver" (unit (list_get (players) 0))) false) (< armor_lock_timer 90)) 1) (begin (set armor_lock_timer (+ armor_lock_timer 1)) ) )
(script continuous armorlockcheck2 (sleep_until (= (vehicle_test_seat_list armor_lock2 "A-driver" (unit (list_get (players) 1))) false) 1) (begin (unit_set_enterable_by_player armor_lock2 false) (object_set_collideable armor_lock2 false) (sound_impulse_stop "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop2") (object_can_take_damage (unit (list_get (players) 1))) (unit_impervious (unit (list_get (players) 1)) false) (object_destroy armor_lock2) ) )
(script continuous flashlightcheck2 (sleep_until (and (= (unit_get_current_flashlight_state (unit (list_get (players) 1))) true) (> armor_lock_timer2 30)) 1) (begin (object_create_anew armor_lock2) (object_set_collideable armor_lock2 true) (unit_set_enterable_by_player armor_lock2 true) (objects_attach (unit (list_get (players) 1)) "body" armor_lock2 "body") (objects_detach (unit (list_get (players) 1)) armor_lock2) (unit_enter_vehicle (unit (list_get (players) 1)) armor_lock2 "A-driver") (sound_impulse_start "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop2" armor_lock2 1) (sound_impulse_start "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_begin2" armor_lock2 1) (unit_set_enterable_by_player armor_lock2 false) (object_cannot_take_damage armor_lock2) (object_cannot_take_damage (unit (list_get (players) 1))) (unit_impervious (unit (list_get (players) 1)) true) ) )
(script continuous armor_lock_disable2 (sleep_until (<= armor_lock_timer2 30) 1) (begin (effect_new_on_object_marker "seanthelawn\halo_reach\characters\cyborg\armor_lock\effects\defensive detonation" armor_lock2 "body") (sleep 5) (object_can_take_damage (unit (list_get (players) 1))) (unit_impervious (unit (list_get (players) 1)) false) (unit_set_enterable_by_player armor_lock2 false) (object_set_collideable armor_lock2 false) (unit_exit_vehicle (unit (list_get (players) 1))) (sound_impulse_stop "seanthelawn\halo_reach\characters\cyborg\armor_lock\sounds\armor_lock_loop2") (sleep 1) (object_destroy armor_lock2) ) )
(script continuous armor_lock_timer_down2 (sleep_until (= (vehicle_test_seat_list armor_lock2 "A-driver" (unit (list_get (players) 1))) true) 1) (begin (set armor_lock_timer2 (- armor_lock_timer2 1)) ) )
(script continuous armor_lock_timer_up2 (sleep_until (and (= (vehicle_test_seat_list armor_lock2 "A-driver" (unit (list_get (players) 1))) false) (< armor_lock_timer2 90)) 1) (begin (set armor_lock_timer2 (+ armor_lock_timer2 1)) ) )) 2 Halo 3 Bipeds: 1. (script continuous biped_respawn (if (= (unit_get_health cqb) 0) (object_create_anew cqb)) )
2. (script continuous biped_respawn (if (= (unit_get_health eod) 0) (object_create_anew eod)) )
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 6, 2012 09:42 PM
Msg. 4 of 14
Have you got the vehicles set up?
|
|
|

YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 6, 2012 09:57 PM
Msg. 5 of 14
What vehicles?
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 6, 2012 10:18 PM
Msg. 6 of 14
*facepalm* the vehicles that need to be set up for the script to work.
|
|
|

YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 6, 2012 10:24 PM
Msg. 7 of 14
Quote: *facepalm* the vehicles that need to be set up for the script to work. You mean vehicles from Easy Halo Scripter v2.0?
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 7, 2012 12:17 AM
Msg. 8 of 14
No the armor lock vehicles that need to referenced for the armor lock to work.
|
|
|

YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 7, 2012 09:36 PM
Msg. 9 of 14
I don't think I have them... Edited by YoGamerProductionz on Jan 7, 2012 at 09:38 PM
|
|
|

game user10
Joined: Dec 9, 2011
Who is the Overseer?
|
Posted: Jan 8, 2012 12:42 AM
Msg. 10 of 14
The armor-lock has additional animations so you should add those to the animations you're using.
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 8, 2012 12:51 AM
Msg. 11 of 14
Quote: --- Original message by: YoGamerProductionz
I don't think I have them... Edited by YoGamerProductionz on Jan 7, 2012 at 09:38 PM Where did you get the script from?
|
|
|

game user10
Joined: Dec 9, 2011
Who is the Overseer?
|
Posted: Jan 8, 2012 04:24 AM
Msg. 12 of 14
|
|
|

Spartan314
Joined: Aug 21, 2010
Former biped rigger & FP animator
|
Posted: Jan 8, 2012 03:31 PM
Msg. 13 of 14
Kirby422 had made a better version. If I could just find the thread...
|
|
|

YoGamerProductionz
Joined: Dec 21, 2011
I'm back and a noob at modding :(
|
Posted: Jan 8, 2012 03:39 PM
Msg. 14 of 14
Yeah I got it from SeanTheLawn but not the map. EDIT: I gotta fix these scripts because when I try to compile the .scenario file, it keeps saying this message: ### FAILED TO COMPILE SCRIPTS FOR SCENARIO.So if anyone could fix this problem ASAP? Edited by YoGamerProductionz on Jan 8, 2012 at 03:47 PME2: Alright screw the armor lock I just need help on the bipeds. This is what the script says when I try to compile them. 01.16.12 11:06:36 [recon line 1] this left parenthesis is unmatched.: (script continuous respawn
01.16.12 11:06:36 recompiling scripts after scenarios were merged. 01.16.12 11:06:36 this left parenthesis is unmatched.: (script continuous respawn
I haven't got a response for 8 days. Edited by YoGamerProductionz on Jan 16, 2012 at 02:16 PM
|
|
|