ça fait plus de 4 heures que je decripte les expliquations du hcr mais je ne vois vraiment pas, et les doc et autres txt c'est bien la premiere chose que je vais voir. J'ai l'impression d'avoir pris un upgrade du hcr.
j'ai essayé les deux version mais il me semble que qq chose ne colle pas. Au passage le txt de la base du modules :
README for HCR 2.0 SR5.1 upgrade
-------------------------------------------
overwrite the following scripts to existing hcr sr5:
2.0 SR5.1
SCRIPTS:
about_module
changed_files
hc_bleeding
hc_con_loss
hc_con_loss1
hc_defaults
hc_fugue_enter
hc_inc_take_exp
hc_on_cl_enter
hc_on_play_death
hc_on_play_rest
hc_on_ply_dying
les valeurs ne se trouvent plus dans le inc mais dans le hc_defaults . Et ces valeurs, par default elles sont bonnes mais le modules une fois lancé, il n'en tiens plus compte.
mes valeurs default:
-------------------------
// sr5.2
// Now the location where all features have their default value set.
// This is to allow things to be toggleable on the fly.
#include "hc_inc"
// TRIGGERS, if set to 0 the listed system will be deactivated, defaults to 1
// NOTE: If you change any of these, you must recompile all modules that begin
// with hc_ To do so, open them in script editor, and click compile and save.
// Set PWEXP to 1 to use the Persistent World Exp system
int PWEXP=0;
// If you set GHOSTSYSTEM to 1, players will return to their corpses as a
// ghost.
int GHOSTSYSTEM=0;
// If you use the SPELLSYS add-on, and want MATERCOMPs to be required then
// you must set MATERCOMP below to 1.
int MATERCOMP=0;
// Set SINGLECHARACTER to 1 to restrict players to one character each, even if
// that character is dead.
int SINGLECHARACTER=0;
// Set LOGINMESSAGE to anything you want show to all players when logging in
// If you want no message show, change LOGINMESSAGE to "NONE"
string LOGINMESSAGE="Welcome to Hardcore Base. This is the default login message.";
// Set DEATHOVERREBOOT to 0 to allow folks to come back to life after a
// server reset.
int DEATHOVERREBOOT=1;
// SUMMONTIME - If 0, will use normal summoning duration, if 1 will cause creature
// to last 1 round (6 sec) per HitDice (level) of the summoner. You can set it to
// higher numbers to multiple rounds, ie 3 would be 18 seconds per level of summoner.
// By the book though its 1 round.
int SUMMONTIME=1;
// REALFAM - If set to 0, you get BW familiars that instant heal when you
// "feed" them.
int REALFAM=1;
// HCRTRAPS Setting this to 0 makes the Find Traps spell use the normal NWN
// system. Set to 0 if you use the new heartbeat traps and secret door scripts.
// even set to 0 you still need to make the traps dc checks 100+DC to use the new hbtrap scripts.
// For secret doors just set the will save of the door to the detect DC ie 100+DC.
int HCRTRAPS=0;
// Set LEVELTRAINER to 0 to not require players find a trainer to level up.
// Set LEVELCOST to the amount of gold per level that training costs.
int LEVELTRAINER = 0;
int LEVELCOST = 100;
// GIVELEVEL - Sets the level that players start at in your world.
int GIVELEVEL=1;
// Set DMRESERVE to a number of players you want to be online, then when you
// start your server, set the max number of players to a number higher than
// DMRESERVE and you will always be able to log on. This defaults to disabled.
int DMRESERVE=0;
// Setting PKTRACKER enables automatic banning of a player by CDKEY when he
// exceeds the number of PK's of PKTRACKER. Helps prevent griefers. Defaults
// to 5 (means boots on number 6)
int PKTRACKER=5;
// Set this to 0 if you dont want to know when one player kills anothers.
int TELLONPK=1;
// Setting WANDERSYSTEM to 1 will add the check for wandering monsters.
// NOTE: Wandering monsters will only be found if an area has a local int
// of WANDERCHANCE set to > 0 anyway) so turning this on only uses a few
// cpu cycles.
int WANDERSYSTEM=1;
// Setting GODSYSTEM to 0 will remove ability to pray for resurrection.
int GODSYSTEM=1;
// Setting DEATHSYSTEM to 0 will allow respawn and quit and return to get
// around being dead or dying. (Removes death amulets)
int DEATHSYSTEM=1;
// Setting BLEEDSYSTEM to 0 will remove the bleed to death system.
int BLEEDSYSTEM=1;
// Setting SELFSTABLE to 0 will remove the ability to self stabilze to death system.
int SELFSTABLE=1;
// Setting LOOTSYSTEM to 0 will remove the ability to loot a pc corpse.
int LOOTSYSTEM=1;
// REZCHANCE - Controls percent chance of sucessful resurrection IF GODSYSTEM
int REZCHANCE=5;
// Setting REZPENALTY to 0 will turn off the losing of 1/2 a level
int REZPENALTY=1;
// Setting LIMBO to 0 will stop moving players to Fugue on death
int LIMBO=1;
// Setting RESTSYSTEM to 0 will remove rest restrictions from play.
// (You may also just not put hc_resting in OnPlayerResting)
int RESTSYSTEM=1;
// RESTBREAK - Controls how long between rests if RESTSYSTEM is used
int RESTBREAK=8;
// RESTARMORPEN is set to 0 to turn off the penalty for resting in armor > 5
int RESTARMORPEN=1;
// Setting LIMITEDRESTHEAL to 0 will allow full healing on each rest (but
// then why need clerics?
int LIMITEDRESTHEAL=1;
// Setting BEDROLLSYSTEM to 0 will turn off the functioning of bedrolls and
// the requirement to have them to rest.
int BEDROLLSYSTEM=1;
// Setting STORESYSTEM to 0 will stop the stripping of and equippign of
// new characters
int STORESYSTEM=1;
// Setting FOODSYSTEM to 0 will turn off need for food to rest.
int FOODSYSTEM=1;
// Setting BURNTORCH to 0 will restore torch durations to normal BW settings.
// Otherwise torches will last 1 hour per BURNTORCH) PER PHB pg 144
int BURNTORCH=1;
// Setting HUNGERSYSTEM to 0 will turn off the need for PCs to regularly consume
// food and water to avoid death by starvation or dehydration.
// Setting this to 1 will IGNORE the FOODSYSTEM flag, and it will use its
// own food system instead.
int HUNGERSYSTEM = 0;
// Setting FATIGUESYSTEM to 0 will turn of the ill effects recieve by a PC that
// goes a time without resting. Note that if this is 0 it will NOT stop fatigue
// penalties resulting from RESTARMORPEN = 1.
int FATIGUESYSTEM = 1;
// Setting HCREXP to 0 uses the normal BW experience system
// See the manual for more information
int HCREXP=1;
// Set the base exp used for all creature kills, 300 is the DMG default per CR
// adjust as needed to match your campaign speed
int BASEXP=75;
// BONUSEXP is the factor applied to creature exp amounts to further tweak the
// advancement rate
int BONUSXP=0;
// DECONENTER set to 1 will decrement spells and feats known on enter to prevent players
// from quiting and rejoining the game just to get feats and spells back.
//Use 0 to turn off the feature.
int DECONENTER=1;
// If DIRTRACK is set to 1 then the Direction Tracking system
// Both Direction tracking and Placeable tracking can be used at the same time.
int DIRTRACK=1;
// If PLACETRACK is set to 1 then the Addon Placeable Tracking system
// will be used. This can be combined with the Direction Tracking System.
int PLACETRACK=0;
// HCRREAD must be set to 1 before any HCR variables will be set. It just
// is a small measure some folks have been asking for to make sure that
// DM's at least have opened this file once.
int HCRREAD=0;
void main()
{
if(!HCRREAD)
return;
SetLocalInt(oMod,"PWEXP",PWEXP);
SetLocalInt(oMod,"GHOSTSYSTEM",GHOSTSYSTEM);
SetLocalInt(oMod,"HCRREAD",HCRREAD);
SetLocalInt(oMod,"MATERCOMP", MATERCOMP);
SetLocalInt(oMod,"SINGLECHARACTER",SINGLECHARACTER);
SetLocalString(oMod,"LOGINMESSAGE", LOGINMESSAGE);
SetLocalInt(oMod,"DEATHOVERREBOOT", DEATHOVERREBOOT);
SetLocalInt(oMod,"SUMMONTIME", SUMMONTIME);
SetLocalInt(oMod,"REALFAM", REALFAM);
SetLocalInt(oMod,"HCRTRAPS", HCRTRAPS);
SetLocalInt(oMod,"RESTARMORPEN", RESTARMORPEN);
SetLocalInt(oMod,"RESTSYSTEM", RESTSYSTEM);
SetLocalInt(oMod,"RESTBREAK", RESTBREAK);
SetLocalInt(oMod,"LIMITEDRESTHEAL", LIMITEDRESTHEAL);
SetLocalInt(oMod,"BEDROLLSYSTEM", BEDROLLSYSTEM);
SetLocalInt(oMod,"LEVELTRAINER", LEVELTRAINER);
SetLocalInt(oMod,"LEVELCOST", LEVELCOST);
SetLocalInt(oMod,"GIVELEVEL", GIVELEVEL);
SetLocalInt(oMod,"DMRESERVE", DMRESERVE);
SetLocalInt(oMod,"PKTRACKER", PKTRACKER);
SetLocalInt(oMod,"TELLONPK", TELLONPK);
SetLocalInt(oMod,"WANDERSYSTEM", WANDERSYSTEM);
SetLocalInt(oMod,"GODSYSTEM", GODSYSTEM);
SetLocalInt(oMod,"DEATHSYSTEM", DEATHSYSTEM);
SetLocalInt(oMod,"BLEEDSYSTEM", BLEEDSYSTEM);
SetLocalInt(oMod,"SELFSTABLE", SELFSTABLE);
SetLocalInt(oMod,"LOOTSYSTEM", LOOTSYSTEM);
SetLocalInt(oMod,"REZPENALTY", REZPENALTY);
SetLocalInt(oMod,"REZCHANCE", REZCHANCE);
SetLocalInt(oMod,"LIMBO", LIMBO);
SetLocalInt(oMod,"STORESYSTEM", STORESYSTEM);
SetLocalInt(oMod,"FOODSYSTEM", FOODSYSTEM);
SetLocalInt(oMod,"BURNTORCH", BURNTORCH);
SetLocalInt(oMod,"HUNGERSYSTEM", HUNGERSYSTEM);
SetLocalInt(oMod,"FATIGUESYSTEM", FATIGUESYSTEM);
SetLocalInt(oMod,"HCREXP", HCREXP);
SetLocalInt(oMod,"BASEXP", BASEXP);
SetLocalInt(oMod,"BONUSXP", BONUSXP);
SetLocalInt(oMod,"DECONENTER", DECONENTER);
SetLocalInt(oMod,"DIRTRACK", DIRTRACK);
SetLocalInt(oMod,"PLACETRACK", PLACETRACK);
}
et rien n'y fait....
bon je continue a