Difference between revisions of "Debug Toolbar"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Cheats to Debug Toolbar: official name)
m (Cheats)
(48 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{move|Debug toolbar|Actual name and purpose.}}
+
[[File:Console, upon loading.png|thumb|The debug toolbar upon loading into the game.]]
{{stub}}
+
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”.
 +
With RightShift+F12, the toolbar can be opened. 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.)
  
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”.
+
==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===
 +
[[File:Debugging, upon loading.png|thumb|The debugging screen, upon loading the game.]]
 +
This screen has five true/false options related to the console log and localization:
 +
#  Show All Log Errors on the Screen
 +
#  Show All Log Exceptions on the Screen
 +
#  Immediately Flush Log File to Disk
 +
#  Write missing localization keys to log as they are accessed
 +
#  Show localization keys on-screen(instead of translated text)
  
With [[Modifier|Mod]]+F12 the toolbar can be opened. It has four sections: Cheats, Debug, Database and Progress.
+
===Performance===
 +
[[File:Performance, in menu.png|thumb|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
  
== Cheats ==
+
===Flight Info===
This section contains multiple checkboxes and buttons used to ease gameplay or debugging in cheaty ways.
+
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.
 +
===[https://en.wikipedia.org/wiki/Delta-v Delta-V] Info===
 +
The main focus of this screen is a list of all the stages and each stage's DeltaV, Thrust, [https://en.wikipedia.org/wiki/Thrust-to-weight_ratio Thrust to Weight Ratio], amongst other stats. Five true/false options for changing the main display:
 +
#  Show Parts -- adds a part list for each stage
 +
#  Show Vacuum(true on default) -- toggles between atmosphere and vacuum readouts
 +
#  Show all stages -- toggles between showing stages with or without thrust
 +
#  Show Engine Info -- adds an engine specification readout for each stage
 +
#  Verbose Logging
  
=== Always available ===
+
==Database==
These options are available at any time, however they may not always have an effect.
+
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.
* '''Show/Hide Input Lock Stack:''' Shows or hides a list showing if a certain type of input is locked and why, for example when staging has been locked with Mod+L.
 
* '''Pause on vessel unpack:''' Currently does not have any effect.
 
* '''Unbreakable Joints:''' When active, conections between parts cannot break.
 
* '''No Crash Damage:''' When active, parts cannot be destroyed by crashing into each other or anything else. They can however still be destroyed by other means, such as overheating.
 
* '''Infinite Fuel:''' When active, [[liquid fuel]], [[oxidizer]], [[solid fuel]], [[xenon gas]] and [[intake air]] are not used or required by any part.
 
* '''Infinite RCS:''' When active, [[monopropellant]] is not used or required by any part.
 
* '''Infinite EVA Fuel:''' When active, the jetpack of a [[kerbonaut]] on [[EVA]] does not use or require any fuel.
 
* '''Allow Part Clipping in Editors:''' When active, the editor will not check if a newly placed part would collide with existing ones, hence allowing intersecting parts ("clipping").
 
  
=== Only available during flight ===
+
==Cheats==
These options are only shown during a flight.
+
[[File:Cheats.png|thumb|right|The Cheats screen, seen from the launchpad.]]
* '''Show/Hide Flight Debug Stats:''' Shows or hides some stats in the top right corner of the game.
+
This screen has ten true/false options that change the gameplay of KSP:
** ''UT:'' Internal game time.
+
#  Hack Gravity -- Slider changes gravity from 0.01 Gs to 10 Gs.
** ''Physics Time Ratio:'' Internal [[time warp]] speed.
+
#  Unbreakable Joints -- Parts will never disconnect.
** ''Lat:'' Latitude relative to currently orbited body.
+
#  No Crash Damage -- Removes the possibility that parts will explode due to collision with other vessels or the ground.
** ''Lon:'' Longitude relative to currently orbited body.''
+
#  Ignore Max Temperature -- Removes the possibility that parts will explode due to heating.
** ''Ref Body:'' The body in whose [[sphere of influence]] the craft currently is. The mapping is the same as in [[Orbit#Reference_code|ORBIT]] definition.
+
#  Infinite Propellant
** ''Frame of Reference:'' Meaning unknown.
+
#  Infinite Electricity
** ''Vfrm:'' Meaning unknown.
+
#  Pause on Vessel Unpack -- The game will be paused when launching.
** ''Ext Temp:'' Exterior temperature at the craft's position. Equal to the reading of a [[2HOT Thermometer]].
+
#  Biomes Visible -- Recolors
* '''Hack/Unhack Gravity:''' Disables or enables the gravity of all bodies.
+
#  Part Clipping in Editors
* '''Show/Hide Whack A Kerbal:''' Shows or hides a second window which can be used to create abstract bodies. When the third mouse button (usually the middle mouse button or scroll wheel) is pressed, a body with the selected properties will be created at the position of the mouse cursor.
+
# Non-Strict Part Attachment Checks
** ''Object Type:'' The kind of body that will be created. Available options: Sphere, Capsule, Cylinder and Cube; default Sphere.
+
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:
** ''Object Mass:'' The body's mass. Can be any number between 1.0 and 100.0, default 15.0.
+
Technology -- Researches all researchable techs with no Resource cost.
** ''Object Size:'' The body's size. Can be any number between 0.1 and 10.0, default 0.6.
+
Facility -- Upgrades all facilities to the maximum level.
** ''Speed:'' The body's initial velocity. Can be any number between 1.0 and 100.0, default 30.0.
+
Experience -- Trains all your Kerbals to maximum experience.
 +
Progression -- Activates the three previous options.
 +
===Set Orbit===
 +
This subscreen has two commands:
 +
#  Set Orbit -- Seven numerical entries from which you can set any orbit around any celestial body.
 +
#  From here you can teleport to within 150 meters of any object.
 +
===Difficulty===
 +
This subscreen has seven true/false options which are set to true upon startup of a new savegame, but can be set to false to increase difficulty.
 +
#  Allow revert to launch
 +
#  Allow revert to editor
 +
#  Allow quick saving
 +
#  Allow quick loading
 +
#  Ignore agency mindset(False on default)
 +
 
 +
===Object Thrower===
 +
[[File:Object Thrower, in use.png|thumb|right|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.
 +
 
 +
==Physics==
 +
[[File:Physics.png|thumb|right|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:
 +
Display Aero Data in action menus
 +
Display Aero Data GUI
 +
Display Aero Forces in Flight
 +
Force Display Scale
 +
Also available are three modifiers that allow you to physically change aero forces:
 +
#  Global Lift Multiplier
 +
#  Lift/Drag Multiplier
 +
#  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:
 +
#  Replace Drag Cubes with Spherical Model
 +
#  Apply Drag as Acceleration Instead of Force
 +
#  Apply Drag To Non-Physical Parts
 +
#  Apply Non-Physical Part Drag At Parent CoM
 +
#  Global Drag Multiplier
 +
#  Drag Cube Multiplier
 +
#  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:
 +
#  Generation Factor
 +
#  Newtonian Temperature Factor
 +
#  Solar Luminosity At Home
 +
#  Solar Insolation At Home
 +
 
 +
==Contracts==
 +
In this screen you can change all contracts: Active, Offered, Archive, and future.
 +
 
 +
==Kerbals==
 +
[[File:Kerbals, Astronaut Complex.png|thumb|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.

Revision as of 23:31, 7 August 2019

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”. With RightShift+F12, the toolbar can be opened. 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
  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: Technology -- Researches all researchable techs with no Resource cost. Facility -- Upgrades all facilities to the maximum level. Experience -- Trains all your Kerbals to maximum experience. 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.
  2. From here you can teleport to within 150 meters of any object.

Difficulty

This subscreen has seven true/false options which are set to true upon startup of a new savegame, but can be set to false to increase difficulty.

  1. Allow revert to launch
  2. Allow revert to editor
  3. Allow quick saving
  4. Allow quick loading
  5. Ignore agency mindset(False on default)

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.

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: Display Aero Data in action menus Display Aero Data GUI Display Aero Forces in Flight 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.