;_________________________________________ ; ; Available Cinematic Script Commands ; ; time/frame Create_Object, id (slot), preset_name, x, y, z, facing, animation ; id can be -1 to mean do not store this object, and do not destroy ; 0 Create_Object, 0, .44 Magnum, 0, 0, 0, 180, "Human.jump" ; ; time/frame Destroy_Object, id (slot) ; 0 Destroy_Object, 0 ; ; time/frame Play_Animation, id (slot), animation_name, looping, sub_obj_name ; 0 Play_Animation, 0, "Human.Jump", false ; ; time/frame Control_Camera, id ( slot ) ; use id -1 for disabling control; ; note this will also disable star control and disbale the hud ; 0 Control_Camera, 0 ; ;_________________________________________ ;******************* CHEAT SHEET ****************************** ;Start frame create_object slot number model x,y,z,facing animation name( model*hierarchy*.anim ) ;Start frame Play_Animation slot number anim name ( model*hierarchy*.anim ) looping Sub Object ;Start frame Play_Audio wave filename slot number bone name ; * no slot # / bone name = 2D Audio ;0= NO LOOP ( kills object when finshed ) 1= LOOP ********************************* MIDTRO 4B ********************************************************* ; Subtracted 70 from all frames so animation starts on 0 ; ****************************** Roottransform Bone -0 Create_Object, 7, "o_crate_sm" -728 destroy_object, 7 ; ****************************** camera -0 Create_Object, 0, "X4A_CAMERA", 0, 0, 0, 0, -0 Play_Animation, 0, "X4A_CAMERA.X4A_CAMERA", 0 -0 Control_Camera, 0 -727 Send_Custom, 104514, 0, 1 -728 Control_Camera, -1 -728 destroy_object, 0 :******************************* Cinematic Screen Effects ***************** -0 Enable_Letterbox, 1, 1 -0 Set_Screen_Fade_Color, 0,0,0,0 -0 Set_Screen_Fade_Opacity, 1,0 -0 Set_Screen_Fade_Opacity, 0,2 -698 Set_Screen_Fade_Color, 0,0,0,0 -698 Set_Screen_Fade_Opacity, 1,1 -728 Set_Screen_Fade_Opacity, 0,0 -698 Enable_Letterbox, 0, 1 ; ****************************** havoc -0 Create_Real_Object, 1, "GDI_MiniGunner_3Boss", 7, "ROOTTRANSFORM" -0 Attach_to_Bone, 1, 7, "ROOTTRANSFORM" -0 Attach_Script, 1, "M00_Disable_Loiter_DAY" -0 Play_Animation, 1, "s_a_head.x4a_hav_facial",0 , "c_havoc_head" -78 Play_audio, "L04b_01_Hav01",1 , "c head" -178 Play_audio, "L04b_02_Hav02",1 , "c head" -312 Play_audio, "L04b_05_Hav03",1 , "c head" -416 Play_audio, "L04b_07_Hav04",1 , "c head" -445 Play_audio, "L04b_08_Hav05",1 , "c head" -595 Play_audio, "L04b_10_Hav06",1 , "c head" -656 Play_audio, "L04b_11_Hav07",1 , "c head" -0 Play_Animation, 1, "s_a_human.H_A_X4A_HAVOC", 0 -728 destroy_object, 1 ; ****************************** gdi pRISONER_1 -200 Create_Real_Object, 2, "GDI_Prisoner_v0a", 7, "ROOTTRANSFORM" -200 Attach_to_Bone, 2, 7, "ROOTTRANSFORM" -200 Attach_Script, 2, "M00_Disable_Loiter_DAY" -200 Play_Animation, 2, "s_a_head.x4a_pris_facial",0 , "c_gdi_pr_head" -215 Play_audio, "L04b_04_PW101",1 , "c head" -344 Play_audio, "L04b_06_PW102",1 , "c head" -503 Play_audio, "L04b_09_pw103",1 , "c head" -200 Play_Animation, 2, "s_A_human.H_A_X4A_GDI_1", 1 -335 Play_Animation, 2, "s_A_human.H_A_X4A_GDI_1B", 0 -695 destroy_object, 2 ; ****************************** gdi pRISONER_2 -200 Create_Real_Object, 3, "GDI_Prisoner_v2a", 7, "ROOTTRANSFORM" -200 Attach_to_Bone, 3, 7, "ROOTTRANSFORM" -200 Attach_Script, 3, "M00_Disable_Loiter_DAY" -200 Play_Animation, 3, "s_A_human.H_A_X4A_GDI_2", 0 -314 destroy_object, 3 ; ****************************** gdi pRISONER_2B -335 Create_Real_Object, 4, "GDI_Prisoner_v2a", 7, "ROOTTRANSFORM" -335 Attach_to_Bone, 4, 7, "ROOTTRANSFORM" -335 Attach_Script, 4, "M00_Disable_Loiter_DAY" -335 Play_Animation, 4, "s_A_human.H_A_X4A_GDI_2B", 0 -500 destroy_object, 4 ; ****************************** gdi pRISONER_3 -200 Create_Real_Object, 5, "GDI_Prisoner_v1a", 7, "ROOTTRANSFORM" -200 Attach_to_Bone, 5, 7, "ROOTTRANSFORM" -200 Attach_Script, 5, "M00_Disable_Loiter_DAY" -200 Play_Animation, 5, "s_A_human.H_A_X4A_GDI_3", 0 -314 destroy_object, 5 ; ****************************** gdi pRISONER_3B -335 Create_Real_Object, 6, "GDI_Prisoner_v1a", 7, "ROOTTRANSFORM" -335 Attach_to_Bone, 6, 7, "ROOTTRANSFORM" -335 Attach_Script, 6, "M00_Disable_Loiter_DAY" -335 Play_Animation, 6, "s_A_human.H_A_X4A_GDI_3B", 0 ;Enable prisoners at submarine -500 Send_Custom, 106103,1000,1 -500 destroy_object, 6 ; ****************************** New MP3 Audio -0 Play_audio, "04_A"