readable names also in io, checks and texture messages (naming moved to editor.model), tile palette filter by name or number, import preview frames the main mass and zooms with the wheel, object palette right-click no longer switches to place, floorfinder built on ground, levelbuild starts get one camera node behind the llama (golden hashes updated, boot-to-level moves it along)

This commit is contained in:
MineTec committed 2026-11-07 14:42:32 +01:00
1 parent 386a06006d
commit 38c679b319
49 files changed
+819 -470

No files matched your search

+10 -4
View File
@@ -87,8 +87,8 @@ stairs, platforms register as shadow casters (`solids`). 1.0 = texture colour
* `variant`: types with several code entry points (e.g. SmashPot: 2 spawn stubs).
* **Waypoints** (`wp`): `'relative'` = move the original's waypoint chain along (offset to the
object is kept, y is set to the floor if there is one), `'here'` = all points on
the object, `'none'` = none (−1), or your own list `[(x,z[,y[,deg]]), …]` (extra fields
of the original waypoints are taken over). Chains are renumbered (no references into the
the object, `'none'` = none (−1), or your own list `[(x,z[,y[,deg[,unk2]]]), …]` (other extra
fields of the original waypoints are taken over). Chains are renumbered (no references into the
old level).
* `player(x,z,rot)` (strat `Llama`), `checkpoint(x,z)` (`CheckPointPost`), `exit(x,z)`
(`LevelDoor`), `coins([(x,z),…])`.
@@ -131,8 +131,14 @@ stairs, platforms register as shadow casters (`solids`). 1.0 = texture colour
* Rot 0° = facing +z, 90° = facing +x.
* **Death plane works**: falling into the sea → health gone, respawn at the last
checkpoint (or start).
* Player waypoint chain (14 points for the village llama, meaning unclear): `player()` puts the
first one 8 units behind the llama, the rest on the llama, extra fields from the original.
* Player waypoint chain = start camera positions (the game takes the first node within 2.5 cells
of the llama, see `editor.model.cmd.PlayerStart`): `player()` gives the llama ONE node 2 cells
behind it, 0.5 above, unk2 = 0 (default camera distance/height) – like the editor's player start.
Until 2026-11-07 it copied the prototype's 14-node chain (first node 8 behind = out of range, the
rest on the llama): on village 2 bases (node 2 has unk2 ≠ 0) that put the camera into the llama's
head. Waypoint lists take an optional 5th value unk2: `[(x,z,y,deg,unk2)]`.
In game (test world, apptest 2026-11-07): the start camera is behind the llama at the default
distance (`notes/img/editor/testworld_start_camera.jpg`).
* **LevelDoor** (exit) – solved, see section "Exit (LevelDoor)" below.
* Sizes that work: TRAK 0.6–1.0 MB, up to 1100 models, 5200 tiles, WAD up to 6.9 MB
(originals: TRAK ≤ 1 MB, ≤ 5800 tiles, WAD ≤ 6.85 MB). Test world: 628 models,