Static events - GarageMan/Setting-up-a-DayZ-server GitHub Wiki

Static events

Compared to dynamic events, which will happen per random, the static events are allways taking place. So, you can create spooky or contaminated zones, which will last for ever :-)

Bhaalshad describes on his Discord great basics and backgrounds, and provides some more very nice ideas.

Removal of the static contaminated areas on Livonia

The static contaminated zones on Livonia are annoying for a lot of players. You can remove these areas easily.

cfgEffectedArea.json

  1. Delete all lines bwtween Areas: [ and ]. => No static contaminated zones any more (LukovAirfield-NE, etc.) I cept the entry for Radunin tenst, but modified it a bit. See below.

  2. Delete all SafePositions between [ and ].

cfgeventspawn.xml You can add the coordinates of the former static events to the list of dynamic events. Just add the coordinates blow the rubric <event name="StaticContaminatedArea">

<!-- Livonia/Enoch -->
	<pos x="3787" z="10334" />
	<pos x="4064" z="10224" />
	<pos x="4343" z="10467" />
	<pos x="7798" z="5803" />
	<pos x="7651" z="5934" />
	<pos x="7884" z="5912" />
	<pos x="7791" z="6038" />
	<pos x="7347" z="6410" />
	<pos x="7500" z="6156" />

Removal of the NBC-Zombies from all the former static contaminated zones

Since the contaminated areas do not longer exist, the ZmbM_NBC_grey and ZmbM_NBC_yellow should not spawn any more at these locations - except for dynamic events happening. I just exchanged the NBC-Zombies in the file zombie_territories.xml with regular InfectedMedic:

<territory color="2260328206">
	<zone name="InfectedMedic" smin="3" smax="5" dmin="2" dmax="4" x="7823.21" z="5846.43" r="80"/>
	<zone name="InfectedMedic" smin="3" smax="5" dmin="2" dmax="4" x="7667.86" z="5962.5" r="80"/>
	<zone name="InfectedMedic" smin="3" smax="5" dmin="2" dmax="4" x="7541.74" z="6069.87" r="80"/>
	<zone name="InfectedMedic" smin="6" smax="8" dmin="1" dmax="2" x="4235.71" z="10364.3" r="80"/>
	<zone name="InfectedMedic" smin="6" smax="8" dmin="1" dmax="2" x="4051.79" z="10194.6" r="80"/>
</territory>

Spooky zones

To have spooky zones in some places you can define static events using triggers and effects in the file cfgEffectedAreas.json:

Trigger Effect
ContaminatedTrigger player takes damage
Smoke_bonfire light column of smoke
EffectTrigger no damage
contaminated_area_gas_bigass green, flat smoke
spooky_mist white, flat smoke
PPERequester_GlassesSportBlack sunglasses effect, no damage
PPERequester_GlassesSportBlue sunglasses effect, no damage
PPERequester_GlassesSportGreen sunglasses effect, no damage
PPERequester_GlassesSportOrange sunglasses effect, no damage
PPERequester_ContaminatedAreaTint Contaminated

More information on DayZ Wiki and on Don Sibley’s PasteBin:

Also, Check Don Sibley’s video on Youtube.

The following change in the file cfgEffectedAreas.json is just one example, using the area of Radunin/Livonia. Make the following changes for ALL Radunin-areas!

"Areas": [
{	"AreaName": "Radunin-MedicalTents", 
		"Type": "ContaminatedArea_Static", 
		"TriggerType": "EffectTrigger",			
		"Data":{ 
			"Pos": [ 7500, 0, 6156 ],
			"Radius": 200,
			"PosHeight": 21,
			"NegHeight": 10,
			"InnerRingCount": 2,
			"InnerPartDist": 50,
			"OuterRingToggle": 1, 
			"OuterPartDist": 40, 
			"OuterOffset": 0, 
			"VerticalLayers": 0,
			"VerticalOffset": 0,
			"ParticleName": "graphics/particles/spooky_mist"	
		},
		"PlayerData": {
			"AroundPartName": "graphics/particles/spooky_mist",			
			"TinyPartName": "graphics/particles/spooky_mist",	
			"PPERequesterType": "PPERequester_GlassesSportBlack"
		}
	}
],

etc. ...

or

{	"AreaName": "Haunted-Area-1", 
		"Type": "ContaminatedArea_Static", 
		"TriggerType": "EffectTrigger",
		"Data": { 
			"Pos": [ 12167, 0, 12634 ],		// THAT POSITION DOES NOT EXIT, IT IS JUST AN EXAMPLE
			"Radius": 100,
			"PosHeight":50,
			"NegHeight": 20,
			"InnerRingCount": 1,
			"InnerPartDist": 25,
			"OuterRingToggle": 1, 
			"OuterPartDist": 40,
			"OuterOffset": -80, 
			"VerticalLayers": 0,
			"VerticalOffset": 0,
			"ParticleName": "graphics/particles/spooky_mist"
		},
		"PlayerData": {
			"AroundPartName": "graphics/particles/smoke_bonfire",
			"TinyPartName": "graphics/particles/contaminated_area_gas_around_tiny",
			"PPERequesterType": "PPERequester_GlassesSportBlack"
		}
},
⚠️ **GitHub.com Fallback** ⚠️