Skip to content

10. Expansion Integration

cjcarw edited this page Jul 15, 2026 · 1 revision

10. DayZ Expansion Integration

BS KeyRoom does not require Expansion. Every integration below activates automatically when the matching Expansion module is loaded, and compiles itself out when it isn't.


Expansion AI

Spawn armed bots instead of (or alongside) zombies when a door opens.

  • In the AI Spawns tab, tick Expansion AI Bot and pick a Loadout and Faction — both have ... pickers (loadouts are read live from your server's $profile:ExpansionMod\Loadouts\, factions list all Expansion factions).
  • Under the hood this writes the className as Class|Loadout.json|Faction — the menu composes it for you.
  • Bots in the same room share one group/faction.

Available vanilla factions: Brawlers, Civilian, East, Guards, Infected, Lunatics, Mercenaries, Observers, Passive, Raiders, Shamans, West, YeetBrigade. Modded factions work too — type the name manually.

🩲 Bots spawning naked? The loadout file doesn't exist or the name doesn't match — check $profile:ExpansionMod\Loadouts\ on the server, exact spelling including .json. That's Expansion applying an empty loadout, not a KeyRoom bug.


Expansion Quests

Keycard names in quest rewards

Quest reward windows and tooltips automatically show the display names and descriptions from your BS_KeyRoom_ItemNames.json instead of raw classnames. Nothing to configure.

Using keyrooms as quest objectives (ActionNames)

For Action type objectives:

Objective ActionName
Open a keyroom door ActionOpenKeyCardDoorContinuous ✅
Unlock a locked crate ActionUnlockCrate
Open/close a crate ActionOpenCloseCrate

⚠️ Normal (non-continuous) keyroom doors use the vanilla ActionOpenDoors — putting that in a quest triggers on every door in the game. Instead, enable Continuous Action on the quest door: that switches it to ActionOpenKeyCardDoorContinuous, which only exists on keycard doors.

"ActionNames": [
    "ActionOpenKeyCardDoorContinuous"
],

Expansion Hardline (Reputation)

Set reputationReward on a door (General tab) and players receive that reputation when they open it.


Other Integrations

  • Expansion Chat — !kcmenu and !kcreload work from Expansion chat.
  • Expansion notifications & map icons — announcements and admin feedback use Expansion's notification system and lock icon when Core is present.
  • LBmaster Rework — containers support lb_preset_name / replacement_lb_preset_name to fill from LB loadout presets (see 3. Advanced Loot System).
  • CFTools / GameLabs — door openings are logged when GameLabs is present.

Clone this wiki locally