Lankhmar_PRC8/_module/nss/cs_slands2.nss

97 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "in_g_cutscene"
int ValidCharacterForPrelude();
void main()
{
object oWPPC_SL = GetWaypointByTag("WP_PC_Dest");
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_SL,FALSE,0.0,78.0);
GestaltSpeak(0.5, oPC, "The landscape is soggy, and the skies are overcast, gray, and stormy");
GestaltSpeak(5.0, oPC, "Slimy green grass, covered by rotting eels, surrounds waterlogged cypresses.");
GestaltSpeak(15.0, oPC, "Tendrils of seaweed hang from the trees like the hair of drowned men.");
GestaltSpeak(25.0, oPC, "Pools of water separate the marshy ground from higher, drier hummocks.");
GestaltSpeak(36.0, oPC, "The brackish water and dying aquatic life permeate the area with the smell of rotting fish.");
GestaltSpeak(45.0, oPC, "The ground trembles every now and then beneath your feet.");
// GestaltSpeak(31.0, oPC, "You wonder what it looks like when the ocean covers the area.");
// GestaltSpeak(35.0, oPC, "It even leaves barnacles on the trees.");
// GestaltSpeak(40.0, oPC, "The Sinking Lands are home to dangerous creatures.");
// GestaltSpeak(45.0, oPC, "Sea Cloakers, Marsh Leopards, and Salt Spiders to name a few.");
// GestaltSpeak(50.0, oPC, "Angarngi would truly be mad to leave his tower in the middle of lands like this.");
// GestaltSpeak(56.0, oPC, "You wonder if anyone could even live out here without a boat of some kind.");
// GestaltSpeak(61.0, oPC, "It is truly a forsaken land.");
// GestaltSpeak(65.0, oPC, "And the weather is not the best, either.");
DelayCommand(68.0, SetWeather(GetModule(), WEATHER_RAIN));
GestaltSpeak(77.0, oPC, "<22>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.0,
0.0, -4.0, 0.0,
0.0, 0.0, 8.0,
5.0, 30.0, oPC);
// 270.0,10.0,40.0
GestaltCameraSmooth (40.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 (62.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 (78.0, oPC);
DestroyObject(OBJECT_SELF);
}