Modding Cheat Console

From Cyber Knights: Flashpoint Wiki

Cheat Console Commands[edit | edit source]

The cheat console is available for modders to use in production builds of Steam. Use the backtick key (`) to bring up the console once you have enabled it. To enable it, ask in the #modders channel for the procedure.

Commands are in 4 groups, separated by their command prefix:

  • safehouse- commands (only available in safehouse and victory/defeat screens)
  • mission- commands (only available in tactical missions)
  • data- commands (to examine the read-only data of the game)
  • game-data- commands (to examine your current save file).

Commands are entered in the cheat console overlay. Parameters shown in brackets are optional and will use their default value if omitted.

Safehouse Commands[edit | edit source]

Safehouse commands are available from the safehouse screen. They begin with safehouse-.

safehouse-character-export-appearance[edit | edit source]

Render the currently selected character and save a PNG to the Faces folder inside the game's persistent data directory. The Roster Screen must be active when this command runs.

Parameter Type Default Description
defaultFaceId long 0 ID used in the output filename (defaultface_{id}.png)

safehouse-character-hype[edit | edit source]

Set the PositiveTraitValue (hype) for a character. Only applies to characters who are active and not benched.

Parameter Type Description
characterId long Character ID to modify
hype long Value to set as PositiveTraitValue

safehouse-character-list[edit | edit source]

List all characters with their ID, name, status, story IDs, temp story ID, and character type. Pass false to hide pets from the list.

Parameter Type Default Description
includePets bool true Whether to include pet characters in the output

safehouse-character-loyalty[edit | edit source]

Set the LoyaltyScore for a character. Only applies to characters who are active and not benched.

Parameter Type Description
characterId long Character ID to modify
hype long Value to set as LoyaltyScore

safehouse-character-relationship-pairs[edit | edit source]

Run the relationship pair finder for every character and log all good and bad contact and faction pairings.

No parameters.

safehouse-character-stress[edit | edit source]

Set the NegativeTraitValue (stress) for a character. Only applies to characters who are active and not benched.

Parameter Type Description
characterId long Character ID to modify
stress long Value to set as NegativeTraitValue

safehouse-contact-relationship-pairs[edit | edit source]

Run the relationship pair finder for every contact and log all good and bad pairings across all five faction classes.

No parameters.

safehouse-contact-tag-list[edit | edit source]

Show all tags on a contact, including tag ID, localized name, and actor ID.

Parameter Type Description
id long Contact ID to inspect

safehouse-game-states[edit | edit source]

Show the most recent N game state entries from the database, most recent first.

Parameter Type Description
count int Number of recent entries to show

safehouse-heat[edit | edit source]

Add Heat to the current game state. Clamped to a maximum of 100.

Parameter Type Description
count long Amount of Heat to add

safehouse-legwork-cheat[edit | edit source]

Override legwork roll resolution for all legworks. Clamped to -1/0/1.

Parameter Type Description
rule int 1 = always succeed, -1 = always fail, 0 = use normal RNG

safehouse-missions-list[edit | edit source]

Show all active game missions with their ID, title, and faction assignments (AgainstFaction and ForFaction).

No parameters.

safehouse-money[edit | edit source]

Add credits when count is positive, or spend credits when count is negative. Amount is in K (thousands).

Parameter Type Description
count long Amount to add (positive) or spend (negative)

safehouse-nanocubes[edit | edit source]

Add nano cubes of the given supply type to inventory.

Parameter Type Description
supplyId long The crafting supply type ID
count long Number of nano cubes to add

safehouse-show-wounded-characters[edit | edit source]

Print all wound traits across all characters, including trait ID, wound flag, creation turn, expiry turn, and description. Also prints a total wound count.

No parameters.

safehouse-story-match[edit | edit source]

Evaluate all blocks of the given EventType against their preconditions and print which ones pass. Optionally print full match detail or fire a specific match by EventId.

Parameter Type Default Description
matchType string — EventType string to filter blocks by (e.g. Vignette)
summaryOnly bool true If false, prints full match criteria detail for each block
executeMatch string "" If set to an EventId, that match will actually be fired if its preconditions pass

safehouse-story-nodes[edit | edit source]

List all active story nodes with their ID, StoryNodeId, group, expiry turn, pause mode, and type.

No parameters.

safehouse-story-nodes-expire[edit | edit source]

Set the expiration of a story node to the current turn plus a given number of turns.

Parameter Type Description
id int Story node database ID
turns int Number of turns from now until expiry

safehouse-tag-list[edit | edit source]

Show all tags on a character, including tag ID, localized name, and actor ID.

Parameter Type Description
id long Character ID to inspect

safehouse-validate-monsters[edit | edit source]

Check that all monster types have a defined entry for every power level 1–20 within their power group. Reports any missing levels by monster name.

No parameters.

Mission Commands[edit | edit source]

Mission commands are available during tactical gameplay. They begin with mission-.

mission-add-mp[edit | edit source]

Add move points to the current character. The value is multiplied by 10 internally. Capped at 100 input units.

Parameter Type Description
movePointsCount long Move points to add (capped at 100)

mission-blocks[edit | edit source]

List all mission block triggers with their block ID, trigger type, and filter ID.

No parameters.

mission-character-list[edit | edit source]

Show all player characters in the current mission with their ID, name, status, alt start ID, character story ID, and temp story ID.

No parameters.

mission-game-state-exec[edit | edit source]

Execute a post-condition state key string immediately during a mission, then print the last resulting state entry.

Parameter Type Description
stateNames string Post-condition state key string to execute

mission-game-states[edit | edit source]

Show the most recent N game state entries from the mission database, most recent first.

Parameter Type Description
count int Number of recent entries to show

mission-monster-list[edit | edit source]

Print all enemies in the current mission with their ID, display name, initiative, initiative game turn, alarm level, current AI state, friendly flag, faction ID, and talent list.

No parameters.

mission-reset-ap[edit | edit source]

Reset the current character's action points to full and clear their active recoil value.

No parameters.

mission-reset-hp[edit | edit source]

Fully heal the current character (applies 10,000 healing).

No parameters.

mission-reset-talents[edit | edit source]

Reset all talent charges and cooldowns for the current character.

No parameters.

mission-room-fail[edit | edit source]

Immediately dispatch the level lost signal, ending the mission in defeat.

No parameters.

mission-room-win[edit | edit source]

Immediately dispatch the level won signal, ending the mission in victory.

No parameters.

mission-state-links[edit | edit source]

List all game state links currently in the database with their state name and value.

No parameters.

Data Commands[edit | edit source]

Data commands query the static game data tables. They begin with data- and are available from both the safehouse and gameplay scenes.

data-accounts[edit | edit source]

List all bank account definitions with their ID, name, description, currency type, and account value.

No parameters.

data-backstory[edit | edit source]

List all backstory definitions including title, description, code name, given name, surname, cosmetic ID, tag IDs, and new game flag.

No parameters.

data-blueprints[edit | edit source]

List all blueprint definitions including class, faction, power level, rarity, output item ID, and the full stat block of the output item (weapon, weapon mod, item, or armor).

No parameters.

data-contact-service[edit | edit source]

List all contact service definitions from the static data table.

No parameters.

data-effects[edit | edit source]

List all effect definitions.

No parameters.

data-items[edit | edit source]

List all item definitions with their type ID, name, item class, leverage class, power level, rarity, and talent ID.

No parameters.

data-modules[edit | edit source]

List all safehouse building module types with their type ID, name, class name, class ID, upgrade level, power level, and multi-build flag.

No parameters.

data-monster-talents[edit | edit source]

List all monster talent definitions with their ID, name, AI use mode, AI use validation, AI use priority, and max charges.

No parameters.

data-monster-types[edit | edit source]

List monster type definitions. Each flag filters out a category when set to false. Set outfitDetail to true to also print the cosmetic slot breakdown for each monster's outfit.

Parameter Type Default Description
showHumans bool true Include human entity types
showDrones bool true Include ground drone entity types
showFlyDrones bool true Include flying drone entity types
showTurrets bool true Include turret entity types
outfitDetail bool false Also print cosmetic slot details for each monster's outfit

data-security-deck-card[edit | edit source]

List all security deck card definitions. Pass an event ID to filter to a single card.

Parameter Type Default Description
filterEventId long -1 Card event ID to filter by, or -1 to show all

data-talents[edit | edit source]

List all talent definitions with their ID, name, action ID, target type, max charges, description, and volume. Pass an action ID to filter to a specific action.

Parameter Type Default Description
filterByActionId long -1 Action ID to filter by, or -1 to show all

Saved Game Commands[edit | edit source]

Saved game commands query live state from the current save file. They begin with game-data- and are available from both the safehouse and gameplay scenes.

game-data-armors[edit | edit source]

List all armors in the current game with their game ID, owning character ID, armor type ID, name, class, power level, rarity, and bookmark status.

No parameters.

game-data-character-cosmetics[edit | edit source]

Show the full cosmetics slot list for a character, printing the cosmetic type and value for each slot.

Parameter Type Default Description
characterId long 0 Character ID to inspect

game-data-contact-service[edit | edit source]

List all active game contact services with their full service data and type definition details.

No parameters.

game-data-contacts-list[edit | edit source]

List all contacts with their ID, status, display name, contact story ID, and temp story ID.

No parameters.

game-data-items[edit | edit source]

List all items in the current game with their game ID, owning character ID, item type ID, name, item class, leverage class, power level, rarity, talent ID, and bookmark status.

No parameters.

game-data-missions[edit | edit source]

List all game missions in sorted display order with their ID, localized title, and localized description.

No parameters.

game-data-score-count[edit | edit source]

Return the total count of score entries for a given score key. Optionally filter by character ID.

Parameter Type Default Description
scoreKeyId long — Score key ID to query
characterId long 0 Character ID to filter by, or 0 for all characters

game-data-score-rows[edit | edit source]

List individual score rows for a given score type, showing game turn, mission turn, and score target ID. Optionally filter by character ID.

Parameter Type Default Description
scoreType long — Score type ID to query
characterId long 0 Character ID to filter by, or 0 for all characters

game-data-weapons[edit | edit source]

List all weapons in the current game with their game ID, owning character ID, weapon type ID, name, class, power level, rarity, and bookmark status.

No parameters.


Modding: Home · Quick Start Guide · Modkit Uploader · Example Project · Data Modding · Data Parser Schema · Use Cases · Cheat Console · Download Modding Resources