Spacebase DF-9 Wiki
Line 79: Line 79:
 
|}
 
|}
   
  +
# Numbered list item
 
=== Debug Info Overlay Subpages ===
 
=== Debug Info Overlay Subpages ===
  +
After pressing F4 to get the debug information overlay these keys let you cycle through debug pages related to the selected object
  +
{| class="wikitable"
  +
|-
  +
! Key !! Function
  +
|-
  +
| 1 || Display Basic Debug Information
  +
|-
  +
| 2 || Display Needs Information
  +
|-
  +
| 3 || Display Friendship Information
  +
|-
  +
| 4 || Display Last Decision Information
  +
|-
  +
| 5 || Display Task History
  +
|}
   
 
== Profiling ==
 
== Profiling ==

Revision as of 20:33, 13 December 2014

Under Construction

Introduction

This Source Documentation page is intended to provide information and links to resources regarding the released Spacebase-DF9 source code. This page is not intended to specifically provide class lists or class members but rather cover topics in structure and how the games inner systems work. Eventually we would love to provide code documentation generated directly from the source (i.e. luadocs) but at this time (as far as we know) is unavailable.

Debugging

Debug Mode

To launch the game in debug mode locate the bootconfig.cfg in the savegame directory (Windows: My Documents\SpacebaseDF9\Saves Linux: *user*/.local/share/doublefine/spacebasedf9/Saves) and set the line "dev_mode" to true. Once debug mode is configured starting the game will display DEBUG VERSION under the game version at the bottom of the spash screens and starting menu.

Debug Mode Key Bindings

Key Function
~ (tilde) Toggle Enables/Disables Debug Mode keybindings
F2 FPS/Render/Draw Profiling
F3 Perf
F4 Debug Info
F6 Toggle UI
F10 Profiling/Shiny Start?
F11 Demo Save Cycle
F12 Perf Save Cycle
CTRL+R Reset/Restart Game
CTRL+L Load Savegame/Autosave
CTRL+Z Add Disasters Menu (Pizza Icon)
CTRL+P Toggle Particle Effects
CTRL+H Toggle Power Requirements
SHIFT+1 Force Event Forecast Reroll
SHIFT+4 Add 1000 Matter
SHIFT+6 Force Next Event
SHIFT+A Place Asteroid
SHIFT+B Place Blood Decal
SHIFT+C Place Citizen
SHIFT+D Destroy Tile
SHIFT+E Toggle Edit Mode
SHIFT+F Place Fire
SHIFT+H Place Raider
SHIFT+K Place Killbot
SHIFT+L Place Malady
SHIFT+M Place Monster
SHIFT+N Place/Test Animated Sprite
SHIFT+P Flip Check?
SHIFT+S Place Spawner
SHIFT+W Place Breaching Ship
SHIFT+Z Delete Character/Entity Mode
  1. Numbered list item

Debug Info Overlay Subpages

After pressing F4 to get the debug information overlay these keys let you cycle through debug pages related to the selected object
Key Function
1 Display Basic Debug Information
2 Display Needs Information
3 Display Friendship Information
4 Display Last Decision Information
5 Display Task History

Profiling

Scene Manager

Data Cache

User Interface

Assets

Contributing