PnP Enhancements continue. Fixed some quest logic, made some of the quests reward the entire party instead of the player that turns it in. Updated Warrior's Guild. Colored Wilderness map for the hell of it. Full compile.
5355 lines
219 KiB
Plaintext
5355 lines
219 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"
|
|
|
|
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");
|
|
|
|
//
|
|
//
|
|
void SetCampSpawn(object oCamp, string sCamp, location lCamp)
|
|
{
|
|
|
|
//
|
|
// Place Custom Camps Here
|
|
// -------------------------------------------
|
|
|
|
/* 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
|
|
|
|
|
|
|
|
// Example Camp
|
|
// One Campfire and 4 Goblins
|
|
if (sCamp == "goblincamp")
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
// Set Radius of Camp
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
// Set Creature 0 to be Trigger
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
SetLocalString(oCamp, "CampTrigger", "C0");
|
|
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
// First Placeable always Spawns at Center of Camp
|
|
// If CampCenter Is Not Set
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC0", "NW_GOBCHIEFB");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD60_RH30");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "goblins_low");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "goblins_low");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "goblins_low");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_SG_CD60_RH");
|
|
}
|
|
else if (sCamp == "demoncamp")
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
// Set Number of Creatures
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
// Set Radius of Camp
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
// Set Creature 0 to be Trigger
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
SetLocalString(oCamp, "CampTrigger", "C0");
|
|
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
// First Placeable always Spawns at Center of Camp
|
|
// If CampCenter Is Not Set
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC0", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW");
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC1", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF");
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC2", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF");
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
SetLocalString(oCamp, "CampC3", "NW_DEMON");
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF");
|
|
}
|
|
//
|
|
|
|
|
|
// -------------------------------------------
|
|
//
|
|
}
|
|
|