EzyStriderPS4 191 Posted May 29, 2021 (edited) Would someone be kind enough to explain restock? How does it affect respawn of an item? Does an item queue in the CE even if it’s count is not min? How does restock factor into the min and nominal count? E.G. count of item in map is 5, nominal set to 10, min at 1, restock is 28800; does item queue, does CE wait until 4 get picked up, does CE spawn the item until it reaches nominal no matter what? Can multiple items of the same type spawn at one time if restock is set to greater than 0 in types.xml? Can multiple items of the same type be in the queue with different (individual) restock time elapsed? Does restock have a maximum, or optimal value so as not to burden server performance? @ImpulZ please help. Edited May 29, 2021 by EzyStriderPS4 Clarification Share this post Link to post Share on other sites
SwissArmy1984 6 Posted June 2, 2021 Do you mean this in the types.xml file? The example here I'm using is for AKMs on a Namalsk server. <type name="AKM"> <nominal>3</nominal> <lifetime>3600</lifetime> <restock>1800</restock> <min>1</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_map="1" count_in_hoarder="0" count_in_cargo="0" count_in_player="0" crafted="0" deloot="0" /> <usage /> <category name="rifles" /> <tag name="civilian" /> </type> <restock>1800</restock> in this context means if the minimum of 1 AKM is on the map (since only <flags count_in_map="1" in the line further down, no other AKMs are counted because the rest of the flags only have "0"), then a new AKM will respawn on the map every 1800 SECONDS (= 30 minutes) UNTIL we're back to the <nominal> amount of 3. The number in the 'restock' parameter thus means the number of seconds to spawn a new object of the type until the 'nominal' amount is reached again. Counting is based on the 'flags' parameter. Share this post Link to post Share on other sites