Page MenuHomeFeedback Tracker

cfgEffectArea.json Problems after 1.28
Need More Info, NormalPublic

Description

After the update, some effects (smokes for example), stopped working when they have a high "Y" value. Before 1.28 I had some smoke that was ~150 off the ground as beacons but after the update they stopped working.

This was first noticed on a console server but after local testing on my PC it does the same thing.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Operating System Version
PS4 + Windows 10
Category
Particles
Steps To Reproduce
1 Add a new area in the cfgEffectArea file and setup your effects (only tried with M18 smoke effect (smoke_M18_green_02)).

2 Change the second "pos" value (Y value) to something positive (best to try 20 or higher since with the value set at 10 it worked but it was still on the ground).

3 Start server and check.
Additional Information

I also tried this with both new and old cfgEffectArea.json (pre 1.28 formatting and 1.28 formatting) config and with some other smoke effects. They stop working if you set the height to more than 20.

Event Timeline

Das-Good added a subscriber: Das-Good.EditedSun, Jun 8, 6:50 PM

I have been trying for days to re-config the cfgeffectarea.json following the 1.28 update to get my previous smoke effects and fires around the Chernarus map to work. Other than '0' on the Y coord t makes no difference what height you put in to where you want the particle types to be is as they just snap to ground. Something in the 'data' field is broken or it will only accept the '0' on the Y coord.

Geez changed the task status from New to Assigned.Mon, Jun 9, 11:58 AM
Geez changed the task status from Assigned to Need More Info.Mon, Jun 9, 1:26 PM
Geez added a subscriber: Geez.

Hello.
Can you please send the modified json files over?

the following is part of the json. But irrespective of type or triggertype or with 0 on the Y they just snap to ground all the time. If I leave the y with greater than 0 and remove the posheight and negheight then nothing spawns in:
{

"Areas": [
  {
    "AreaName": "Ship-Bow",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        13920,
        0,
        11170
      ],
      "Radius": 60,
      "PosHeight": 20,
      "NegHeight": 3,
      "InnerPartDist": 100,
      "OuterOffset": 20,
      "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"
    }
  },
  {
    "AreaName": "Ship-Center",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        13785,
        0,
        11155
      ],
      "Radius": 100,
      "PosHeight": 22,
      "NegHeight": 3,
      "InnerPartDist": 100,
      "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"
    }
  },
  {
    "AreaName": "Ship-Stern",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        13660,
        0,
        11100
      ],
      "Radius": 60,
      "PosHeight": 20,
      "NegHeight": 3,
      "InnerPartDist": 100,
      "OuterOffset": 20,
      "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"
    }
  },
  {
    "AreaName": "Pavlovo-North-Uphill",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        2080,
        0,
        3500
      ],
      "Radius": 100,
      "PosHeight": 10,
      "NegHeight": 20,
      "InnerPartDist": 100,
      "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"
    }
  },
  {
    "AreaName": "Pavlovo-South-Building1",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        2165,
        0,
        3370
      ],
      "Radius": 75,
      "PosHeight": 10,
      "NegHeight": 10,
      "InnerPartDist": 100,
      "OuterOffset": 20,
      "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"
    }
  },
  {
    "AreaName": "Pavlovo-South-Building2",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        2215,
        0,
        3290
      ],
      "Radius": 75,
      "PosHeight": 14,
      "NegHeight": 10,
      "InnerPartDist": 100,
      "OuterOffset": 20,
      "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"
    }
  },
  {
    "AreaName": "Pavlovo-South-Downhill",
    "Type": "ContaminatedArea_Static",
    "TriggerType": "ContaminatedTrigger",
    "Data": {
      "Pos": [
        2090,
        0,
        3300
      ],
      "Radius": 60,
      "PosHeight": 10,
      "NegHeight": 10,
      "InnerPartDist": 100,
      "OuterOffset": 20,
      "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"
    }
  },
  {
    "AreaName": "Smokestacks-Large1",
    "Type": "SpookyArea",
    "TriggerType": "SpookyTrigger",
    "Data": {
      "Pos": [
        12342.689453,
        58.691849,
        14276.326172
      ],
      "Radius": 10,
      "PosHeight": 50,
      "NegHeight": 10,
      "ParticleName": "graphics/particles/smoke_heli_wreck_01"
    },
    "PlayerData": {
      "AroundPartName": "",
      "TinyPartName": "",
      "PPERequesterType": ""
    }
  },
  {
    "AreaName": "Smokestacks-Large2",
    "Type": "SpookyArea",
    "TriggerType": "SpookyTrigger",
    "Data": {
      "Pos": [
        11964.03125,
        56.046532,
        14263.914063
      ],
      "Radius": 10,
      "PosHeight": 50,
      "NegHeight": 10,
      "ParticleName": "graphics/particles/smoke_heli_wreck_01"
    },
    "PlayerData": {
      "AroundPartName": "",
      "TinyPartName": "",
      "PPERequesterType": ""
    }
  },
  {
    "AreaName": "Smokestacks-Large3",
    "Type": "SpookyArea",
    "TriggerType": "SpookyTrigger",
    "Data": {
      "Pos": [
        11574.222656,
        78.367424,
        14508.691406
      ],
      "Radius": 10,
      "PosHeight": 50,
      "NegHeight": 10,
      "ParticleName": "graphics/particles/smoke_heli_wreck_01"
    },
    "PlayerData": {
      "AroundPartName": "",
      "TinyPartName": "",
      "PPERequesterType": ""
    }
  }

You were missing some things
https://jsonlint.com/

{
    "Areas": [
        {
            "AreaName": "Ship-Bow",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    13920,
                    0,
                    11170
                ],
                "Radius": 60,
                "PosHeight": 20,
                "NegHeight": 3,
                "InnerPartDist": 100,
                "OuterOffset": 20,
                "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"
            }
        },
        {
            "AreaName": "Ship-Center",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    13785,
                    0,
                    11155
                ],
                "Radius": 100,
                "PosHeight": 22,
                "NegHeight": 3,
                "InnerPartDist": 100,
                "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"
            }
        },
        {
            "AreaName": "Ship-Stern",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    13660,
                    0,
                    11100
                ],
                "Radius": 60,
                "PosHeight": 20,
                "NegHeight": 3,
                "InnerPartDist": 100,
                "OuterOffset": 20,
                "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"
            }
        },
        {
            "AreaName": "Pavlovo-North-Uphill",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    2080,
                    0,
                    3500
                ],
                "Radius": 100,
                "PosHeight": 10,
                "NegHeight": 20,
                "InnerPartDist": 100,
                "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"
            }
        },
        {
            "AreaName": "Pavlovo-South-Building1",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    2165,
                    0,
                    3370
                ],
                "Radius": 75,
                "PosHeight": 10,
                "NegHeight": 10,
                "InnerPartDist": 100,
                "OuterOffset": 20,
                "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"
            }
        },
        {
            "AreaName": "Pavlovo-South-Building2",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    2215,
                    0,
                    3290
                ],
                "Radius": 75,
                "PosHeight": 14,
                "NegHeight": 10,
                "InnerPartDist": 100,
                "OuterOffset": 20,
                "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"
            }
        },
        {
            "AreaName": "Pavlovo-South-Downhill",
            "Type": "ContaminatedArea_Static",
            "TriggerType": "ContaminatedTrigger",
            "Data": {
                "Pos": [
                    2090,
                    0,
                    3300
                ],
                "Radius": 60,
                "PosHeight": 10,
                "NegHeight": 10,
                "InnerPartDist": 100,
                "OuterOffset": 20,
                "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"
            }
        },
        {
            "AreaName": "Smokestacks-Large1",
            "Type": "SpookyArea",
            "TriggerType": "SpookyTrigger",
            "Data": {
                "Pos": [
                    12342.689453,
                    58.691849,
                    14276.326172
                ],
                "Radius": 10,
                "PosHeight": 50,
                "NegHeight": 10,
                "ParticleName": "graphics/particles/smoke_heli_wreck_01"
            },
            "PlayerData": {
                "AroundPartName": "",
                "TinyPartName": "",
                "PPERequesterType": ""
            }
        },
        {
            "AreaName": "Smokestacks-Large2",
            "Type": "SpookyArea",
            "TriggerType": "SpookyTrigger",
            "Data": {
                "Pos": [
                    11964.03125,
                    56.046532,
                    14263.914063
                ],
                "Radius": 10,
                "PosHeight": 50,
                "NegHeight": 10,
                "ParticleName": "graphics/particles/smoke_heli_wreck_01"
            },
            "PlayerData": {
                "AroundPartName": "",
                "TinyPartName": "",
                "PPERequesterType": ""
            }
        },
        {
            "AreaName": "Smokestacks-Large3",
            "Type": "SpookyArea",
            "TriggerType": "SpookyTrigger",
            "Data": {
                "Pos": [
                    11574.222656,
                    78.367424,
                    14508.691406
                ],
                "Radius": 10,
                "PosHeight": 50,
                "NegHeight": 10,
                "ParticleName": "graphics/particles/smoke_heli_wreck_01"
            },
            "PlayerData": {
                "AroundPartName": "",
                "TinyPartName": "",
                "PPERequesterType": ""
            }
        }
    ]
}

I only copied the relevant part of the json and not the end. I wanted to show the current added entries.

Hiya, So to add pictures with examples, these effects no longer appear.
DayZ Console especially relies on this for immersion and these types of effects are (were) widely used.
If you could let us know a way to fix this ourselves, or find a way to accomodate this please.
I see it says this "Pre 1.28, system si backwards compatible, however if you would like to fully revert back to old config system, overload InitZoneClient() in ContaminatedArea.c back with PlaceParticles()"
here: https://community.bohemia.net/wiki/DayZ:Contaminated_Areas_Configuration
But we are sadly stuck for console.

		{ 	"AreaName": "North_Stary_Sobor_Mall_Torch1", 
			"Type": "SpookyArea", 
			"TriggerType": "SpookyTrigger",
			"Data": { 
				"Pos": [6166.1328125,
                354.8544006347656,
                8317.958984375 ],
				"ParticleName": "graphics/particles/fire_small_torch_02"
				},
			"PlayerData": {
				"AroundPartName": "",
				"TinyPartName": "",
				"PPERequesterType": ""
			}
		},
``` example of single torch
deneimainoob added a comment.EditedTue, Jun 24, 2:01 AM

Hello.
Can you please send the modified json files over?

I just want to say that I was also using these effects in a console server where we can't edit the ContaminatedArea.c file. Also, even though I did not post the file because I deleted all the custom effects until this is fixed, I can guarantee that it was working fine until the 1.28 update where the effects stopped working without changing any settings. If you still need more info let me know so that I can see if I can find the file.