Cutscene help
Posted: Wed Dec 19, 2007 8:19 am
Hi im a retard
Im trying to make a cutscene using p0lar bear's cutscene tutorial n now im stuck
i did everything that it says but when i get to the script smething happens when i compile my scripts in sapien it says scripts compiled succesfully but when i play it in game the bipeds dont disappear
is there something wrong with the script
Im trying to make a cutscene using p0lar bear's cutscene tutorial n now im stuck
i did everything that it says but when i get to the script smething happens when i compile my scripts in sapien it says scripts compiled succesfully but when i play it in game the bipeds dont disappear
is there something wrong with the script
Code: Select all
;;; This first script removes the bipeds used in the cutscene, so
they're not visible until the cutscene starts (script startup
hidethebipeds
(object_destroy chief)
(object_destroy deadman)
)
(script startup cutscene
(sleep_until (volume_test_objects cutscenestart (players)) 5) ; Stop
script execution until a player walks into the trigger
(fade_out 1 1 1 30)
(player_enable_input 0)
(sleep 60)
(volume_teleport_players_not_inside hide hideplayers) ; Hide the
players by teleporting them out of the area
(cinematic_start)
(cinematic_show_letterbox 1)
(object_create_anew chief)
(object_create_anew deadman)
(camera_control 1) ; Let the script control the camera
(camera_set cam1 0)
(sleep 30)
(fade_in 1 1 1 30)
(ai_attach chief cinematic1)
(ai_attach deadman cinematic1)
(ai_command_list_by_unit chief cyborgkill)
(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)
(ai_command_list_advance_by_unit chief)
(sleep 30)
(unit_kill deadman) ; This is included to insure the biped dies, in
case the weapon's fire doesn't kill it
(sleep 60)
(fade_out 1 1 1 30)
(sleep 30)
(object_destroy chief)
(camera_control 0) ; Put the camera back onto the player's FPV
(volume_teleport_players_not_inside hide showplayers) ; Puts the player
back where s/he should be
(cinematic_show_letterbox 0)
(cinematic_stop)
(sleep 30)
(fade_in 1 1 1 30)
(player_enable_input 1)
)