Remade Dungeon Level One: Central
Remade Dungeon Level One: Central. Added Didiamus' creature overrides. Full compile.
This commit is contained in:
@@ -2260,9 +2260,10 @@ road; +2 if the encounter occurs at night. */
|
||||
// Set Creature 11 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC11", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
//:: (1) Ghast & (4-6) Ghouls [2 HD]
|
||||
|
||||
DelayCommand(0.0f, SpeakString("Encounter # is: "+IntToString(nSpawn), TALKVOLUME_SHOUT));
|
||||
}
|
||||
@@ -2272,7 +2273,6 @@ road; +2 if the encounter occurs at night. */
|
||||
//:: End Horsefly Swamp Random Encounters
|
||||
|
||||
|
||||
|
||||
/* Sea Coast Road Wandering Monsters
|
||||
Check for encounters at 4 a.m. (just before
|
||||
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
|
||||
@@ -8297,6 +8297,382 @@ at night. */
|
||||
//:: Great Northern Desert Random Encounters
|
||||
|
||||
|
||||
//:: Dungeon Level 1 Random Encounters
|
||||
if (sCamp == "enc_level01")
|
||||
{
|
||||
int nSpawn = Random(20) + 1;
|
||||
switch(nSpawn)
|
||||
{
|
||||
case 1:
|
||||
//:: 3d6 Dire Rats + 1d2 Wererats
|
||||
{
|
||||
int nRats = d6(3) + d2(1);
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", nRats);
|
||||
// Set Radius of Camp
|
||||
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
||||
|
||||
// Set Creature 0 to be Trigger
|
||||
// Script 00 : Kill him and the Camp Despawns
|
||||
// SetLocalString(oCamp, "CampTrigger", "C0");
|
||||
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
||||
|
||||
// Set Placeable 0 to be Camp Center
|
||||
//SetLocalString(oCamp, "CampCenter", "P0");
|
||||
|
||||
// Set Placeable 0 and Spawn Flags
|
||||
// First Placeable always Spawns at Center of Camp
|
||||
// If CampCenter Is Not Set
|
||||
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
||||
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
||||
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 1 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 2 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 3 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 4 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 5 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 6 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC6", "ra_wererat001");
|
||||
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 7 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 8 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
||||
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 9 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 10 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 11 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 12 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 13 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC13", "ra_wererat001");
|
||||
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 14 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 15 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 16 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 17 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 18 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
||||
|
||||
// Set Creature 19 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
||||
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 3d6 Dire Rats + 1d2 Wererats
|
||||
|
||||
case 2:
|
||||
//:: 2d6 Ghouls [2 HD] + 25% chance of 1d3 Ghouls [4HD]
|
||||
{
|
||||
int nSpawnNum = 3 + d6(2);
|
||||
int randomNum;
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
||||
// Set Radius of Camp
|
||||
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
||||
|
||||
// Set Creature 0 to be Trigger
|
||||
// Script 00 : Kill him and the Camp Despawns
|
||||
SetLocalString(oCamp, "CampTrigger", "C0");
|
||||
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
||||
|
||||
// Set Placeable 0 to be Camp Center
|
||||
//SetLocalString(oCamp, "CampCenter", "P0");
|
||||
|
||||
// Set Placeable 0 and Spawn Flags
|
||||
// First Placeable always Spawns at Center of Camp
|
||||
// If CampCenter Is Not Set
|
||||
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
||||
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
||||
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
randomNum = d100(1);
|
||||
if (randomNum < 10)
|
||||
{
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "ghast001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
|
||||
randomNum = d100(1);
|
||||
if (randomNum < 10)
|
||||
{
|
||||
// Set Creature 1 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC1", "ghast001");
|
||||
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set Creature 1 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC1", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
randomNum = d100(1);
|
||||
if (randomNum < 10)
|
||||
{
|
||||
// Set Creature 2 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC2", "ghast001");
|
||||
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set Creature 2 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC2", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
||||
}
|
||||
|
||||
// Set Creature 3 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC3", "ghoul001");
|
||||
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 4 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC4", "ghoul001");
|
||||
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 5 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC5", "ghoul001");
|
||||
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
||||
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 6 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC6", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 7 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC7", "ghast001");
|
||||
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 8 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC8", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 9 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC9", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 10 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC10", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 11 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC11", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 12 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC12", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 13 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC13", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
// Set Creature 14 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC14", "ghoul001");
|
||||
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD10_RH30");
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 2d6 Ghouls [2 HD] + 25% chance of 1d3 Ghouls [4HD]
|
||||
|
||||
case 3:
|
||||
//:: 1 Gelatinous Cube: 04 HD
|
||||
{
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", 1);
|
||||
// Set Radius of Camp
|
||||
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
||||
|
||||
// Set Creature 0 to be Trigger
|
||||
// Script 00 : Kill him and the Camp Despawns
|
||||
// SetLocalString(oCamp, "CampTrigger", "C0");
|
||||
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
||||
|
||||
// Set Placeable 0 to be Camp Center
|
||||
//SetLocalString(oCamp, "CampCenter", "P0");
|
||||
|
||||
// Set Placeable 0 and Spawn Flags
|
||||
// First Placeable always Spawns at Center of Camp
|
||||
// If CampCenter Is Not Set
|
||||
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
||||
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
||||
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "RA_GELCUBE001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 1 Gelatinous Cube: 04 HD
|
||||
|
||||
case 4:
|
||||
//:: 1 Dung Monster: 10 HD
|
||||
{
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", 1);
|
||||
// Set Radius of Camp
|
||||
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
||||
|
||||
// Set Creature 0 to be Trigger
|
||||
// Script 00 : Kill him and the Camp Despawns
|
||||
// SetLocalString(oCamp, "CampTrigger", "C0");
|
||||
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
||||
|
||||
// Set Placeable 0 to be Camp Center
|
||||
//SetLocalString(oCamp, "CampCenter", "P0");
|
||||
|
||||
// Set Placeable 0 and Spawn Flags
|
||||
// First Placeable always Spawns at Center of Camp
|
||||
// If CampCenter Is Not Set
|
||||
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
||||
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
||||
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "ra_dungmonster01");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 1 Dung Monster: 10 HD
|
||||
|
||||
case 5: case 6: case 7: case 8: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20:
|
||||
//:: 1 Dire Rat
|
||||
{
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", 1);
|
||||
// Set Radius of Camp
|
||||
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
||||
|
||||
// Set Creature 0 to be Trigger
|
||||
// Script 00 : Kill him and the Camp Despawns
|
||||
// SetLocalString(oCamp, "CampTrigger", "C0");
|
||||
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
||||
|
||||
// Set Placeable 0 to be Camp Center
|
||||
//SetLocalString(oCamp, "CampCenter", "P0");
|
||||
|
||||
// Set Placeable 0 and Spawn Flags
|
||||
// First Placeable always Spawns at Center of Camp
|
||||
// If CampCenter Is Not Set
|
||||
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
||||
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
||||
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 1 Dire Rat
|
||||
}
|
||||
|
||||
}
|
||||
//:: Dungeon Level 1 Random Encounters
|
||||
|
||||
//:: The Dishonest Patrol (EL 11)
|
||||
if (sCamp == "dishonest_patrol")
|
||||
|
Reference in New Issue
Block a user