-
Notifications
You must be signed in to change notification settings - Fork 5
Testing mods
The developer mode is essential for developing and testing mods. It unlocks access to the console with hundreds of different commands (opened with ~), developer tooltips (located in the corner of briefing, item info, unit info and many other panels) and some developer menus (mainly Num 7, Num 8 and Num 9 in combat).
To permanently enable developer mode, do the following:
- Go to this location in your Explorer:
C:/Users/[Windows Username]/AppData/Local/PhantomBrigade/Settings - Open the
debug.yamlfile. If you don't have one, create a text file and rename it todebug.yaml(make sure the extension is no longer .txt) - Ensure the first line of the file reads
developerMode: true - If the game is running, restart it
All user data is stored under C:/Users/[Windows Username]/AppData/Local/PhantomBrigade/. The folder includes:
- Mods:
/Mods - Mod source files (if you use the Mod SDK with default project folder):
/ModsSource - Saved games:
/SavedGames(save previews are stored under/SavedPreviews) - Screenshots made with F12:
/Screenshots - Game settings and debug config:
/Settings
To find the logs (occasionally useful for troubleshooting), navigate to C:/Users/[Windows Username]/AppData/LocalLow/Brace Yourself Games/ . Log files generated by the game are typically saved to this folder.
This wiki is a work in progress. Please make sure to check the built-in tutorials within the SDK or the modding articles on the game wiki to supplement this page. If you get stuck or experience a bug, please don't hesitate to ask questions in the #phantom-modding channel of the official Discord server. We can't wait to see what you create!