Added a few new console commands: disablehud, lockx & locky (disables submarine movement on the respective axis), followsub (toggles whether the camera moves with the subs)
This commit is contained in:
@@ -511,6 +511,12 @@ namespace Barotrauma
|
||||
|
||||
Submarine.MainSub.GodMode = !Submarine.MainSub.GodMode;
|
||||
break;
|
||||
case "lockx":
|
||||
Submarine.LockX = !Submarine.LockX;
|
||||
break;
|
||||
case "locky":
|
||||
Submarine.LockY = !Submarine.LockY;
|
||||
break;
|
||||
case "dumpids":
|
||||
int count = commands.Length < 2 ? 10 : int.Parse(commands[1]);
|
||||
|
||||
@@ -675,6 +681,14 @@ namespace Barotrauma
|
||||
case "debugdraw":
|
||||
GameMain.DebugDraw = !GameMain.DebugDraw;
|
||||
break;
|
||||
case "disablehud":
|
||||
case "hud":
|
||||
GUI.DisableHUD = !GUI.DisableHUD;
|
||||
GameMain.Instance.IsMouseVisible = !GameMain.Instance.IsMouseVisible;
|
||||
break;
|
||||
case "followsub":
|
||||
Camera.FollowSub = !Camera.FollowSub;
|
||||
break;
|
||||
case "drawaitargets":
|
||||
case "showaitargets":
|
||||
AITarget.ShowAITargets = !AITarget.ShowAITargets;
|
||||
|
||||
Reference in New Issue
Block a user