Page MenuHomeFeedback Tracker

Something very wrong with server loot config in 0.63148873 certain items impossible to spawn in certain buildings
Closed, ResolvedPublic

Description

Certain items will not spawn in specific buildings

I used Land_Village_PoliceStation for my test and tried to add the mp5k, mp5k magazines, ij70, ij70 magazines and cz75 magazines for example.
No matter the value or other loot items reduced/removed these items flat out WILL NOT spawn

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Server
Steps To Reproduce

go to types.xml remove all items but

<type name="MP5K">
        <nominal>7</nominal>
        <lifetime>10800</lifetime>
        <restock>1800</restock>
        <min>4</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="weapons"/>
        <usage name="Police"/>
        <value name="Tier1"/>
        <value name="Tier2"/>
        <value name="Tier3"/>
        <value name="Tier4"/>
    </type>

go to mapgrouproto.xml and remove all building groups but

Land_Village_PoliceStation

increase the loot spawning by upping lootmax values for default and containers in mapgrouproto.xml you can also up the nominal value in types.xml but it has no effect

Notice ZERO mp5k's spawn.

Event Timeline

robbhimself merged a task: Restricted Maniphest Task.Oct 14 2018, 3:13 PM
Geez closed this task as Resolved.Oct 16 2018, 10:52 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello robbhimself and thank you for the report.
This is a correct behaviour. A documentation will be released in future to further explain how the systems work.
Regards,
Geez