DayZ
Description
This module changes the game's basic functions and mechanics.
Configuration
Default configuration
DayZ.json
json
{
"m_EnableLeaning": 0,
"m_EnableVehicle3PP": 0,
"m_DisableBrokenLegs": 0,
"m_DisableCarDamage": 0,
"m_DisableMotorbikeDamage": 0,
"m_DisableBoatDamage": 0,
"m_DisableCarCrewDamage": 0,
"m_DisableMotorbikeCrewDamage": 0,
"m_DisableBoatCrewDamage": 0,
"m_DisableBuildCollision": 0,
"m_EnableInventorySwimming": 0,
"m_EnableInventoryVehicle": 0,
"m_EnableZoomInSprint": 0,
"m_DisableDofEffect": 0,
"m_DisableDropshot": 0,
"m_DisableLiftWeapon": 0,
"m_DisablePlayerRoll": 0,
"m_DisablePlayerProne": 0,
"m_DisableUnpackPaper": 0,
"m_DisableWalkRun": 0,
"m_SetMaxPlayerStat": 0
}Options
All options are of type bool, with a default value of 0. Use 1 to apply the described change and 0 to keep the game's normal behavior for that option. This module does not have a general m_Enable option.
| Option | Type | Description |
|---|---|---|
m_EnableLeaning | bool | Allows the character to keep leaning sideways while sprinting. |
m_EnableVehicle3PP | bool | Allows third-person camera use in the vehicle's first two seats, at indices 0 and 1, including on first-person servers. This additional permission is removed when leaving the vehicle. It does not force the player to use 3PP or enable it for every passenger. A value of 0 does not block third-person view already allowed by normal server settings. |
m_DisableBrokenLegs | bool | Prevents the broken-leg modifier from activating. It should not be used as a command to heal an existing fracture. |
m_DisableCarDamage | bool | Disables collision damage to cars and their components. |
m_DisableMotorbikeDamage | bool | Disables collision damage to motorbikes and their components. |
m_DisableBoatDamage | bool | Disables environmental damage processed by the game on boats and items carried in them. |
m_DisableCarCrewDamage | bool | Disables collision damage applied to car occupants. |
m_DisableMotorbikeCrewDamage | bool | Disables collision damage applied to motorbike occupants. |
m_DisableBoatCrewDamage | bool | Disables damage processing when jumping out of a boat. This is not general passenger protection against every damage source. |
m_DisableBuildCollision | bool | Disables normal collision checks when placing and constructing objects. The placement preview still checks for collisions with garden plots. |
m_EnableInventorySwimming | bool | Unlocks the inventory while swimming and allows receiving items into the character's hands during swimming. |
m_EnableInventoryVehicle | bool | Unlocks the inventory while the character is in a vehicle and allows receiving items into their hands in that situation. |
m_EnableZoomInSprint | bool | Allows normal view zoom while sprinting, provided the weapon is not raised. |
m_DisableDofEffect | bool | Disables depth-of-field effects, or DOF, applied by weapons and the game's visual effect controls. |
m_DisableDropshot | bool | Blocks firing for 2 seconds when entering the prone stance, reducing dropshot use. The block is rearmed when the character returns to standing; switching only between crouching and prone does not apply it again. It does not prevent the character from going prone; use m_DisablePlayerProne to block the prone control. |
m_DisableLiftWeapon | bool | Disables automatic weapon lifting when encountering nearby obstacles. |
m_DisablePlayerRoll | bool | Prevents the character from rolling sideways. |
m_DisablePlayerProne | bool | Locks the control used to enter the prone stance. This setting acts on the player's control rather than automatically changing characters who are already prone. |
m_DisableUnpackPaper | bool | Prevents paper from spawning when unpacking items. |
m_DisableWalkRun | bool | Locks temporary and toggle controls for switching between walking and running. It does not disable sprinting. |
m_SetMaxPlayerStat | bool | Sets water and energy to their maximum when creating a new character on connection to the server. It does not maximize every character attribute or keep these values continuously filled. |
Controls
The module changes the native controls below according to its configuration. Keys follow the player’s bindings in the game’s control settings.
| Control | Action |
|---|---|
Prone (UAProne) | With m_DisablePlayerProne=1, blocks the prone input; it does not automatically change the character’s current stance. |
Temporary walk/run (UAWalkRunTemp) and walk/run toggle (UAWalkRunToggle) | With m_DisableWalkRun=1, blocks these inputs during movement updates. With 0, unlocks them. Sprint remains available. |
| View zoom | With m_EnableZoomInSprint=1, allows normal zoom during sprint while the weapon is not raised. |
