Jump to content
Sign in to follow this  
Ton_41

What mean this code for spawn

Recommended Posts

<type name="MountainBag_Green">
        <nominal>30</nominal> <------------------------ ?
        <lifetime>21600</lifetime>
        <restock>0</restock> <------------------------?
        <min>10</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="containers"/>
        <usage name="Town"/>
        <usage name="Village"/>
    </type>

Share this post


Link to post
Share on other sites
4 hours ago, Ton_41 said:

<type name="MountainBag_Green">
        <nominal>30</nominal> <------------------------ ? What should be on the map so max of 30 bags
        <lifetime>21600</lifetime> Despawn times of each item
        <restock>0</restock> <------------------------?  Not sure
        <min>10</min> <------------------------?    MIN of each items
        <quantmin>-1</quantmin> <------------------------? Not sure
        <quantmax>-1</quantmax> <------------------------? Not sure
        <cost>100</cost> Not sure
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>
        <usage name="Town"/>
        <usage name="Village"/>
    </type>

 

Share this post


Link to post
Share on other sites
21 minutes ago, mrwolv said:

 



quantmin and quantmax stands for items that has a quantity.

Share this post


Link to post
Share on other sites

some estimated guesses:

quantmin/quantmax: for stackable items. min/max ammount that can spawn

flags:

count in (if (and maybe as how many) this item is counted for the min/max value for the servers loot economy):

cargo: vehicle cargo

hoarder: tents barrels, etc.

map: normal spawns

player: player inventory

Share this post


Link to post
Share on other sites

Nominal = Loot economy value for loot's "worth" / chance of spawning / default # of items on server spawn - (0 no spawn)

lifetime = how long (in seconds) something will be out before despawning

Restock = how long (in seconds) something will be out before respawning

min = how common something is within usage group - (100 is avg)

quantmin = Minimum count of item in stack - (-1 no limit)

quantmax = Maximum count of item in stack - (-1 no limit)

cost = N/A - Potentially weighted distribution for economy 0-100

flags = Attributes if the item is available in map, by craft, or in cargo - (crafted= "1")

category = loot category for spawn locations to choose from - (links to mapgroupproto.xml)

tag = loot "location" within the group - only 1 per item - (i.e. = Shelves, floor)

usage = loot "groups" that can spawn the item - multiple per item - (i.e. = Coast, Farm, Firefighter, Hunting, Industrial, Medic, Military, Police, Prison, School, Town, Village)

value = rarity

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
Sign in to follow this  

×