Jump to content
HogsMaws

Edit the condition of items spawn

Recommended Posts

anyone willing to help me learn how to edit the condition of items spawn? not sure which file I have to edit.

Share this post


Link to post
Share on other sites

types.xml

 

<type name="Ammo_357">
        <nominal>30</nominal>      MAX AMMOUNT TO SPAWN ON MAP 
        <lifetime>7200</lifetime>  DESPAWN TIMER BEFORE IT RESPAWNS 
        <restock>800</restock>
        <min>15</min>              MIN AMMOUNT TO SPAWN
        <quantmin>50</quantmin>
        <quantmax>100</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"/>WHERE YOU WANT LOOT TO SPAWN 
        <usage name="Town"/>      WHERE YOU WANT LOOT TO SPAWN
        <usage name="Village"/>   WHERE YOU WANT LOOT TO SPAWN
		<usage name="Police"/>    WHERE YOU WANT LOOT TO SPAWN
		<value name="Tier1"/>     WHERE YOU WANT LOOT TO SPAWN
		<value name="Tier2"/>     WHERE YOU WANT LOOT TO SPAWN
        <value name="Tier3"/>     WHERE YOU WANT LOOT TO SPAWN
        <value name="Tier4"/>     WHERE YOU WANT LOOT TO SPAWN
    </type>

 

  • Thanks 1

Share this post


Link to post
Share on other sites
9 hours ago, mrwolv said:

types.xml

 


<type name="Ammo_357">
        <nominal>30</nominal>      MAX AMMOUNT TO SPAWN ON MAP 
        <lifetime>7200</lifetime>  DESPAWN TIMER BEFORE IT RESPAWNS 
        <restock>800</restock>
        <min>15</min>              MIN AMMOUNT TO SPAWN
        <quantmin>50</quantmin>
        <quantmax>100</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"/>WHERE YOU WANT LOOT TO SPAWN 
        <usage name="Town"/>      WHERE YOU WANT LOOT TO SPAWN
        <usage name="Village"/>   WHERE YOU WANT LOOT TO SPAWN
		<usage name="Police"/>    WHERE YOU WANT LOOT TO SPAWN
		<value name="Tier1"/>     WHERE YOU WANT LOOT TO SPAWN
		<value name="Tier2"/>     WHERE YOU WANT LOOT TO SPAWN
        <value name="Tier3"/>     WHERE YOU WANT LOOT TO SPAWN
        <value name="Tier4"/>     WHERE YOU WANT LOOT TO SPAWN
    </type>

 

what about the condition is spawns? if I wanted to edit if it spawns in PRISTINE condition? thanks for the help

Edited by HogsMaws

Share this post


Link to post
Share on other sites
On 2/8/2019 at 4:50 PM, ZaCiarou said:

in <spawnabletypes>
change this <damage min="0.1" max="0.2" /> can help

ty!

Share this post


Link to post
Share on other sites

I understand this is a oldish thread, but I’ve recently rented a server (4 weeks) and wondered if there is a cap on the amount of identical items that can be spawned? I.e if you set the amount to something ridiculous would it spawn that many? Let’s say 10,000 Jerry cans?

forgot to say about editing in the types folder?

Edited by Dieseldog23

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

×