Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
cfggameplaydatajson.c File Reference

Go to the source code of this file.

Data Structures

class  CfgGameplayJson
 contents of this class will be transfered to client upon connecting, with the variables in either initial state as set through the 'InitServer..()' call, or replaced with contents of the json configuration file if such file is both present and reading is enabled in server.cfg More...
 
class  ITEM_DataBase
 
class  ITEM_PlayerData
 
class  ITEM_ShockHandlingData
 
class  ITEM_StaminaData
 
class  ITEM_MovementData
 
class  ITEM_BaseBuildingData
 
class  ITEM_HologramData
 
class  ITEM_ConstructionData
 
class  ITEM_UIData
 data for UI, in-game HUD, and similar More...
 
class  ITEM_HitIndicationData
 
class  ITEM_MapData
 

Functions

void ITEM_DataBase ()
 
bool ValidateServer ()
 

Variables

bool disableBaseDamage
 !! all member variables must correspond with the cfggameplay.json file contents !!!! More...
 
bool disableContainerDamage
 
bool disableRespawnDialog
 
bool disableRespawnInUnconsciousness
 
ITEM_PlayerData InitServer
 
float timeToStrafeJog = 0.1
 !! all member variables must correspond with the cfggameplay.json file contents !!!! More...
 
float rotationSpeedJog = 0.15
 
float timeToSprint = 0.45
 
float timeToStrafeSprint = 0.3
 
float rotationSpeedSprint = 0.15
 
bool allowStaminaAffectInertia = 1
 
int lightingConfig
 !! all member variables must correspond with the cfggameplay.json file contents !!!! More...
 
ref array< stringobjectSpawnersArr
 
ref array< floatenvironmentMinTemps
 
ref array< floatenvironmentMaxTemps
 
ref array< floatwetnessWeightModifiers = {GameConstants.WEIGHT_DRY,GameConstants.WEIGHT_DAMP,GameConstants.WEIGHT_WET,GameConstants.WEIGHT_SOAKING_WET,GameConstants.WEIGHT_DRENCHED}
 
bool ignoreMapOwnership = false
 !! all member variables must correspond with the cfggameplay.json file contents !!!! More...
 
bool ignoreNavItemsOwnership = false
 
bool displayPlayerPosition = false
 
bool displayNavInfo = true
 
float staminaDepletionSpeed = 10
 !! all member variables must correspond with the cfggameplay.json file contents !!!! More...
 
float healthDepletionSpeed = 10
 
float shockDepletionSpeed = 10
 

Function Documentation

◆ ITEM_DataBase()

void InitServer::ITEM_DataBase ( )

Definition at line 2 of file cfggameplaydatajson.c.

◆ ValidateServer()

override bool ValidateServer ( )

Definition at line 9 of file cfggameplaydatajson.c.

Variable Documentation

◆ allowStaminaAffectInertia

bool allowStaminaAffectInertia = 1

Definition at line 76 of file cfggameplaydatajson.c.

◆ disableBaseDamage

bool disableBaseDamage

!! all member variables must correspond with the cfggameplay.json file contents !!!!

Definition at line 56 of file cfggameplaydatajson.c.

◆ disableContainerDamage

bool disableContainerDamage

Definition at line 57 of file cfggameplaydatajson.c.

◆ disableRespawnDialog

bool disableRespawnDialog

Definition at line 58 of file cfggameplaydatajson.c.

◆ disableRespawnInUnconsciousness

bool disableRespawnInUnconsciousness

Definition at line 59 of file cfggameplaydatajson.c.

◆ displayNavInfo

bool displayNavInfo = true

Definition at line 203 of file cfggameplaydatajson.c.

◆ displayPlayerPosition

bool displayPlayerPosition = false

Definition at line 202 of file cfggameplaydatajson.c.

◆ environmentMaxTemps

ref array<float> environmentMaxTemps

Definition at line 187 of file cfggameplaydatajson.c.

◆ environmentMinTemps

ref array<float> environmentMinTemps

Definition at line 186 of file cfggameplaydatajson.c.

◆ healthDepletionSpeed

float healthDepletionSpeed = 10

Definition at line 351 of file cfggameplaydatajson.c.

◆ ignoreMapOwnership

bool ignoreMapOwnership = false

!! all member variables must correspond with the cfggameplay.json file contents !!!!

Definition at line 200 of file cfggameplaydatajson.c.

◆ ignoreNavItemsOwnership

bool ignoreNavItemsOwnership = false

Definition at line 201 of file cfggameplaydatajson.c.

◆ InitServer

override void InitServer

Definition at line 43 of file cfggameplaydatajson.c.

◆ lightingConfig

int lightingConfig

!! all member variables must correspond with the cfggameplay.json file contents !!!!

Definition at line 183 of file cfggameplaydatajson.c.

◆ objectSpawnersArr

ref array<string> objectSpawnersArr

Definition at line 185 of file cfggameplaydatajson.c.

◆ rotationSpeedJog

float rotationSpeedJog = 0.15

Definition at line 72 of file cfggameplaydatajson.c.

◆ rotationSpeedSprint

float rotationSpeedSprint = 0.15

Definition at line 75 of file cfggameplaydatajson.c.

◆ shockDepletionSpeed

float shockDepletionSpeed = 10

Definition at line 352 of file cfggameplaydatajson.c.

◆ staminaDepletionSpeed

float staminaDepletionSpeed = 10

!! all member variables must correspond with the cfggameplay.json file contents !!!!

Definition at line 350 of file cfggameplaydatajson.c.

◆ timeToSprint

float timeToSprint = 0.45

Definition at line 73 of file cfggameplaydatajson.c.

◆ timeToStrafeJog

float timeToStrafeJog = 0.1

!! all member variables must correspond with the cfggameplay.json file contents !!!!

Definition at line 71 of file cfggameplaydatajson.c.

◆ timeToStrafeSprint

float timeToStrafeSprint = 0.3

Definition at line 74 of file cfggameplaydatajson.c.

◆ wetnessWeightModifiers

ref array<float> wetnessWeightModifiers = {GameConstants.WEIGHT_DRY,GameConstants.WEIGHT_DAMP,GameConstants.WEIGHT_WET,GameConstants.WEIGHT_SOAKING_WET,GameConstants.WEIGHT_DRENCHED}

Definition at line 188 of file cfggameplaydatajson.c.