Debug Toolbar

From Kerbal Space Program Wiki
Revision as of 06:56, 25 March 2023 by J (talk | contribs) (Set Position)
Jump to: navigation, search
The debug toolbar upon loading into the game.

The Debug Toolbar is a window designed for testing and debugging purposes. It can however also be used by the average player to ease gameplay, cheat or “goof off”. The toolbar can be opened with Control+Alt+F12 or Alt+Shift+F12 on windows, or RShift+F12 on Linux. It can also be opened on the console versions by pausing the game and pressing this sequence of buttons on the controller (See Konami Code):

As of 1.7.0, it has seven sections: Console, Database, Cheats, Physics, Contracts, Kerbals, and may have additional sections added for game expansions or DLCs. (In the future, outside plugins may be able to add debug screens, but this remains to be seen.)

Console

The console outputs the current states of many of the processes running in the loading and playing of KSP. The Console drop-down menu has six subscreens: Debugging, Input Locks, Performance, Flight Info, Version Info, and DeltaV Info.

Debugging

The debugging screen, upon loading the game.

This screen has five true/false options related to the console log and localization:

  1. Show All Log Errors on the Screen
  2. Show All Log Exceptions on the Screen
  3. Immediately Flush Log File to Disk
  4. Write missing localization keys to log as they are accessed
  5. Show localization keys on-screen(instead of translated text)

Performance

The performance subscreen.

This screen has a performance graph as well as six related displays, in millibytes:

  • Used Heap Size
  • Allocated
  • Reserved
  • Unused Reserve
  • Mono Heap
  • Mono Heap Used

Flight Info

This screen shows the location of the active vessel, the time, and the current reference body and frame.

Version Info

This screen simply shows the current version and any expansions.

Delta-V Info

The main focus of this screen is a list of all the stages and each stage's DeltaV, Thrust, Thrust to Weight Ratio, amongst other stats. Five true/false options for changing the main display:

  1. Show Parts -- adds a part list for each stage
  2. Show Vacuum(true on default) -- toggles between atmosphere and vacuum readouts
  3. Show all stages -- toggles between showing stages with or without thrust
  4. Show Engine Info -- adds an engine specification readout for each stage
  5. Verbose Logging

Database

The Database screen has statistics for the number of assets currently available, along with a tool to reload the asset database(only available in the main menu) and the texts dictionary. Also available is a complete list of all assets used by the game or mods, including a list of assemblies in use by the game.

Cheats

The Cheats screen, seen from the launchpad.

This screen has ten true/false options that change the gameplay of KSP:

  1. Hack Gravity -- Slider changes gravity from 0.01 Gs to 10 Gs.
  2. Unbreakable Joints -- Parts will never disconnect.
  3. No Crash Damage -- Removes the possibility that parts will explode due to collision with other vessels or the ground.
  4. Ignore Max Temperature -- Removes the possibility that parts will explode due to heating.
  5. Infinite Propellant -- Note that for unknown reasons, this cheat can cause modded engines to overheat and explode (an example being the cryogenic engines in Bluedog Design Bureau)
  6. Infinite Electricity
  7. Pause on Vessel Unpack -- The game will be paused when launching.
  8. Biomes Visible -- Recolors
  9. Part Clipping in Editors
  10. Non-Strict Part Attachment Checks

A tool also exists to modify science/reputation by increments of ±100 or ±10 and funding by increments of ±100000 or ±1000 or to maximize any of these:

  1. Technology -- Researches all researchable techs with no Resource cost.
  2. Facility -- Upgrades all facilities to the maximum level.
  3. Experience -- Trains all your Kerbals to maximum experience.
  4. Progression -- Activates the three previous options.

Set Orbit

This subscreen has two commands:

  1. Set Orbit -- Seven numerical entries from which you can set any orbit around any celestial body. For a circular orbit, Semi-Major Axis is the distance from the center of the body. Add the radius of the body to your desired altitude to get the value you should enter there. You can also set it to 0 and let the safety check enter the lowest safe orbit for you.
  2. Rendezvous -- From here you can teleport to within 150 meters of any vessel, asteroid, or comet.

Set Position

Allows you to teleport to a body at zero speed, rather than at an orbital speed.

Check "Use Middle Mouse Click to set Position", then do so from the map screen to specify the latitude and longitude automatically.

Uncheck "Ease to ground" and set pitch to -45 or so if you're using it to test an aircraft at altitude.

Object Thrower

The object thrower in use.

Like the legacy Whack-A-Kerbel, this subscreen allows you to throw either a cube or a sphere, at any mass, size or speed, by middle-clicking.

Difficulty

This subscreen has seven true/false options which are set to true upon startup of a new savegame with the default difficulty settings, but can be set to false to increase difficulty. Some of these can also be changed from the main Settings menu while loaded into a game, as well as others.

  1. Allow stock vessels in career mode
  2. Lost crews respawn
  3. Allow revert to launch
  4. Allow revert to editor
  5. Allow quick saving
  6. Allow quick loading
  7. Ignore agency mindset(False on default)

Physics

The physics subscreen from the launchpad.

This screen has options to load, save, and change the physics database, to visualize auto struts, and for orbit targeting.

Aero

This subscreen has three true/false options that change the way aero data is visualized for the player:

  1. Display Aero Data in action menus
  2. Display Aero Data GUI
  3. Display Aero Forces in Flight
  4. Force Display Scale

Also available are three modifiers that allow you to physically change aero forces:

  1. Global Lift Multiplier
  2. Lift/Drag Multiplier
  3. Body Lift Multiplier

Drag

First on this subscreen is an option to turn on or off drag itself.

Also available is seven options and modifiers relating to drag:

  1. Replace Drag Cubes with Spherical Model
  2. Apply Drag as Acceleration Instead of Force
  3. Apply Drag To Non-Physical Parts
  4. Apply Non-Physical Part Drag At Parent CoM
  5. Global Drag Multiplier
  6. Drag Cube Multiplier
  7. Angular Drag Multiplier

Thermal

This subscreen has three sections: GUI, Thermal Escape, and Physics.

GUI - Here, you can change how the player detects heat.

Thermal Escape - Here, you can toggle Radiation, Conduction, and Convection and change the factor at which they affect the universe.

Physics - Here you can change the physics of heat formation with four sliders:

  1. Generation Factor
  2. Newtonian Temperature Factor
  3. Solar Luminosity At Home
  4. Solar Insolation At Home

Contracts

In this screen you can change all contracts: Active, Offered, Archive, and future.

Kerbals

The Kerbals screen seen from the Astronaut Complex

This screen has a list of all kerbals, even applicants.

Create

This subscreen allows you to create kerbals with any name, gender, role, experience, courage, stupidity, and with attributes including Veteran and Badass.