VB BodyBag
VB BODY BAG Every survivor leaves something behind. VB Body Bag turns fallen survivors into strapped body bags after a configurable delay. Recover their belongings, move the bag to a safer location, or recognize a fallen leaderboard leader by its distinctive appearance. Built around a custom wrapped-body model, with three visual variants and server-side JSON settings. Recover the loot Clothing, backpacks, weapons… (more)
VB BODY BAG Every survivor leaves something behind. VB Body Bag turns fallen survivors into strapped body bags after a configurable delay. Recover their belongings, move the bag to a safer location, or recognize a fallen leaderboard leader by its distinctive appearance. Built around a custom wrapped-body model, with three visual variants and server-side JSON settings. Recover the loot Clothing, backpacks, weapons and the items inside them remain available to loot. The original items are transferred, preserving their condition, quantities and nested contents. There is no oversized storage grid belonging to the bag itself. Held items use an available attachment slot or clothing storage; anything that cannot fit is dropped nearby. If a transfer cannot finish safely, the corpse stays for another attempt. Carry the weight Body bags can be carried in your hands. At 40 kg before their contents, they use DayZ's heavy-item carrying behavior: walking only, with no running, sprinting or jumping while carried. Three appearances Standard — dark cloth with black straps. Leaderboard Leader — gold straps for the top-ranked player, using the optional CFTools Cloud sync integration. Killstreak — red straps for survivors who die with more than five consecutive PvP kills by default. Both special appearances can be enabled or disabled independently. The killstreak threshold is configurable, and the leaderboard appearance takes priority when both conditions apply. Your server, your settings Configure the corpse conversion delay, bag lifetime, empty-bag cleanup and special appearances in the automatically generated VB_BodyBag/Settings.json inside your server profiles folder. Default conversion delay: 3 minutes. Default bag lifetime: 1 hour, subject to DayZ cleanup rules. Empty bags can be removed sooner. Server setup Install the mod on both the server and clients using -mod. Copy the included public key into your server's keys folder. Merge the three supplied types.xml entries into your mission economy. Keep corpse cleanup longer than the conversion delay and avoid running another automatic corpse-to-bag mod alongside it. Optional leaderboard integration: The gold appearance requires the included CFToolsBridge helper and authorized CFTools API credentials. It follows LBmaster's CFTools Cloud configuration, including sorting and excluded admins. Other LBmaster ranking modes are not supported by this helper. Ranking refreshes may differ from the in-game display. No Discord bot is required. Killstreak tracking: Streaks are tracked by this mod from installation onward, saved across restarts and reset on death. Existing LBmaster killstreak statistics are not imported. Upgrading from v1? Loot existing body bags first. Version 2 removes their old direct cargo grid. Permissions Repacking or modifying this mod is not permitted without prior permission. To request permission, open a ticket in our Discord server. Join the community Questions, feedback or suggestions? Join us on Discord. Join our Discord
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
Every server-visible override preserves its chain.
less than 0.001% of each server frame at 100 players (0.000 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.
Structural load of the 348 scripted mods analyzed, lightest on the left. This mod's bar is lit; 38 others share it. Ranked list.
Event hooks carry 97% of this mod's structural load. 0.000 ms/s in all.
1 hook · 0.0002 ms/s
2 hooks · 0.000004 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 1 hook | 0.0002 ms/s | 97% | ItemBase.CanPutInCargo |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 2 hooks | 0.000004 ms/s | 2.0% | MissionServer.OnInit, PlayerBase.EEKilled |
Counts how often each hook is dispatched and how many timers stay alive, not what the code inside does. Some rates are order-of-magnitude estimates; the methodology lists which.
Where this mod runs often
Hooks on per-frame and high-rate surfaces, with what their bodies call. Body work, not the hook itself, is what costs frame time.
Other findings
super() only on some paths · 4 · warning
- Clothing.CanLoadItemIntoCargoClothingConditions returns true without consulting super.CanLoadItemIntoCargoClothingConditions() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:223 - Clothing.CanReceiveItemIntoCargoClothingConditions calls super.CanReceiveItemIntoCargoClothingConditions() only on some paths — on the others the chain below this mod is dropped.
VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:216 - ItemBase.CanPutAsAttachment returns true without consulting super.CanPutAsAttachment() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:241 - ItemBase.CanPutInCargo returns true without consulting super.CanPutInCargo() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:249
- Clothing.CanLoadItemIntoCargoClothingConditions returns true without consulting super.CanLoadItemIntoCargoClothingConditions() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
Which vanilla methods the mod hooks, which of them drop the chain, how often each hook fires, and which risky calls sit inside hot hooks.
How long hook bodies take, network cost, or engine-side load. Measured across live fleets, most server lag comes from the engine and world state, not mod script chains — a light footprint does not clear a mod of lag, and a heavy one does not convict it. Methodology.
Everything else
All 8 overrides
Surface is the dispatch tier the rubric can price (— = unpriced); server is whether the override exists on a dedicated server; super() shows whether the vanilla chain is preserved on a server.
| method | surface | server | super() | where |
|---|---|---|---|---|
Clothing.CanReceiveItemIntoCargoClothingConditions |
— | yes | conditional | VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:216 |
Clothing.CanLoadItemIntoCargoClothingConditions |
— | yes | conditional | VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:223 |
ItemBase.CanPutAsAttachment |
— | yes | conditional | VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:241 |
ItemBase.CanPutInCargo |
T2 | yes | conditional | VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:249 |
MissionServer.OnInit |
T3 | yes | ✓ | VB_BodyBag.pbo::scripts\5_Mission\VBBodyBagMission.c:3 |
ModItemRegisterCallbacks.RegisterHeavy |
— | yes | ✓ | VB_BodyBag.pbo::scripts\4_World\VB_BodyBag.c:232 |
PlayerBase.OnConnect |
— | yes | ✓ | VB_BodyBag.pbo::scripts\4_World\VBBodyBagPlayer.c:19 |
PlayerBase.EEKilled |
T3 | yes | ✓ | VB_BodyBag.pbo::scripts\4_World\VBBodyBagPlayer.c:31 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
ItemBase.CanPutInCargo | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.EEKilled | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
Includes 0.000 ms/s from placeholder-rated surfaces.
Load-order constraints (CfgPatches)
What each PBO declares: its addon identity and the addons it requires to be loaded first (requiredAddons). A partial load-order signal from the mod's own metadata.
VB_BodyBag.pbo
VB_BodyBagrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Containers,DZ_Characters
census 1.1 · findings 1.1 · hash 9050a4dee960ccaa