Major update
Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system. Added PC deleter. Added ACP 4.1. Full compile. Updated release archive.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
/****************** ADJUST SETTINGS BELOW TO SUIT YOUR MODULE ********************/
|
||||
/************************************************************************************/
|
||||
|
||||
int nWhichPlayers = 3; // 0 Turns ALL settings off!
|
||||
int nWhichPlayers = 1; // 0 Turns ALL settings off!
|
||||
// 1 New players only(ie: Only charcters with 0xp).
|
||||
// 2 New players lower than nStartingLevel only.
|
||||
// 3 All players once only(saves to database)PW Style
|
||||
@@ -39,17 +39,17 @@ int nStartingLevel = 1; // What level should players start on 1 - 40?
|
||||
|
||||
int nStripAllItems = FALSE; // Strip all items in players inventory TRUE or FALSE?
|
||||
int nStripAllSlots = FALSE; // Strip all items in players slots TRUE or FALSE?
|
||||
int nStripAllGold = FALSE; // Strip all gold from player TRUE or FALSE?
|
||||
int nStartingGold = 200; // Give new player starting gold? - 0 is off
|
||||
int nStripAllGold = TRUE; // Strip all gold from player TRUE or FALSE?
|
||||
int nStartingGold = 500; // Give new player starting gold? - 0 is off
|
||||
|
||||
int nStartingGear = FALSE; // Give new player starting gear TRUE or FALSE?
|
||||
int nStartingGear = TRUE; // Give new player starting gear TRUE or FALSE?
|
||||
// If TRUE add ResRef between the quotes below(not tag),
|
||||
// plus stack size,if applicable.
|
||||
// eg. string sResRef = "potion"; int nStack = 6;
|
||||
string sResRef = ""; int nStack = 1;
|
||||
string sResRef1 = ""; int nStack1 = 1;
|
||||
string sResRef2 = ""; int nStack2 = 1;
|
||||
string sResRef3 = ""; int nStack3 = 1;
|
||||
// eg. string sResRef = "potion"; int nStack = 6;
|
||||
string sResRef = "dmfi_dicebag"; int nStack = 1;
|
||||
string sResRef1 = "dmfi_emote"; int nStack1 = 1;
|
||||
string sResRef2 = "dmfi_naming"; int nStack2 = 1;
|
||||
string sResRef3 = "nw_it_mpotion001"; int nStack3 = 10;
|
||||
string sResRef4 = ""; int nStack4 = 1;
|
||||
|
||||
/************************************************************************************/
|
||||
@@ -73,6 +73,8 @@ void SirElrics_SimplePlayerSetUp(object oPC)
|
||||
object oItem;
|
||||
|
||||
if(GetIsDM(oPC)) return;//DM so break...
|
||||
|
||||
SendMessageToPC(GetFirstPC(), "Running Sir Elric's Simple Player Setup!");
|
||||
|
||||
if(!GetLocalInt(oMod, "INITIATE_VARIABLES"))
|
||||
{
|
||||
@@ -101,6 +103,7 @@ void SirElrics_SimplePlayerSetUp(object oPC)
|
||||
{
|
||||
if(GetCampaignInt("New_Player_Setup", GetName(oPC), oPC)) return;
|
||||
SetCampaignInt("New_Player_Setup", GetName(oPC), 1, oPC);
|
||||
SendMessageToPC(GetFirstPC(), "New player found.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -154,7 +157,7 @@ void SirElrics_SimplePlayerSetUp(object oPC)
|
||||
|
||||
if(GetLocalInt(oMod, "STARTING_GEAR"))
|
||||
{
|
||||
CreateItemOnObject( sResRef, oPC, nStack);
|
||||
CreateItemOnObject(sResRef, oPC, nStack);
|
||||
CreateItemOnObject(sResRef1, oPC, nStack1);
|
||||
CreateItemOnObject(sResRef2, oPC, nStack2);
|
||||
CreateItemOnObject(sResRef3, oPC, nStack3);
|
||||
|
Reference in New Issue
Block a user