76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
#include "in_g_cutscene"
|
|
|
|
|
|
int ValidCharacterForPrelude();
|
|
|
|
void main()
|
|
{
|
|
|
|
|
|
object
|
|
oWPPC_SP = GetWaypointByTag("WP_DST_WP_Snkpasg");
|
|
|
|
object oPC = GetLocalObject(GetModule(),"cutsceneviewer");
|
|
//object oFan = GetLocalObject(GetModule(),"barrow");
|
|
|
|
|
|
// Start cutscene
|
|
GestaltStartCutscene (oPC,"cs_slands",TRUE,TRUE,TRUE,TRUE,2);
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
float fFace = GetFacing(oPC);
|
|
|
|
// GestaltFace (0.0, oPC, 0.0,2,oFan);
|
|
|
|
GestaltActionMove (0.0, oPC, oWPPC_SP,FALSE,0.0,45.0);
|
|
|
|
GestaltSpeak(0.5, oPC, "The potion of water breathing allows you to follow the Shree-kah trail.");
|
|
|
|
GestaltSpeak(20.0, oPC, "The Shree-kah definitely use this passage to get from the catacombs to the sewers and back.");
|
|
|
|
GestaltSpeak(40.0, oPC, "The Shree-kah trail ends in this passage. You hope there is air on the other side..");
|
|
|
|
// DelayCommand(68.0, SetWeather(GetModule(), WEATHER_RAIN));
|
|
|
|
// GestaltSpeak(77.0, oPC, "…Wait.. Is that a cave?");
|
|
|
|
//GestaltCameraMove(0.0, fFace + 270.0, 10.0, 150.0, 78.0, fFace + 180.0,15.0,30.0,30.0, oPC);
|
|
|
|
|
|
|
|
|
|
GestaltCameraSetup (0.0, oPC, 270.0, 20.0, 150.0);
|
|
|
|
// 270.0,20.0,20.0
|
|
|
|
GestaltCameraSmooth (0.5,
|
|
0.0, -4.0, 0.0,
|
|
0.0, 0.0, 8.0,
|
|
5.0, 30.0, oPC);
|
|
|
|
// 270.0,10.0,40.0
|
|
|
|
GestaltCameraSmooth (20.0,
|
|
0.0, 0.0, 8.0,
|
|
18.0, 0.0, -8.0,
|
|
5.0, 30.0, oPC);
|
|
|
|
// 315.0,10.0,40.0
|
|
|
|
GestaltCameraSmooth (40.0,
|
|
18.0, 0.0, -8.0,
|
|
0.0, 0.0, 0.0,
|
|
5.0, 30.0, oPC);
|
|
|
|
// 360.0,10.0,20.0
|
|
|
|
|
|
|
|
GestaltStopCutscene (48.01, oPC, "WP_catacombs");
|
|
}
|