Page MenuHomeFeedback Tracker

Chemgas Grenades spawning when set to 0 in CLE
Closed, ResolvedPublic

Description

When a chemgas_grenade is set to 0 values in the types.xml they still spawn inside gas zones when the gas goes.

Regardless of what you set in the types.xml they can still spawn.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Explosives
Steps To Reproduce

Set the values for nominal and min etc.. to 0 Wait until gas clears in the area and do an ESP and you should see them in the area.

Event Timeline

LIVINGxDEAD updated the task description. (Show Details)Sep 1 2022, 3:01 PM
Progger added a subscriber: Progger.Sep 2 2022, 6:53 PM

this isn a bug...

modded class ContaminatedArea_Dynamic : EffectArea
{
    const ref array<string> 	SPAWN_ITEM_TYPE 		= {"Apple"};
};

Put that under 4_World

Ohhh right!

Does seem strange though that setting their values to 0 they still spawn.

But thanks for the code above, much appreciated.

Geez closed this task as Resolved.Sep 9 2022, 10:25 AM
Geez claimed this task.