Skip to content

Debug UI

Debug UI is a set of tools for live debugging. There are two interfaces for Debug UI: available by pressing F5 or F2 in the Viewport. Most of the functionality available in the F5 Debug UI can be used both in the Editor and in the Game mode, and the functionality available in the F2 Debug UI can only be used in the Game mode.

To close the Debug UI press F5/F2 again.

F5

One of the Debug UIs is available by pressing F5 in the Viewport:

Pressing F5 also stops the game from tracking your mouse cursor which might be useful for some of the F2 Debug UI functionality.

Some debug systems are not described as they are highly specialized.

Tab

Debug system

Description

Render

Render > Sky System > Summary

Manage the skylight: time of day, exposure and other components.

To fix time, click the checkbox to the left of the time of day slider:

Render > Weather Manager

Manage the weather.

To change the weather click the checkbox to the left of Force weather preset and select the preset.

While in the Game mode, you can also use Left Ctrl+Left Alt+W to switch to the next weather preset.

Engine

Engine > FPS Counter

Show an FPS counter or change the style of the counter and the type of information shown (FPS, GPU usage, frame number, number of polygons, etc.)

Engine > Camera > Transform

Get/Set the transform (position and rotation) of the camera. You can save the transform to later teleport camera to the same spot.

Engine > Terrain > Manage Masks

Export terrain masks (see Export/Load terrain).

F2

The debug UI available by pressing F2 in the Viewport:

Tip

You can use number keys to navigate the F2 Debug UI.

Some debug systems are not described as they are highly specialized.

Trucks

  • Windows:

    • ShowTruckCreateWindow — spawn new trucks in the scene and unlock individual trucks. To spawn a truck: open the map, press F5 to stop the game from tracking you mouse cursor, select a truck, select a point on the map and click Spawn. You can also spawn a truck at the camera position.

      Click the Show Base Truck checkbox to only show the simplified versions of trucks that are typically used for AI-trucks.

    • ShowTruckSelectWindow — switch current truck to one of the trucks available in the scene.

    • Customization:
      • ShowTruckRecolorWindow — change the color of the current truck.
      • ShowGraffitiChanger — change the graffiti decals of the current truck.
  • TeleportCurrentTruckInCameraPosition — teleport the truck to the camera position. 

  • DisableGrader — disable the grader if the vehicle has it. The grader will not affect the ground even if positioned appropriately.
  • RefillTruck — refill the current truck with sand if the truck can store sand.
  • EmptyTruck — remove sand/cargo from the current truck.
  • InstantSandRefill — refill the current truck with sand without animation if the truck can store sand.
  • TrenchDigger — visualize the areas available for digging. 

    • ShowWhereTrenchDiggerCanDig
    • HideWhereTrenchDiggerCanDig
    • RecalcWhereTrenchDiggerCanDig
  • SwitchRaindropsVisibility — turn off/on the raindrops on your windshield.

  • SwitchActivateVehicleHeadlight — turn on/off the headlights.
  • UnlockAllTrucks — unlock all trucks in the game for this session in Mod Editor. Does not affect your actual game save.

Buildings

Manage buildings and resources.

  • FOB — give yourself logs, metal beams, concrete plates, or pipes.

Game

  • Fog of War — enable/disable the fog of war.
    • ClearFogOfWar
    • RestoreFogOfWar
    • FogOfWarDomains
  • Electricity — debug electrical currents.
    • ShowElectricityGrid — shows the current electrical currents. Red texture means that a point does not have electricity.
    • DebugElectricityTexture — create debug electrical currents with a brush and test electrical connections.
  • Forest:
    • ShowForestGrid — show forest areas. This debug tool has the same functionality as the forest tab in the map menu.
  • Resource:

    • ResourceStatistics — shows the amount of resources available in the scene. Typically used to balance the levels.
    • ShowResourceCreateWindow — spawn any resource in the scene: choose a resource, press F5 and click anywhere in the scene.
    • Hand_of_God — move any non-static object in the scene. If you are using the Drag mode, you need to significantly increase the drag force. It is recommended to use the Teleport mode instead.
  • ObjectiveAndInfrastructure:

    • ObjectiveWindow — debug the level objectives: track/untrack objectives, manually complete and verify steps of the objectives. To see which objective correspond to the UID, click Track — this will highlight the objective in the game UI.

      Warning

      It is not recommended to use Complete Task buttons. Use Complete Step instead.

      It is also not recommended to manually complete goals. Complete the related steps one by one instead.

    • ShowQuestObjectCreateWindow — spawn any quest object in the scene: choose an object, press F5 and click anywhere in the scene.

    • InfrastructureRequests — manually complete infrastructure requests.
    • Pipings — manually repair pipings: [xxxxx] — the piping is broken, [=====] — the piping is fixed. 
    • SpawnObjectiveObjects — reveal objects that are linked to objectives and/or teleport them to the starting point of the objective.
    • ShowEnableDisableWindow — manually change the state of the Enable/Disable property of any object.
    • SwitchObjectivesDbgNames — switch the names of the objectives in the game UI to debug names (UIDs).
    • SelectedObjectiveInfo — show information about an objective (currently tracked or hovered on in the game UI).
    • SkipRadioMessage — skip the radio message.
    • AiTruckOnLevelWindow — show statistics of the AI vehicles that are set up in the objectives/infrastructure requests.
  • ShowBuildRoadWindow — manually build roads from the Road Plan infrastructure requests. When the window is active, it assigns an index to each future road in the scene. To select a road, enter its index in the Road index field. Click Build Road to fully build a road; click on one of the steps to complete only this step (Sand, Flat, Asphalt, etc.).

  • Event Logs:

    • TestLog — add a test message to the event log.
  • Visibility Controller — enable/disable UI highlights of various zones, markers, etc.

Tools

  • TakeScreenshotForMiniMap — moves camera to a high position to take a screenshot of the whole map.
  • PauseGame — pause the game.
  • ToggleUIVisibility — enable/disable the game UI.
  • SwitchNextWeatherPreset — change the weather preset to the next preset.

SaveManagement

  • Money — manually give yourself money.
  • XP_and_Ranks  — manually give yourself XP.
  • RecoveryCoins — manually give yourslef Recovery Coins.

Debug Hotkeys

A list of hotkeys commonly used in the Game mode:

Command

Hotkey

Fly camera

~

Fix camera position

~+F3

Teleport the current truck to the camera position

Left Ctrl+N

Teleport the current truck to a point on the map
(While in the Eagle mode overseeing the map)

Left Ctrl+Left Button

Instant sand refill

Left Ctrl+Y

Change the weather to the next weather preset

Left Ctrl+Left Alt+W

Clear Fog of War

Left Ctrl+Left Alt+F

Add 1.000.000 Money

Left Ctrl+Num 9