2021-09-01 23:42:36 -04:00
|
|
|
//
|
|
|
|
// Spawn Camp
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// CampNumP
|
|
|
|
// CampNumC
|
|
|
|
// CampRadius
|
|
|
|
// CampTrigger
|
|
|
|
// CampTriggerScript
|
|
|
|
//
|
|
|
|
// RW : Random Walk
|
|
|
|
// SF : Spawn Facing Camp
|
|
|
|
// SG : Spawn Group
|
|
|
|
// LT00 : Loot Table
|
|
|
|
// CD000|T0 : Corpse Decay
|
|
|
|
// PL0|T00 : Placeable Trap Disabled
|
|
|
|
// DT000 : Death Script
|
|
|
|
// RH000 : Return Home
|
|
|
|
//
|
|
|
|
//
|
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 (){}
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
object GetChildByTag(object oSpawn, string sChildTag);
|
|
|
|
object GetChildByNumber(object oSpawn, int nChildNum);
|
|
|
|
object GetSpawnByID(int nSpawnID);
|
|
|
|
void DeactivateSpawn(object oSpawn);
|
|
|
|
void DeactivateSpawnsByTag(string sSpawnTag);
|
|
|
|
void DeactivateAllSpawns();
|
|
|
|
void DespawnChildren(object oSpawn);
|
|
|
|
void DespawnChildrenByTag(object oSpawn, string sSpawnTag);
|
|
|
|
//
|
|
|
|
//
|
|
|
|
void SetCampSpawn(object oCamp, string sCamp, location lCamp)
|
|
|
|
{
|
|
|
|
|
|
|
|
//
|
|
|
|
// Place Custom Camps Here
|
|
|
|
// -------------------------------------------
|
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
|
|
|
|
|
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
|
|
|
if (sCamp == "dragonmarsh_forest")
|
|
|
|
{
|
|
|
|
int nSpawn = Random(17)+1;
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1:
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
{
|
|
|
|
|
|
|
|
int nVipers = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nVipers);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ZEP_MEDFORESTVI");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDFORESTVI");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
|
|
|
|
case 2: case 3:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
|
|
|
|
|
|
|
int nOutlaws = d6(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_OUTLAW001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
|
|
|
case 4: case 5:
|
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
{
|
|
|
|
|
|
|
|
int nBrigands = d4(2)+1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BRIGAND002");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
|
|
|
|
case 6: case 7:
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
{
|
|
|
|
int nDireWolves = d6(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDireWolves);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIREWOLF001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
|
|
|
|
case 8:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
|
|
|
int nTrolls = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
|
|
|
|
case 9: case 10:
|
|
|
|
//:: 2d4 Dire Boars
|
|
|
|
{
|
|
|
|
int nDireBoars = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDireBoars);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIREBOAR001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREBOAR001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Dire Boars
|
|
|
|
|
|
|
|
case 11: case 12: case 13:
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
{
|
|
|
|
int nRats = d6(4);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
|
|
|
|
case 14:
|
|
|
|
//:: 2d4 Monstrous Spiders
|
|
|
|
{
|
|
|
|
int nMonSpiders = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nMonSpiders);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SPIDER004");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Monstrous Spiders
|
|
|
|
|
|
|
|
case 15:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
|
|
|
int nTrolls = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
|
|
|
|
case 16:
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
{
|
|
|
|
int nDBeasts = d6(1)+2;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDBeasts);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DISPBEAST001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
|
|
|
|
case 17:
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
{
|
|
|
|
int nDireWolves = d6(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDireWolves);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIREWOLF001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Dire Wolves
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Dragonmarsh Lowlands Forest Random Encounters
|
|
|
|
|
|
|
|
|
2022-01-16 22:04:34 -05:00
|
|
|
//:: Dragonmarsh Lowlands Swamp Random Encounters
|
|
|
|
if (sCamp == "dragonmarsh_swamp")
|
|
|
|
{
|
|
|
|
int nSpawn = Random(17)+1;
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1:
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
{
|
|
|
|
|
|
|
|
int nVipers = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nVipers);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ZEP_MEDSWAMPVI");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
|
|
|
|
case 2: case 3:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
|
|
|
|
|
|
|
int nOutlaws = d6(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_OUTLAW001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
|
|
|
case 4: case 5:
|
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
{
|
|
|
|
|
|
|
|
int nBrigands = d4(2)+1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_BRIGAND002");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Brigand Leader & 2d4 Brigands
|
|
|
|
|
|
|
|
case 6: case 7:
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
{
|
|
|
|
|
|
|
|
int nVipers = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nVipers);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "ZEP_MEDSWAMPVI");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "ZEP_MEDSWAMPVI");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Med. Vipers
|
|
|
|
|
|
|
|
case 8:
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
{
|
|
|
|
int nTrolls = d4(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d4 Trolls
|
|
|
|
|
|
|
|
case 9: case 10:
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
{
|
|
|
|
int nRats = d6(4);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
|
|
|
|
case 11: case 12: case 13:
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
{
|
|
|
|
int nRats = d6(4);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nRats);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_DIRERAT001");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC15_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC23", "RA_DIRERAT001");
|
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 4d6 Dire Rats
|
|
|
|
|
|
|
|
case 14:
|
|
|
|
//:: 1 Beholder
|
|
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", 1);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SPIDER004");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BEHOLDER001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Beholder
|
|
|
|
|
|
|
|
case 15:
|
|
|
|
//:: 1 Shambling Mound
|
|
|
|
{
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", 1);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_SHAMBMOUND001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1 Shambling Mound
|
|
|
|
|
|
|
|
case 16:
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
{
|
|
|
|
int nDBeasts = d6(1)+2;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDBeasts);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_DISPBEAST001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_DISPBEAST001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6+2 Displacer Beasts
|
|
|
|
|
|
|
|
case 17:
|
|
|
|
//:: 1d3 Will O' Wisps
|
|
|
|
{
|
|
|
|
int nWisps = d3(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nWisps);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WILLOWISP001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WILLOWISP001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WILLOWISP001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d3 Will O' Wisps
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Dragonmarsh Lowlands Swamp Random Encounters
|
|
|
|
|
|
|
|
|
|
|
|
//:: Forest of Hope Random Encounters
|
|
|
|
if (sCamp == "forest_of_hope")
|
|
|
|
{
|
|
|
|
int nSpawn = Random(16)+1;
|
|
|
|
switch (nSpawn)
|
|
|
|
{
|
|
|
|
case 1: case 2: case 3: case 4: case 5:
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
{
|
|
|
|
int nOutlaws = d6(2);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nOutlaws);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_OUTLAW001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_M_OUTLAW001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 2d6 Outlaws
|
|
|
|
|
|
|
|
case 6: case 7:
|
|
|
|
//:: 1d6 Monstrous Spiders
|
|
|
|
{
|
|
|
|
int nMonSpiders = d6(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nMonSpiders);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SPIDER004");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d6 Monstrous Spiders
|
|
|
|
|
|
|
|
case 8: case 9:
|
|
|
|
//:: Brigands (6d4 brigands and 3 brigand leaders,
|
|
|
|
//:: led by a brigand warlock)
|
|
|
|
{
|
|
|
|
|
|
|
|
int nBrigands = d4(6)+4;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nBrigands);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_M_BRIGWIZ001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG099M040_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_BRIGAND002");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_BRIGAND002");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_BRIGAND002");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 19 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC19", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC19_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC19_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 20 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC20", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC20_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC20_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 21 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC21", "RA_BRIGAND002");
|
|
|
|
// SetLocalString(oCamp, "CampC21_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC21_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 22 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC22", "RA_BRIGAND002");
|
|
|
|
// SetLocalString(oCamp, "CampC22_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC22_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 23 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC23", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC23_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC23_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 24 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC24", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC24_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC24_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 25 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC25", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC25_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC25_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 26 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC26", "RA_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC26_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC26_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 27 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC27", "RA_F_BRIGAND001");
|
|
|
|
// SetLocalString(oCamp, "CampC27_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC27_Flags", "SP_RW_RG005M001C50_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: Brigands (6d4 brigands and 3 brigand leaders,
|
|
|
|
//:: led by a brigand warlock)
|
|
|
|
|
|
|
|
case 10: case 11:
|
|
|
|
//:: 1d3 worgs and 1d12 wolves
|
|
|
|
{
|
|
|
|
int nWorgs = d3(1)+d12(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nWorgs);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
// SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_WORG001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WORG001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WORG001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d3 worgs and 1d12 wolves
|
|
|
|
|
|
|
|
case 12:
|
|
|
|
//:: Shadow Druid & 3d6 Wolves
|
|
|
|
{
|
|
|
|
|
|
|
|
int nDruids = d6(3)+1;
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nDruids);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_SHAD_DRUID001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_SF_RG099M040_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_DIREWOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 18 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC18", "RA_WOLF001");
|
|
|
|
// SetLocalString(oCamp, "CampC18_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC18_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: Shadow Druid & 3d6 Wolves
|
|
|
|
|
|
|
|
case 13:
|
|
|
|
//:: 1d3 Trolls
|
|
|
|
{
|
|
|
|
int nTrolls = d3(1);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 0);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nTrolls);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
//SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
//SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_TROLL001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_TROLL001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 1d3 Trolls
|
|
|
|
|
|
|
|
case 14:
|
|
|
|
//:: 3d6 Stirges
|
|
|
|
{
|
|
|
|
|
|
|
|
int nStirges = d6(3);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 1);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nStirges);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
// SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "RA_STIRGE001");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "RA_STIRGE001");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 3d6 Stirges
|
|
|
|
|
|
|
|
case 15: case 16:
|
|
|
|
//:: 3d6 Large Monstrous Spiders
|
|
|
|
{
|
|
|
|
|
|
|
|
int nSpiders = d6(3);
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", nSpiders);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
// SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
// SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "ZEP_COBWEB008");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampP1", "ZEP_COBWEB008");
|
|
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "MONST_SPIDER004");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC1_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC2_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC3_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 4 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC4", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC4_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC4_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 5 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC5", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC5_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 6 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC6", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC6_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC6_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 7 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC7", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC7_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC7_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 8 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC8", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC8_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC8_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 9 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC9", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC9_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC9_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 10 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC10", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC10_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC10_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 11 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC11", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC11_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC11_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 12 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC12", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC12_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC12_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 13 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC13", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC13_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC13_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 14 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC14", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC14_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC14_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 15 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC15", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC15_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "Camp1C5_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 16 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC16", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC16_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC16_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
// Set Creature 17 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC17", "MONST_SPIDER004");
|
|
|
|
// SetLocalString(oCamp, "CampC17_Flags", "SP_SF_RW_CD60_RH");
|
|
|
|
SetLocalString(oCamp, "CampC17_Flags", "SP_RW_CD060_RH60");
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
//:: 3d6 Large Monstrous Spiders
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//:: Forest of Hope Random Encounters
|
|
|
|
|
|
|
|
|
2021-09-01 23:42:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
// Example Camp
|
|
|
|
// One Campfire and 4 Goblins
|
|
|
|
if (sCamp == "goblincamp")
|
|
|
|
{
|
|
|
|
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 10.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "NW_GOBCHIEFB");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD60_RH30");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "goblins_low");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "goblins_low");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "goblins_low");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF_SG_CD60_RH");
|
|
|
|
}
|
|
|
|
else if (sCamp == "demoncamp")
|
|
|
|
{
|
|
|
|
|
|
|
|
// Set Number of Placeables
|
|
|
|
SetLocalInt(oCamp, "CampNumP", 2);
|
|
|
|
// Set Number of Creatures
|
|
|
|
SetLocalInt(oCamp, "CampNumC", 4);
|
|
|
|
// Set Radius of Camp
|
|
|
|
SetLocalFloat(oCamp, "CampRadius", 5.0);
|
|
|
|
|
|
|
|
// Set Creature 0 to be Trigger
|
|
|
|
// Script 00 : Kill him and the Camp Despawns
|
|
|
|
SetLocalString(oCamp, "CampTrigger", "C0");
|
|
|
|
SetLocalInt(oCamp, "CampTriggerScript", 0);
|
|
|
|
|
|
|
|
// Set Placeable 0 to be Camp Center
|
|
|
|
SetLocalString(oCamp, "CampCenter", "P0");
|
|
|
|
|
|
|
|
// Set Placeable 0 and Spawn Flags
|
|
|
|
// First Placeable always Spawns at Center of Camp
|
|
|
|
// If CampCenter Is Not Set
|
|
|
|
SetLocalString(oCamp, "CampP0", "plc_campfrwspit");
|
|
|
|
SetLocalString(oCamp, "CampP0_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Placeable 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampP1", "plc_chest1");
|
|
|
|
SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
|
|
|
|
|
|
|
// Set Creature 0 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC0", "NW_DEMON");
|
|
|
|
SetLocalString(oCamp, "CampC0_Flags", "SP_RW");
|
|
|
|
|
|
|
|
// Set Creature 1 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC1", "NW_DEMON");
|
|
|
|
SetLocalString(oCamp, "CampC1_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 2 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC2", "NW_DEMON");
|
|
|
|
SetLocalString(oCamp, "CampC2_Flags", "SP_SF");
|
|
|
|
|
|
|
|
// Set Creature 3 and Spawn Flags
|
|
|
|
SetLocalString(oCamp, "CampC3", "NW_DEMON");
|
|
|
|
SetLocalString(oCamp, "CampC3_Flags", "SP_SF");
|
|
|
|
}
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------------------------------
|
|
|
|
//
|
|
|
|
}
|
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
|
|
|
|