15 ref ITEM_GeneralData GeneralData =
new ITEM_GeneralData;
17 ref ITEM_WorldData WorldsData =
new ITEM_WorldData;
71 ref ITEM_DrowningData DrowningData =
new ITEM_DrowningData;
72 ref ITEM_WeaponObstructionData WeaponObstructionData =
new ITEM_WeaponObstructionData;
74 override void InitServer()
79 override bool ValidateServer()
86 bool disablePersonalLight;
96 override void InitServer()
100 override bool ValidateServer()
107 float shockRefillSpeedConscious =
PlayerConstants.SHOCK_REFILL_CONSCIOUS_SPEED;
108 float shockRefillSpeedUnconscious =
PlayerConstants.SHOCK_REFILl_UNCONSCIOUS_SPEED;
109 bool allowRefillSpeedModifier =
true;
116 override void InitServer()
121 override bool ValidateServer()
123 if (staminaMax == 0.0)
131 float staminaWeightLimitThreshold =
GameConstants.STAMINA_WEIGHT_LIMIT_THRESHOLD;
133 float staminaKgToStaminaPercentPenalty =
GameConstants.STAMINA_KG_TO_STAMINAPERCENT_PENALTY;
135 float sprintStaminaModifierErc = 1;
136 float sprintStaminaModifierCro = 1;
137 float sprintSwimmingStaminaModifier = 1;
138 float sprintLadderStaminaModifier = 1;
139 float meleeStaminaModifier = 1;
140 float obstacleTraversalStaminaModifier = 1;
141 float holdBreathStaminaModifier = 1;
148 override void InitServer()
152 override bool ValidateServer()
159 float timeToStrafeJog = 0.1;
160 float rotationSpeedJog = 0.15;
161 float timeToSprint = 0.45;
162 float timeToStrafeSprint = 0.3;
163 float rotationSpeedSprint = 0.15;
164 bool allowStaminaAffectInertia = 1;
203 override void InitServer()
207 override bool ValidateServer()
223 override void InitServer()
225 disallowedTypesInUnderground =
new TStringSet();
226 disallowedTypesInUnderground.Insert(
"FenceKit");
227 disallowedTypesInUnderground.Insert(
"TerritoryFlagKit");
228 disallowedTypesInUnderground.Insert(
"WatchtowerKit");
231 override bool ValidateServer()
238 bool disableIsCollidingBBoxCheck;
239 bool disableIsCollidingPlayerCheck;
240 bool disableIsClippingRoofCheck;
241 bool disableIsBaseViableCheck;
242 bool disableIsCollidingGPlotCheck;
243 bool disableIsCollidingAngleCheck;
244 bool disableIsPlacementPermittedCheck;
245 bool disableHeightPlacementCheck;
246 bool disableIsUnderwaterCheck;
247 bool disableIsInTerrainCheck;
248 bool disableColdAreaPlacementCheck;
257 override void InitServer()
261 override bool ValidateServer()
268 bool disablePerformRoofCheck;
269 bool disableIsCollidingCheck;
270 bool disableDistanceCheck;
278 override void InitServer()
280 HitIndicationData.InitServer();
283 override bool ValidateServer()
291 bool use3DMap =
false;
298 override void InitServer()
300 hitDirectionOverrideEnabled =
false;
301 hitIndicationPostProcessEnabled =
false;
304 override bool ValidateServer()
312 bool hitDirectionOverrideEnabled =
false;
314 int hitDirectionStyle = HitIndicatorType.SPLASH;
315 string hitDirectionIndicatorColorStr;
316 float hitDirectionMaxDuration = HitDirectionConstants.DURATION_BASE;
317 float hitDirectionBreakPointRelative = HitDirectionConstants.BREAKPOINT_BASE;
318 float hitDirectionScatter = HitDirectionConstants.SCATTER;
319 bool hitIndicationPostProcessEnabled =
false;
326 override void InitServer()
330 override bool ValidateServer()
337 bool ignoreMapOwnership =
false;
338 bool ignoreNavItemsOwnership =
false;
339 bool displayPlayerPosition =
false;
340 bool displayNavInfo =
true;
392 override void InitServer()
396 override bool ValidateServer()
403 float boatDecayMultiplier = 1;
ref array< float > environmentMaxTemps
ref array< string > objectSpawnersArr
ref array< float > wetnessWeightModifiers
bool disableRespawnDialog
ref array< float > environmentMinTemps
EWeaponObstructionMode staticMode
!! all member variables must correspond with the cfggameplay.json file contents !!...
float healthDepletionSpeed
ITEM_PlayerData InitServer
bool disableRespawnInUnconsciousness
float staminaDepletionSpeed
!! all member variables must correspond with the cfggameplay.json file contents !!...
int lightingConfig
!! all member variables must correspond with the cfggameplay.json file contents !!...
EWeaponObstructionMode dynamicMode
bool disableBaseDamage
!! all member variables must correspond with the cfggameplay.json file contents !!...
ref TStringArray playerRestrictedAreaFiles
bool disableContainerDamage
float shockDepletionSpeed
proto native int ServerConfigGetInt(string name)
Server config parsing. Returns 0 if not found.
contents of this class will be transfered to client upon connecting, with the variables in either ini...
data for UI, in-game HUD, and similar
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()