mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
turn on other debug settings when autostart is true
This commit is contained in:
parent
3875d39406
commit
66717106e2
@ -104,6 +104,13 @@ public class QSBCore : ModBehaviour
|
||||
);
|
||||
}
|
||||
|
||||
if (DebugSettings.AutoStart)
|
||||
{
|
||||
DebugSettings.UseKcpTransport = true;
|
||||
DebugSettings.SkipTitleScreen = true;
|
||||
DebugSettings.DebugMode = true;
|
||||
}
|
||||
|
||||
RegisterAddons();
|
||||
|
||||
InitAssemblies();
|
||||
|
||||
@ -23,6 +23,9 @@ public class DebugSettings
|
||||
[JsonProperty("autoStart")]
|
||||
public bool AutoStart;
|
||||
|
||||
[JsonProperty("skipTitleScreen")]
|
||||
public bool SkipTitleScreen;
|
||||
|
||||
[JsonProperty("debugMode")]
|
||||
public bool DebugMode;
|
||||
|
||||
@ -46,10 +49,6 @@ public class DebugSettings
|
||||
private bool _drawGhostAI;
|
||||
public bool DrawGhostAI => DebugMode && _drawGhostAI;
|
||||
|
||||
[JsonProperty("skipTitleScreen")]
|
||||
private bool _skipTitleScreen;
|
||||
public bool SkipTitleScreen => DebugMode && _skipTitleScreen;
|
||||
|
||||
[JsonProperty("greySkybox")]
|
||||
private bool _greySkybox;
|
||||
public bool GreySkybox => DebugMode && _greySkybox;
|
||||
|
||||
@ -5,12 +5,12 @@
|
||||
"hookDebugLogs": false,
|
||||
"avoidTimeSync": false,
|
||||
"autoStart": false,
|
||||
"skipTitleScreen": false,
|
||||
"debugMode": false,
|
||||
"drawGui": false,
|
||||
"drawLines": false,
|
||||
"drawLabels": false,
|
||||
"drawQuantumVisibilityObjects": false,
|
||||
"drawGhostAI": false,
|
||||
"skipTitleScreen": false,
|
||||
"greySkybox": false
|
||||
}
|
||||
@ -132,13 +132,14 @@ The template for this file is this :
|
||||
"instanceIdInLogs": false,
|
||||
"hookDebugLogs": false,
|
||||
"avoidTimeSync": false,
|
||||
"autoStart": false,
|
||||
"skipTitleScreen": false,
|
||||
"debugMode": false,
|
||||
"drawGui": false,
|
||||
"drawLines": false,
|
||||
"drawLabels": false,
|
||||
"drawQuantumVisibilityObjects": false,
|
||||
"drawGhostAI": false,
|
||||
"skipTitleScreen": false,
|
||||
"greySkybox": false
|
||||
}
|
||||
```
|
||||
@ -149,13 +150,13 @@ The template for this file is this :
|
||||
- hookDebugLogs - Print Unity logs and warnings.
|
||||
- avoidTimeSync - Disables the syncing of time.
|
||||
- autoStart - Host/connect automatically for faster testing.
|
||||
- skipTitleScreen - Auto-skips the splash screen.
|
||||
- debugMode - Enables debug mode. If this is set to `false`, none of the following settings do anything.
|
||||
- drawGui - Draws a GUI at the top of the screen that gives information on many things.
|
||||
- drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY.
|
||||
- drawLabels - Draws GUI labels attached to some objects. LAGGY.
|
||||
- drawQuantumVisibilityObjects - Indicates visibility objects with an orange shape.
|
||||
- drawGhostAI - Draws debug lines and labels just for the ghosts.
|
||||
- skipTitleScreen - Auto-skips the splash screen.
|
||||
- greySkybox - Turns the skybox grey. Useful in the Eye, where it's pretty dark.
|
||||
|
||||
**Warning : Mod development can lead to unexpected errors in your computer system.**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user