RustToDust Phase 2: Procedural brush terrain, 4-corner Ymir support, and Godot 4.7.2 Mono client

This commit is contained in:
Meta Vens 2026-12-04 13:57:44 +01:00
commit 215b5ea834
20 changed files with 3486 additions and 56 deletions

View file

@ -8,21 +8,54 @@ The lore lives in Weksa: `settings/rust-to-dust/` in
[GameCult/Weksa](https://github.com/GameCult/Weksa) (setting, story, battle
royale, aliens, language design). This repo holds no lore.
## What is here today
## What is live today (`nibu/rtd-prototype`)
Nothing runnable yet. This repo is the home for the mech work now being
prototyped:
- **`RustToDust.Core`**:
- Aetheria 2D grid chassis (`Dorsal` vehicles/quadrupeds and `Coronal` bipeds),
conductive/radiative heat transfer, trapezoidal thermal plateau curves,
localized armor + core destruction, and live cargo-to-hardpoint swapping.
- 6 playable chassis (`buggy`, `technical`, `tank`, `manticore`, `raptor`,
`paladin`), 8 human salvage modules, and 5 Imperial Tourist modules.
- Shrinking `SpectatorRing` perimeter (`Tourist`, `Patron`, and `Exemplar`
tiers with `Neutral` / `Cleared` / `Provoked` stances and Weksa-voiced
`BroadcastFeed` commentary).
- `TerrainField`: deterministic `384m x 384m` desert terrain divided into a
`4x4` (`96m x 96m`) tile grid with procedural dunes, mesas, salvage pads,
dirt roads, and runtime crater / tire-track / thermal-scorch stamping.
- **`RustToDust.Ymir`**:
- `ArenaSession` bridging `MatchState` onto Ymir's `Box3DSoaWorld` with
4-corner spring-damper terrain support, raycast weapons, terrain crater/scorch
impacts, and AI contenders + perimeter spectators.
- **`tests/RustToDust.Tests`**:
- Behavioral xUnit suite covering Aetheria grid heat, spectator ring clearance,
Ymir vehicle driving/combat/swapping, and procedural/dynamic terrain relief.
- **`client/` (Godot 4.7.2 Mono)**:
- 3D desert client with a top-down orthographic `SubViewport` brush-to-tile PBR
+ height displacement baker, procedural 3D chassis/spectator silhouettes,
tactical radar, clickable Aetheria Hardpoint & Heat schematic, and Imperial
Broadcast chyron.
- mechs kitbashed from parts with [Brokkr](https://eureka.gamecult.org/forge/GameCult/Brokkr)
(armour shells, ribs, cuts, joints, hoses, frames);
- a mechanical rig with one bone per degree of freedom, driven rams and linkages;
- generic walk and combat animation retargeted onto each chassis.
## Build, test, and run
That work currently lives on `nibu/fable-*` experiment branches in
GameCult/Brokkr and moves here as it settles.
Requires a sibling `Ymir` checkout beside `RustToDust` (or `YMIR_ROOT` set),
CMake, a C compiler, .NET SDK 8/10, and Godot 4.7.2 Mono (`--path client`).
## Planned, not live
```bash
# Run the behavioral test suite
dotnet test tests/RustToDust.Tests/RustToDust.Tests.csproj -c Release
- Mech parts library and chassis definitions.
- Rig generator and goal-space retargeting solver.
- A playable walk-and-fight prototype.
# Build the Godot 4.7.2 Mono client assembly (also builds Ymir native Box3D)
dotnet build client/RustToDust.Client.csproj -c Debug
# Run the playable 3D client
godot --path client
# Run the headless Godot smoke test
godot --headless --path client res://tests/Smoke.tscn
```
## Planned, not live yet
- Kitbashed Brokkr mechanical rigs and goal-space walk/combat retargeting
replacing the procedural box/cylinder silhouettes.
- Multiplayer networking and audio synthesis.