1.28 Effect Area Height Fix
Floating Gas Zones Fix (1.28)
In the 1.28 update Bohemia introduced a new FillWithParticles function for contaminated-area zones, letting you pack emitters in a circle. But the spawning code still always forced every particle down to the terrain height before checking whether it fit inside your zone’s vertical limits.
If you set the zone’s Y position (vertical) to anything other than zero, all the gas still snapped down to ground level and then got filtered out because it fell outside the zone’s height range—so floating zones never appeared.
This override will fix that allowing you to have floating gas zones again with the new json configuration.
Example Json
{ "Areas": [ { "AreaName": "Radunin-Village", "Type": "ContaminatedArea_Static", "TriggerType": "ContaminatedTrigger", "Data": { "Pos": [ 7347, 0, 6410 ], // ground-snapped zone "Radius": 150, // area radius in meters "PosHeight": 20, // trigger height above center "NegHeight": 10, // trigger depth below center "InnerPartDist": 100, // spacing between emitters "OuterOffset": 30, // outward bleed distance "ParticleName": "graphics/particles/contaminated_area_gas_bigass_debug" }, "PlayerData": { "AroundPartName": "graphics/particles/contaminated_area_gas_around", "TinyPartName": "graphics/particles/contaminated_area_gas_around_tiny", "PPERequesterType": "PPERequester_ContaminatedAreaTint" } }, { "AreaName": "SkyGas", "Type": "ContaminatedArea_Static", "TriggerType": "ContaminatedTrigger", "Data": { "Pos": [ 6949, 50, 1584 ], // floating zone at Y=50 "Radius": 100, "PosHeight": 75, // trigger covers 50–125m "NegHeight": 25, // trigger covers down to 25m "InnerPartDist": 20, "OuterOffset": 30, "ParticleName": "graphics/particles/contaminated_area_gas_bigass" }, "PlayerData": { "AroundPartName": "graphics/particles/contaminated_area_gas_around", "TinyPartName": "graphics/particles/contaminated_area_gas_around_tiny", "PPERequesterType": "PPERequester_ContaminatedAreaTint" } } ] }
Repacks are allowed, just drop a thumbs up or comment.