DayZ
MunghardsItempack
Weyland 9 Feb, 2020 @ 12:18pm
[QUESTION] types.xml
Shouldn't it be...

<type name="sleepingbag_green_mung_Deployed">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
</type>

Instead of...

<type name="sleepingbag_green_mung_Deployed">
<nominal>30</nominal>
<lifetime>3888000</lifetime>
<restock>0</restock>
<min>5</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"/>
<usage name="Farm"/>
<usage name="Village"/>
</type>

???
Last edited by Weyland; 9 Feb, 2020 @ 12:22pm
< >
Showing 1-2 of 2 comments
N8W8 10 Feb, 2020 @ 8:05am 
sleepingbag_green_mung_Deployed is the placed sleepingbag. The sleepinbag that spawns is sleepingbag_green_mung. The placed items need to be in the types.xml thereby the don`t despawn. For this reason the nomally need merely the <lifetime> tag and the flags. This shortens the types.xml and you can recognize at once that these items are not spawnable items.
Last edited by N8W8; 10 Feb, 2020 @ 8:08am
Munghard  [developer] 11 Feb, 2020 @ 11:08am 
yes you are correct, there are some errors in the types in the current version. will be fixed next update.
< >
Showing 1-2 of 2 comments
Per page: 1530 50