Jump to content
TIKtokB

How to add loot?

Recommended Posts

So iv created a server but noticed the lack of attachments and clothing like thew Gorka Helmet and 60RND STANAG Mags for the M4A1, but when iv been in a deathmatch server iv noticed they have things like ghillie suits and more guns. Would anyone be able to help find where these items are located in the files or a way to get them for my own server.

Share this post


Link to post
Share on other sites

In your mission folder /db/types.xml

For example if you wanted to add the m4 suppressor it would look something like this

<type name="M4_Suppressor">
        <nominal>30</nominal>
        <lifetime>10800</lifetime>
        <restock>14400</restock>
        <min>10</min>
        <quantmin>60</quantmin>
        <quantmax>100</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="weapons"/>
        <usage name="Military"/>
    </type>

you can add as many as you'd like. Some items are very buggy at the moment, Most of the missing stuff was removed for good reason.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×