Re: Help with this script?
Begins are not necessary unless used in if statements. And no I can't unless you give me the error.
Re: Help with this script?
Quote:
Originally Posted by
Dwood
Begins are not necessary unless used in if statements. And no I can't unless you give me the error.
When i try to compile the script, this error apears.
This is the last paragraph of my debug.txt.
09.02.09 18:08:54 sapien pc 01.00.00.0609 ----------------------------------------------
09.02.09 18:08:54 reference function: _write_to_error_file
09.02.09 18:08:54 reference address: 401b13
09.02.09 18:08:54 Couldn't read map file './sapienbeta.map'
09.02.09 18:08:55 CreateDevice succeeded with refresh rate = 0
09.02.09 18:08:55 Increasing sound decompression buffer size to 1048576 bytes
09.02.09 18:08:58 recompiling scripts after scenarios were merged.
09.02.09 18:08:58 i expected a script or variable definition.: ?
09.02.09 18:08:59 local player 0, weapon (0x0), deleted unexpectedly
09.02.09 18:09:08 i expected a script or variable definition.: ?
09.02.09 18:09:08 recompiling scripts after scenarios were merged.
09.02.09 18:09:08 i expected a script or variable definition.: ?
Re: Help with this script?
Quote:
Originally Posted by
cybykillers
Assault_On_Bloodgulch
theres the problem
Re: Help with this script?
Quote:
Originally Posted by
sevlag
theres the problem
explain plz?
Re: Help with this script?
Code:
(script startup Assault_On_Bloodgulch
(ai_place c1)
(object_create turret1)
(object_create turret2)
(ai_command_list c1 c1)
(ai_place h2)
(object_create warthog)
(ai_command_list h2 h3)
(ai_place h1)
(player_enable_input 0)
(camera_control 1)
(sleep 60)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set one 200)
(sleep 200)
(camera_set two 200)
(sleep 90)
(camera_set three 200)
(sleep 90)
(camera_set four 200)
(sleep 90)
(camera_set five 200)
(sleep 90)
(camera_set six 200)
(sleep 90)
(camera_set seven 200)
(sleep 90)
(camera_set eight 200)
(sleep 120)
(camera_set nine 200)
(sleep 90)
(camera_control 0)
(cinematic_stop)
)
(script startup Assault_On_Bloodgulch_2
(hud_set_objective_text obj1)
(sleep 15)
(ai_follow_target_players h1)
)
(script startup Assault_On_Bloodgulch_3
(sleep_until (volume_test_objects 1 (players)) 15)
(ai_place c2)
(game_save_no_timeout)
)
(script startup Assault_On_Bloodgulch_4
(sleep_until (volume_test_objects 2 (players)) 15)
(ai_place h2)
(ai_place h3)
(game_save_no_timeout)
(sleep_until (volume_test_objects 3 (players))15)
(hud_set_objective_text obj2)
(ai_command_list h2 h2)
(ai_command_list h3 c1)
(ai_command_list h3 c1)
)
(script startup Assault_On_Bloodgulch_5
(sleep_until (volume_test_objects 4 (players))15)
(hud_set_objective_text obj3)
(game_save_totally_unsafe)
(sleep_until (= (ai_living_count c1) 0) 1)
(hud_set_objective_text obj4)
(sleep_until (volume_test_objects 5 (players)) 15)
(sleep 5)
(player_enable_input 0)
(camera_control 1)
(sleep 60)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set ten 200)
(sleep 200)
(camera_set eleven 200)
(sleep 90)
(camera_set twelve 200)
(sleep 90)
(camera_control 0)
(cinematic_stop)
)
Try this. I'm thinking sapien isn't liking that you named your camera points numbers. It may also be the names of the AI. If it doesn't work, post the debug again.
Re: Help with this script?
Quote:
Originally Posted by
cybykillers
explain plz?
While it was meant as an insult, most of the members of any Halo CE Community are quite tired of seeing bloodgulch being modded over and over again.
http://hce.halomaps.org/index.cfm?se...ulch&B1=Search
268 uploads of Bloodgulch modified by another user. And most of them are retarded tag placing without any consideration done.
Re: Help with this script?
Quote:
Originally Posted by
CodeBrain
While it was meant as an insult, most of the members of any Halo CE Community are quite tired of seeing bloodgulch being modded over and over again.
http://hce.halomaps.org/index.cfm?se...ulch&B1=Search
268 uploads of Bloodgulch modified by another user. And most of them are retarded tag placing without any consideration done.
well i wasnt going to release it anyways. i just thought since im new to modding, i figure bloodgulch would be a good place to start on my first script since its big.
Re: Help with this script?
Quote:
Originally Posted by
cybykillers
well i wasnt going to release it anyways. i just thought since im new to modding, i figure bloodgulch would be a good place to start on my first script since its big.
to be honest BG is a good testing ground, but to test out patrol paths, try prisoner as a test map
Re: Help with this script?
Quote:
Originally Posted by
chrisk123999
Code:
(script startup Assault_On_Bloodgulch
(ai_place c1)
(object_create turret1)
(object_create turret2)
(ai_command_list c1 c1)
(ai_place h2)
(object_create warthog)
(ai_command_list h2 h3)
(ai_place h1)
(player_enable_input 0)
(camera_control 1)
(sleep 60)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set one 200)
(sleep 200)
(camera_set two 200)
(sleep 90)
(camera_set three 200)
(sleep 90)
(camera_set four 200)
(sleep 90)
(camera_set five 200)
(sleep 90)
(camera_set six 200)
(sleep 90)
(camera_set seven 200)
(sleep 90)
(camera_set eight 200)
(sleep 120)
(camera_set nine 200)
(sleep 90)
(camera_control 0)
(cinematic_stop)
)
(script startup Assault_On_Bloodgulch_2
(hud_set_objective_text obj1)
(sleep 15)
(ai_follow_target_players h1)
)
(script startup Assault_On_Bloodgulch_3
(sleep_until (volume_test_objects 1 (players)) 15)
(ai_place c2)
(game_save_no_timeout)
)
(script startup Assault_On_Bloodgulch_4
(sleep_until (volume_test_objects 2 (players)) 15)
(ai_place h2)
(ai_place h3)
(game_save_no_timeout)
(sleep_until (volume_test_objects 3 (players))15)
(hud_set_objective_text obj2)
(ai_command_list h2 h2)
(ai_command_list h3 c1)
(ai_command_list h3 c1)
)
(script startup Assault_On_Bloodgulch_5
(sleep_until (volume_test_objects 4 (players))15)
(hud_set_objective_text obj3)
(game_save_totally_unsafe)
(sleep_until (= (ai_living_count c1) 0) 1)
(hud_set_objective_text obj4)
(sleep_until (volume_test_objects 5 (players)) 15)
(sleep 5)
(player_enable_input 0)
(camera_control 1)
(sleep 60)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set ten 200)
(sleep 200)
(camera_set eleven 200)
(sleep 90)
(camera_set twelve 200)
(sleep 90)
(camera_control 0)
(cinematic_stop)
)
Try this. I'm thinking sapien isn't liking that you named your camera points numbers. It may also be the names of the AI. If it doesn't work, post the debug again.
it doesnt work... and heres the debug
03.27.10 21:40:04 sapien pc 01.00.00.0609 ----------------------------------------------
03.27.10 21:40:04 reference function: _write_to_error_file
03.27.10 21:40:04 reference address: 401b13
03.27.10 21:40:04 Couldn't read map file './sapienbeta.map'
03.27.10 21:40:05 CreateDevice succeeded with refresh rate = 0
03.27.10 21:40:06 Increasing sound decompression buffer size to 1048576 bytes
03.27.10 21:40:53 recompiling scripts after scenarios were merged.
03.27.10 21:40:53 i expected a script or variable definition.: ?
03.27.10 21:40:54 local player 0, weapon (0x0), deleted unexpectedly
03.27.10 21:41:03 i expected a script or variable definition.: ?
03.27.10 21:41:03 recompiling scripts after scenarios were merged.
03.27.10 21:41:03 i expected a script or variable definition.: ?