DayZ
Not enough ratings
How to configure Medical Attention Mod
By The Player
This is a guide for configuring Dayz Medical Attention Mod.

Configuration is optional for server owners who want to disable specific features or modify some parameters. So this mod is simply installed on server side like any other mod by copying the @MedicalAttention folder to the root of server files.

To create a configuration copy the MedicalAttention folder provided in this mod to the server profile folder. You will find a config.txt with already predefined default settings.

Each setting meaning is described below.
   
Award
Favorite
Favorited
Unfavorite
Basic Settings
Tiredness = 1
1 or 0 – enable or disable tiredness

TireTime (minutes) = 210
Minutes until you get tired from fully rested.

EyeClosingPoint (percent) = 18
Percent of the rest bar when eye closing effect (or yawn) starts to show. Remember below 15% you start to have random unconscious episodes.

TextReports = 1
For those who don't see the tiredness bar due to other mods, this setting will make server to send direct text messages to clients while they sleep with rest level status.

SleepingBagClass = MediumTent
Class name of some item that is either a sleeping bag or a small / medium tent. Such items if attached on player just like clothing will allow him to rest well without fireplace. Same if player is sleeping on top of this items like in the case of a sleeping bag or if player is sleeping inside like in tent case.

SleepingDOF = 0
1 or 0 enable or disable DOF blur to hide surroundings while sleeping.

EnergizingDrinkClass = SodaCan_Cola
Class name from types.xml of the item to be energizing drink / coffee. You can put multiple lines for more items and you can use items from other mods.

EnergizingDrinkGain (percent) = 10
How much of rest to gain when you drink an energizing drink (like coffee). If you used one drink, you are allowed to use another only if you have slept at least 2 minutes, otherwise next drinks have no effect on rest level.

ZombieBleedChance (percent) = 20
Chance to get bleeding from zombie hit.

ZombieSalmonellaChance (percent) = 50
Chance to get Salmonella from zombie hit if the hit caused bleeding.

WoundInfectionChance (percent) = 50
Chance to get wound infection by bandaging with unclean rags.

ZombieArmFractureChance (percent) = 33
Chance to break your arms when blocking hits from zombies.

FeverActive = 1
Enable or disable fever and water loss when you have wound infection or influenza.

BrainDisease = 1
Enable or disable brain disease (kuru).

SalineBloodRegen = 0
1 or 0 enable or disable saline bag to increase the blood regeneration speed.

TestBloodSelf = 1
Enable or disable to get full medical report when using the blood test on yourself.

TestBloodTarget = 1
Enable or disable to get full medical report when using the blood test on someone else.

TestBloodToxin = 1
Enable or disable to include the biohazard toxin level in medical report.

AlcoholicDrinkClass = SodaCan_Kvass
Class name from types.xml of the item to be alcoholic drink. You can put multiple lines for more items.
You can add the optional parameter concentration like this:

AlcoholicDrinkClass = SodaCan_Kvass = 1.5
This will result in a total alcohol 330 (that’s how much a SodaCan_Kvass have) x 1.5 = 495
Biohazard and Other Zones
DeclareZone = 4 = 8289.79 = 2286.63 = 7300 = CAUTION: YOU ARE IN BIOHAZARD ZONE = YOU LEFT THE BIOHAZARD ZONE

First parameter is zone type:

0 - Harmless (notification only)
Useful just to mark territories, players will get on-enter and on-leave messages

1 - Non-combat
If one players cause damage to the other and either victim or attacker are inside non-combat zone, then if damage type is melee, the attacker will fall unconscious immediately, if damage type is firearm, the attacker will be killed instantly.

2 - No wells
Inside such zones, wells are not working at all.

3 - No fuel station
Inside such zones, fuel stations are not working at all.

4 - Biohazard
The biohazard zone will cause 2 things to the player in the same time: to lose health and to contaminate his body with an "unknown toxin". That toxin will cause blood vomiting with a loss of blood proportional with toxin level from the body.

Next parameters are X and Y coordinates of the zone center and radius in meters.

Last two parameters are on-enter and on-leave messages (optional)

Example with no messages:
DeclareZone = 2 = 722.0 = 10863.0 = 10500

Additional parameters for biohazard zone:

ToxinAccumulationTimeMin (minutes) = 5
ToxinAccumulationTimeMax (minutes) = 60
Is the min and max time (in minutes) needed for the toxin to build up in your body from 0 to 1000. (while inside the zone only)
The exact time depends on the NBC protection level, for 0% protection, the toxin will reach 1000 in 5 minutes (default min value). For 99% it will take 60 minutes. A full 100% suit protection will ensure that toxin will not build up at all.
There is no cure, while outside the zone this toxin will die off by itself and will take a fixed time (not configurable) 60 minutes from 1000 to 0.

OldBiohazardDamage = 0.6
(obsolete)
Is a multiplier for direct damage player will take while inside the zone. But total damage is also computed taking into account suit protection level. So right now this default value of 0.6 will ensure that a player with 90% protection can stay around 50 minutes inside the zone and loose health from 100 to 0 (dead).

ProtectionSuit = NBCBootsGray = 10
ProtectionSuit = NBCGlovesGray = 10
ProtectionSuit = NBCHoodGray = 10
ProtectionSuit = NBCJacketGray = 20
ProtectionSuit = NBCPantsGray = 20
ProtectionSuit = GP5GasMask = 30 = 1
ProtectionSuit = GasMask = 30 = 1
Class name of suit part and the protection level in percent. The sum of all suit parts including gas mask must be 100% obviously.
For some suit parts if you add 1 to the end it means it prevents player from eating while wearing that suit part. Used for gas masks.
Random Zones
DeclareRandomZone = 1 = 50 = 8289.79 = 2286.63 = 7300 = 7500 = YOU ENTERED = YOU LEFT
First parameter is zone type same as fixed zones. (0, 1, 2, 3 or 4)
Second parameter is chance (in percent) to be activated at each server restart. (50% in this example)
Next two parameters (3rd and 4th) are X and Y coordinates of the zone center: (8289.79 and 2286.63)
5th and 6th parameters are the minimum and maximum radius of the zone. Also randomly generated at server restart. (In this example zone radius will be a random value between 7300 and 7500 meters)
Last parameters are optional on-enter and on-leave messages.
51 Comments
TON Nov 1, 2022 @ 9:53pm 
DeclareRandomZone = 1 = 50 = 8289.79 = 2286.63 = 7300 = 7500 = YOU ENTERED = YOU LEFT
(Space here) or no space?
DeclareRandomZone = 2= 50 = 8289.79 = 2286.63 = 7300 = 7500 = YOU ENTERED = YOU LEFT
DeclareRandomZone = 1 = 50 = 8289.79 = 2286.63 = 7300 = 7500 = YOU ENTERED = YOU LEFT
TON Nov 1, 2022 @ 9:52pm 
Awesome mod! Quick question: in case I’m adding several zones. Do I just space with one line and add the hole new parameter again? And keep adding bellow?
Gort Of Klaatu May 13, 2022 @ 5:58pm 
I used this before but can't remember does it add any items into the game ?
xiyueminning Apr 15, 2022 @ 5:59am 
The alcohol works on anyone's server?
ZedHunterKoji Feb 19, 2022 @ 8:57am 
i still cant get this to work on my server. energy drinks, beer, vodka dont work and sleeping on sleeping bags, tents and bed roles dont work either.
ive been asking for help but no one knows how to fix it
ZedHunterKoji Feb 10, 2022 @ 1:13am 
ive been working on the number to be able to get my RP server survivors drunk but i can seem to get the numbers right or something. can someone please help me set it up properly
SGTBUD Jan 31, 2022 @ 7:30am 
Hello, where i'm supposed to put config.txt in profil server ? this don't affect my servers parameters
Thomas Apr 21, 2021 @ 11:32am 
How configure more class name for backpack ?
[UK1]Richard Dec 23, 2020 @ 12:00pm 
ive got the sickness sorted but my character still vomits how do I stop the effect
[UK1]Richard Dec 21, 2020 @ 2:54pm 
will this remove all sickness and does it also remove broken bones