Debug Console

For cheats, or to Report an issue open Debug Console shortcuts in Debug Mode:
 * (Debug) + Ctrl U	Toggle UI
 * (Debug) + Ctrl M	Toggle Zoom Constraint
 * (Debug) + Ctrl W	Warp
 * (Debug) + Ctrl A	Analyze
 * (Debug) + Ctrl K	Kill
 * (Debug) + Ctrl G	Fog of War

= Cheats =

Add karma to Current Player:

Type 'addKarma (number)'

Superspeed, Cannot be Shot, Higher Damage:

Type 'toggleGodMode'

= More Commands =

Add AP:

Type 'addAP (number)'

Active Player Dies:

Type 'suicide'

End Team's Turn:

Type 'endturn'

Kills ALL Enemies within Indicated Radius:

Type 'slaughter (number)'

Kills ALL Visible Enemies:

Type 'deathray'

Every Action has 100% to Hit:

Type 'toggleNeverMiss'

Regenerate Random Selection of Hirelings:

Type 'refreshHiring'

Restores AP:

Type 'restoreAP'

Set HP to Indicated Amount:

Type 'setHP (number)'

Stun ALL Visible Enemies:

Type 'stunray'



= Developer info (SR Returns) =

Useful commands


 * "setHP " set HP amount with integer h
 * "addAP " add AP amount with integer a
 * "addKarma " adds karma to current player with integer k
 * "reboot" reboots the active level, sometimes hiring doesnt work when you do this.
 * "restoreAP"
 * "killAI ", = the id number of the player you want, usually 100 to 120
 * "slaughter ", X = range , kills all enemies in a circle with radius X
 * "deathray" kills all visible enemies
 * "stunray" stuns all visible enemies
 * "suicide" causes the active player to die
 * "endturn", end the turn of team
 * "clearsaves"
 * "refreshHiring" if you dont like the hiring selection that was randomly generated, re-randomize it
 * "toggleGodMode" gives you superspeed, can't be shot, higher damage
 * "toggleNeverMiss" Never miss - makes every action have 100% to hit

Unsafe Commands
 * "accuracy"
 * "load " load a map named x
 * "execute ", = trigger as named in editor
 * "toggleDebugInteract"
 * "toggleFootfall", disables sound
 * "broadcastID"
 * "killAI "
 * "stunPlayer ", = the id number of the player you want, usually 100 to 120
 * "move  ", X ,Y = grid square you want to move to... beware you could move off the map
 * "loseControl ", q = 1 to 4 how scary the spirit turns 1 being more scary than 4?
 * "skipTeam", set the teams skip flag to true or false
 * "toggleFOW" - turn the fog of war on/off
 * "toggleAutoEndTurn"
 * "togglePDA"
 * "toggleLog"
 * "aiLogActiveNodes"
 * "showStats "
 * "showSkills "
 * "showplayervisibility "
 * "showRenderers"
 * "drawPath"
 * "writeActive"
 * "SetCameraMode " q = 0 to 2 for camera modes
 * "SetCompassMode " not sure q range
 * "countPlayers"
 * "countTiles"
 * "ver"

Dumping (SR Returns)
How to dump

1. Press F1

2. Press <Debug

3. Press Dump

A dump is a record of

1. Screen Capture

2. Analysis and Statistics Report

3. Log File 1 (Main Log)

4. Log File 2 (Console Log)

These 4 files should share the same timestamp and they will be found in

C:\Program Files (x86)\Steam\SteamApps\common\Shadowrun Returns\DumpBox

or wherever your steam is.

If your scene crashes, you may find more information near the end of one of the two logs.

If there is an issue HBS is investigating, please dump the logs to a file and mail the 4 applicable files

see Troubleshooting

Debug Buttons

 * [Dump]
 * Creates 4 error report files containing logfiles, screencapture and analysis
 * [Console]
 * Brings up a debug options window where you can view logs, set constants and logging channels
 * [ hm? ]
 * Toggle auto-hit, auto-miss, normal
 * [god]
 * Enable fast speed, invulnerability and quadruple damage
 * [Render], [R= XXXX]
 * Cycle through some all-purpose debug rendering modes
 * [History], [H = XXXX]
 * Cycle through some specific tracking of recent events
 * [Tile], [T = XXXX]
 * Cycle through some tile-specific [/web.archive.org/web/20150626000206/http%3A//shadowrun-returns.wikispaces.com%3A80/Debug%2BRendering debug render]ing modes

Draw Buttons

 * [ANLZ]
 * Toggle Analyzer recording
 * [LOG]
 * Toggle Log recording
 * [Move]
 * Toggle move grid rendering
 * [Cam]
 * Toggle camera perspective vs orthographic
 * [Fog]
 * Toggle Fog of War visibility
 * [Sub]
 * Toggle some prop and wall camera passes

Other Buttons

 * [1X] and [||]
 * Cycle GameSpeed