Jump to content

Hidden Features (OpenApoc)

From UFOpaedia

OpenApoc includes an extensive debug and cheat system not present in the original game. Debug hotkeys are toggled with F1 in both the Cityscape and Battlescape. When enabled, various diagnostic and cheat functions become available.

Note: The "Show debug commands on screen" option in the More Options menu controls whether debug command buttons are visible in the UI.

General Debug

Press F1 to toggle debug mode on/off. When debug mode is active, some normal hotkeys are overridden by debug functions.

Cityscape Debug

Key Action
Ctrl + Alt + Shift + Left Click Destroy scenery tile at cursor
Ctrl + Alt + Shift + Right Click Collapse building at cursor
A Give every vehicle weapon and ammo to current base
W Warp to alien dimension and back
R Repair all scenery in the city (instant, ignores repair rules)
Shift + R Repair scenery using game repair logic (charges building owners, checks support) without requiring construction vehicles; single repair pass
B Spawn UFO on base assault mission
U Spawn three crashed UFOs
X Crash every vehicle on map
- (Minus) Destroy all currently selected vehicles (both owned and other)
P Regenerate dimension gate portals in current city
PgUp / PgDown Display only one map layer (other layers become transparent)

Cityscape Diagnostic Overlays

Key Action
F2 Show road pathfinding map
F3 Highlight walk mode, collapsing tiles, basement tiles
F4 Show aliens in buildings on strategy map
F5 Show vehicle paths (blue = flying, yellow = ground)
F6 Dump voxelmap for line of sight to tileviewvoxels.png
F7 Dump voxelmap for line of sight to tileviewvoxels.png (fast mode, 1/4 of points)
F8 Dump voxelmap for line of fire to tileviewvoxels.png
F9 Dump voxelmap for line of fire to tileviewvoxels.png (fast mode, 1/4 of points)
F10 Highlight tubes in city
F11 Highlight roads in city
F12 Highlight hills in city
T Show vehicle target lines (green = X-COM targeting, red = other targeting, yellow = mutual targeting)

Cityscape Numpad Filters

These filters work with the F10/F11/F12 overlays:

Key Action
Numpad 1, 3, 7, 9 Show only roads/tubes with an outgoing connection in that direction
Numpad 2 Show only tubes with an outgoing connection downward
Numpad 8 Show only tubes with an outgoing connection upward
Numpad 0 Show all roads/tubes again (reset filter)
Numpad 5 Toggle display mode:
  • For tubes: switch between tiles with defined tube passability, or also include tiles belonging to buildings
  • For roads: switch between tiles marked as "road", or also include tiles marked with road direction
  • For hills: switch between tiles marked as "road", or also include tiles marked with hill direction

Battlescape Debug

Key Action
Middle Click Activate teleportation mode for selected unit (regardless of whether it holds a charged teleporter)
E Force end current turn in turn-based mode
R Reveal whole map and show debug lines for which unit sees which unit
S Stun unit under cursor
Ctrl + S Stun units in small area around cursor
Shift + S Stun everything except unit under cursor
Shift + Ctrl + S Stun everything except units in small area around cursor
K Remove unit under cursor from map (same modifiers as S — Ctrl for area, Shift for inverse). Units count as retreated.
P Lower morale of every unit to trigger low morale events
Shift + P Give every unit 0 psi defense and 100 psi energy/attack
H Restore stats of every unit, heal stun damage and fatal wounds
T Restore TU of every player unit
F Re-link support lines for battlescape map parts
Q Reset AI movement order for unit at selected tile (forces prone stance change)
Numpad 0 Spawn vortex mine explosion at cursor
Numpad 1-9 Spawn a high-damage shot at cursor in specified direction (5 = downward)
F6 Dump voxelmap for line of sight to tileviewvoxels.png
F7 Dump voxelmap for line of sight (fast mode, 1/4 of points)
F8 Dump voxelmap for line of fire to tileviewvoxels.png
F9 Dump voxelmap for line of fire (fast mode, 1/4 of points)

Base Screen Debug

Key Action
F10 (on Base View) Instantly finish all facility construction
F10 (on Research Screen) Set research project to require only 100 more points (effectively completes the project at next update if at least 2 scientists are assigned)

Cheat Menu

In addition to debug hotkeys, OpenApoc provides a dedicated Cheat Options screen accessible from the More Options menu:

Option Description Default
Infinite Ammo Unlimited ammunition for all X-COM agents and vehicles OFF
Damage Inflicted Multiplier Multiplier for damage dealt by X-COM (0x - 5x) 1.0x
Damage Received Multiplier Multiplier for damage taken by X-COM (0x - 5x) 1.0x
Hostiles Multiplier Multiplier for number of hostile units spawned (0.5x - 3x) 1.0x
Stat Growth Multiplier Multiplier for agent stat growth rate (0x - 99.5x) 1.0x

Additional cheat buttons available:

  • Give All Research
  • Make All Organizations Friendly / Hostile
  • Make All Organizations Utopia / Chaos
  • Modify Funds
  • Go to End of Day — advance clock to 23:59:59 of current day
  • Go Forward 1 Day — skip exactly 1 day forward
  • Go Forward 1 Week — skip exactly 7 days forward
  • Go to End of Week — advance to last day of current week at 23:59:59
  • Go to End of Month — advance to last day of current month at 23:59:59

See Also