Temp fix for despawning Wire Mesh Barrier and Power Gen

Rexxenexx

Member
They're gonna fix this soon because it's just stupid.
I'm sure there are other items that despawn way too soon, but for the Wire Mesh Barrier and Power Generator I Just searched, in types.xml, for the classnames "PowerGenerator" and "HescoBox"
Then changed their "lifetime" to "3888000" and "count_in_hoarder" to "0" so for example the Wire Mesh Barrier looks like this now:

Code:
    <type name="HescoBox">
        <nominal>150</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>100</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="1" count_in_hoarder="0" count_in_map="1" count_in_player="1" crafted="0" deloot="0"/>
        <category name="tools"/>
        <usage name="Military"/>
        <usage name="Police"/>
        <usage name="Industrial"/>
    </type>

Power Generator like this:

Code:
    <type name="PowerGenerator">
        <nominal>80</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>50</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="tools"/>
        <usage name="Industrial"/>
    </type>

You can do the same for other stuff that despawn too fast.

EDIT: Add to list,
-CableReel
-Spotlight

(Fixed in DayZ 1.0)
EDIT2: Other classnames to check,
-CarTent
-LargeTent
-MediumTent
-BarrelHoles_Blue
-BarrelHoles_Green
-BarrelHoles_Red
-BarrelHoles_Yellow
-Barrel_Blue
-Barrel_Green
-Barrel_Red
-Barrel_Yellow


Also I was thinking Fireplace despawns a bit too fast so I changed its lifetime to 21600, similar time BIS gave to garden plots. classnames are,
-Fireplace
-FireplaceIndoor
I wouldn't put the lifetime too high like the rest because most of the time people make a fireplace to get warm and just ditch it.
 
Last edited:
Are the tents not already 3888000? Mine are. I might have edited them a while back. I'll add all the classnames in the first post anyway so people can check.

EDIT: Should this be in Servers section maybe? If a moderator agrees can you move it there? Thx. Sorry.
 
Last edited:
Back
Top