Configure contaminated areas and special effect zones in your DayZ server. Define static and dynamic contamination zones that affect player health and gameplay.
The cfgEffectArea.json file defines contaminated areas and special effect zones. It supports static contamination zones with permanent gas effects, dynamic contamination zones with temporary effects that spawn and despawn, and custom environmental effects with configurable particle systems and damage types.
The file uses JSON format with separate arrays for static and dynamic effect areas.
{
"staticEffectArea": [
{
"type": "ContaminatedArea_Static",
"position": [7650, 0, 13300],
"radius": 100,
"innerRingCount": 10,
"innerRingDist": 10.0,
"outerRingToggle": 1,
"outerRingDist": 120.0,
"color": [0.0, 1.0, 0.0, 1.0],
"duration": -1,
"damagePerSecond": 5
}
],
"dynamicEffectArea": [
{
"type": "ContaminatedArea_Dynamic",
"position": [5600, 0, 8400],
"radius": 80,
"duration": 900,
"spawnChance": 0.7,
"respawnTime": 300
}
]
}
The type of effect area. Use "ContaminatedArea_Static" for permanent contamination zones that persist indefinitely on the map.
The [x, y, z] coordinates of the effect area center. Y is typically 0 for ground level. Use DayZ map tools to find accurate coordinates for your desired location.
The radius of the effect area in meters. This defines the contaminated zone size where players will take damage and visual effects will be displayed.
Duration of the effect in seconds. Use -1 for permanent static areas that never expire. Positive values create temporary zones.
Number of inner rings in the effect visualization. Controls the visual density of the contamination effect. Higher values create more detailed particle rings.
Distance between inner rings in meters. Controls the spacing of visual effects. Smaller values create denser, more intense-looking contamination.
Enable (1) or disable (0) outer ring visualization. Creates a warning zone around the contaminated area to alert approaching players.
The [r, g, b, a] color values for the effect visualization (0.0 to 1.0 each). Alpha controls transparency. Example: [0.0, 1.0, 0.0, 1.0] for green gas.
Dynamic effect areas are temporary contamination zones that spawn and despawn based on configured parameters. They add unpredictability to gameplay.
Use "ContaminatedArea_Dynamic" for temporary contamination zones that appear and disappear based on spawn chance and duration settings.
Probability (0.0 to 1.0) of the dynamic area spawning when triggered. A value of 0.7 means 70% chance to spawn each cycle.
Time in seconds before the dynamic area can respawn after despawning. Controls how frequently the zone can reappear.
Density of particle effects (0.0 to 1.0). Controls the visual intensity of the contamination. Higher values may impact performance.
Amount of damage dealt to players per second while in the contaminated area. Balance this with zone size and available protective gear.
Type of damage dealt. Use "chemical" for contamination damage that requires specific medical treatment like PO-X antidote.
Use different colors to indicate contamination types and severity. The color array uses RGBA format with values from 0.0 to 1.0.
[0.0, 1.0, 0.0, 1.0]
Standard contamination
[1.0, 0.0, 0.0, 0.8]
High-intensity danger
[1.0, 1.0, 0.0, 0.9]
Warning zone
[0.0, 0.0, 1.0, 0.7]
Chemical contamination
[1.0, 0.0, 1.0, 0.6]
Radiation-like effects
[1.0, 0.5, 0.0, 0.8]
Toxic waste
Large permanent contamination for high-tier loot areas
{
"type": "ContaminatedArea_Static",
"position": [4523, 0, 10234],
"radius": 150,
"innerRingCount": 12,
"innerRingDist": 12.0,
"outerRingToggle": 1,
"outerRingDist": 180.0,
"color": [0.0, 1.0, 0.0, 1.0],
"duration": -1,
"damagePerSecond": 3
}
Temporary high-danger zone with rare spawns
{
"type": "ContaminatedArea_Dynamic",
"position": [8200, 0, 5600],
"radius": 60,
"innerRingCount": 6,
"innerRingDist": 8.0,
"outerRingToggle": 1,
"outerRingDist": 80.0,
"color": [1.0, 0.0, 0.0, 0.9],
"duration": 600,
"spawnChance": 0.5,
"respawnTime": 1800,
"damagePerSecond": 8
}
Use DayZ map tools like iZurvive or DayZ Central Economy tools to find accurate coordinates. Always validate your JSON syntax before deploying - a single missing comma can break the entire file. Consider the availability of NBC protective gear on your server when setting damage values, and test contamination zones on a staging server first.