RailsOfWar-1.12.2-2.0-1o1.jar
Curse Maven Snippet
What's new
# Rails of War Enhanced 2.0 — Changelog (EN)
Version 2.0 · modid `row` · Minecraft 1.12.2 / Forge 14.23.5.2705+ · jar `RailsOfWar-1.12.2-2.0-1o1.jar`
> ⚠️ Physics engine overhaul — back up your world before updating.
## Core Physics 1: Environment & Weather-Linked Adhesion
Tracks no longer have super-glue grip:
- **Clear**: adhesion 0.18 (baseline).
- **Rain**: 0.12. Heavy loads spin their wheels on startup without sanding.
- **Snow**: 0.08. Brake hard downhill and you may slide off the rails.
- **Uphill slip**: heavy trains briefly slip even with enough tractive effort.
- **Downhill gravity acceleration**: inertia alone pushes you past the speed limit; manual braking is required.
## Core Physics 2: Polymorphic Chassis Wear
A "Locomotive Chassis 2D Panel" sits at the bottom right of the dashboard. Every part carries independent durability (light grey → light yellow → orange → red):
- **Per-wheel wear & grip**: 2-axle locomotives (0-4-0 / KOF / Upnor) use the standard 4-wheel chassis; the 4-axle Shay gets an extended panel with two independent bogies, four axles, eight wheels and side rods.
- **Penalty**: a red wheel loses grip on that side, producing yaw and slipping; wheelspin keeps damaging that wheel.
- **Drivetrain damage**: gears and drive shafts track their own durability; at zero the shaft breaks and the engine stalls.
## Core Physics 3: Dynamic Weight & Multi-Unit
- **Heavy feel & suspension**: rebuilt acceleration curves and inertia; gear changes and throttle input give strong mechanical feedback.
- **Dynamic weight**: "light loco + heavy cars" is pushed downhill (longer braking distance) and dragged uphill (higher coupler stress).
- **Multi-Unit (MU)**:
- **Sneak + right-click** a locomotive with the MU Cable to add/remove it from the selection (up to 12 units), then press **Enter** to couple.
- Pressing a control in any unit **forwards that exact command to every unit**: regulator up/down/zero, reverser, handbrake, engine start/stop, sander, cooling, headlight, whistle.
- Every unit receives a real operation — levers, reversers and brake wheels move on each locomotive — while tractive effort is combined.
- Fuel, coal and water are consumed per unit.
## Core Physics 4: Curve Leaning & Track Vibration
- **Centrifugal lean**: the body leans outward based on speed and curve radius (capped at 3°–5°) and recentres via a spring-damper model.
- **High-speed tremors**: above 30 km/h the body shows high-frequency lateral vibration and suspension bobbing (`Math.sin()`), mimicking rail joints and wheel wear.
## Interaction & QoL
- **Refuel on the move**: right-click with coal / water / oil while riding.
- **Louder horns** on all locomotives.
## Advancements, Gauges & Numbering (New in 2.0)
- **39 advancements** across seven branches: locomotive collection (5), rolling stock (7), tools & track (7), MU (5, including the "Full Consist" challenge), driving (7), maintenance (7), plus a root. All driven by one generic `row:event` trigger that only reads existing vehicle state.
- **Dashboard unchanged**: the main dashboard, the thermal/steam panel and the 2D chassis panel keep their previous layout. Three extra blocks tried during 2.0 development (speedometer, consist status, work-condition bars) were **deleted outright** — the existing gauges already show speed, consist and load, so the extra blocks only ate screen space. No coupler-stress bar either: the server has no coupler tension value (the chain is a client-side Verlet visual), so such a bar would be fabricated data.
- **Custom locomotive numbering (panel)**: right-click a locomotive with a name tag (standing beside it, no sneaking) to open the numbering panel — locomotive name on top, a fixed `KOF-` prefix plus an 8-character code field (A-Z and 0-9 only), and two buttons on the right, Rename / Delete. Enter saves, Esc cancels. The number syncs via NBT; the server validates a distance of <=10 blocks and rebuilds the prefix per vehicle type (KOF / SHAY / FLATBED ...). Once set, a black-on-yellow `#KOF-07` plate is drawn above the locomotive, visible within 48 blocks. The tag is not consumed.
- The old behaviour (blank name tag clears the number and prints a chat line) is retired in favour of the panel.
- **No more creep with nobody aboard**: fuelling a loco whose regulator was left in gear used to let it crawl away the moment `isEngineUsable()` turned true. With no driver aboard (and a single unit) tractive effort is now zeroed together with slip and the acceleration ramp — the throttle only produces power while someone is holding it. Remote units in a consist are unaffected and still pull on forwarded commands.
- **Advancement icons fixed**: 39 icons used non-existent ids such as `row:itemStockKof`, so the log reported `Expected item to be an item, was unknown string` and no advancement could be earned. All of them now point at the real registry names (`row:itemStockLocoKof` / `row:itemStockCarFlatbed` ...) and all 39 unlock normally.
- **MU cable recipe**: 3 leads + 2 iron ingots + 1 iron nugget -> 1 MU cable (previously creative-only).
- **Full bilingual coverage**: every UI string goes through the language table now, 260 keys per file, strictly symmetric. Chinese that used to be hard-coded in Java (config error messages, cable tooltips and chat lines, chassis repair messages, the debug overlay, brake readouts, HUD fuel units and the chassis / CoG / MU labels) all became language keys, so switching to English leaves no Chinese anywhere in the mod.
- **Unified version metadata**: `build.gradle`, `mcmod.info` and `RoW.version` all moved from `1.12` to `2.0`; the jar is now `RailsOfWar-1.12.2-2.0-1o1.jar`. Registry names are untouched, so old worlds still load.
## Language & Config: Where to Change It
**Language** — two entry points, both apply immediately without restarting the game:
1. In game: `Options -> Mod Options -> Rails of War -> Config`. The config screen has a "Language / 界面语言" button at the top; clicking it flips between Chinese and English, then reloads the config and rebuilds the screen.
2. By hand: `.minecraft/config/row.cfg`, section `general`, `language=zh_cn` (Simplified Chinese) or `language=en_us` (English).
The switch is independent of the vanilla game language: both `row` language tables are injected wholesale, so the HUD, tooltips, chat lines, advancement names and descriptions and every config-screen button follow it.
**Parameters** — same file, `row.cfg` (or item by item from the config screen):
- `[general]`: `trackRemovalRange` (1-256), `startFuelPercent` (0-100), `acceptedFuelFluids` (comma-separated fluid names a diesel will burn), `speedDecay` / `speedDecayOffTrack` (0.985 / 0.95, 1.0 = no drag), `accelPunch` (1.0 = as shipped), `gravityFactor`, `boilerExplosion` with `boilerBurstPressure` (1.7-2.2 MPa), `boilerExplosionPower`, `boilerExplosionBlocks`, `boilerDryWaterPercent`, `boilerInjector`, the friction entries, and the three culling distances `cullDetailDistance` / `renderStockDistance` / `cullParticleDistance`.
- `[loco.kof]` / `[loco.fowler]` / `[loco.upnor]` / `[loco.shay]` / `[loco.minelok]`: per-locomotive `speedCap` (blocks/tick, x72 = km/h), `accel`, `effortMax`, `durabilityMax`, `friction`, plus `coalCap` / `waterCap` / `coalUse` / `waterUse` / `energyCap` / `energyUse` / `fluidCap` / `fluidUse` / `torque` / `power`.
- Every entry carries a bilingual comment. Save the file and re-enter the world to apply. `configRevision` is an internal migration counter — do not edit it.
## Removed
- **Station Blocks, Timetable and Autopilot**: removed entirely — station block, station naming, direction-binding nodes and arrow rendering, timetable GUI, and the autopilot state machine. The layer never reliably stopped at stations or avoided startup wheelspin, so it was cut instead of shipped half-working.
- **Derailment system**: replaced by curve leaning and high-speed tremors.
- **Dispatching map, decal system**: unfinished, removed.
## Upgrade Notes
- Station blocks already placed in old worlds become unknown blocks and disappear; missing tile entity warnings in the log are expected.
- Physics changed significantly — back up your world first.
This mod has no additional files

