Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
1209 lines
48 KiB
Plaintext
1209 lines
48 KiB
Plaintext
//
|
|
// Spawn Camp
|
|
//
|
|
//
|
|
// CampNumP
|
|
// CampNumC
|
|
// CampRadius
|
|
// CampTrigger
|
|
// CampTriggerScript
|
|
//
|
|
// RW : Random Walk
|
|
// SF : Spawn Facing Camp
|
|
// SG : Spawn Group
|
|
// LT00 : Loot Table
|
|
// CD000|T0 : Corpse Decay
|
|
// PL0|T00 : Placeable Trap Disabled
|
|
// DT000 : Death Script
|
|
// RH000 : Return Home
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//void main (){}
|
|
//
|
|
//
|
|
//
|
|
|
|
object GetChildByTag(object oSpawn, string sChildTag);
|
|
object GetChildByNumber(object oSpawn, int nChildNum);
|
|
object GetSpawnByID(int nSpawnID);
|
|
void DeactivateSpawn(object oSpawn);
|
|
void DeactivateSpawnsByTag(string sSpawnTag);
|
|
void DeactivateAllSpawns();
|
|
void DespawnChildren(object oSpawn);
|
|
void DespawnChildrenByTag(object oSpawn, string sSpawnTag);
|
|
//
|
|
//
|
|
void SetCampSpawn(object oCamp, string sCamp, location lCamp)
|
|
{
|
|
|
|
//
|
|
// Place Custom Camps Here
|
|
// -------------------------------------------
|
|
|
|
//:: Sheriff's patrol (6% daytime chance in wilderness areas)
|
|
if (sCamp == "sheriffs_patrol")
|
|
{
|
|
//:: Foot Patrol [8 footmen, 2 knights, 1 sheriff]
|
|
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", 11);
|
|
// Set Radius of Camp
|
|
SetLocalFloat(oCamp, "CampRadius", 5.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 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 Creature 0 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC0", "RA_M_SHERIFF001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG020M010_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_M_KNIGHT001");
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG020M010_CD060");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "RA_M_KNIGHT001");
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RG020M010_CD060");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC4", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC5", "RA_F_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC6", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC7", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC8", "RA_F_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC9", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC10", "RA_M_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RG010M002_CD060");
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC11", "RA_F_FOOTMN001");
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RG010M002_CD060");
|
|
|
|
}
|
|
//:: Sheriff's patrol (6% daytime chance in wilderness areas)
|
|
|
|
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
|
if (sCamp == "dragonmarsh_forest")
|
|
{
|
|
int nSpawn = Random(17)+1;
|
|
switch (nSpawn)
|
|
{
|
|
case 1:
|
|
//:: 2d4 Med. Vipers
|
|
{
|
|
|
|
int nVipers = d4(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nVipers);
|
|
// 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", "ZEP_MEDFORESTVI");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDFORESTVI");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
break;
|
|
}
|
|
//:: 2d4 Med. Vipers
|
|
|
|
case 2: case 3:
|
|
//:: 2d6 Outlaws
|
|
{
|
|
|
|
int nOutlaws = d6(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
|
// 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_M_OUTLAW001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
break;
|
|
}
|
|
//:: 2d6 Outlaws
|
|
|
|
case 4: case 5:
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
{
|
|
|
|
int nBrigands = d4(2)+1;
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
|
// 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_BRIGAND002");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
break;
|
|
}
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
case 6: case 7:
|
|
//:: 2d6 Dire Wolves
|
|
{
|
|
int nDireWolves = d6(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nDireWolves);
|
|
// 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_DIREWOLF001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d6 Dire Wolves
|
|
|
|
case 8:
|
|
//:: 2d4 Trolls
|
|
{
|
|
int nTrolls = d4(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
// 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_TROLL001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d4 Trolls
|
|
|
|
case 9: case 10:
|
|
//:: 2d4 Dire Boars
|
|
{
|
|
int nDireBoars = d4(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nDireBoars);
|
|
// 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_DIREBOAR001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// 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_DIREBOAR001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d4 Dire Boars
|
|
|
|
case 11: case 12: case 13:
|
|
//:: 4d6 Dire Rats
|
|
{
|
|
int nRats = d6(4);
|
|
// 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_DIRERAT001");
|
|
// 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_DIRERAT001");
|
|
// 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");
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 4d6 Dire Rats
|
|
|
|
case 14:
|
|
//:: 2d4 Monstrous Spiders
|
|
{
|
|
int nMonSpiders = d4(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nMonSpiders);
|
|
// 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", "MONST_SPIDER004");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// 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", "MONST_SPIDER004");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d4 Monstrous Spiders
|
|
|
|
case 15:
|
|
//:: 2d4 Trolls
|
|
{
|
|
int nTrolls = d4(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
// 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_TROLL001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// 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_TROLL001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d4 Trolls
|
|
|
|
case 16:
|
|
//:: 1d6+2 Displacer Beasts
|
|
{
|
|
int nDBeasts = d6(1)+2;
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nDBeasts);
|
|
// 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_DISPBEAST001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// 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_DISPBEAST001");
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
case 17:
|
|
//:: 2d6 Dire Wolves
|
|
{
|
|
int nDireWolves = d6(2);
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", nDireWolves);
|
|
// 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_DIREWOLF001");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// 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_DIREWOLF001");
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
break;
|
|
}
|
|
//:: 2d6 Dire Wolves
|
|
}
|
|
}
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
|
|
|
|
|
|
|
|
|
// Example Camp
|
|
// One Campfire and 4 Goblins
|
|
if (sCamp == "goblincamp")
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
// 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", "NW_GOBCHIEFB");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD60_RH30");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "goblins_low");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "goblins_low");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "goblins_low");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_SG_CD60_RH");
|
|
}
|
|
else if (sCamp == "demoncamp")
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
// Set Radius of Camp
|
|
SetLocalFloat(oCamp, "CampRadius", 5.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", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF");
|
|
}
|
|
//
|
|
|
|
|
|
// -------------------------------------------
|
|
//
|
|
}
|
|
|