RATDOG/_module/nss/spawn_cfg_camp.nss
Jaysyn904 37b68cf6b6 Updated TLK for PRC8 update
Updated TLK for PRC8 update.  Added placeable house blueprints.  Updated NWNxEE.  Full compile.
2024-08-31 20:38:17 -04:00

8921 lines
390 KiB
Plaintext

//
// Spawn Camp
// spawn_cfg_camp.nss
//
//
// 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 (){}
//
//
#include "sql_db_partywide"
#include "ra_inc_tilesets"
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);
location lMyLocation = GetLocation (OBJECT_SELF);
object oArea = GetAreaFromLocation (lMyLocation);
int nIsNight = GetIsNight();
int nIsOffRoad = GetLocalInt(oArea, "offroad");
int nTerrain;
int nDifficulty = 0;
//
//
void SetCampSpawn(object oCamp, string sCamp, location lCamp)
{
//
// Place Custom Camps Here
// -------------------------------------------
/* Horsefly Swamp Wandering Monsters
Check for encounters at 4 a.m. (just before
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
Encounters occur on a roll of 1-2 on 1d10. If an
encounter is indicated, roll 2d10 using the table
below. The following cumulative modifiers apply:
+2 if more than one mile off the main merchant
road; +2 if the encounter occurs at night. */
//:: Horsefly Swamp Random Encounters
if (sCamp == "horsefly_swamp")
{
nTerrain = GetTerrainType(oArea);
DelayCommand(0.0f, SpeakString("NESS Table is: "+sCamp, TALKVOLUME_SHOUT));
DelayCommand(0.0f, SpeakString("Terrain Type is: "+IntToString(nTerrain), TALKVOLUME_SHOUT));
int nSpawn = d10(2);
switch (nSpawn)
{
case 2:
if(GetIsDay())
{//:: (1) Corrupted Treant [07 HD]
int nSpawnNum = 1;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_badtreant001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (3-4) Shadow Mastiffs [4 HD]
int nSpawnNum = d2(1)+2 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_shmastiff001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_shmastiff001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_shmastiff001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_shmastiff001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_shmastiff001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_shmastiff001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_shmastiff001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_shmastiff001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_shmastiff001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_shmastiff001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 3:
if(GetIsDay())
{//:: (1) Dracolisk [12 HD]
int nSpawnNum = 1;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "dracolisk001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (1) Night Hag [8 HD] + Minions
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_hagnight001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_imp001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "nw_hellhound");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_hagnight001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_imp001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "nw_hellhound");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_hagnight001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_imp001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "nw_hellhound");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
break;
}
case 4:
{//:: (1) Will-o-wisp [9 HD]
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_willowisp001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_willowisp001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_willowisp001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_willowisp001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
break;
}
case 5:
if(GetIsDay())
{//:: (1) Green Hag [9 HD]
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_greenhag001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_greenhag001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_greenhag001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (2-4) Dire Bats
int nSpawnNum = d3(1) + 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "batdire001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "batdire001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "batdire001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "batdire001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "batdire001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "batdire001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "batdire001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "batdire001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "batdire001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "batdire001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 6:
if(GetIsDay())
{//:: (1) Manticore [6 HD]
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_manticore001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_manticore001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_manticore001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_manticore001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_manticore001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_manticore001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (3-4) Wights [4 HD]
int nSpawnNum = d2(1) + 2 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_wight001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_wight001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_wight001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_wight001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_wight001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_wight001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_wight001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_wight001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_wight001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_wight001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "ra_wight001");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
break;
}
case 7:
if(GetIsDay())
{//:: (6-8) Bullywugs [1 HD]
int nSpawnNum = d2(1) + 6 + nDifficulty;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_bullywug001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_bullywug001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_bullywug001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_bullywug001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_bullywug001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_bullywug001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_bullywug001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_bullywug001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_bullywug001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_bullywug001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "ra_bullywug001");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "ra_bullywug001");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD10_RH30");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "ra_bullywug001");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD10_RH30");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "ra_bullywug001");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD10_RH30");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "ra_bullywug001");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD10_RH30");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "ra_bullywug001");
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (2-3) Shadows [3 HD]
int nSpawnNum = d2(1)+1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "shadow001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "shadow001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "shadow001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "shadow001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "shadow001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "shadow001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "shadow001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "shadow001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "shadow001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "shadow001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "shadow001");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
break;
}
case 8:
if(GetIsDay())
{//:: (3) Stink Beetles [3 HD]
int nSpawnNum = 1;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ds_critic001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (1-2) Ettercaps [5 HD] + Monst. Spiders
int nSpawnNum = d2(1) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ettercap001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "monst_spider004");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ettercap001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "monst_spider004");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "monst_spider004");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "monst_spider004");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "monst_spider004");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "monst_spider004");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "monst_spider004");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "monst_spider004");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 9:
if(GetIsDay())
{//:: (4-6) Lizardfolk [2 HD]
int nSpawnNum = d2(1) + 4 + nDifficulty;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", d2(1));
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "lizardfolkscaven");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "lizardfolkscaven");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "lizardfolkscaven");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "lizardfolkscaven");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "lizardfolkscaven");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "lizardfolkscaven");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "lizardfolkscaven");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "lizardfolkscaven");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "lizardfolkscaven");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "lizardfolkscaven");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: 2-3 Alligators [3 HD]
int nSpawnNum = d2(1) + 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_alligator001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_alligator001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_alligator001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_alligator001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_alligator001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_alligator001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_alligator001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_alligator001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_alligator001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_alligator001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "ra_alligator001");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
break;
}
case 10:
{//:: (2-8) Medium Swamp Vipers [2 HD]
int nSpawnNum = d4(2) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "zep_medswampvi");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "zep_medswampvi");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "zep_medswampvi");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "zep_medswampvi");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "zep_medswampvi");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "zep_medswampvi");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "zep_medswampvi");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "zep_medswampvi");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "zep_medswampvi");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "zep_medswampvi");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 11:
{//:: (1-2) Bloodfly Swarms [4 HD]
int nSpawnNum = d2(1) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_bldflyswrm01");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
break;
}
case 12:
{//:: (5-6) Stirges [1 HD]
int nSpawnNum = d2(1) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_stirge001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_stirge001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_stirge001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_stirge001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_stirge001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_stirge001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_stirge001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_stirge001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_stirge001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_stirge001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 13:
if(GetIsDay())
{//:: (1) Shambling Mound [8 HD]
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_shambmound001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_shambmound001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (2) Owlbears [5 HD]
int nSpawnNum = 2 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "owlbear001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "owlbear001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "owlbear001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "owlbear001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
break;
}
case 14:
{//:: (2-8) Boar, Dire [7 HD]
int nSpawnNum = d4(2) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_direboar001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_direboar001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_direboar001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_direboar001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_direboar001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_direboar001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_direboar001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_direboar001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_direboar001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_direboar001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 15:
if(GetIsDay())
{//:: (1) Swamp Witch & (2-3) Undead Animals
int nSpawnNum = d2(1) + 3 + nDifficulty;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", d2(1));
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "swamp_witch001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "grp_undanimals");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "grp_undanimals");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "grp_undanimals");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "grp_undanimals");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "grp_undanimals");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "grp_undanimals");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "grp_undanimals");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "grp_undanimals");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "grp_undanimals");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30_SG");
break;
}
else
{//:: 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;
}
case 16:
if(GetIsDay())
{//:: 4 Brigands [3 HD]
int nSpawnNum = 4 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "group_brigands");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_SG");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "group_brigands");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_SG");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "group_brigands");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_SG");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "group_brigands");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_SG");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "group_brigands");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_SG");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "group_brigands");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_SG");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "group_brigands");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_SG");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "group_brigands");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_SG");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "group_brigands");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010_SG");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "group_brigands");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010_SG");
break;
}
else
{//:: (1-2) Displacer Beasts [6 HD]
int nSpawn = d2(1) + nDifficulty;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nSpawn);
// 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_CD010");
// 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_CD010");
// 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_CD010");
// 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_CD010");
// 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_CD010");
// 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_CD010");
// 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_CD010");
// 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_CD010");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_dispbeast001");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_dispbeast001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010");
break;
}
case 17:
if(GetIsDay())
{//:: (1-2) Dryad, Corrupted [4 HD] & (2-4) Corrupted Animals
int nSpawnNum = d3(1) + 3 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_baddryad001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "grp_badanimals");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "grp_badanimals");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_baddryad001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "grp_badanimals");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "grp_badanimals");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "grp_badanimals");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "grp_badanimals");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "grp_badanimals");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "grp_badanimals");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30_SG");
break;
}
else
{//:: (2-4) Wererats & (2-6) Dire Rats
int nSpawnNum = d6(1) + 4 + nDifficulty;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", d2(1));
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_wererat01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_wererat01");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_direrat001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_direrat001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_wererat01");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_direrat001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_direrat001");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_direrat001");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_wererat01");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_direrat001");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 18:
if(GetIsDay())
{//:: (3-4) Trolls [6 HD]
int nSpawnNum = d2(1) + 2 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_troll001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_troll001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_troll001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_troll001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_troll001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_troll001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (2-3) Wraiths [5 HD]
int nSpawnNum = d2(1) + 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_wraith01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_wraith01");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_wraith01");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_wraith01");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_wraith01");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_wraith01");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_wraith01");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_wraith01");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_wraith01");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_wraith01");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
break;
}
case 19:
if(GetIsDay())
{//:: (3-6) "Swamp" Mephits
int nSpawnNum = d3(1) + 3 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "grp_swampmephits");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "grp_swampmephits");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "grp_swampmephits");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "grp_swampmephits");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "grp_swampmephits");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "grp_swampmephits");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "grp_swampmephits");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "grp_swampmephits");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
break;
}
else
{//:: (1) Dark Naga [10 HD]
int nSpawnNum = 1 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "nagadark001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "nagadark001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "nagadark001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "nagadark001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
break;
}
case 20:
if(GetIsDay())
{//:: (1-2) Treants (HD 7)
int nSpawnNum = d2(1) + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_treant001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_treant001");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_treant001");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_treant001");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_treant001");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_treant001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_treant001");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
break;
}
else
{//:: (1) Ghast & (4-6) Ghouls [2 HD]
int nSpawnNum = d2(1) + 6 + nDifficulty;
// 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");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ghast001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ghoul001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ghoul001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
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");
break;
}
//:: (1) Ghast & (4-6) Ghouls [2 HD]
DelayCommand(0.0f, SpeakString("Encounter # is: "+IntToString(nSpawn), TALKVOLUME_SHOUT));
}
}
// }
//:: 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.
Encounters occur on a roll of 1 on 1d10. If an
encounter is indicated, roll 1d10 using the table
below. The following cumulative modifiers apply:
+2 if more than one mile off the main merchant
road; +2 if the encounter occurs at night. */
//:: Sea Coast Road Random Encounters
if (sCamp == "sea_coast_road")
{
int nSpawn = Random(10) + 1;
if (nIsOffRoad) nSpawn += 2;
if (nIsNight) nSpawn += 2;
switch (nSpawn)
{
case 1: case 2:
//:: Merchant Caravan (TODO)
{ break; }
case 3: case 4: case 5:
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
{
int nFootPatrol = 9;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nFootPatrol);
// 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_sheriff001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
break;
}
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
case 6: case 7:
//:: 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 8: case 9:
//:: Cavalry Patrol (6 knights, 1 sheriff)
{
int nRandom = Random(2);
int nCavalryPatrol = 7;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nCavalryPatrol);
// 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_sheriff001");
if (nRandom)
{
SetLocalString(oCamp, "CampC0_Flags", "SP_RG035M015_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC0_Flags", "SP_RG035M015_PR02T3_SL02");
}
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC1_Flags", "SP_RG035M015_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC1_Flags", "SP_RG035M015_PR02T3_SL02");
}
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC2_Flags", "SP_RG015M005_SF_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC2_Flags", "SP_RG015M005_SF_PR02T3_SL02");
}
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC3_Flags", "SP_RG015M005_SF_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC3_Flags", "SP_RG015M005_SF_PR02T3_SL02");
}
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC4_Flags", "SP_RG015M005_SF_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC4_Flags", "SP_RG015M005_SF_PR02T3_SL02");
}
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_SF_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_SF_PR02T3_SL02");
}
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ra_m_knight001");
if (nRandom)
{
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_SF_PR01T3_SL01");
}
else
{
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_SF_PR02T3_SL02");
}
break;
}
//:: Cavalry Patrol (6 knights, 1 sheriff)
case 10: case 11:
//:: 1d3 worgs and 1d12 wolves
{
int nWorgs = d3(1)+d12(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWorgs);
// 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_WORG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_WORG001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_WORG001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_CD060_RH60");
break;
}
//:: 1d3 worgs and 1d12 wolves
case 12:
//:: Ogre and 2d4 bugbears
{
int nMonsters = d4(2)+1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nMonsters);
// 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_OGRE01");
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG039M010_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ra_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// 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_bugbear01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
break;
}
//:: Ogre and 2d4 bugbears
case 13:
//:: 2d6 Shadows
{
int nTrolls = d3(1);
// 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", "shadow001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// 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", "shadow001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
break;
}
//:: 2d6 Shadows
case 14:
//:: Vampiric Wolf & 2d6 Worgs (in leiu of Simrath the Vampire)
{
int nWorgs = 1 + d6(2);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWorgs);
// 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_VAMPWOLF01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WORG001");
// 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_WORG001");
// 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_WORG001");
// 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_WORG001");
// 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_WORG001");
// 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_WORG001");
// 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_WORG001");
// 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_WORG001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_WORG001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WORG001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WORG001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_WORG001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
break;
}
//:: Vampiric Wolf & 2d6 Worgs (in leiu of Simrath the Vampire)
}
}
//:: Sea Coast Road Random Encounters
/* Dragonmarsh Wandering Monsters
Check for encounters at 4 a.m. (just before
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
Encounters occur on a roll of 1 on 1d10. If an
encounter is indicated, roll 1d10 using the table
below. The following non-cumulative modifiers
apply: +2 if more than three miles off the main
merchant road; +3 if in the swamp. Add an
additional +4 modifier if the encounter occurs
at night */
//:: Dragonmarsh Lowlands Forest Random Encounters
if (sCamp == "dragonmarsh_forest")
{
int nSpawn = Random(10) + 1;
if (nIsOffRoad) nSpawn += 2;
if (nIsNight) nSpawn += 4;
switch (nSpawn)
{
case 1:
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
{
int nFootPatrol = 9;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nFootPatrol);
// 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_sheriff001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
break;
}
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
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:
//:: 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 11: case 12: case 13:
//:: 2d4 Dire Boars ( in leiu of Dire Rats)
{
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 ( in leiu of Dire Rats)
case 14:
//:: 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 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
//:: Dragonmarsh Lowlands Swamp Random Encounters
if (sCamp == "dragonmarsh_swamp")
{
int nSpawn = 3 + Random(10)+1;
if (nIsNight) nSpawn += 4;
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_MEDSWAMPVI");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ZEP_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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:
//:: 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_MEDSWAMPVI");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ZEP_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// 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_MEDSWAMPVI");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
break;
}
//:: 2d4 Med. Vipers
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:
//:: 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 11: case 12: case 13:
//:: 2d4 Dire Boars ( in leiu of quicksand)
{
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 ( in leiu of quicksand)
case 14:
//:: 1 Beholder
{
// 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_BEHOLDER001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
break;
}
//:: 1 Beholder
case 15:
//:: 1 Shambling Mound
{
// 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_SHAMBMOUND001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
break;
}
//:: 1 Shambling Mound
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:
//:: 1d3 Will O' Wisps
{
int nWisps = d3(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWisps);
// 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_WILLOWISP001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WILLOWISP001");
// 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_WILLOWISP001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
break;
}
//:: 1d3 Will O' Wisps
}
}
//:: Dragonmarsh Lowlands Swamp Random Encounters
/* Forest of Hope Wandering Monsters
Check for encounters at 4 a.m. (just before
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
Encounters occur on a roll of 1 on 1d10. If an
encounter is indicated, roll 1d10 using the table
below. The following cumulative modifiers apply:
+2 if more than three miles off the main merchant
road; +4 if the encounter occurs at night */
//:: Forest of Hope Random Encounters
if (sCamp == "forest_of_hope")
{
int nSpawn = Random(10) + 1;
if (nIsOffRoad) nSpawn += 2;
if (nIsNight) nSpawn += 4;
switch (nSpawn)
{
case 1: case 2:
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
{
int nFootPatrol = 9;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nFootPatrol);
// 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_sheriff001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
// 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_RG015M005_PR01T3");
break;
}
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
case 3: case 4: case 5:
//:: 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 6: case 7:
//:: 1d6 Monstrous Spiders
{
int nMonSpiders = d6(1);
// 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");
break;
}
//:: 1d6 Monstrous Spiders
case 8: case 9:
//:: Brigands (6d4 brigands and 3 brigand leaders,
//:: led by a brigand warlock)
{
int nBrigands = d4(6)+4;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// 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_M_BRIGWIZ001");
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG099M040_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RG005M001C50_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_RG005M001C50_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_RG005M001C50_CD060_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_F_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 18 and Spawn Flags
SetLocalString(oCamp, "CampC18", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 19 and Spawn Flags
SetLocalString(oCamp, "CampC19", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 20 and Spawn Flags
SetLocalString(oCamp, "CampC20", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 21 and Spawn Flags
SetLocalString(oCamp, "CampC21", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 22 and Spawn Flags
SetLocalString(oCamp, "CampC22", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 23 and Spawn Flags
SetLocalString(oCamp, "CampC23", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 24 and Spawn Flags
SetLocalString(oCamp, "CampC24", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 25 and Spawn Flags
SetLocalString(oCamp, "CampC25", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 26 and Spawn Flags
SetLocalString(oCamp, "CampC26", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 27 and Spawn Flags
SetLocalString(oCamp, "CampC27", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG005M001C50_CD060_RH60");
break;
}
//:: Brigands (6d4 brigands and 3 brigand leaders,
//:: led by a brigand warlock)
case 10: case 11:
//:: 1d3 worgs and 1d12 wolves
{
int nWorgs = d3(1)+d12(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWorgs);
// 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_WORG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_WORG001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_WORG001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_CD060_RH60");
break;
}
//:: 1d3 worgs and 1d12 wolves
case 12:
//:: Shadow Druid & 3d6 Wolves (In leui of Drusilla)
{
int nDruids = d6(3)+1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nDruids);
// 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_SHAD_DRUID001");
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG099M040_CD060_RH60");
// 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_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
// 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_WOLF001");
// 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_WOLF001");
// 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_WOLF001");
// 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_WOLF001");
// 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_WOLF001");
// 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_WOLF001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// 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_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_WOLF001");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_WOLF001");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_WOLF001");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
// Set Creature 18 and Spawn Flags
SetLocalString(oCamp, "CampC18", "RA_WOLF001");
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060_RH60");
break;
}
//:: Shadow Druid & 3d6 Wolves (In leui of Drusilla)
case 13:
//:: 1d3 Trolls
{
int nTrolls = d3(1);
// 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");
break;
}
//:: 1d3 Trolls
case 14:
//:: 3d6 Stirges
{
int nStirges = d6(3);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nStirges);
// 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_STIRGE001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
break;
}
//:: 3d6 Stirges
case 15: case 16:
//:: 3d6 Large Monstrous Spiders
{
int nSpiders = d6(3);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nSpiders);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "MONST_SPIDER004");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// 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_RH60");
// 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_RH60");
// 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_RH60");
// 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_RH60");
// 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_RH60");
// 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_RH60");
// 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_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "MONST_SPIDER004");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
break;
}
//:: 3d6 Large Monstrous Spiders
}
}
//:: Forest of Hope Random Encounters
/* Foothills Wandering Monsters
Check for encounters at 4 a.m. (just before
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
Encounters occur on a roll of 1 or 2 on 1d10. If
an encounter is indicated, roll 1d10 using the
table below, adding +6 if the encounter occurs
at night. */
//:: Foothills Random Encounters
if (sCamp == "foothills")
{
int nSpawn = Random(10) + 1;
if (nIsNight) nSpawn += 6;
switch (nSpawn)
{
case 1:
//:: 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 2: case 3:
//:: Brigands (6d4 brigands and 3 brigand leaders, led by a brigand warlock)
{
int nBrigands = d4(6)+4;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// 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_M_BRIGWIZ001");
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG099M040_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RG005M001C50_CD060_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RG005M001C50_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_RG005M001C50_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_RG005M001C50_CD060_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_F_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// 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_BRIGAND001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 18 and Spawn Flags
SetLocalString(oCamp, "CampC18", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 19 and Spawn Flags
SetLocalString(oCamp, "CampC19", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 20 and Spawn Flags
SetLocalString(oCamp, "CampC20", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 21 and Spawn Flags
SetLocalString(oCamp, "CampC21", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 22 and Spawn Flags
SetLocalString(oCamp, "CampC22", "RA_BRIGAND002");
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 23 and Spawn Flags
SetLocalString(oCamp, "CampC23", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 24 and Spawn Flags
SetLocalString(oCamp, "CampC24", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 25 and Spawn Flags
SetLocalString(oCamp, "CampC25", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 26 and Spawn Flags
SetLocalString(oCamp, "CampC26", "RA_BRIGAND001");
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG005M001C50_CD060_RH60");
// Set Creature 27 and Spawn Flags
SetLocalString(oCamp, "CampC27", "RA_F_BRIGAND001");
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG005M001C50_CD060_RH60");
break;
}
//:: Brigands (6d4 brigands and 3 brigand leaders, led by a brigand warlock)
case 4: case 5:
//:: 4d6 goblins and 2d3 goblin leaders
{
int nGoblins = (d6(4) + d3(2));
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nGoblins);
// 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_GOBLINLEAD01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 18 and Spawn Flags
SetLocalString(oCamp, "CampC18", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 19 and Spawn Flags
SetLocalString(oCamp, "CampC19", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 20 and Spawn Flags
SetLocalString(oCamp, "CampC20", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 21 and Spawn Flags
SetLocalString(oCamp, "CampC21", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 22 and Spawn Flags
SetLocalString(oCamp, "CampC22", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 23 and Spawn Flags
SetLocalString(oCamp, "CampC23", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 24 and Spawn Flags
SetLocalString(oCamp, "CampC24", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 25 and Spawn Flags
SetLocalString(oCamp, "CampC25", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 26 and Spawn Flags
SetLocalString(oCamp, "CampC26", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 27 and Spawn Flags
SetLocalString(oCamp, "CampC27", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 28 and Spawn Flags
SetLocalString(oCamp, "CampC28", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC28_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC28_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 29 and Spawn Flags
SetLocalString(oCamp, "CampC29", "RA_GOBLINSCOUT01");
// SetLocalString(oCamp, "CampC29_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC29_Flags", "SP_RW_RG001M000_DS2_RH60");
// Set Creature 30 and Spawn Flags
SetLocalString(oCamp, "CampC30", "RA_GOBLINLEAD01");
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG001M000_DS2_RH60");
break;
}
//:: 4d6 goblins and 2d3 goblin leaders
case 6:
//:: 1d4+1 Giant Bees
{
int nBees = 1 + d4(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nBees);
// 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_GIANTBEE01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_GIANTBEE01");
// 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_GIANTBEE01");
// 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_GIANTBEE01");
// 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_GIANTBEE01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
break;
}
//:: 1d4+1 Giant Bees
case 7:
//:: Aragnak the Red Dragon
{
//:: Initialize Variables
object oArea = GetArea(OBJECT_SELF);
//:: Cycle through PCs in Area
object oPC = GetFirstObjectInArea(oArea);
while (oPC != OBJECT_INVALID)
{
if (GetIsPC(oPC) == TRUE)
{
SendMessageToPC(oPC, "You see a humongous dragon the color of burnt blood flying high overhead");
SQLocalsUUID_SetInt(oPC, "SEEN_ARAGNAK", 1);
}
oPC = GetNextObjectInArea(oArea);
}
break;
}
//:: Aragnak the Red Dragon
case 8: case 9:
//:: 1d3 worgs and 1d12 wolves
{
int nWorgs = d3(1)+d12(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWorgs);
// 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_WORG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_WORG001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_WORG001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_CD060_RH60");
break;
}
//:: 1d3 worgs and 1d12 wolves
case 10: case 11:
//:: 3d6 Dire Rats
{
int nRats = d6(3);
// 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");
break;
}
//:: 3d6 Dire Rats
case 12:
//:: 3d6 Stirges
{
int nStirges = d6(3);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nStirges);
// 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_STIRGE001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// 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_STIRGE001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_STIRGE001");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
break;
}
//:: 3d6 Stirges
case 13:
//:: 1d3 Trolls
{
int nTrolls = d3(1);
// 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");
break;
}
//:: 1d3 Trolls
case 14: case 15:
//:: 2d6 Ogres
{
int nOgres = d6(2);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nOgres);
// 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_OGRE01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_OGRE01");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_OGRE01");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_OGRE01");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_OGRE01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_OGRE01");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_OGRE01");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_OGRE01");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_OGRE01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_OGRE01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_OGRE01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_OGRE01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M002_DS2_RH60");
break;
}
//:: 2d6 Ogres
case 16:
//:: 2d6 Wraiths
{
int nWraiths = d6(2);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWraiths);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "RA_WRAITH01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// 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_WRAITH01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_WRAITH01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_WRAITH01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_WRAITH01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
break;
}
//:: 2d6 Wraiths
}
}
//:: Foothills Random Encounters
/* Beach Wandering Monsters
Check for encounters at 4 a.m. (just before dawn), 9 a.m., noon, dusk, 9 p.m.,
and midnight. Encounters occur on a roll of 1 on 1d20. If an encounter is
indicated, roll 1d10 using the table below. */
//:: Beach Random Encounters
if (sCamp == "beach")
{
int nPirateChance = d10(1);
int nSpawn = Random(10) + 1;
switch (nSpawn)
{
case 1: case 2:
//:: Merchant ship off coast
{
//:: Initialize Variables
object oArea = GetArea(OBJECT_SELF);
//:: Cycle through PCs in Area
object oPC = GetFirstObjectInArea(oArea);
while (oPC != OBJECT_INVALID)
{
if (GetIsPC(oPC) == TRUE)
{
SendMessageToPC(oPC, "You notice a fat merchant ship sailing a good distance off the coast.");
SQLocalsUUID_SetInt(oPC, "SEEN_MERCHANT_SHIP", 1);
}
oPC = GetNextObjectInArea(oArea);
}
break;
}
//:: Merchant ship (off coast)
case 3:
//:: Pirate ship off coast
{
//:: Initialize Variables
object oArea = GetArea(OBJECT_SELF);
//:: Cycle through PCs in Area
object oPC = GetFirstObjectInArea(oArea);
while (oPC != OBJECT_INVALID)
{
if (GetIsPC(oPC) == TRUE)
{
SendMessageToPC(oPC, "You notice a ship sailing off the coast. It appears to be flying a black flag");
SQLocalsUUID_SetInt(oPC, "SEEN_PIRATE_SHIP", 1);
}
oPC = GetNextObjectInArea(oArea);
}
break;
}
//:: Pirate ship (off coast)
case 4: case 5: case 6:
//:: Pirates - 90% Foraging Party / 10% Raiding Party
if (nPirateChance <= 9)
{//:: Spawn Pirate Foraging Party
int nPirates = (d6(2) + 6);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nPirates);
// 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_PIR8_HU_M02");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG010M005_DS2_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG002M001_DS2_RH60");
break;
}
//:: Spawn Pirate Foraging Party
else
{//:: Spawn Pirate Raiding Party
int nPirates = (12 + d2(1) + d6(3));
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nPirates);
// 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, "CampP1", "plc_chest1");
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_PIR8_HU_M03");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG025M005_DS2_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_PIR8_HU_M04");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG020M004_DS2_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_PIR8_HU_M02");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG010M005_DS2_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 18 and Spawn Flags
SetLocalString(oCamp, "CampC18", "RA_PIR8_HU_M02");
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG010M005_DS2_RH60");
// Set Creature 19 and Spawn Flags
SetLocalString(oCamp, "CampC19", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 20 and Spawn Flags
SetLocalString(oCamp, "CampC20", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 21 and Spawn Flags
SetLocalString(oCamp, "CampC21", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 22 and Spawn Flags
SetLocalString(oCamp, "CampC22", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 23 and Spawn Flags
SetLocalString(oCamp, "CampC23", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 24 and Spawn Flags
SetLocalString(oCamp, "CampC24", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 25 and Spawn Flags
SetLocalString(oCamp, "CampC25", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 26 and Spawn Flags
SetLocalString(oCamp, "CampC26", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 27 and Spawn Flags
SetLocalString(oCamp, "CampC27", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 28 and Spawn Flags
SetLocalString(oCamp, "CampC28", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC28_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC28_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 29 and Spawn Flags
SetLocalString(oCamp, "CampC29", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC29_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC29_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 30 and Spawn Flags
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 31 and Spawn Flags
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
// Set Creature 32 and Spawn Flags
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
break;
}
//:: Spawn Pirate Raiding Party
//:: Pirates - 90% Foraging Party / 10% Raiding Party
case 7: case 8:
//:: 2d6 Ogres
{
int nOgres = d6(2);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nOgres);
// 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_OGRE01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_OGRE01");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_OGRE01");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_OGRE01");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_OGRE01");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_OGRE01");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_OGRE01");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "RA_OGRE01");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "RA_OGRE01");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "RA_OGRE01");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "RA_OGRE01");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M002_DS2_RH60");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "RA_OGRE01");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M002_DS2_RH60");
break;
}
//:: 2d6 Ogres
case 9:
//:: 1d3 Sirens
{
int nSirens = d3(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nSirens);
// 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_SIRINE001");
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_SIRINE001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_SIRINE001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
break;
}
//:: 1d3 Sirens
case 10:
//:: Marty the Imp
{
int nImp = 1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nImp);
// 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_IMP_MARTY");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
break;
}
//:: Marty the Imp
}
}
//:: Beach Random Encounters
/* Great Northern Desert Wandering Monsters
Check for encounters at 4 a.m. (just before
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
Encounters occur on a roll of 1 or 2 on 1d10. If
an encounter is indicated, roll 1d10 using the
table below, adding +6 if the encounter occurs
at night. */
//:: Great Northern Desert Random Encounters
if (sCamp == "great_n_desert")
{
int nSpawn = Random(10) + 1;
if (nIsNight) nSpawn += 6;
switch (nSpawn)
{
case 1:
//:: 1d2+1 Hieracosphinxes
{
int nHsphinx = d2(1)+1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nHsphinx);
// 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_HRCSPHINX001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001_CD010_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_HRCSPHINX001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001_CD010_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_HRCSPHINX001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001_CD010_RH60");
break;
}
//:: 1d2+1 Hieracosphinxes
case 2: case 3:
//:: 1d6+2 Ankhegs
{
int nAnkhegs = d6(1)+2;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nAnkhegs);
// 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", "ANKHEG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ANKHEG001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ANKHEG001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ANKHEG001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ANKHEG001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "ANKHEG001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "ANKHEG001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_RH60");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "ANKHEG001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_RH60");
break;
}
//:: 1d6+2 Ankhegs
case 4: case 5:
//:: 1 Huge Monstrous Scorpion & 1d4 Small Monstrous Scorpions
{
int nScorpions = d4(1) + 1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nScorpions);
// 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_SCORP005");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "MONST_SCORP002");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "MONST_SCORP002");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "MONST_SCORP002");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "MONST_SCORP002");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RH60");
break;
}
//:: 1 Huge Monstrous Scorpion & 1d4 Small Monstrous Scorpions
case 6:
//:: 1d2 Large Air Elementals & 1d3 Small Large Air Elementals
{
int nAirElementals = d2(1) + d3(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nAirElementals);
// 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", "ELEM_AIR_LG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ELEM_AIR_SM001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ELEM_AIR_SM001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ELEM_AIR_SM001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "ELEM_AIR_LG001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
break;
}
//:: 1d2 Large Air Elementals & 1d3 Small Large Air Elementals
case 7:
//:: 1d3+1 Basilisks
{
int nBasilisks = d3(1)+1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nBasilisks);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "RA_BASILISK001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_BASILISK001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_BASILISK001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_BASILISK001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
break;
}
//:: 1d3+1 Basilisks
case 8: case 9:
//:: 1d4+2 Large Monstrous Scorpions
{
int nScorpions = d4(1)+2;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nScorpions);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "MONST_SCORP004");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "MONST_SCORP004");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "MONST_SCORP004");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "MONST_SCORP004");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "MONST_SCORP004");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "MONST_SCORP004");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010");
break;
}
//:: 1d4+2 Large Monstrous Scorpions
case 10:
//:: 2d4+4 Wererats
{
int nWereRats = d4(2)+4;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWereRats);
// 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", "group_wererats");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "group_wererats");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "group_wererats");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "group_wererats");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "group_wererats");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "group_wererats");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "group_wererats");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "group_wererats");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "group_wererats");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "group_wererats");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "group_wererats");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD010_SG_RG005M001");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "group_wererats");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD010_SG_RG005M001");
break;
}
//:: 2d4+4 Wererats
case 11:
//:: 1 Invisible Stalker
{
int nInvis = 1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nInvis);
// 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_INVSTALK001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
break;
}
//:: 1 Invisible Stalker
case 12:
//:: 1d3+2 Vampire Spawn
{
int nVampires = d3(1)+2;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nVampires);
// 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", "group_vampspawn");
SetLocalString(oCamp, "CampC0_Flags", "SP_SG_RW_CD060_RG025M005");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "group_vampspawn");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_SG_RW_CD060_RG025M005");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "group_vampspawn");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_SG_RW_CD060_RG025M005");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "group_vampspawn");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_SG_RW_CD060_RG025M005");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "group_vampspawn");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_SG_RW_CD060_RG025M005");
break;
}
//:: 1d3+2 Vampire Spawn
case 13:
//:: 1d4 Ghasts + 2d4+2 Ghouls
{
int nGhouls = d6(2)+7;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 1);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nGhouls);
// 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", "GHAST001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "GHOUL001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "GHOUL001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
// 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_CD010");
// 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_CD010");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "GHAST001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "GHOUL001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "GHOUL001");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "GHOUL001");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "GHOUL001");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "GHAST001");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD010");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "GHOUL001");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD010");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "GHOUL001");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD010");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "GHAST001");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD010");
break;
}
//:: 1d4 Ghasts + 2d4+2 Ghouls
case 14:
//:: 1d6+1 Wights
{
int nWights = d6(1)+1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nWights);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "RA_WIGHT001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_RH60");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_RH60");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "RA_WIGHT001");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_RH60");
break;
}
//:: 1d6+1 Wights
case 15:
//:: 1 Spectre
{
int nSpectre = 1;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nSpectre);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "RA_SPECTRE001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
break;
}
//:: 1 Spectre
case 16:
//:: 1 Mohrg & 1d3 Zombies
{
int nMohrg = d4(1);
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 2);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nMohrg);
// 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", "ZEP_COBWEB008");
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
// Set Placeable 1 and Spawn Flags
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "RA_MOHRG001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "ZOMBIE001");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "ZOMBIE002");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "ZOMBIE001");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
break;
}
//:: 1 Mohrg & 1d3 Zombies
}
}
//:: Great Northern Desert Random Encounters
//:: Dungeon Level 1 Random Encounters
if (sCamp == "enc_level01")
{
int nSpawn = d20(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 or 1d2 Shadows: 03 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");
string sCreatureTag = "RA_DUNGMONSTER01"; // Replace with the desired tag.
object oCreature = GetObjectByTag(sCreatureTag);
if (GetIsObjectValid(oCreature))
{
// The creature with the specified tag exists in the module.
// You can add your code here to handle this case.
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", d2(1));
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "shadow001");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
}
else
{
// Set Creature 0 and Spawn Flags
SetLocalString(oCamp, "CampC0", "ra_dungmonster01");
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
DelayCommand(0.0f, SetLocalInt(GetModule(), "DungMonsterActive", TRUE));
}
}
//:: 1 Dung Monster: 10 HD or 1d2 Shadows: 03 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")
{
int nSpawn = Random(0) + 1;
switch (nSpawn)
{
case 1:
int nPatrol = 18;
// Set Number of Placeables
SetLocalInt(oCamp, "CampNumP", 0);
// Set Number of Creatures
SetLocalInt(oCamp, "CampNumC", nPatrol);
// 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", "SHERIFF_OSTLAND");
SetLocalString(oCamp, "CampC0_Flags", "SP_RG134_DS2_RH10");
// Set Creature 1 and Spawn Flags
SetLocalString(oCamp, "CampC1", "BANDIT_FELRARA");
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC1_Flags", "SP_RG303_DS2_RH10");
// Set Creature 2 and Spawn Flags
SetLocalString(oCamp, "CampC2", "BANDIT_ERLIN");
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC2_Flags", "SP_RG060M003_DS2_RH10");
// Set Creature 3 and Spawn Flags
SetLocalString(oCamp, "CampC3", "BANDIT_GORTIZIN");
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC3_Flags", "SP_RG060M003_DS2_RH10");
// Set Creature 4 and Spawn Flags
SetLocalString(oCamp, "CampC4", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC4_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 5 and Spawn Flags
SetLocalString(oCamp, "CampC5", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC5_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 6 and Spawn Flags
SetLocalString(oCamp, "CampC6", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC6_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 7 and Spawn Flags
SetLocalString(oCamp, "CampC7", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC7_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 8 and Spawn Flags
SetLocalString(oCamp, "CampC8", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC8_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 9 and Spawn Flags
SetLocalString(oCamp, "CampC9", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC9_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 10 and Spawn Flags
SetLocalString(oCamp, "CampC10", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC10_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 11 and Spawn Flags
SetLocalString(oCamp, "CampC11", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC11_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 12 and Spawn Flags
SetLocalString(oCamp, "CampC12", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC12_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 13 and Spawn Flags
SetLocalString(oCamp, "CampC13", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC13_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 14 and Spawn Flags
SetLocalString(oCamp, "CampC14", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC14_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 15 and Spawn Flags
SetLocalString(oCamp, "CampC15", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC15_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 16 and Spawn Flags
SetLocalString(oCamp, "CampC16", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC16_Flags", "SP_RG002M001_DS2_RH30");
// Set Creature 17 and Spawn Flags
SetLocalString(oCamp, "CampC17", "BANDIT_FOOTMAN");
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
SetLocalString(oCamp, "CampC17_Flags", "SP_RG002M001_DS2_RH30");
break;
}
}
//:: The Dishonest Patrol (EL 11)
// 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", "poa_corpse001");
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");
}
//
// -------------------------------------------
//
}