🎲

CfgLoot Editor BETA

Client-side only β€” your files never leave your browser

GitHub β†—
πŸ“– How to use this tool β–Ό

Quick Start

  1. Find your CfgLoot folder β€” it contains CfgLoot.hpp, LootDefines.hpp, a Groups/ folder, and a Buildings/ folder.
  2. Drag the entire folder (or click Browse) into the import zone.
  3. Select a loot group from the left panel to edit spawn chances and entries. Select a building to edit zombie settings and loot group assignment.
  4. Drag rows to reorder entries. Click ✎ or οΌ‹ Add Entry to add/edit. Use the chance bar to see weight distribution at a glance.
  5. When done, click ⬇ Download ZIP to export β€” the folder structure is preserved exactly.

Loot Type Reference

TypeNameSyntaxNotes
NONE0{0, chance, group1, group2}Weighted selector β€” picks one of two groups with no direct spawn
GROUP1{1, chance, groupName}Picks a random entry from another named group
WEAPON2{2, chance, className}Spawns a weapon/tool on the ground (Loot_TOOL is an alias)
MAGAZINE3{3, chance, className}Spawns a magazine, item, or consumable
PILE4{4, chance, group, min, max}Spawns a pile with min–max items drawn from group (WEAPON/MAGAZINE only)
BACKPACK5{5, chance, className}Spawns a backpack on the ground or inserts it into cargo
VEHICLE6{6, chance, className}Spawns a vehicle or WeaponHolder object
CONTAINER7{7, chance, className, group, min, max}Spawns a container and fills it with min–max items from group
CUSTOM8{8, chance, "script string"}Runs a custom script string β€” advanced use only
πŸ’‘

Chance is a weight, not a %. Only the relative values matter β€” {1, 4, …} and {1, 40, …} in the same group behave identically if there's only one entry. The bar shows each type's share of the total weight.

πŸ’‘

Building loot is two-step. A building class sets lootGroup to a group name (e.g. Military). That group lives in Groups/Buildings/Military.hpp and can itself reference other groups via Loot_NONE or Loot_GROUP entries.

πŸ’‘

Files are passed through unmodified unless they contain at least one parsed group or building class. Wrapper files like CfgLoot.hpp and LootDefines.hpp are included in the ZIP unchanged.

⚠️

Beta notice. The parser handles the standard Epoch 1.0.7.1 CfgLoot structure. Heavily customised or non-standard folder layouts may not parse correctly β€” always diff the exported file against the original before deploying.

1 Import

Load your CfgLoot folder (the one containing CfgLoot.hpp, LootDefines.hpp, a Groups/ sub-folder, and a Buildings/ sub-folder).

πŸ“

Load CfgLoot Folder

Drag & drop your CfgLoot folder here, or click to browse

or No CfgLoot folder yet? Load the default Epoch 1.0.7.1 CfgLoot to edit a real config, or load sample data to explore the features with a small example set.
🏷 Display names / custom stringTable

Default Epoch display names are built-in. To use your server's custom names, upload your stringTable.xml: