RustToDust/README.md

61 lines
2.7 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 divided into an
`8x8` (`192m x 192m`) 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.
## 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
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.