//#include "SHORTCUTT_6a_dlg.h" #include "cutscene_common.cs" // global variables int ce01, ce04, ce11, player; void main() { LoadScene("se01"); //fade in Fade(0, 0, 0, 1, 0, 0, 0, 0, 1, 1); //show movie border ShowMovieBorder("movie", 120); // spawn chara and set initial position ce01= SpawnMale(14, 131.6, 2.5); SetCharaWeapon(ce01, 0); ce04= SpawnFemale(-12.7, 114.4, 2.5); SetCharaWeapon(ce04, 0); ce11= SpawnChara("CE11", 1.5, 248, 2.5);//-1278, 4123, 765); SetCharaWeapon(ce11, 0); // Set chara initial direction SetEntityDir(ce01, 0, 1, 0); SetEntityDir(ce04, 0, 1, 0); SetEntityDir(ce11, 0, 1, 0); // get player and hide acZaras player = GetPlayerChara(); ShowEntity(ce01, 1); ShowEntity(ce04, 1); ShowEntity(ce11, 1); // delete acZaras and resZarae player after end cutscene ActorList(ce01); ActorList(ce04); ActorList(ce11); SetCharaStyle(ce11, 1); SetCharaStyle(ce04, 1); UnLook(ce11); //------------------------------------ SetCamPos(32.9, 180.2, 62.8); SetCamDir(137, 322, 0); //two walk to Qi LookChara(ce01, ce11); LookChara(ce04, ce11); SetCharaStyle(ce01, 1); SetCharaStyle(ce04, 1); CharaWalkTo(ce01, 13, 200.3, 2.5);//13, 196.3, 2.5//0.2,1,0 Sleep(0.5); CharaWalkTo(ce04, -7.7, 200.4, 2.5);//-7.7, 196.4, 2.5//0.5,0.8,0 WaitCharaUntil(ce01); SetCharaStyle(ce01, 0); WaitCharaUntil(ce04); SetCharaStyle(ce04, 0); Sleep(0.5); //------------------------------------------ //M2 Master! You wanted to speak with me? BeginFadeImg(PhotoFemale, 30, 485, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_M2, 210, 510, 1.5); PlayVoice("32_mia_001"); WaitVoiceUntil(); EndText(SHORTCUTT_6a_M2, 0.5); EndFadeImg(PhotoFemale, 0.5); Sleep(0.5); PlayPose(ce11, 1097, 1.3); Sleep(1); LookChara(ce11, ce04); Sleep(0.5); //Q3a Yes, Mia. Ah, Kai, it is good that you are //Q3b here too. BeginFadeImg("cs_ce11", 30, 30, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_Q3a, 210, 50, 1.5); BeginText(SHORTCUTT_6a_Q3b, 210, 70, 1.5); PlayVoice("32_qi_002"); //---------------- Sleep(1.2); LookChara(ce11, ce01); //------------------- Sleep(3); EndText(SHORTCUTT_6a_Q3a, 0.25); EndText(SHORTCUTT_6a_Q3b, 0.25); Sleep(0.3); //--------------------------------------- SetCamPos(22.9, 184.3, 41.5); SetCamDir(132.8, 343.6, 0); LookChara(ce11, ce04); //Q4a I have a very important task to entrust to //Q4b you, Mia. BeginText(SHORTCUTT_6a_Q4a, 210, 50, 1.5); BeginText(SHORTCUTT_6a_Q4b, 210, 70, 1.5); Sleep(3.5); EndText(SHORTCUTT_6a_Q4a, 0.25); EndText(SHORTCUTT_6a_Q4b, 0.25); Sleep(0.3); //---------------// /* SetCamPos(444.2, 701, 333.3); SetCamDir(211.5, 350.8, 0); MoveCamLineTo(501.7, 607.3, 333.3, 10, 0); SetCamPos(605.8, -332.7, 301.6); SetCamDir(108.5, 356.1, 0); MoveCamLineTo(281.4, -441.2, 301.6, 10, 0); */ SetCamPos(579.6, -1384.3, -19); SetCamDir(122.9, 6.5, 0); MoveCamLineTo(643.8, -1342.7, -19, 10, 0); SetEntityPos(ce11, 2.8, 239.2, 2.6); CharaFaceTo(ce01, -0.3, 0.9, 0); CharaFaceTo(ce04, 0.5, 0.8, 0); //Q5a This task is in fact the very reason established //Q5b Yong-jian Village-it has been my life's BeginText(SHORTCUTT_6a_Q5a, 210, 50, 1.5); BeginText(SHORTCUTT_6a_Q5b, 210, 70, 1.5); Sleep(5.7); EndText(SHORTCUTT_6a_Q5a, 0.25); EndText(SHORTCUTT_6a_Q5b, 0.25); Sleep(0.3); //Q5c aspiration since I was your age. BeginText(SHORTCUTT_6a_Q5c, 210, 60, 1.5); WaitVoiceUntil(); EndText(SHORTCUTT_6a_Q5c, 0.5); EndFadeImg("cs_ce11", 0.5); //WaitCamUntil(); Sleep(0.5); //----------------------// //SetCamPos(26.8, 260.7, 35.6); //SetCamDir(237.7, 354, 0); SetCamPos(20.4, 251.1, 31.1); SetCamDir(248.8, 352.5, 0); PlayPose(ce01, 1104, 1.5); //K6 You want us to go fishing? BeginFadeImg(PhotoMale, 30, 485, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_K6, 210, 510, 1.5); PlayVoice("32_kai_003"); WaitVoiceUntil(); EndText(SHORTCUTT_6a_K6, 0.5); EndFadeImg(PhotoMale, 0.5); Sleep(0.5); LookChara(ce04, ce01); Sleep(0.5); //M7 Quiet, Kai, the Master is serious! BeginFadeImg(PhotoFemale, 30, 485, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_M7, 210, 510, 1.5); PlayVoice("32_mia_004"); //----------------------- Sleep(0.2); LookChara(ce01, ce04); //----------------------- WaitVoiceUntil(); EndText(SHORTCUTT_6a_M7, 0.5); EndFadeImg(PhotoFemale, 0.5); Sleep(0.5); //----------------------// SetCamPos(17.4, 217.7, 32); SetCamDir(123.5, 5.7, 0); LookChara(ce04, ce11); LookChara(ce01, ce11); Sleep(0.5); //Q8a Do you remember the stories I have told you //Q8b two of the legend of the Iron Phoenix? BeginFadeImg("cs_ce11", 30, 30, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_Q8a, 210, 50, 1.5); BeginText(SHORTCUTT_6a_Q8b, 210, 70, 1.5); PlayVoice("32_qi_005"); WaitVoiceUntil(); EndText(SHORTCUTT_6a_Q8a, 0.5); EndText(SHORTCUTT_6a_Q8b, 0.5); EndFadeImg("cs_ce11", 0.5); Sleep(0.5); // Sleep(1); //------------------// SetCamPos(22.5, 214.5, 33.7); SetCamDir(230.3, 359.7, 0); LookChara(ce01, ce04); Sleep(0.5); //K9 The fairy tales? BeginFadeImg(PhotoMale, 30, 485, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_K9, 210, 510, 1.5); PlayVoice("32_kai_006"); WaitVoiceUntil(); EndText(SHORTCUTT_6a_K9, 0.5); EndFadeImg(PhotoMale, 0.5); Sleep(0.5); //-----------------// SetCamPos(2.3, 205.5, 29); SetCamDir(216.5, 11.1, 0); LookChara(ce01, ce11); Sleep(0.5); //M10a I remember what you told us, Master. About the //M10b magic weapons and the power they grant. BeginFadeImg(PhotoFemale, 30, 485, 180, 90, 1, 1, 0.5); BeginText(SHORTCUTT_6a_M10a, 210, 500, 1.5); BeginText(SHORTCUTT_6a_M10b, 210, 520, 1.5); PlayVoice("32_mia_007"); WaitVoiceUntil(); EndText(SHORTCUTT_6a_M10a, 0.5); EndText(SHORTCUTT_6a_M10b, 0.5); EndFadeImg(PhotoFemale, 0.5); Sleep(0.5); //fade out Fade(0, 0, 0, 0, 0, 0, 0, 1, 2, 1); Sleep(2); //end TheEnd(); }