Repository navigation
FAQ
- I set some parameters in configuration file, but server ignores them
- How to set up the character's armor to protect against pain system debuffs?
- Where can I view the default configuration file?
If there is an parse error in configuration file, the server will ignore all parameters from the configuration file and will use the default parameters.
If for some reason server ignores parameters from configuration file - check content of the config file using:
JSON validator: https://jsonlint.com
Just copy contents of the file, paste it into text area and click "Validate JSON" button, the validator will output errors if there are any.
Also be sure to check the server crash report, as the online validator cannot detect parameter type mismatch errors:
%DayZserverDir%/profiles/crash_*.log
However, to avoid constantly checking the configuration file for errors, I recommend adding your SteamID to the administrators configuration to gain access to additional commands (entered in the game chat) and features of this mod. For example, this will allow you to reload the mod configuration without restarting the server. Most importantly, in case of errors in the configuration file, you as an administrator will receive a message about it in the game chat when logging into the server or reloading the configuration, preventing any issues with a non-working config. Learn more about how to do this here.
This information is intended only for those who know how to override the vanilla game configuration through the config.cpp of their own mod. If you don't, you need to familiarize yourself with how to do this, as this information does not pertain to this mod.
The pain system in this modification is built around the vanilla Shock damage and vanilla Blood damage mechanics. Therefore, by increasing the armor's defense in config.cpp against various types of damage, you also increase its protection against the pain system debuffs.
- Increasing armor's
Shockdamage protection will reduce the amount of pain damage the character receives on the limb with armor equipped, and will also indirectly lower the chances of a fracture. - Increasing armor's
Blooddamage protection will lower the chances of the character sustaining a deep wound in the limb with armor equipped. Consequently, this also reduces the chances of gunshot wounds and internal bleeding.
For example, this is how you can change the Shock protection and Blood damage protection of the armor using config.cpp:
class CfgVehicles
{
class Clothing;
class YourClotingItem: Clothing
{
class DamageSystem
{
class GlobalArmor
{
class Projectile
{
class Blood
{
damage=0.1;
};
class Shock
{
damage=0.6;
};
};
class Melee
{
class Blood
{
damage=0;
};
class Shock
{
damage=0.2;
};
};
class Infected
{
class Blood
{
damage=0;
};
class Shock
{
damage=0.2;
};
};
};
};
};In this case, a player with the clothing item YourClotingItem equipped on their limb will receive only 20% of the close-range pain damage (Shock multiplier -> damage=0.2;), and the chance of receiving a deep wound from close-range damage will be zero (Blood multiplier -> damage=0;).
However, when taking damage from bullets (Projectile), they will receive significantly more pain damage, 60% (Shock multiplier -> damage=0.6;), and the probability of receiving a deep wound, and therefore a gunshot wound/internal bleeding, will be just 10% (Blood multiplier -> damage=0.1;).
Keep in mind that for bullet damage, the Blood defense multiplier cannot exceed 50%, i.e., Blood multiplier -> damage=0.5, because any blood damage greater than 50% when calculating the chance of a deep wound from a gunshot is considered 100%. This is done to prevent situations where a bullet, for example, loses 20% of its energy due to distance but hits an unprotected character and doesn't result in a deep wound.
If you've changed a parameter and want to revert it back without deleting the current configuration file, you can check the current configuration file with default values here. It gets updated after each modification update.
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
- π Home
- π Inedia Pain system guide
- π Visual guide EN
- π Visual guide RU
- π Inedia Medicine guide
- π οΈ Configuration file
- π Configuration options
- π Admin privileges and commands
- β FAQ
- π Compatibility with other mods
- π Reporting bugs
- π Default configuration file
- π Patch notes
- π Support the author