Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл CfgGameplayDataJson.c

См. исходные тексты.

Структуры данных

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 Подробнее...
 
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 Подробнее...
 
class  ITEM_HitIndicationData
 
class  ITEM_MapData
 

Функции

void ITEM_DataBase ()
 
bool ValidateServer ()
 

Переменные

bool disableBaseDamage
 !! all member variables must correspond with the cfggameplay.json file contents !!!!
 
bool disableContainerDamage
 
bool disableRespawnDialog
 
bool disableRespawnInUnconsciousness
 
ITEM_PlayerData InitServer
 
float timeToStrafeJog = 0.1
 !! all member variables must correspond with the cfggameplay.json file contents !!!!
 
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 !!!!
 
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 !!!!
 
bool ignoreNavItemsOwnership = false
 
bool displayPlayerPosition = false
 
bool displayNavInfo = true
 
float staminaDepletionSpeed = 10
 !! all member variables must correspond with the cfggameplay.json file contents !!!!
 
float healthDepletionSpeed = 10
 
float shockDepletionSpeed = 10
 

Функции

◆ ITEM_DataBase()

void ITEM_DataBase ( )
44 {
45 disableBaseDamage = GetGame().ServerConfigGetInt( "disableBaseDamage" );
46 disableContainerDamage = GetGame().ServerConfigGetInt( "disableContainerDamage" );
47 disableRespawnDialog = GetGame().ServerConfigGetInt("disableRespawnDialog");
48 }
49
bool disableRespawnDialog
Definition CfgGameplayDataJson.c:58
bool disableBaseDamage
!! all member variables must correspond with the cfggameplay.json file contents !!...
Definition CfgGameplayDataJson.c:56
bool disableContainerDamage
Definition CfgGameplayDataJson.c:57
proto native CGame GetGame()

Перекрестные ссылки disableBaseDamage, disableContainerDamage, disableRespawnDialog и GetGame().

◆ ValidateServer()

override bool ValidateServer ( )
51 {
52 return true;
53 }
54 //-------------------------------------------------------------------------------------------------

Переменные

◆ allowStaminaAffectInertia

bool allowStaminaAffectInertia = 1

◆ disableBaseDamage

bool disableBaseDamage

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

Используется в ITEM_DataBase().

◆ disableContainerDamage

bool disableContainerDamage

Используется в ITEM_DataBase().

◆ disableRespawnDialog

bool disableRespawnDialog

Используется в ITEM_DataBase().

◆ disableRespawnInUnconsciousness

bool disableRespawnInUnconsciousness

◆ displayNavInfo

bool displayNavInfo = true

◆ displayPlayerPosition

bool displayPlayerPosition = false

◆ environmentMaxTemps

ref array<float> environmentMaxTemps

◆ environmentMinTemps

ref array<float> environmentMinTemps

◆ healthDepletionSpeed

float healthDepletionSpeed = 10

◆ ignoreMapOwnership

bool ignoreMapOwnership = false

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

◆ ignoreNavItemsOwnership

bool ignoreNavItemsOwnership = false

◆ InitServer

override void InitServer
44 {
45 disableBaseDamage = GetGame().ServerConfigGetInt( "disableBaseDamage" );
46 disableContainerDamage = GetGame().ServerConfigGetInt( "disableContainerDamage" );
47 disableRespawnDialog = GetGame().ServerConfigGetInt("disableRespawnDialog");
48 }

◆ lightingConfig

int lightingConfig

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

◆ objectSpawnersArr

ref array<string> objectSpawnersArr

◆ rotationSpeedJog

float rotationSpeedJog = 0.15

◆ rotationSpeedSprint

float rotationSpeedSprint = 0.15

◆ shockDepletionSpeed

float shockDepletionSpeed = 10

◆ staminaDepletionSpeed

float staminaDepletionSpeed = 10

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

◆ timeToSprint

float timeToSprint = 0.45

◆ timeToStrafeJog

float timeToStrafeJog = 0.1

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

◆ timeToStrafeSprint

float timeToStrafeSprint = 0.3

◆ wetnessWeightModifiers

Definition constants.c:615
const float WEIGHT_SOAKING_WET
Definition constants.c:797
const float WEIGHT_DRENCHED
Definition constants.c:796
const float WEIGHT_WET
Definition constants.c:798
const float WEIGHT_DRY
Definition constants.c:800
const float WEIGHT_DAMP
Definition constants.c:799