2021-09-01 23:42:36 -04:00
|
|
|
//
|
|
|
|
// Spawn Camp
|
2022-11-17 00:19:26 -05:00
|
|
|
// spawn_cfg_camp.nss
|
2021-09-01 23:42:36 -04:00
|
|
|
//
|
|
|
|
//
|
|
|
|
// 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
|
|
|
|
//
|
|
|
|
//
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
//void main (){}
|
|
|
|
//
|
|
|
|
//
|
2022-11-17 00:19:26 -05:00
|
|
|
|
|
|
|
#include "sql_db_partywide"
|
2023-08-13 17:21:44 -04:00
|
|
|
#include "ra_inc_tilesets"
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
object GetChildByTag(object oSpawn, string sChildTag);
|
|
|
|
object GetChildByNumber(object oSpawn, int nChildNum);
|
|
|
|
object GetSpawnByID(int nSpawnID);
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
void DeactivateSpawn(object oSpawn);
|
|
|
|
void DeactivateSpawnsByTag(string sSpawnTag);
|
|
|
|
void DeactivateAllSpawns();
|
|
|
|
void DespawnChildren(object oSpawn);
|
|
|
|
void DespawnChildrenByTag(object oSpawn, string sSpawnTag);
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
location lMyLocation = GetLocation (OBJECT_SELF);
|
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
object oArea = GetAreaFromLocation (lMyLocation);
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
int nIsNight = GetIsNight();
|
|
|
|
int nIsOffRoad = GetLocalInt(oArea, "offroad");
|
2023-08-13 17:21:44 -04:00
|
|
|
int nTerrain;
|
|
|
|
int nDifficulty = 0;
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
//
|
|
|
|
//
|
|
|
|
void SetCampSpawn(object oCamp, string sCamp, location lCamp)
|
|
|
|
{
|
|
|
|
|
|
|
|
//
|
|
|
|
// Place Custom Camps Here
|
|
|
|
// -------------------------------------------
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2023-08-13 17:21:44 -04:00
|
|
|
/* Horsefly Swamp Wandering Monsters
|
|
|
|
Check for encounters at 4 a.m. (just before
|
|
|
|
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
|
|
|
|
Encounters occur on a roll of 1-2 on 1d10. If an
|
|
|
|
encounter is indicated, roll 2d10 using the table
|
|
|
|
below. The following cumulative modifiers apply:
|
|
|
|
+2 if more than one mile off the main merchant
|
|
|
|
road; +2 if the encounter occurs at night. */
|
|
|
|
|
|
|
|
//:: Horsefly Swamp Random Encounters
|
|
|
|
if (sCamp == "horsefly_swamp")
|
|
|
|
{
|
|
|
|
nTerrain = GetTerrainType(oArea);
|
|
|
|
|
|
|
|
DelayCommand(0.0f, SpeakString("NESS Table is: "+sCamp, TALKVOLUME_SHOUT));
|
|
|
|
DelayCommand(0.0f, SpeakString("Terrain Type is: "+IntToString(nTerrain), TALKVOLUME_SHOUT));
|
|
|
|
|
|
|
|
int nSpawn = d10(2);
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 2:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Corrupted Treant [07 HD]
|
|
|
|
int nSpawnNum = 1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_badtreant001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (3-4) Shadow Mastiffs [4 HD]
|
|
|
|
int nSpawnNum = d2(1)+2 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_shmastiff001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 3:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Dracolisk [12 HD]
|
|
|
|
int nSpawnNum = 1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "dracolisk001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (1) Night Hag [8 HD] + Minions
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_hagnight001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_imp001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "nw_hellhound");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_hagnight001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_imp001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "nw_hellhound");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_hagnight001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_imp001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "nw_hellhound");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 4:
|
|
|
|
{//:: (1) Will-o-wisp [9 HD]
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_willowisp001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_willowisp001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_willowisp001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_willowisp001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Green Hag [9 HD]
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_greenhag001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_greenhag001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_greenhag001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (2-4) Dire Bats
|
|
|
|
int nSpawnNum = d3(1) + 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "batdire001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 6:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Manticore [6 HD]
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_manticore001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (3-4) Wights [4 HD]
|
|
|
|
int nSpawnNum = d2(1) + 2 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "ra_wight001");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 7:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (6-8) Bullywugs [1 HD]
|
|
|
|
int nSpawnNum = d2(1) + 6 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "ra_bullywug001");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (2-3) Shadows [3 HD]
|
|
|
|
int nSpawnNum = d2(1)+1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "shadow001");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 8:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (3) Stink Beetles [3 HD]
|
|
|
|
int nSpawnNum = 1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ds_critic001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (1-2) Ettercaps [5 HD] + Monst. Spiders
|
|
|
|
int nSpawnNum = d2(1) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ettercap001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ettercap001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "monst_spider004");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 9:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (4-6) Lizardfolk [2 HD]
|
|
|
|
int nSpawnNum = d2(1) + 4 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", d2(1));
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "lizardfolkscaven");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: 2-3 Alligators [3 HD]
|
|
|
|
int nSpawnNum = d2(1) + 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "ra_alligator001");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 10:
|
|
|
|
{//:: (2-8) Medium Swamp Vipers [2 HD]
|
|
|
|
int nSpawnNum = d4(2) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "zep_medswampvi");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 11:
|
|
|
|
{//:: (1-2) Bloodfly Swarms [4 HD]
|
|
|
|
int nSpawnNum = d2(1) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_bldflyswrm01");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 12:
|
|
|
|
{//:: (5-6) Stirges [1 HD]
|
|
|
|
int nSpawnNum = d2(1) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_stirge001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 13:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Shambling Mound [8 HD]
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_shambmound001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_shambmound001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (2) Owlbears [5 HD]
|
|
|
|
int nSpawnNum = 2 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "owlbear001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "owlbear001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "owlbear001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "owlbear001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 14:
|
|
|
|
{//:: (2-8) Boar, Dire [7 HD]
|
|
|
|
int nSpawnNum = d4(2) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_direboar001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 15:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1) Swamp Witch & (2-3) Undead Animals
|
|
|
|
int nSpawnNum = d2(1) + 3 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", d2(1));
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "swamp_witch001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "grp_undanimals");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: 4d6 Dire Rats
|
|
|
|
int nRats = d6(4);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 16:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: 4 Brigands [3 HD]
|
|
|
|
int nSpawnNum = 4 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "group_brigands");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "group_brigands");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "group_brigands");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010_SG");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (1-2) Displacer Beasts [6 HD]
|
|
|
|
int nSpawn = d2(1) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawn);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_dispbeast001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_dispbeast001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_dispbeast001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case 17:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1-2) Dryad, Corrupted [4 HD] & (2-4) Corrupted Animals
|
|
|
|
int nSpawnNum = d3(1) + 3 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_baddryad001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_baddryad001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "grp_badanimals");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (2-4) Wererats & (2-6) Dire Rats
|
|
|
|
int nSpawnNum = d6(1) + 4 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", d2(1));
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_wererat01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_wererat01");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_wererat01");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_wererat01");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_direrat001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 18:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (3-4) Trolls [6 HD]
|
|
|
|
int nSpawnNum = d2(1) + 2 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_troll001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (2-3) Wraiths [5 HD]
|
|
|
|
int nSpawnNum = d2(1) + 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ra_wraith01");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 19:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (3-6) "Swamp" Mephits
|
|
|
|
int nSpawnNum = d3(1) + 3 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "grp_swampmephits");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30_SG");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (1) Dark Naga [10 HD]
|
|
|
|
int nSpawnNum = 1 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "nagadark001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "nagadark001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "nagadark001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "nagadark001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case 20:
|
|
|
|
if(GetIsDay())
|
|
|
|
{//:: (1-2) Treants (HD 7)
|
|
|
|
int nSpawnNum = d2(1) + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
//SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
//SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ra_treant001");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{//:: (1) Ghast & (4-6) Ghouls [2 HD]
|
|
|
|
int nSpawnNum = d2(1) + 6 + nDifficulty;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpawnNum);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ghast001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ghoul001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ghoul001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ghoul001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ghoul001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ghoul001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ghoul001");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ghast001");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "ghoul001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "ghoul001");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "ghoul001");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "ghoul001");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD10_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
DelayCommand(0.0f, SpeakString("Encounter # is: "+IntToString(nSpawn), TALKVOLUME_SHOUT));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// }
|
|
|
|
//:: End Horsefly Swamp Random Encounters
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
/* 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")
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nSpawn = Random(10) + 1;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
if (nIsOffRoad) nSpawn += 2;
|
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 2;
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
2022-11-30 00:45:38 -05:00
|
|
|
case 1: case 2:
|
|
|
|
//:: Merchant Caravan (TODO)
|
|
|
|
{ break; }
|
|
|
|
|
|
|
|
case 3: case 4: case 5:
|
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nFootPatrol = 9;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nFootPatrol);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "ra_m_sheriff001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
|
|
|
|
case 6: case 7:
|
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nBrigands = d4(2)+1;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BRIGAND002");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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);
|
2022-11-14 22:23:11 -05:00
|
|
|
int nCavalryPatrol = 7;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nCavalryPatrol);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "ra_m_sheriff001");
|
2022-11-30 00:45:38 -05:00
|
|
|
if (nRandom)
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG035M015_PR01T3_SL01");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG035M015_PR02T3_SL02");
|
|
|
|
}
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
if (nRandom)
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG035M015_PR01T3_SL01");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG035M015_PR02T3_SL02");
|
|
|
|
}
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
if (nRandom)
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_SF_PR01T3_SL01");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_SF_PR02T3_SL02");
|
|
|
|
}
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
if (nRandom)
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_SF_PR01T3_SL01");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_SF_PR02T3_SL02");
|
|
|
|
}
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: Cavalry Patrol (6 knights, 1 sheriff)
|
|
|
|
|
|
|
|
case 10: case 11:
|
|
|
|
//:: 1d3 worgs and 1d12 wolves
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nWorgs = d3(1)+d12(1);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nWorgs);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampCenter", "P0");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WORG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nMonsters = d4(2)+1;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nMonsters);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_OGRE01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG039M010_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "ra_bugbear01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nTrolls = d3(1);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "shadow001");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "shadow001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
int nWorgs = 1 + d6(2);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nWorgs);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_VAMPWOLF01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
}
|
|
|
|
//:: Sea Coast Road Random Encounters
|
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
/* 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 */
|
2022-11-30 00:45:38 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
|
|
|
if (sCamp == "dragonmarsh_forest")
|
|
|
|
{
|
|
|
|
int nSpawn = Random(10) + 1;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
if (nIsOffRoad) nSpawn += 2;
|
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 4;
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1:
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nFootPatrol = 9;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nFootPatrol);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "ra_m_sheriff001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
|
|
|
|
case 2: case 3:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nOutlaws = d6(2);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_OUTLAW001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
case 4: case 5:
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nBrigands = d4(2)+1;
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BRIGAND002");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
|
|
|
|
case 8:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nTrolls = d4(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
|
|
|
|
case 9: case 10:
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nRats = d6(4);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
|
|
|
|
case 11: case 12: case 13:
|
|
|
|
//:: 2d4 Dire Boars ( in leiu of Dire Rats)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nDireBoars = d4(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nDireBoars);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIREBOAR001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Dire Boars ( in leiu of Dire Rats)
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 14:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nTrolls = d4(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 15:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
2022-01-16 22:04:34 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 16:
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nDBeasts = d6(1)+2;
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nDBeasts);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DISPBEAST001");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 17:
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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);
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIREWOLF001");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Dire Wolves
|
2022-11-14 22:23:11 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
//:: Dragonmarsh Lowlands Swamp Random Encounters
|
|
|
|
if (sCamp == "dragonmarsh_swamp")
|
|
|
|
{
|
|
|
|
int nSpawn = 3 + Random(10)+1;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 4;
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1:
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
int nVipers = d4(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nVipers);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "ZEP_MEDSWAMPVI");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nOutlaws = d6(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_OUTLAW001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
case 4: case 5:
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nBrigands = d4(2)+1;
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BRIGAND002");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDSWAMPVI");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
|
|
|
|
case 9: case 10:
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nRats = d6(4);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
|
|
|
|
case 11: case 12: case 13:
|
|
|
|
//:: 2d4 Dire Boars ( in leiu of quicksand)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREBOAR001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Dire Boars ( in leiu of quicksand)
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 14:
|
|
|
|
//:: 1 Beholder
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
// 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");
|
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Beholder
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 15:
|
|
|
|
//:: 1 Shambling Mound
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
// 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");
|
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Shambling Mound
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 16:
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DISPBEAST001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 17:
|
|
|
|
//:: 1d3 Will O' Wisps
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WILLOWISP001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 1d3 Will O' Wisps
|
2022-11-14 22:23:11 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: 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;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
if (nIsOffRoad) nSpawn += 2;
|
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 4;
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
2022-11-30 00:45:38 -05:00
|
|
|
case 1: case 2:
|
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ra_m_knight001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RG015M005_PR01T3");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "ra_f_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "ra_m_footmn001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RG015M005_PR01T3");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: Foot Patrol (8 footmen, 2 knights, 1 sheriff)
|
|
|
|
|
|
|
|
case 3: case 4: case 5:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 6: case 7:
|
|
|
|
//:: 1d6 Monstrous Spiders
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 19 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC19", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC20", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 24 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC24", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 25 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC25", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 26 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC26", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 27 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC27", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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)
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d3 Trolls
|
|
|
|
|
|
|
|
case 14:
|
|
|
|
//:: 3d6 Stirges
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "MONST_SPIDER004");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 3d6 Large Monstrous Spiders
|
2022-11-14 22:23:11 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: 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;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 6;
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
2022-11-30 00:45:38 -05:00
|
|
|
case 1:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
|
|
|
case 2: case 3:
|
|
|
|
//:: Brigands (6d4 brigands and 3 brigand leaders, led by a brigand warlock)
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 19 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC19", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC20", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_BRIGAND002");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 24 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC24", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 25 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC25", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 26 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC26", "RA_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 27 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC27", "RA_F_BRIGAND001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nGoblins = (d6(4) + d3(2));
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nGoblins);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_GOBLINLEAD01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC18", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 19 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC19", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC20", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 21 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC21", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 22 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC22", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 24 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC24", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 25 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC25", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 26 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC26", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 27 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC27", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 28 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC28", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC28_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC28_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 29 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC29", "RA_GOBLINSCOUT01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC29_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC29_Flags", "SP_RW_RG001M000_DS2_RH60");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 30 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC30", "RA_GOBLINLEAD01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG001M000_DS2_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: 4d6 goblins and 2d3 goblin leaders
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
case 6:
|
|
|
|
//:: 1d4+1 Giant Bees
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nBees = 1 + d4(1);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nBees);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_GIANTBEE01");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_GIANTBEE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_GIANTBEE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_GIANTBEE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_GIANTBEE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nWorgs = d3(1)+d12(1);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nWorgs);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampCenter", "P0");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-11-14 22:23:11 -05:00
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
2022-01-16 22:04:34 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WORG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WORG001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-14 22:23:11 -05:00
|
|
|
int nRats = d6(3);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-11-14 22:23:11 -05:00
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
2022-01-16 22:04:34 -05:00
|
|
|
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
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
2022-11-14 22:23:11 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 3d6 Dire Rats
|
|
|
|
|
|
|
|
case 12:
|
|
|
|
//:: 3d6 Stirges
|
|
|
|
{
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nStirges = d6(3);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nStirges);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_STIRGE001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_STIRGE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 3d6 Stirges
|
|
|
|
|
|
|
|
case 13:
|
|
|
|
//:: 1d3 Trolls
|
|
|
|
{
|
2022-01-16 22:04:34 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nOgres = d6(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nOgres);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_OGRE01");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
|
|
|
|
2022-11-14 22:23:11 -05:00
|
|
|
int nWraiths = d6(2);
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nWraiths);
|
2022-01-16 22:04:34 -05:00
|
|
|
// 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
|
2022-11-14 22:23:11 -05:00
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WRAITH01");
|
2022-01-16 22:04:34 -05:00
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-14 22:23:11 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WRAITH01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Wraiths
|
2022-01-16 22:04:34 -05:00
|
|
|
}
|
|
|
|
}
|
2022-11-14 22:23:11 -05:00
|
|
|
//:: Foothills Random Encounters
|
2022-01-16 22:04:34 -05:00
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
/* Beach Wandering Monsters
|
|
|
|
Check for encounters at 4 a.m. (just before dawn), 9 a.m., noon, dusk, 9 p.m.,
|
2022-11-30 00:45:38 -05:00
|
|
|
and midnight. Encounters occur on a roll of 1 on 1d20. If an encounter is
|
2022-11-16 08:10:27 -05:00
|
|
|
indicated, roll 1d10 using the table below. */
|
|
|
|
|
|
|
|
//:: Beach Random Encounters
|
|
|
|
if (sCamp == "beach")
|
|
|
|
{
|
2022-11-30 00:45:38 -05:00
|
|
|
int nPirateChance = d10(1);
|
2022-11-16 08:10:27 -05:00
|
|
|
int nSpawn = Random(10) + 1;
|
2022-11-30 00:45:38 -05:00
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
switch (nSpawn)
|
|
|
|
{
|
2022-11-30 00:45:38 -05:00
|
|
|
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
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG020M004_DS2_RH60");
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_PIR8_HU_M02");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG010M005_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 12 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC12", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC13", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC14", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC15", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 16 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC16", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 17 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC17", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 18 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC18", "RA_PIR8_HU_M02");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG010M005_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 19 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC19", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 20 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC20", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 21 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC21", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 22 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC22", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC23", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 24 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC24", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 25 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC25", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 26 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC26", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 27 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC27", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 28 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC28", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC28_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC28_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 29 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC29", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC29_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC29_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 30 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 31 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 32 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC30", "RA_PIR8_HU_M01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC30_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC30_Flags", "SP_RW_RG002M001_DS2_RH60");
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
break;
|
2022-11-30 00:45:38 -05:00
|
|
|
}
|
|
|
|
//:: Spawn Pirate Raiding Party
|
|
|
|
//:: Pirates - 90% Foraging Party / 10% Raiding Party
|
|
|
|
|
|
|
|
case 7: case 8:
|
|
|
|
//:: 2d6 Ogres
|
|
|
|
{
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
|
|
|
// 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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M002_DS2_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M002_DS2_RH60");
|
2022-11-16 08:10:27 -05:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-11-16 08:10:27 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "RA_OGRE01");
|
2022-11-30 00:45:38 -05:00
|
|
|
// 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
|
|
|
|
{
|
2022-11-16 08:10:27 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
|
|
|
|
|
2022-11-16 08:10:27 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_SIRINE001");
|
2022-11-30 00:45:38 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d3 Sirens
|
|
|
|
|
|
|
|
case 10:
|
|
|
|
//:: Marty the Imp
|
|
|
|
{
|
2022-11-16 08:10:27 -05:00
|
|
|
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");
|
2022-11-30 00:45:38 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: Marty the Imp
|
2022-11-16 08:10:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Beach Random Encounters
|
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
/* Great Northern Desert Wandering Monsters
|
|
|
|
Check for encounters at 4 a.m. (just before
|
|
|
|
dawn), 9 a.m., noon, dusk, 9 p.m., and midnight.
|
|
|
|
Encounters occur on a roll of 1 or 2 on 1d10. If
|
|
|
|
an encounter is indicated, roll 1d10 using the
|
|
|
|
table below, adding +6 if the encounter occurs
|
|
|
|
at night. */
|
|
|
|
|
|
|
|
//:: Great Northern Desert Random Encounters
|
2022-12-17 23:51:16 -05:00
|
|
|
if (sCamp == "great_n_desert")
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
|
|
|
int nSpawn = Random(10) + 1;
|
|
|
|
|
|
|
|
if (nIsNight) nSpawn += 6;
|
|
|
|
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d2+1 Hieracosphinxes
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
int nHsphinx = d2(1)+1;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nHsphinx);
|
2022-12-15 23:41:10 -05:00
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "RA_HRCSPHINX001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_HRCSPHINX001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_HRCSPHINX001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d2+1 Hieracosphinxes
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
case 2: case 3:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d6+2 Ankhegs
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
int nAnkhegs = d6(1)+2;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nAnkhegs);
|
2022-12-15 23:41:10 -05:00
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
2022-12-15 23:41:10 -05:00
|
|
|
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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "ANKHEG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "ANKHEG001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d6+2 Ankhegs
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
case 4: case 5:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1 Huge Monstrous Scorpion & 1d4 Small Monstrous Scorpions
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
int nScorpions = d4(1) + 1;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nScorpions);
|
2022-12-15 23:41:10 -05:00
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SCORP005");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "MONST_SCORP002");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SCORP002");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SCORP002");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SCORP002");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
2023-08-13 17:21:44 -04:00
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Huge Monstrous Scorpion & 1d4 Small Monstrous Scorpions
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
case 6:
|
|
|
|
//:: 1d2 Large Air Elementals & 1d3 Small Large Air Elementals
|
|
|
|
{
|
|
|
|
int nAirElementals = d2(1) + d3(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nAirElementals);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// 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");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ELEM_AIR_LG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ELEM_AIR_SM001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ELEM_AIR_SM001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ELEM_AIR_SM001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ELEM_AIR_LG001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d2 Large Air Elementals & 1d3 Small Large Air Elementals
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
case 7:
|
|
|
|
//:: 1d3+1 Basilisks
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
|
|
|
|
int nBasilisks = d3(1)+1;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nBasilisks);
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Radius of Camp
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-12-17 23:51:16 -05:00
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
2022-12-15 23:41:10 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BASILISK001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BASILISK001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BASILISK001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BASILISK001");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d3+1 Basilisks
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
case 8: case 9:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d4+2 Large Monstrous Scorpions
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
|
|
|
|
int nScorpions = d4(1)+2;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nScorpions);
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Radius of Camp
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
2022-12-17 23:51:16 -05:00
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
2022-12-15 23:41:10 -05:00
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SCORP004");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "MONST_SCORP004");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SCORP004");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SCORP004");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SCORP004");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SCORP004");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d4+2 Large Monstrous Scorpions
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
case 10:
|
|
|
|
//:: 2d4+4 Wererats
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
int nWereRats = d4(2)+4;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nWereRats);
|
2022-12-15 23:41:10 -05:00
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "group_wererats");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC6", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC7", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC8", "group_wererats");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC9", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC10", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD010_SG_RG005M001");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC11", "group_wererats");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD010_SG_RG005M001");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4+4 Wererats
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2023-08-13 17:21:44 -04:00
|
|
|
case 11:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1 Invisible Stalker
|
|
|
|
{
|
|
|
|
int nInvis = 1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nInvis);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// 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");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_INVSTALK001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
break;
|
|
|
|
}
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1 Invisible Stalker
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
case 12:
|
2022-12-17 23:51:16 -05:00
|
|
|
//:: 1d3+2 Vampire Spawn
|
2022-12-15 23:41:10 -05:00
|
|
|
{
|
2022-12-17 23:51:16 -05:00
|
|
|
int nVampires = d3(1)+2;
|
2022-12-15 23:41:10 -05:00
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalInt(oCamp, "CampNumC", nVampires);
|
2022-12-15 23:41:10 -05:00
|
|
|
// 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
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC0", "group_vampspawn");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_SG_RW_CD060_RG025M005");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "group_vampspawn");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SG_RW_CD060_RG025M005");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2", "group_vampspawn");
|
2022-12-15 23:41:10 -05:00
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SG_RW_CD060_RG025M005");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC3", "group_vampspawn");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SG_RW_CD060_RG025M005");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
2022-12-17 23:51:16 -05:00
|
|
|
SetLocalString(oCamp, "CampC4", "group_vampspawn");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_SG_RW_CD060_RG025M005");
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
2023-08-13 17:21:44 -04:00
|
|
|
//:: 1d3+2 Vampire Spawn
|
|
|
|
|
2022-12-15 23:41:10 -05:00
|
|
|
case 13:
|
|
|
|
//:: 1d4 Ghasts + 2d4+2 Ghouls
|
|
|
|
{
|
|
|
|
|
|
|
|
int nGhouls = d6(2)+7;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nGhouls);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "GHAST001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "GHAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "GHAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "GHOUL001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "GHAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d4 Ghasts + 2d4+2 Ghouls
|
|
|
|
|
2022-12-17 23:51:16 -05:00
|
|
|
case 14:
|
2022-12-15 23:41:10 -05:00
|
|
|
//:: 1d6+1 Wights
|
|
|
|
{
|
|
|
|
|
|
|
|
int nWights = d6(1)+1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nWights);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WIGHT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WIGHT001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD010_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6+1 Wights
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
case 15:
|
|
|
|
//:: 1 Spectre
|
2022-12-17 23:51:16 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
int nSpectre = 1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpectre);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_SPECTRE001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Spectre
|
2022-12-15 23:41:10 -05:00
|
|
|
|
|
|
|
case 16:
|
|
|
|
//:: 1 Mohrg & 1d3 Zombies
|
|
|
|
{
|
|
|
|
int nMohrg = d4(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nMohrg);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_MOHRG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD010");
|
2023-08-13 17:21:44 -04:00
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
2022-12-15 23:41:10 -05:00
|
|
|
SetLocalString(oCamp, "CampC1", "ZOMBIE001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZOMBIE002");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ZOMBIE001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD010");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Mohrg & 1d3 Zombies
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Great Northern Desert Random Encounters
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: The Dishonest Patrol (EL 11)
|
|
|
|
if (sCamp == "dishonest_patrol")
|
|
|
|
{
|
|
|
|
int nSpawn = Random(0) + 1;
|
|
|
|
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
2023-08-13 17:21:44 -04:00
|
|
|
case 1:
|
|
|
|
int nPatrol = 18;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nPatrol);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "SHERIFF_OSTLAND");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RG134_DS2_RH10");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "BANDIT_FELRARA");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RG303_DS2_RH10");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "BANDIT_ERLIN");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RG060M003_DS2_RH10");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "BANDIT_GORTIZIN");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RG060M003_DS2_RH10");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "BANDIT_FOOTMAN");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RG002M001_DS2_RH30");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2022-11-30 00:45:38 -05:00
|
|
|
//:: The Dishonest Patrol (EL 11)
|
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
|
2022-11-30 00:45:38 -05:00
|
|
|
// Example Camp
|
2021-09-01 23:42:36 -04:00
|
|
|
// 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");
|
|
|
|
}
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------------------------------
|
|
|
|
//
|
|
|
|
}
|
Dragonmarsh Lowlands cleanup
Dragonmarsh Lowlands cleanup, this area now spawns per PnP. Made new, dire wolf, monstrous spider, troll, patrol sheriff, patrol footman, patrol knight, displacer beast, dire boat, dire rat & outlaw creatures. Added several new ProjectQ & CEP models for the above creatures. Initial pass on Level 9: Displacer Beast Lair. Added missing portraits to portraits.2da.
2022-01-16 01:28:18 -05:00
|
|
|
|