Central Economy Configuration – DayZ

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Stub}}")
 
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
== cfgEconomyCore.xml ==
=== Root Classes ===
<syntaxhighlight lang="xml">
<economycore>
    <classes>
<!--
These are rootclasses to be used by economy.
Do not forget to add attribute act="character", if root class represents character (player, infected, animal)
Do not forget to add attribute act="car", if root class represents moveable vehicles
-->
        <rootclass name="DefaultWeapon" /> <!-- weapons -->
        <rootclass name="DefaultMagazine" /> <!-- magazines -->
        <rootclass name="HouseNoDestruct" reportMemoryLOD="no" /> <!-- houses, wrecks -->
        <rootclass name="Inventory_Base" /> <!-- inventory items -->
        <rootclass name="SurvivorBase" act="character" /> <!-- player characters -->
        <rootclass name="DZ_LightAI" act="character" /> <!-- infected, animals -->
        <rootclass name="Car_DZ" act="car" /> <!-- cars (sedan, hatchback, transitBus, V3S, ...) -->
    </classes>
</economycore>
</syntaxhighlight>
=== Default Values ===
All variables have some hard-coded "default", for gameplay balancing, testing or mod support.
<syntaxhighlight lang="xml">
<defaults>
    <default name="world_segments" value="1" />
    <default name="dyn_radius" value="20" />
    <default name="dyn_smin" value="0" />
    <default name="dyn_smax" value="0" />
    <default name="dyn_dmin" value="0" />
    <default name="dyn_dmax" value="5" />
    <default name="save_events_startup" value="false" />
    <default name="save_types_startup" value="false" />
</defaults>
</syntaxhighlight>
{| class="bikitable"
! Variable      !! Type !! Default !! Description
|-
|| world_segments
|| Integer
|| 12
|| Defines how in many segments world will be split by CE - this affects save, load, cleanup and other processing events - it's performance wide for huge maps (note that default value is for Chernarus map!)
|-
|| backup_period
|| Integer
|| 0
|| Period of regular backup creation (minutes)
|-
|| backup_count
|| Integer
|| 0
|| Count of backups to keep - folders
|-
|| backup_startup
|| Boolean
|| off
|| Process backup at startup of server
|-
|| dyn_radius
|| Float
|| 20
|| Default value for dynamic infected zone - size of the zone (meters)
|-
|| dyn_smin
|| Float
|| 0
|| Default value for dynamic infected zone - minimal static count
|-
|| dyn_smax
|| Float
|| 0
|| Default value for dynamic infected zone - maximal static count
|-
|| dyn_dmin
|| Float
|| 0
|| Default value for dynamic infected zone - minimal dynamic count
|-
|| dyn_dmax
|| Float
|| 5
|| Default value for dynamic infected zone - maximal dynamic count
|-
|| save_events_startup
|| Boolean
|| on
|| If disabled, no data/events.bin is created at startup (usefull for minimal hive setup)
|-
|| save_types_startup
|| Boolean
|| on
|| If disabled, no data/types.bin is created at startup (usefull for minimal hive setup)
|-
|| log_hivewarning
|| Boolean
|| on
|| enable/ disable some of the hive warning messages in console
|-
|| log_storageinfo
|| Boolean
|| off
|| enable/ disable periodic storage info messages in console (if CE stores files)
|-
|| log_missionfilewarning
|| Boolean
|| on
|| enable/ disable console warning messages about mission files (typically sandbox mode does not require them all)
|-
|| log_celoop
|| Boolean
|| off
|| enable/ disable logging of CE loop timing and basic statistical info
|-
|| log_ce_dynamicevent
|| Boolean
|| off
|| enable/ disable logging of CE specific - dynamic events specific
|-
|| log_ce_vehicle
|| Boolean
|| off
|| enable/ disable logging of CE specific - vehicle specific
|-
|| log_ce_lootspawn
|| Boolean
|| off
|| enable/ disable logging of CE specific - loot spawn specific
|-
|| log_ce_lootcleanup
|| Boolean
|| off
|| enable/ disable logging of CE specific - cleanup specific (not just loot actually)
|-
|| log_ce_lootrespawn
|| Boolean
|| off
|| enable/ disable logging of CE specific - loot respawn specific
|-
|| log_ce_statistics
|| Boolean
|| off
|| enable/ disable logging of CE specific - statistical data
|-
|| log_ce_zombie
|| Boolean
|| off
|| enable/ disable logging of CE specific - infected related
|-
|| log_ce_animal
|| Boolean
|| off
|| enable/ disable logging of CE specific - animal related
|}
[[Category:DayZ:Central Economy|Config]]

Revision as of 17:24, 13 February 2019

Template:Stub

cfgEconomyCore.xml

Root Classes

<economycore>
    <classes>
<!--
These are rootclasses to be used by economy.
Do not forget to add attribute act="character", if root class represents character (player, infected, animal)
Do not forget to add attribute act="car", if root class represents moveable vehicles
-->
        <rootclass name="DefaultWeapon" /> <!-- weapons -->
        <rootclass name="DefaultMagazine" /> <!-- magazines -->
        <rootclass name="HouseNoDestruct" reportMemoryLOD="no" /> <!-- houses, wrecks -->
        <rootclass name="Inventory_Base" /> <!-- inventory items -->
        <rootclass name="SurvivorBase" act="character" /> <!-- player characters -->
        <rootclass name="DZ_LightAI" act="character" /> <!-- infected, animals -->
        <rootclass name="Car_DZ" act="car" /> <!-- cars (sedan, hatchback, transitBus, V3S, ...) -->
    </classes>
</economycore>

Default Values

All variables have some hard-coded "default", for gameplay balancing, testing or mod support.

<defaults>
    <default name="world_segments" value="1" />
    <default name="dyn_radius" value="20" />
    <default name="dyn_smin" value="0" />
    <default name="dyn_smax" value="0" />
    <default name="dyn_dmin" value="0" />
    <default name="dyn_dmax" value="5" />
    <default name="save_events_startup" value="false" />
    <default name="save_types_startup" value="false" />
</defaults>
Variable Type Default Description
world_segments Integer 12 Defines how in many segments world will be split by CE - this affects save, load, cleanup and other processing events - it's performance wide for huge maps (note that default value is for Chernarus map!)
backup_period Integer 0 Period of regular backup creation (minutes)
backup_count Integer 0 Count of backups to keep - folders
backup_startup Boolean off Process backup at startup of server
dyn_radius Float 20 Default value for dynamic infected zone - size of the zone (meters)
dyn_smin Float 0 Default value for dynamic infected zone - minimal static count
dyn_smax Float 0 Default value for dynamic infected zone - maximal static count
dyn_dmin Float 0 Default value for dynamic infected zone - minimal dynamic count
dyn_dmax Float 5 Default value for dynamic infected zone - maximal dynamic count
save_events_startup Boolean on If disabled, no data/events.bin is created at startup (usefull for minimal hive setup)
save_types_startup Boolean on If disabled, no data/types.bin is created at startup (usefull for minimal hive setup)
log_hivewarning Boolean on enable/ disable some of the hive warning messages in console
log_storageinfo Boolean off enable/ disable periodic storage info messages in console (if CE stores files)
log_missionfilewarning Boolean on enable/ disable console warning messages about mission files (typically sandbox mode does not require them all)
log_celoop Boolean off enable/ disable logging of CE loop timing and basic statistical info
log_ce_dynamicevent Boolean off enable/ disable logging of CE specific - dynamic events specific
log_ce_vehicle Boolean off enable/ disable logging of CE specific - vehicle specific
log_ce_lootspawn Boolean off enable/ disable logging of CE specific - loot spawn specific
log_ce_lootcleanup Boolean off enable/ disable logging of CE specific - cleanup specific (not just loot actually)
log_ce_lootrespawn Boolean off enable/ disable logging of CE specific - loot respawn specific
log_ce_statistics Boolean off enable/ disable logging of CE specific - statistical data
log_ce_zombie Boolean off enable/ disable logging of CE specific - infected related
log_ce_animal Boolean off enable/ disable logging of CE specific - animal related