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 »returned

Author Topic: returned (4 messages, Page 1 of 1)
Moderators: Dennis

FC v3
Joined: Aug 21, 2011

i swear dis should b version 4 keep forgeting pass


Posted: Aug 21, 2011 04:47 AM    Msg. 1 of 4       
i search and search from this site and rechecked myself. i clearly forgot how to script and its driving me nuts. could someone proof read it i bet someone will find the solution that i cant see. plz and thx

(script startup void beginning
(begin
(begin
(sound_looping_start levels\d20\music\d20_01 none 1.00)
(ai_allegiance player human)
(ai_follow_distance ally 1.00)
(ai_follow_target_players ally))))

(script startup void start_cutscene
(begin
(begin
(sleep_until (volume_test_object trigger_test (list_get (players) 0)) 1)
(cinematic_start)
(camera_control true)
(camera_set p1 100)
(sleep 50)
(camera_set p2 100)
(sleep 50)
(camera_set p3 100)
(sleep 50)
(camera_set p4 100)
(sleep 50)
(camera_set p5 100)
(sleep 50)
(camera_set p6 100)
(sleep 50)
(camera_set p7 100)
(sleep 50)
(camera_set p8 100)
(sleep 50)
(camera_control false)
(cinematic_set_title intro)
(sleep 275)
(cinematic_stop)
(sound_looping_stop levels\d20\music\d20_01)
(sound_looping_start levels\d20\music\d20_06 none 1.00))))

(script startup void vehicles
(begin
(begin
(object_create flamehog)
(object_create turret)
(object_create legendary))))

(script startup void triggersi
(begin
(begin
(sleep_until (volume_test_object trigger_start (list_get (players) 0)) 1)
(begin
(ai_place ally)
(ai_place beach)))))

(script startup void triggersii
(begin
(begin
(sleep_until (volume_test_object trigger_mid (list_get (players) 0)) 1)
(begin
(game_save)
(ai_place ambush)
(ai_place unlucky)))))

(script startup void finish
(begin
(begin
(sleep_until (volume_test_object trigger_last (list_get (players) 0)) 1)
(begin
(game_won)))))


what am i doing wrong? heres the debug log

08.21.11 04:23:22 [script line 1] this left parenthesis is unmatched.: (script startup void beginning
08.21.11 04:23:22 recompiling scripts after scenarios were merged.
08.21.11 04:23:22 this left parenthesis is unmatched.: (script startup void beginning

i kept this simple (p.s i didnt mean to spam? i remember my basics but i overlooked this part so many times, i just need a right push in right direction on this topic/scripts for future ref)



EDITED!: alright dont mind the "(begin"s i was messing around and didnt feel like removing the extra "(begins" in my final topic my bad which i shoulda done
Edited by FC v3 on Aug 21, 2011 at 04:49 AM


FC v3
Joined: Aug 21, 2011

i swear dis should b version 4 keep forgeting pass


Posted: Aug 21, 2011 09:42 PM    Msg. 2 of 4       
it stills wants a script/variable definition
debug log:

08.21.11 21:38:14 [script line 6] i expected a script or variable definition.: ))
08.21.11 21:38:14 recompiling scripts after scenarios were merged.
08.21.11 21:38:14 i expected a script or variable definition.: ))


but thx i may of overlook that.. did i mention this is a sp map?


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 21, 2011 09:54 PM    Msg. 3 of 4       
Change all instances of script startup void to script static void


FC v3
Joined: Aug 21, 2011

i swear dis should b version 4 keep forgeting pass


Posted: Aug 21, 2011 10:14 PM    Msg. 4 of 4       
first script works and vehicles but do i do the same for all this is how it looks now:

(script static void beginning
(begin
(begin
(sound_looping_start levels\d20\music\d20_01 none 1.00)
(ai_allegiance player human)
(ai_follow_distance ally 1.00)
(ai_follow_target_players ally))
)

(script static void cutscene
(begin
(sleep_until (volume_test_object trigger_test (list_get (players) 0)) 1)
(cinematic_start)
(camera_control true)
(camera_set cut1 100)
(sleep 50)
(camera_set cut2 100)
(sleep 50)
(camera_set cut3 100)
(sleep 50)
(camera_set cut4 100)
(sleep 50)
(camera_set cut5 100)
(sleep 50)
(camera_set cut6 100)
(sleep 50)
(camera_control false)
(cinematic_set_title intro)
(sleep 275)
(cinematic_stop)
(sound_looping_stop levels\d20\music\d20_01)
(sound_looping_start levels\d20\music\d20_06 none 1.00))))

(script static void vehicles
(begin
(object_create flamehog)
(object_create turret)
(object_create legendary))))

(script static void triggersi
(begin
(sleep_until (volume_test_object trigger_start (list_get (players) 0)) 1)
(begin
(ai_place ally)
(ai_place beach)))))

(script static void triggersii
(begin
(sleep_until (volume_test_object trigger_mid (list_get (players) 0)) 1)
(begin
(game_save)
(ai_place ambush)
(ai_place death)))))

(script static void finish
(begin
(sleep_until (volume_test_object trigger_last (list_get (players) 0)) 1)
(begin
(game_won)))))


all three triggers and the cutscene dont work proper

EDITED: i finally see wuts wrong. i dont know why i messed up badly on this script compared to my others i got a letter wrong srry everyone! thx for the ppl that replied
Edited by FC v3 on Aug 22, 2011 at 12:12 AM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 1:12 AM 141 ms.
A Halo Maps Website