Which file controls what
| File | What it controls | Where it is (Windows) |
|---|---|---|
units.xml | Unit definitions, including doctrine points per squad level | DoorKickers2\data\units\units.xml in the game folder |
roster.xml | Your troopers, their equipment slots and Battle Honor state | %LOCALAPPDATA%\KillHouseGames\DoorKickers2\ |
head_attachments.xml | Helmets and head gear, including NVG | Inside data; the subfolder varies by version and mod |
options.xml, keybinds.xml | Your settings and key bindings | %LOCALAPPDATA%\KillHouseGames\DoorKickers2\ |
| A Workshop mod’s files | That mod’s own copies of the files above | steamapps\workshop\content\1239080\<item id>\ |
Edit 1: more doctrine points
units.xml has one block for each vanilla unit — Rangers, Nowheraki SWAT and CIA. In each block, find this line and raise the number:
<doctrinePointsPerSquadLevel>4</doctrinePointsPerSquadLevel>- This raises points per squad level. It does not add levels.
- If a unit mod ships its own
units.xml, edit that copy inside the mod’s Workshop folder; the vanilla file is ignored for that unit. - Do not stack a “more doctrine” Workshop mod on top of your own edit.
- Every game patch restores the vanilla file. Re-apply after updates.
What the extra points are worth spending on is covered in the doctrine guide.
Edit 2: give a trooper back a missing item
A known bug after removing some camouflage mods leaves troopers without their crowbar. With the game closed, open roster.xml, find the trooper and set the support-gear slot:
<SupportGear3 name="Crowbar"/>How to allow NVG
Night vision in DK2 is a head attachment. Patch 1.12 added day-only and night-only head-attachment graphics, using an entry called HelmetNVG in head_attachments.xml as the example. That is why adding NVG to a weapon list never works. The method that is consistent with the files:
- Open the vanilla
head_attachments.xmland find an existing NVG entry. - In
units.xml, find the class that should get NVG and look at its head-attachment list. - Add the NVG entry there by copying the format of an entry that is already in the list.
- Turn on dev mode (below), press Ctrl+R to reload files and check the trooper’s customize screen.
Tag names inside unit files have changed between builds and no published schema exists, so this page does not print a one-line NVG “switch”. Copy from the files in your own version. Nowheraki SWAT has no NVG by design — see Nowheraki SWAT.
Changing a unit’s available weapons
Weapon access works the same way: each class in units.xml lists what it may carry. Open the vanilla file, copy an existing weapon line into the class you want and reload with Ctrl+R. The weapon names to copy are in the game’s weapon files; the weapons table shows which faction has what in vanilla.
Dev mode: enable and disable
Dev mode is a hidden debug switch for testing edits. Open Options and click the word “Options” 11 times; a DEV label appears. The guide author’s 11 Dec 2023 comment says to repeat the same 11-click sequence to disable it and make the DEV label disappear (1 community source).
| Key | What it does in dev mode |
|---|---|
| F1 | Free camera / first-person view |
| F8 | Debug stats |
| Ctrl+F | Hide fog of war |
| Ctrl+E | Editor |
| Ctrl+R | Reload files |
| Ctrl+T | Reload textures |
| Ctrl+Shift+R | Reload the game |
| F4 / F3 | Instant win / instant lose |
When an edit goes wrong
| Symptom | Cause | Fix |
|---|---|---|
| Game closes at launch | Broken XML (unclosed tag, wrong encoding) | Restore the backup and redo the edit |
| Edit does nothing | A mod’s copy is loaded, or a patch overwrote the file | Edit the active mod’s copy; re-apply after updates |
| Roster resets | Edited while the game was running, or cloud save overwrote it | Close the game first; keep a backup |
| NVG still missing | It was added as a weapon | Add it as a head attachment |
| Co-op mismatch | Players have different local edits | Use Workshop mods, not loose edits, for co-op |
FAQ
How do I edit XML to allow NVG in Door Kickers 2?
NVG is a head attachment. Copy an NVG entry from head_attachments.xml into the class’s head-attachment list in units.xml, then reload with dev mode.
How do I add doctrine points?
Raise doctrinePointsPerSquadLevel in each unit block of units.xml. Patches reset it.
Where is roster.xml?
In %LOCALAPPDATA%\KillHouseGames\DoorKickers2\ on Windows.
How do I turn off dev mode?
The guide author’s 11 Dec 2023 comment says to repeat the enable sequence: click the word “Options” 11 times until the DEV label disappears (1 community source).
Will XML edits work in co-op?
Only if every player has the same edits. For co-op, use Workshop mods instead.
Sources
Each source was read on the date shown. Where two sources disagree, the page keeps both readings instead of merging them.
- How to edit max doctrine points — Steam community guide 3426378191 checked 4 Dec 2026
- Crowbar / roster XML fix — Steam community guide 3455568672 checked 4 Dec 2026
- Dev mode — Steam community guide 2811790176 checked 5 Dec 2026
- Door Kickers 2 developer news and patch notes on Steam checked 5 Dec 2026
- Doctrine points — Steam discussion checked 4 Dec 2026
- Door Kickers 2 Steam discussion forum checked 4 Dec 2026