Repository navigation
Level Editor
THUG2 Editor is a level editor built into the game as a plugin (plugins\thug2-level-editor.dll), started as an
application of its own. It edits any level - THUG2's and the ported ones - in free skate: move, turn,
copy and delete scenery and objects, add spawns, crowns, flags, lights, rails, ladders, paths, triggers, cameras and
goals, and play-test where you are with one key.

| How | What it does |
|---|---|
thug2-editor.exe |
The editor on its own: a Start page with recent levels and every installed level with its picture |
thug2-editor.exe -edit BO or thug2-decomp.exe -edit BO
|
Opens that level straight away |
node tools/game/edit_level.ts [<name>] |
Lists the levels / opens one |
[features] editor_mode=1 or edit_level=<name> in the ini |
The same from the ini |
The game's own pause menu doesn't offer the editor, but levels edited in it play in the game: the level select's EDITED LEVELS (OFFLINE) > " (EDITED)".
- The game is the Scene panel, with the Outliner, the Inspector and other panels docked round it. Drag a tab to move, split, tab or float a panel; drag one out of the window and it becomes a window of its own (on a second monitor, say). Window > Reset Layout puts them back.
- File > Open Level and File > Recent switch levels, asking about unsaved changes first.
- Play plays from the level's start, Play from Here (F5) from the camera; F5 goes back to editing. Play > Maximise on Play gives the game the whole window.
- F1 lists every key; Ctrl+Space (or F3) searches every action; the status bar shows what the mouse and keys do at that moment. Every key is rebindable (Preferences > Keys).
- W / E / R pick Move / Rotate / Scale. Scenery and objects turn about any axis - a tilted piece of scenery is a slope to skate on, its rails turned with it. Ctrl snaps, V snaps to vertices, Alt+drag on a Move arrow moves a copy. Home frames the whole level.
- Nodes the editor adds go into an extra node array; trigger volumes, rail speed-ups, jump boosts, breakables and proximity nodes get small scripts made at run time. Goals use THUG2's own Create-a-Goal records.
- Edit > Revert to Original puts the selection back as the level has it.
Edits never change a shipped level. Ctrl+S writes the level's layout, Game\thug2-decomp-layouts\<scene>.txt
(plain text, one record per line). Unsaved work is autosaved every minute and offered back after a crash.
node tools/game/apply_layout.ts --level <name> bakes a layout into a copy of the level's files (out\baked\<name>),
and warns about every edit that would break online parity with THUGPRO.
File > Import Level... (also on the Start page) converts levels from your own THPS2, THPS3, THPS4, THUG, THAW,
Project 8 or Proving Ground install: Browse... to the game's folder, tick levels, Import. The converters'
output scrolls by and Cancel stops them; the levels then appear on the Start page. The tools it runs are in
editor-tools\ next to the exe (node tools/editor_tools.ts makes it).
Export to Retail Install puts imported levels into an install of the original game; "Install the limits DLL" adds the DLL the biggest levels need there.
The editor remembers its own settings in [editor] of thug2-decomp.ini (Preferences, Ctrl+,): fly speed, mouse-look,
gizmo size, snapping, the UI's accent colour and scale, autosave interval, the split views' layout and more - every key
is listed in the README's Settings.
- Free skate only - never career or story, classic, the park editor or network games.
- Layouts are never applied online.
- The editor always runs on Vulkan.
Rendering
- Vulkan renderer
- Graphics options
- Ray-traced lighting
- Reflections
- Relit levels
- Per-pixel lighting
- Sky and fog
- Water
- Grass
- Lamp lights
- HDR and bloom
- Upscaling
- Tessellation
Looks
Gameplay and content
Tools