Loot Containers

HM_Settings_Loot_Containers

ServerProfile\Hunter_Mods\HM_Loot_Containers\HM_Settings_Loot_Containers.json

General

percentageDamageToKey

Default 50

How much health the key loses each time it opens a container, in %.

disableLockPickOpening

Default 0

Set to 1 so locked containers need the key (lockpicks don't work). Set to 0 so lockpicks work too.

percentageDamageToLockPick

Default 25

How much health the lockpick loses each time it opens a container, in %.

respawnTimer

Default 3600

How many seconds a container stays before it's removed and its spot rolls again.

delayDeleteIfPlayersWithin

Default 30

If players are this close (in meters) when the time runs out, the container quietly waits a bit longer. Set to 0 to always swap it on time.

delayDeleteMaxSeconds

Default 600

Maximum extra seconds the event waits for players nearby (minimum 60).

Loot Types

The loot types (tiers).

typeName

Default "Tier 1"

The type's name. You use it in spawnPositions.

lootPools[]

Default 10 entries

The loot in the container, filled from top to bottom.

lootPools[].pool

Default "Pistols"

The pool's name: a file in LootPools\Pools that's also listed in LootPools.json. Capital letters don't matter.

lootPools[].min

Default 1

Minimum number of items from that pool. These always spawn.

lootPools[].max

Default 1

Maximum number of items from that pool. Anything above the minimum is down to luck.

Spawn Positions

The container spots. Each one works on its own: spawns, waits for respawnTimer, then rolls again.

spawnChance

Default 0.5

Chance the spot gets a container each round, from 0 (never) to 1 (always).

classname

Default "HM_LC_Stash"

Which container: HM_LC_Stash, HM_LC_Crate or HM_LC_Safe. The _Locked versions need a key or lockpick.

position

Default [11866.8, 140, 12476.8]

Where it is on the map [x, y, z].

orientation

Default [0, 0, 0]

Which way it's turned [yaw, pitch, roll], in degrees.

lootTypes[]

Default list of 1

The types this spot can get (one is picked at random).

Economy files

types.xml68 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <type name="HM_LC_Stash">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</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"/>
    </type>
    <type name="HM_LC_Crate">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</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"/>
    </type>
    <type name="HM_LC_Safe">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</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"/>
    </type>
    <type name="HM_LC_Crate_Locked">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</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"/>
    </type>
    <type name="HM_LC_Safe_Locked">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</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"/>
    </type>
    <type name="HM_LC_Key">
        <nominal>15</nominal>
        <lifetime>14400</lifetime>
        <restock>0</restock>
        <min>12</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"/>
    </type>
</types>
cfgignorelist.xml8 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ignore>
	<type name="HM_LC_Stash"></type>
	<type name="HM_LC_Crate"></type>
	<type name="HM_LC_Safe"></type>
	<type name="HM_LC_Crate_Locked"></type>
	<type name="HM_LC_Safe_Locked"></type>
</ignore>