Module commit
Module commit.
This commit is contained in:
149
_module/nss/vamp_settings.nss
Normal file
149
_module/nss/vamp_settings.nss
Normal file
@@ -0,0 +1,149 @@
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
//Settings for vampire system:
|
||||
//
|
||||
//1 == Enable
|
||||
//0 == Disable
|
||||
//
|
||||
//
|
||||
|
||||
//When vampire dies, does he change invisible? (Cutscnene invis)
|
||||
//If enabled dm cannot use death2undeath item to raise permanently dead vampire
|
||||
//Because he cannot target him
|
||||
int iVampCutsceneInvis = 1;
|
||||
|
||||
|
||||
// Every vampire created gets assigned its creator's number +1, and so on.
|
||||
// This is the difference between two vampire generations there must be
|
||||
// in order for the greater vampire to errevocably slay a lesser.
|
||||
int iVampMasterDifference = 1;
|
||||
|
||||
//Does vampire have ability "Lineage" to determine who made a vampire?
|
||||
//
|
||||
int iVampDetectTemplars = 1;
|
||||
|
||||
//Does vampire have ability "Lineage" to determine who made a vampire?
|
||||
//
|
||||
int iVampireLineage = 1;
|
||||
|
||||
//Does vampire have ability "Domination"?
|
||||
//
|
||||
int iDomination = 1;
|
||||
|
||||
//Does vampire have ability "Alternate Form"?
|
||||
//Wolf
|
||||
int iAlternateWolf = 1;
|
||||
|
||||
//Dire Wolf
|
||||
int iAlternateDireWolf = 1;
|
||||
|
||||
//Does vampire have ability "Children of the Night"
|
||||
//Dire Rat
|
||||
int iChildrenRat = 1;
|
||||
//Wolf
|
||||
int iChildrenWolf = 1;
|
||||
|
||||
//Does vampire have ability "Blood Drain"
|
||||
//
|
||||
int iBloodDrain = 1;
|
||||
|
||||
//Does vampire have ability "Slam Attack"
|
||||
//
|
||||
int iSlamAttack = 1;
|
||||
|
||||
//Does vampire have ability "Gaseous Form"
|
||||
//
|
||||
int iGaseousForm = 1;
|
||||
|
||||
//Use level progression?
|
||||
// NOTE: Not in use yet.
|
||||
int iLvlProgression = 0;
|
||||
|
||||
//Does vampire need to drink blood?
|
||||
//
|
||||
int iDrinkBlood = 1;
|
||||
|
||||
//Use coffin system?
|
||||
//(Vampire respawns next to his coffin. etc.)
|
||||
int iCoffin = 1;
|
||||
|
||||
//Use hungry system?
|
||||
//
|
||||
int iHungry = 1;
|
||||
|
||||
/*What kind of SunSystem you want to use?
|
||||
|
||||
1. Use system what is on use for infinite.
|
||||
System keeps checking is vampire under sun even he is underground.
|
||||
Good point using this you dont need to modify Areas OnEnter event.
|
||||
Bad thing in this is that it might take too much cpu time on some systems.
|
||||
*/
|
||||
|
||||
int iSunKill = 1;
|
||||
|
||||
/*
|
||||
Or do you want to use alternate system?
|
||||
2. If you want to use this system you need to use following lines
|
||||
OnAreaEnter event of areas where sun shines.
|
||||
|
||||
#include "vamp_sunsystem"
|
||||
// vamp_sunsystem(GetEnteringObject());
|
||||
|
||||
Good point using this system is that it wont take as much cpu time
|
||||
what System 1 takes. But you need to modify every area where sun shines.
|
||||
Of course you can make for example so that church burn vampires when they enter.
|
||||
|
||||
*/
|
||||
|
||||
//If iSunKill enabled
|
||||
//Does sun kill vampire instantly or just do
|
||||
//iDamageX damage per 5 seconds.
|
||||
int iSunKillInstant = 0;
|
||||
int iSunDamageX = 20;
|
||||
|
||||
/*
|
||||
If you want to use system what makes Undeads friendly towards vampires,
|
||||
you must add following lines on areas OnEnter event.
|
||||
|
||||
#include "vamp_friends"
|
||||
vamp_friends(GetEnteringObject());
|
||||
|
||||
*/
|
||||
|
||||
//If SunKill enabled
|
||||
//Does vampire need "special" clothes to walk outside.
|
||||
//If enabled vampire needs to wear clothes beginning with tag "Vamp"
|
||||
//If not enabled vampire can walk outside if he has clothes on.
|
||||
//NOTE: Vampire needs ALWAYS helmet or hood to be able to walk outside.
|
||||
int iVampSpecialClothes = 1;
|
||||
|
||||
//Does vampire change to gaseous form on death or
|
||||
//Does he respawn to his coffin?
|
||||
//Set to 1 if gaseous form.
|
||||
int iVampMistForm = 1;
|
||||
|
||||
//Setting Local Integers.
|
||||
SetLocalInt(oMod,"iVampCutsceneInvis", iVampCutsceneInvis);
|
||||
SetLocalInt(oMod,"iVampMasterDifference", iVampMasterDifference);
|
||||
SetLocalInt(oMod,"iVampDetectTemplars", iVampDetectTemplars);
|
||||
SetLocalInt(oMod,"iVampireLineage", iVampireLineage);
|
||||
SetLocalInt(oMod,"iDomination", iDomination);
|
||||
SetLocalInt(oMod,"iAlternateWolf", iAlternateWolf);
|
||||
SetLocalInt(oMod,"iAlternateDireWolf", iAlternateDireWolf);
|
||||
SetLocalInt(oMod,"iChildrenRat", iChildrenRat);
|
||||
SetLocalInt(oMod,"iChildrenWolf", iChildrenWolf);
|
||||
SetLocalInt(oMod,"iBloodDrain", iBloodDrain);
|
||||
SetLocalInt(oMod,"iSlamAttack", iSlamAttack);
|
||||
SetLocalInt(oMod,"iGaseousForm", iGaseousForm);
|
||||
// SetLocalInt(oMod,"iLvlProgression", iLvlProgression);
|
||||
SetLocalInt(oMod,"iDrinkBlood", iDrinkBlood);
|
||||
SetLocalInt(oMod,"iSunKill", iSunKill);
|
||||
SetLocalInt(oMod,"iSunKillInstant", iSunKillInstant);
|
||||
SetLocalInt(oMod,"iSunDamageX", iSunDamageX);
|
||||
SetLocalInt(oMod,"iCoffin", iCoffin);
|
||||
SetLocalInt(oMod,"iHungry", iHungry);
|
||||
SetLocalInt(oMod,"iVampSpecialClothes", iVampSpecialClothes);
|
||||
SetLocalInt(oMod,"iVampMistForm", iVampMistForm);
|
||||
}
|
||||
|
Reference in New Issue
Block a user