Difference between revisions of "Debug Toolbar"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Object Thrower)
m (fix)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
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 [[w:Konami Code|Konami Code]]):<br />
 
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 [[w:Konami Code|Konami Code]]):<br />
 
{{key press|up}}{{key press|up}}{{key press|down}}{{key press|down}}{{key press|left}}{{key press|right}}{{key press|left}}{{key press|right}}<br />
 
{{key press|up}}{{key press|up}}{{key press|down}}{{key press|down}}{{key press|left}}{{key press|right}}{{key press|left}}{{key press|right}}<br />
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.)
+
It has nine sections: Console, Database, Cheats, Physics, [[Contract|Contracts]], [[Kerbals]], Resources, Mission Tools, and Breaking Ground.
 
 
 
==Console==
 
==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.
+
The console outputs the current states of many of the processes running in the loading and playing of KSP. You can also enter any command into the Console. The Console drop-down menu has six subscreens: Debugging, Input Locks, Performance, Flight Info, Version Info, and DeltaV Info.
 
===Debugging===
 
===Debugging===
 
[[File:Debugging, upon loading.png|thumb|The debugging screen, upon loading the game.]]
 
[[File:Debugging, upon loading.png|thumb|The debugging screen, upon loading the game.]]
Line 14: Line 13:
 
#  Write missing localization keys to log as they are accessed
 
#  Write missing localization keys to log as they are accessed
 
#  Show localization keys on-screen(instead of translated text)
 
#  Show localization keys on-screen(instead of translated text)
 +
 +
===Input Locks===
 +
This shows any parts of the GUI or inputs that are locked. It has one button, "Clear Input Locks", which unlocks the GUI. An example of an input lock is that the Space Center toolbar disappears when hovering over the cheat menu in the [[Space Center]].
  
 
===Performance===
 
===Performance===
 
[[File:Performance, in menu.png|thumb|The performance subscreen.]]
 
[[File:Performance, in menu.png|thumb|The performance subscreen.]]
 
This screen has a performance graph as well as six related displays, in millibytes:
 
This screen has a performance graph as well as six related displays, in millibytes:
* Used Heap Size
+
# Used Heap Size
* Allocated
+
# Allocated
* Reserved
+
# Reserved
* Unused Reserve
+
# Unused Reserve
* Mono Heap
+
# Mono Heap
* Mono Heap Used
+
# Mono Heap Used
  
 
===Flight Info===
 
===Flight Info===
This screen shows the location of the active vessel, the time, and the current reference body and frame.
+
This screen shows multiple things in 3 sections.
 +
# Location
 +
Shows the location of the active vessel in latitude, longitude, altitude, radar altitude, and biome.
 +
# Time
 +
Shows the time in UT and the physics time ratio.
 +
# Vessel
 +
Shows the active vessel, the reference body, and the frame of reference.
 +
# EVA
 +
Shows the current slope angle.
 +
 
 
===Version Info===
 
===Version Info===
This screen simply shows the current version and any expansions.
+
This screen shows the version the game is running on and any expansions/DLCs.
===[https://en.wikipedia.org/wiki/Delta-v Delta-V] Info===
+
===[https://en.wikipedia.org/wiki/Delta-v DeltaV] 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:
 
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 Parts -- adds a part list for each stage
Line 39: Line 50:
 
==Database==
 
==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.
 
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.
 
+
===Assemblies===
 +
Shows the assemblies of the game.
 +
===Parts===
 +
Shows every [[Parts|Part]] in the game.
 +
===Props===
 +
Shows every 3D part of the [[UI]].
 +
===Internals===
 +
Shows the [[IVA|IVAs]].
 +
===Resources===
 +
The usage for this page is unknown.
 +
===Models===
 +
Shows every .mu file currently in use.
 +
===Textures===
 +
Shows every .png texture, from agency logos, to the stock craft thumbnails.
 +
===Audio===
 +
Shows every audio in the game.
 +
===Strings===
 +
Allows you to search for any #autoLOC config in the game.
 
==Cheats==
 
==Cheats==
 
[[File:Cheats.png|thumb|right|The Cheats screen, seen from the launchpad.]]
 
[[File:Cheats.png|thumb|right|The Cheats screen, seen from the launchpad.]]
This screen has ten true/false options that change the gameplay of KSP:
+
This screen has 10 true/false options that change the gameplay of KSP:
 
#  Hack Gravity -- Slider changes gravity from 0.01 Gs to 10 Gs.
 
#  Hack Gravity -- Slider changes gravity from 0.01 Gs to 10 Gs.
 
#  Unbreakable Joints -- Parts will never disconnect.
 
#  Unbreakable Joints -- Parts will never disconnect.
#  No Crash Damage -- Removes the possibility that parts will explode due to collision with other vessels or the ground.
+
#  No Crash Damage -- Removes the possibility that parts will explode due to collision with other vessels or the ground. This, however, sometimes doesn't work, especially at higher velocities.
 
#  Ignore Max Temperature -- Removes the possibility that parts will explode due to heating.
 
#  Ignore Max Temperature -- Removes the possibility that parts will explode due to heating.
 
#  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)
 
#  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)
Line 60: Line 88:
  
 
===Set Orbit===
 
===Set Orbit===
This subscreen has two commands:
+
This subscreen has two commands:  
#  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.
+
#  Set Orbit -- 7 numerical entries from which you can set almost any orbit around any celestial body in the game. They are listed below:
Rendezvous -- From here you can teleport to within 150 meters of any vessel, asteroid, or comet.
+
* Semi Major Axis -- The length of the orbit from the surface at its longest point.
 +
* Eccentricity -- How much the orbit deviates from a perfect circle. 1 means that it is at an escape trajectory, 0 means it is in orbit. Values higher than 1 make a hyperbola.
 +
* Inclination -- How inclined the orbit is. Values higher than 90 make the orbit a retrograde orbit, meaning that it goes backwards. 90 is a polar orbit, meaning that it goes to the poles. 0 means that it has no tilt or change in height.
 +
* MNA -- Also known as Mean Anomaly Epoch. At what position the craft is in orbit.
 +
* OBT -- Time elapsed in an orbit. Does not reset when reaching periapsis.
 +
* LAN -- Known as Longitude of the Ascending Node. The angle between the orbit's ascending node and a reference direction.
 +
* Arg. Pe -- The angle between the ascending node and the periapsis.
 +
* Override Safety Check -- Is a true/false toggle that allows you to enable or disable the safety check. The safety check checks if you are colliding into terrain or into the atmosphere, and raises your orbit up if it is too low.
 +
2. Rendezvous -- From here you can teleport to any existing vessel, asteroid, or comet.
 +
* Approx. Distance -- The approximate distance from the target.
  
 
===Set Position===
 
===Set Position===
Allows you to teleport to a body at zero speed, rather than at an orbital speed.
+
Allows you to teleport to a body at any position with zero speed, rather than at an orbital speed. It has 5 numerical entries and a few other features, listed below.
 
+
* Body Switcher -- Allows you to switch to any celestial body.
Check "Use Middle Mouse Click to set Position", then do so from the map screen to specify the latitude and longitude automatically.
+
* Latitude -- The latitude of the position. The higher it is, the closer to the North Pole it is. The lower it is, the closer to the South Pole it is. A latitude of -90 will teleport you directly to the South Pole, while a latitude of 90 will teleport you to the North Pole.
 +
* Longitude -- The longitude of the position. Higher values are more east, while lower values are more west.
 +
* Altitude -- How high you are above the ground.
 +
* Pitch -- How much your craft will be facing up/down.
 +
* Heading -- The orientation of your craft on the Y axis.
 +
* Ease in multiplier -- How strong the easing is.
 +
* Ease to ground -- Allows you to ease to the ground.
 +
* Do not place under water -- When turned off, your vessel will be placed at height above the water's terrain. Otherwise, your vessel is positioned based on the sea level.
 +
* Use Middle Mouse Click to set Position -- Allows you to automatically specify the latitude and longitude by middle clicking on the planet on the map screen.
 +
* Override Safety Check -- Allows you to ignore any safety checks. This may cause your craft to have parts of it clip through the ground.
  
 
If you're using it to test an aircraft at altitude, uncheck "Ease to ground" and set pitch to -45 to -90 to prevent stalling and lack of control since you unfortunately can't specify a starting speed.
 
If you're using it to test an aircraft at altitude, uncheck "Ease to ground" and set pitch to -45 to -90 to prevent stalling and lack of control since you unfortunately can't specify a starting speed.
Line 73: Line 119:
 
===Object Thrower===
 
===Object Thrower===
 
[[File:Object Thrower, in use.png|thumb|right|The object thrower in use.]]
 
[[File:Object Thrower, in use.png|thumb|right|The object thrower in use.]]
Like the legacy Whack-A-Kerbal, this subscreen allows you to throw either a cube or a sphere, at any mass, size or speed, by middle-clicking.
+
Like the legacy Whack-A-Kerbal, this subscreen allows you to throw either a cube or a sphere, at any mass, size or speed, by middle-clicking. There are several settings in it.
 +
* Object -- Can be switched between a cube or a sphere.
 +
* Mass -- How heavy the object is. It is unknown how much one unit of mass is.
 +
* Size -- How big the object is in meters.
 +
* Speed -- How fast the object is thrown. Probably in m/s.
 +
* Armed/Unarmed -- When clicked, turns on/off the object thrower.
  
 
===Difficulty===
 
===Difficulty===
Line 87: Line 138:
 
==Physics==
 
==Physics==
 
[[File:Physics.png|thumb|right|The physics subscreen from the launchpad.]]
 
[[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.
+
This screen has several options.
 +
* Save Database
 +
* Load Database
 +
* Visualize Autostruts
 +
* Turn legacy orbit targeting on/off
 +
 
 
===Aero===
 
===Aero===
 
This subscreen has three true/false options that change the way aero data is visualized for the player:
 
This subscreen has three true/false options that change the way aero data is visualized for the player:
Line 128: Line 184:
 
[[File:Kerbals, Astronaut Complex.png|thumb|The Kerbals screen seen from the Astronaut Complex]]
 
[[File:Kerbals, Astronaut Complex.png|thumb|The Kerbals screen seen from the Astronaut Complex]]
 
This screen has a list of all kerbals, even applicants.
 
This screen has a list of all kerbals, even applicants.
 +
 
===Create===
 
===Create===
 
This subscreen allows you to create kerbals with any name, gender, role, experience, courage, stupidity, and with attributes including Veteran and Badass.
 
This subscreen allows you to create kerbals with any name, gender, role, experience, courage, stupidity, and with attributes including Veteran and Badass.
  
 +
==Resources==
 +
This part of the menu's real purpose is unknown, however it has 2 toggles:
 +
* Enable Heat Generation on Resource Parts
 +
* Show Debug Info on Resource Parts
 +
 +
==Mission Tools==
 +
This section has one option, being "Override Mission Builder Localization Lock.
 +
 +
===Breaking Ground===
 +
This section has no options.
 +
====Robotics====
 +
====Surface Features====
 
[[Category: Game interface]]
 
[[Category: Game interface]]

Latest revision as of 10:57, 7 July 2024

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):

It has nine sections: Console, Database, Cheats, Physics, Contracts, Kerbals, Resources, Mission Tools, and Breaking Ground.

Console

The console outputs the current states of many of the processes running in the loading and playing of KSP. You can also enter any command into the Console. 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)

Input Locks

This shows any parts of the GUI or inputs that are locked. It has one button, "Clear Input Locks", which unlocks the GUI. An example of an input lock is that the Space Center toolbar disappears when hovering over the cheat menu in the Space Center.

Performance

The performance subscreen.

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

  1. Used Heap Size
  2. Allocated
  3. Reserved
  4. Unused Reserve
  5. Mono Heap
  6. Mono Heap Used

Flight Info

This screen shows multiple things in 3 sections.

  1. Location

Shows the location of the active vessel in latitude, longitude, altitude, radar altitude, and biome.

  1. Time

Shows the time in UT and the physics time ratio.

  1. Vessel

Shows the active vessel, the reference body, and the frame of reference.

  1. EVA

Shows the current slope angle.

Version Info

This screen shows the version the game is running on and any expansions/DLCs.

DeltaV 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.

Assemblies

Shows the assemblies of the game.

Parts

Shows every Part in the game.

Props

Shows every 3D part of the UI.

Internals

Shows the IVAs.

Resources

The usage for this page is unknown.

Models

Shows every .mu file currently in use.

Textures

Shows every .png texture, from agency logos, to the stock craft thumbnails.

Audio

Shows every audio in the game.

Strings

Allows you to search for any #autoLOC config in the game.

Cheats

The Cheats screen, seen from the launchpad.

This screen has 10 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. This, however, sometimes doesn't work, especially at higher velocities.
  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 -- 7 numerical entries from which you can set almost any orbit around any celestial body in the game. They are listed below:
  • Semi Major Axis -- The length of the orbit from the surface at its longest point.
  • Eccentricity -- How much the orbit deviates from a perfect circle. 1 means that it is at an escape trajectory, 0 means it is in orbit. Values higher than 1 make a hyperbola.
  • Inclination -- How inclined the orbit is. Values higher than 90 make the orbit a retrograde orbit, meaning that it goes backwards. 90 is a polar orbit, meaning that it goes to the poles. 0 means that it has no tilt or change in height.
  • MNA -- Also known as Mean Anomaly Epoch. At what position the craft is in orbit.
  • OBT -- Time elapsed in an orbit. Does not reset when reaching periapsis.
  • LAN -- Known as Longitude of the Ascending Node. The angle between the orbit's ascending node and a reference direction.
  • Arg. Pe -- The angle between the ascending node and the periapsis.
  • Override Safety Check -- Is a true/false toggle that allows you to enable or disable the safety check. The safety check checks if you are colliding into terrain or into the atmosphere, and raises your orbit up if it is too low.

2. Rendezvous -- From here you can teleport to any existing vessel, asteroid, or comet.

  • Approx. Distance -- The approximate distance from the target.

Set Position

Allows you to teleport to a body at any position with zero speed, rather than at an orbital speed. It has 5 numerical entries and a few other features, listed below.

  • Body Switcher -- Allows you to switch to any celestial body.
  • Latitude -- The latitude of the position. The higher it is, the closer to the North Pole it is. The lower it is, the closer to the South Pole it is. A latitude of -90 will teleport you directly to the South Pole, while a latitude of 90 will teleport you to the North Pole.
  • Longitude -- The longitude of the position. Higher values are more east, while lower values are more west.
  • Altitude -- How high you are above the ground.
  • Pitch -- How much your craft will be facing up/down.
  • Heading -- The orientation of your craft on the Y axis.
  • Ease in multiplier -- How strong the easing is.
  • Ease to ground -- Allows you to ease to the ground.
  • Do not place under water -- When turned off, your vessel will be placed at height above the water's terrain. Otherwise, your vessel is positioned based on the sea level.
  • Use Middle Mouse Click to set Position -- Allows you to automatically specify the latitude and longitude by middle clicking on the planet on the map screen.
  • Override Safety Check -- Allows you to ignore any safety checks. This may cause your craft to have parts of it clip through the ground.

If you're using it to test an aircraft at altitude, uncheck "Ease to ground" and set pitch to -45 to -90 to prevent stalling and lack of control since you unfortunately can't specify a starting speed.

Object Thrower

The object thrower in use.

Like the legacy Whack-A-Kerbal, this subscreen allows you to throw either a cube or a sphere, at any mass, size or speed, by middle-clicking. There are several settings in it.

  • Object -- Can be switched between a cube or a sphere.
  • Mass -- How heavy the object is. It is unknown how much one unit of mass is.
  • Size -- How big the object is in meters.
  • Speed -- How fast the object is thrown. Probably in m/s.
  • Armed/Unarmed -- When clicked, turns on/off the object thrower.

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 several options.

  • Save Database
  • Load Database
  • Visualize Autostruts
  • Turn legacy orbit targeting on/off

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.

Resources

This part of the menu's real purpose is unknown, however it has 2 toggles:

  • Enable Heat Generation on Resource Parts
  • Show Debug Info on Resource Parts

Mission Tools

This section has one option, being "Override Mission Builder Localization Lock.

Breaking Ground

This section has no options.

Robotics

Surface Features