66 lines
3.4 KiB
Markdown
66 lines
3.4 KiB
Markdown
# Rust to Dust
|
|
|
|
The game side of **Rust to Dust**, a Weksa setting. Earth is absorbed by a
|
|
galaxy-spanning empire through culture, not conquest, and its battle royale is an
|
|
imperial broadcast where crude human war machines fight for an audience.
|
|
|
|
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 live today (`nibu/rtd-prototype`)
|
|
|
|
- **`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 `1536m x 1536m` desert terrain (`8x8`,
|
|
`192m x 192m` tile grid) and a `3072m x 3072m` Sion, Switzerland alpine
|
|
arena (`1025x1025` `3m` DEM heightmap, `6x6` spatial building tiles, `2319`
|
|
buildings with RCOL collision), plus runtime crater / tire-track /
|
|
thermal-scorch stamping.
|
|
- **`RustToDust.Ymir`**:
|
|
- `ArenaSession` bridging `MatchState` onto Ymir's `Box3DSoaWorld` with
|
|
4-corner spring-damper terrain support, Sion `StaticHeightField` + `StaticMesh`
|
|
building physics, 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, procedural/dynamic terrain relief, and
|
|
Sion map parity + LOS.
|
|
- **`client/` (Godot 4.7.2 Mono)**:
|
|
- Dual-arena 3D client (`[M]` switcher or `RTD_MAP=sion`) supporting the
|
|
procedural desert bake and the `3072m` Sion map (LOD1/LOD2 building tiles),
|
|
Brokkr mechanical rigs rendered via `MultiMeshPartPool` +
|
|
`mech_paint.gdshader`, `PomDecalPool` combat scars, tactical radar,
|
|
clickable Aetheria Hardpoint & Heat schematic, and Imperial Broadcast chyron.
|
|
- Sion terrain and building data attribution: `"Federal Office of Topography swisstopo"`.
|
|
- Hybrid 3D combat audio (`ArenaAudioSystem` + `ProceduralAudioBank` + `WalkerFootstepTracker`):
|
|
curated weapon/mechanical WAVs by **Haven Kendrick** (`assets/audio/haven/`,
|
|
see [`assets/audio/ATTRIBUTION.md`](assets/audio/ATTRIBUTION.md)) paired with
|
|
deterministic `PcmSynth` GRF-synced footsteps, vehicle/servo loops, impacts,
|
|
and 2D UI cues behind a separable `WetMixMode` room stage.
|
|
|
|
## Build, test, and run
|
|
|
|
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`).
|
|
|
|
```bash
|
|
# Run the behavioral test suite
|
|
dotnet test tests/RustToDust.Tests/RustToDust.Tests.csproj -c Release
|
|
|
|
# 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 (press [M] in-game or set RTD_MAP=sion for Sion)
|
|
godot --path client
|
|
|
|
# Run the headless Godot smoke test
|
|
godot --headless --path client res://tests/Smoke.tscn
|
|
```
|