Unofficial site, not affiliated with modrinth.com.What is this?
Моды/Railway Evolution
Railway Evolution

Railway Evolution

Smart traffic control and collision avoidance for Create trains. No more signals needed.

2.3K
25
Все версииRailway Evolution 1.0.4

Railway Evolution 1.0.4

Release2 ч. назад

Список изменений

🚂 Railway Evolution v1.0.4 — [THE TRAFFIC & MUTEX UPDATE]

This is a professional-grade AI overhaul for Create Mod trains. Version 1.0.4 introduces advanced traffic management systems, including junction mutexes and predictive collision analysis, moving beyond simple raycasting to a true "Traffic Control" architecture.

✨ Key Features of v1.0.4:

  • 🔒 Junction Reservation (Mutex System): Trains must now "reserve" complex intersections (3+ connections) before entry. This prevents the classic "head-on" deadlocks at crossings. Includes 10s auto-expiry and deterministic UUID tiebreaking.
  • 📏 Adaptive Track-Size Scaling: The AI dynamically adjusts its braking behavior using bufferScale based on track length, ensuring smooth stops on long lines and aggressive braking on short tracks.
  • 🗄️ Multi-Layered Registries: Real-time databases for both stationary (StoppedTrainRegistry) and active (MovingTrainRegistry) traffic with TTC (Time-To-Collision) calculation.
  • 🔮 Predictive Collision Analysis: The AI calculates future positions, initiating proactive deceleration up to 5 seconds before a potential impact.

🛠 Technical Changelog (v1.0.4):

  1. JunctionReservationManager: New mutex logic for safe intersection passage and deadlock prevention.
  2. StoppedTrainRegistry: Guaranteed detection for stationary and derailed trains.
  3. MovingTrainRegistry: Vector-based traffic analysis and predictive TTC logic.
  4. Direction-aware Distance: Dot-product math for precise "Edge-to-Edge" accuracy.
  5. Precision Beam Overhaul: Straight (1.5), Curve (3.5), and Ultra-close (4.0) beam optimizations.
  6. Overlap Deadlock Breaker: Automatic reverse resolution for clipped trains after 3 seconds (60 ticks).
  7. Critical BFS Fix: Resolved data loss issue (fixed return null to return graphHit).
  8. Adaptive Scaling: Dynamic safety zones based on track segment size (20b, 50b, 100b+).
  9. Build Optimization: Fixed "duplicate range variable" compilation errors.
  10. System Orchestration: TrainAIManager now coordinates VBS, Registries, Junctions, and Accident Zones.

⚙️ v1.0.4 Scanning Pipeline:

  1. graphWalkScan() — Primary BFS search with Junction Mutex checks.
  2. Stopped Registry — Instant stationary obstacle lookup.
  3. Moving Registry — Dynamic traffic vector analysis.
  4. Ultra-close scan — Emergency fallback (≤16 blocks).
  5. Post-BFS proximity — Final distance verification.
  6. Fallback beam — Secondary raycast for missing graph data.

Developed by Fizzy_lovely — Making trains smarter, one line at a time.

Файлы

create_railway_evolution-1.0.4.jar(5.05 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.4

Загрузчики

NeoForge

Версии игры

1.21.1

Загрузок

4

Дата публикации

2 ч. назад

Загрузил

ID версии

Главная