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 »problem compiling scripts

Author Topic: problem compiling scripts (7 messages, Page 1 of 1)
Moderators: Dennis

delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 1, 2007 10:45 PM    Msg. 1 of 7       
after i hit the compile scripts button in sapien this came up:
06.01.07 22:33:22 i expected a script or variable definition.: ÿþ(
06.01.07 22:33:22 recompiling scripts after scenarios were merged.
06.01.07 22:33:23 i expected a script or variable definition.: ÿþ(

so could some1 tell me how to fix this? i have no idea what it means


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 1, 2007 11:25 PM    Msg. 2 of 7       
well actually there is more that one script, but here they are:

(script startup checkpoint
(sleep_until (volume_test_objects check1 (players))15)
(game_save)
)


(script startup killflood
(sleep_until (volume_test_objects kill_flood (players)) 15)
(ai_kill_silent flood)
)


(script startup music
(sleep_until (volume_test_objects flood_attack (players)) 15)
(sound_impulse_start sound\music\unyield none 1)
)


(script startup placeflood
(sleep_until (volume_test_objects flood_attack (players)) 15)
(ai_place flood)
)


(script startup spawn3vehicles
(object_create dead_hog)
(object_create tire1)
(object_create tire2)
)


There, thats it except for a cutscene script which i am positivly certain that that one works.


H Guru
Joined: Oct 15, 2006

EHSv3 Coming Soon!


Posted: Jun 2, 2007 07:34 AM    Msg. 3 of 7       
use the new script me and killer kiwi made for vehicels, its in EHS V2


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 2, 2007 10:46 AM    Msg. 4 of 7       
well the game_save command was in a tutorial for a checkpoint, so i used that. and i don't need the new version of the vehicle spawn, its doesn't really matter since its a single player map. but it could be in the cutscene script, but im not sure, so ill post it here:

(script startup cutscene1
(begin
(cinematic_start)
(fade_in 1 1 1 30)
(camera_control 1)
(camera_set cut1 100)
(sleep 40)
(camera_set cut2 100)
(sleep 40)
(camera_set cut3 100)
(sleep 40)
(camera_set cut4 100)
(sleep 40)
(camera_set cut5 100)
(sleep 40)
(camera_set cut6 100)
(sleep 40)
(camera_set cut7 100)
(sleep 40)
(camera_set cut8 100)
(sleep 40)
(camera_set cut9 100)
(sleep 40)
(camera_set cut10 100)
(sleep 40)
(camera_set cut11 100)
(sleep 40)
(camera_set cut12 100)
(sleep 40)
(camera_set cut13 100)
(sleep 40)
(camera_set cut14 100)
(sleep 40)
(camera_set cut15 100)
(sleep 40)
(camera_set cut16 100)
(sleep 40)
(camera_set cut17 100)
(sleep 40)
(camera_set cut18 100)
(sleep 40)
(camera_set cut19 100)
(sleep 40)
(camera_set cut20 100)
(sleep 40)
(camera_set cut21 100)
(sleep 40)
(camera_set cut22 100)
(sleep 40)
(camera_set cut23 100)
(sleep 40)
(camera_set cut24 100)
(fade_out 1 1 1 30)
(sleep 50)
(fade_in 1 1 1 30)
(camera_control 0)
(sleep 50)
(cinematic_stop)
)
)


(script startup hidethebipeds
(object_destroy chief)
)
(script startup cutscene
(sleep_until (volume_test_objects cutscenestart (players)) 5)
(fade_out 1 1 1 30)
(player_enable_input 0)
(sleep 60)
(volume_teleport_players_not_inside hide hideplayers)
(cinematic_start)
(cinematic_show_letterbox 1)
(object_create_anew chief)
(camera_control 1)
(camera_set cam1 0)
(sleep 30)
(fade_in 1 1 1 30)
(ai_attach chief cinematic1)
(ai_command_list_by_unit chief end)
(sleep 60)
(camera_set cam2 0)
(sleep 30)
(camera_set cam3 0)
(ai_command_list_advance_by_unit chief)
(sleep 30)
(camera_set cam4 0)
(sleep 30)
(effect_new "vehicles\scorpion\shell explosion" "boom")
(ai_command_list_advance_by_unit chief)
(sleep 30)
(camera_set cam5 0)
(sleep 30)
(cinematic_set_title tutorial)
(camera_set cam6 0)
(sleep 30)
(fade_out 1 1 1 30)
(sleep 30)
(object_destroy chief)
(sleep 30)
)


i used some of these from polar_bears wiki tutorials
Edited by delta49 on Jun 2, 2007 at 10:49 AM


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 2, 2007 07:02 PM    Msg. 5 of 7       
only one script worked....... so here are the ones that don't work:

(script startup checkpoint
(sleep_until (volume_test_objects check1 (players))15)
(game_save)
)


(script startup hidethebipeds
(object_destroy chief)
)
(script startup cutscene
(sleep_until (volume_test_objects cutscenestart (players)) 5)
(fade_out 1 1 1 30)
(player_enable_input 0)
(sleep 60)
(volume_teleport_players_not_inside hide hideplayers)
(cinematic_start)
(cinematic_show_letterbox 1)
(object_create_anew chief)
(camera_control 1)
(camera_set cam1 0)
(sleep 30)
(fade_in 1 1 1 30)
(ai_attach chief cinematic1)
(ai_command_list_by_unit chief end)
(sleep 60)
(camera_set cam2 0)
(sleep 30)
(camera_set cam3 0)
(ai_command_list_advance_by_unit chief)
(sleep 30)
(camera_set cam4 0)
(sleep 30)
(effect_new "vehicles\scorpion\shell explosion" "boom")
(ai_command_list_advance_by_unit chief)
(sleep 30)
(camera_set cam5 0)
(sleep 30)
(cinematic_set_title tutorial)
(camera_set cam6 0)
(sleep 30)
(fade_out 1 1 1 30)
(sleep 30)
(object_destroy chief)
(sleep 30)
)


(script startup killflood
(sleep_until (volume_test_objects kill_flood (players)) 15)
(ai_kill_silent flood)
)


(script startup music
(sleep_until (volume_test_objects flood_attack (players)) 15)
(sound_impulse_start sound\music\unyield none 1)
)


(script startup placeflood
(sleep_until (volume_test_objects flood_attack (players)) 15)
(ai_place flood)
)


(script startup spawn3vehicles
(object_create dead_hog)
(object_create tire1)
(object_create tire2)
)


there, thats alot, but i hope some1 can fix them
Edited by delta49 on Jun 2, 2007 at 07:37 PM


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 2, 2007 11:43 PM    Msg. 6 of 7       
can you give me an example of what it should be please? and btw, all the scripts that didn't work said the same thing in debug:
**i expected a script or variable definition.: ÿþ(**


delta49
Joined: Jan 23, 2007

I don't always make shaders..


Posted: Jun 3, 2007 05:08 PM    Msg. 7 of 7       
those objects are in sapien, but ther has to be something wrong....

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 4:07 AM 906 ms.
A Halo Maps Website