DayZ
bT_Items
attachment problems
all guns spawn with no attachments how to i fix this thanks

i have tryed the following but nothing works

ive added in to types.xml

<type name="M4A1_Red">
<nominal>3</nominal>
<lifetime>10800</lifetime>
<restock>800</restock>
<nominal>1</nominal>
<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="weapons"/>
<usage name="Military"/>
<value name="Tier2"/>
<value name="Tier3"/>
<value name="Tier4"/>
</type>

i have also added in to cfgspawnabletypes.xml

<type name="M4A1_Red">
<attachments chance="1.00">
<item name="M4_OEBttstck" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="M4_PlasticHndgrd" chance="1.00" />
</attachments>
<attachments chance="1.00">
<item name="M4_CarryHandleOptic" chance="1.00" />
</attachments>
<attachments chance="0.30">
<item name="Mag_STANAG_30Rnd" chance="1.00" />
</attachments>
</type>

i have tryed this for all guns m4's and ak's and no attachments spawn on the guns
< >
Showing 1-1 of 1 comments
[GER] bob  [developer] 4 Jan, 2019 @ 2:26pm 
I will upload a new version with a fix for that, but it takes a time :)
< >
Showing 1-1 of 1 comments
Per page: 1530 50