Configure contaminated areas and special effect zones in your DayZ server. This file defines static and dynamic contamination zones that affect player health and gameplay.
The cfgEffectArea.json file defines contaminated areas and special effect zones in your DayZ server. These areas can include:
The cfgEffectArea.json file uses JSON format to define 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,
"particleDensity": 0.5,
"particleSize": 1.0,
"particleSpeed": 0.1,
"damagePerSecond": 5,
"damageType": "chemical"
}
],
"dynamicEffectArea": [
{
"type": "ContaminatedArea_Dynamic",
"position": [5600, 0, 8400],
"radius": 80,
"innerRingCount": 8,
"innerRingDist": 10.0,
"outerRingToggle": 1,
"outerRingDist": 100.0,
"color": [1.0, 0.0, 0.0, 0.8],
"duration": 900,
"particleDensity": 0.8,
"particleSize": 1.5,
"particleSpeed": 0.2,
"damagePerSecond": 10,
"damageType": "chemical",
"spawnChance": 0.7,
"respawnTime": 300
}
]
}
The type of effect area. Use "ContaminatedArea_Static" for permanent contamination zones.
The [x, y, z] coordinates of the effect area center. Y is typically 0 for ground level.
The radius of the effect area in meters. This defines the contaminated zone size.
Number of inner rings in the effect visualization. Controls the visual density of the contamination effect.
Distance between inner rings in meters. Controls the spacing of visual effects.
Enable (1) or disable (0) outer ring visualization. Creates a warning zone around the contaminated area.
Distance of the outer ring from the center in meters. Creates a warning zone.
The [r, g, b, a] color values for the effect visualization. Alpha controls transparency.
Duration of the effect in seconds. Use -1 for permanent static areas.
Amount of damage dealt to players per second while in the contaminated area.
The type of effect area. Use "ContaminatedArea_Dynamic" for temporary contamination zones.
Probability (0.0 to 1.0) of the dynamic area spawning when triggered.
Time in seconds before the dynamic area can respawn after being triggered.
Density of particle effects (0.0 to 1.0). Controls the visual intensity of the contamination.
Size of particle effects. Larger values create more visible contamination effects.
Speed of particle movement. Controls how fast the contamination effects move.
Type of damage dealt. Use "chemical" for contamination damage that requires specific medical treatment.
The [x, y, z] coordinates where the dynamic area can spawn when triggered.
The radius of the dynamic effect area in meters when spawned.
Duration of the dynamic effect in seconds. After this time, the area disappears.
[0.0, 1.0, 0.0, 1.0]
Standard contamination gas
[1.0, 0.0, 0.0, 0.8]
High-intensity contamination
[1.0, 1.0, 0.0, 0.9]
Warning zone gas
[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 contamination
When configuring contaminated areas, consider the following best practices:
Too many dynamic areas or high particle density can cause server lag. Reduce particleDensity and limit dynamic areas.
Ensure all brackets, commas, and quotes are properly formatted. Use a JSON validator to check syntax.
Ensure position coordinates are within the map boundaries. Use DayZ map tools to verify coordinates.
For more information about configuring contaminated areas, check the official DayZ documentation.