Vehicle -_- RTS Control: Smooth Vehicle Separation Fixed [DEPRECATED]


[DEPRECATED] Improvements from this mod have been integrated into the original. Fork of Vehicle -_- RTS Control 2.1.61 by dorfl and Pi-C in which the advertised smooth vehicle separation works: vehicles steer round, follow, give way and brake for each other while driving, instead of being teleported apart after they have jammed. Replaces the original (the two cannot be enabled together). Existing saves, settings and the companion mods carry over; orders in progress need giving again.

Utilities
4 days ago
2.1
18
Transportation Combat

Changelog

Version: 2.1.6100
Date: 25. 11. 2026
  Info:
    - Fork of Vehicle -_- RTS Control 2.1.61, published under its own name (vehicle-_-rts-control-separation-fixed). It replaces the original and cannot be enabled together with it.
  Features:
    - Vehicles avoid each other while driving. Every driven ground vehicle predicts conflicts with nearby vehicles each tick, steers round parked and oncoming vehicles, follows traffic going its way, lets crossing traffic by, and brakes so it can stop short of whatever is ahead.
    - A vehicle whose destination is occupied by a parked vehicle parks beside it instead of pushing onto it.
    - Vehicles driving straight past each other the other way pass on hull width, so two columns in neighbouring lanes drive by instead of weaving.
    - New map setting "Vehicles avoid each other while driving" (on by default).
  Changes:
    - Removed the aura's teleport pushes and per-tick speed halving between touching vehicles.
    - A vehicle wedged against another, unable to turn or go forward, backs straight out. A jam left by the original untangles when the vehicles are given new orders.
    - Steering no longer turns a hull into the vehicle beside it. The game does not collision-check script changes to a vehicle's orientation, and two overlapping hulls cannot move at all.
    - The remaining rescue and departure teleports are refused if they would end inside another vehicle or an obstacle.
  Bugfixes:
    - Stuck detection counted any vehicle slower than 0.1 tiles per tick as stationary whenever it was evaluated every tick, and "rescued" vehicles that were only driving slowly. It now runs on its 20-tick cadence.
    - Waiting for traffic is no longer treated as being stuck.
    - A follower standing still beside its leader is no longer treated as stuck and "rescued".
  Optimizations:
    - Each vehicle's position and heading are read from the game once per tick and shared, and the search for nearby vehicles is done once per surface.
Version: 2.1.61
Date: 23. 11. 2026
Changes:
    - Remote control and fleet list now completely ignore hidden radar companions and unselectable service entities from other mods.
Version: 2.1.60
Date: 23. 11. 2026
  Features:
    - Added map view rendering for bound vehicle cursor icons and vehicle count.
  Bugfixes:
    - Fixed selected vehicle cursor icons persisting across surface transitions and save loads.
    - Added complete cleanup of orphaned cursor rendering objects during game load and mod migration.
Version: 2.1.59
Date: 21. 11. 2026
Features:
    - Replaced the circular status ring with an oriented square frame around vehicles.
    - Added a setting to display a square selection frame around vehicles selected by the remote control (visible only while holding remote).
Bugfixes:
    - Fixed crash when player teleports or switches surface/planet while holding the RTS remote control.
Version: 2.1.58
Date: 21. 11. 2026
Bugfixes:
    - Fixed crash when opening escort tab while viewing a different planet in remote map view.
Version: 2.1.57
Date: 20. 11. 2026
Bugfixes:
    - Fixed convoy formation background task resetting and duplicate queuing upon path calculation.
Version: 2.1.56
Date: 20. 11. 2026
  Changes:
    - Refactored braking system, smoother braking for air transport.
Version: 2.1.55
Date: 2026-11-19
  Changes:
    - Slowed down stuck detector gauge accumulation 4x (rescaled suspicion range up to 400 points).
    - Fixed false trigger of the expanded vehicle separation aura buffer: heavy repulsion now triggers as intended only when three or more vehicle hulls physically collide.
Version: 2.1.54
Date: 2026-11-19
  Changes:
    - Cleaned up fleet management GUI: simplified tab captions, removed emojis, and streamlined vehicle list tooltips.
  Bugfixes:
    - Fixed convoy vehicles grouping into a single point upon arrival instead of dispersing across destination parking slots.
  Optimizations:
    - Refactored formation and destination slot generation logic.
Version: 2.1.53
Date: 2026-11-19
  Features:
    - Added route smoothing (string-pulling) for engine paths, removing zigzag stairs across open terrain.
    - Added two-stage pathfinding on group start: ignores vehicles with re-validation, preventing huge detour loops.
    - Path line is now dynamically attached from the vehicle hull to its target waypoint.
  Changes:
    - Replaced waypoint pruning algorithm: fixed false reversing turns on start and incorrect path shortcuts on complex convoy trajectories.
    - Lowered aura sensitivity threshold between allied vehicles to instantly push apart mutual jams.
Version: 2.1.52
Date: 2026-11-17
  Optimizations:
    - Fixed significant FPS drops and stutter when ordering vehicle groups around obstacles.
  Changes:
    - Small vehicle groups (2 to 7 vehicles) now synchronize their departure to start moving together.
Version: 2.1.51
Date: 2026-11-16
  Features:
    - Added an additional pathfinding stage: direct bypass of single obstacles.
  Changes:
    - Replaced square raycast corridor with an oriented capsule corridor, eliminating false collisions on diagonal movement.
Version: 2.1.50
Date: 2026-11-16
  Changes:
    - Limited pathfinding attempts: no more endless loops trying to escape an island (jokes aside).
    - Improved search for alternative start and finish points: obstacles right against the vehicle are practically ignored, closer exit points added, and rescue mode is used only if all routes fail.
    - Hull micro-nudge to depart from obstacles now triggers strictly after a valid route is found and confirmed.
  Optimizations:
    - Improved driving performance and fixed the lag spike when clicking large groups of vehicles in convoy mode.
    - Major refactoring and cleanup (-1500 lines of old code): finally cleaned out legacy generators, sensors, grids, and fuel caching.
  Features:
    - Added a mod setting to disable the fallback 8x2 equipment grid for vehicles that don't have their own grid.
Version: 2.1.49
Date: 2026-11-14
  Changes:
    - Scaled formation destination markers to match physical vehicle dimensions.
    - Reduced obstacle clearance buffer to 0.5 tiles, allowing vehicles to park closer to structures.
  Bugfixes:
    - Fixed new movement orders not cancelling pending path calculations, causing vehicles to freeze or follow outdated routes.
    - Fixed quickbar squad remotes losing assigned vehicles after reloading the game.
    - Fixed pathfinding failure when vehicles start with an obstacle directly against their hull.
    - Fixed premature order cancellation while groups were still en route in normal drive mode.
Version: 2.1.48
Date: 2026-11-14
  Features:
    - Added cursor icons with vehicle counts on semi-transparent slot backgrounds when holding the remote control.
    - Added ability to place remote control on the quickbar to create numbered squads (1-9) that remember their vehicles until removed from the quickbar.
Version: 2.1.47
Date: 2026-11-13
  Bugfixes:
    - Fixed patrol loops including the vehicle's initial start position in the cyclic route.
    - Fixed vehicles reversing after stopping at destination when the Vehicle Control Fix mod is active.
Version: 2.1.46
Date: 2026-11-11
  Features:
    - Added detailed control hints and key combinations to the remote control and shortcut button tooltips.
  Changes:
    - Changed patrol route looping hotkey strictly to Ctrl + Shift + RMB.
  Bugfixes:
    - Fixed spidertrons suddenly braking and losing momentum when redirected on the move.
Version: 2.1.45
Date: 2026-11-11
  Features:
    - Added a mod setting for obstacle clearance buffer to allow vehicles to pass through narrow gaps in walls.
  Changes:
    - Adjusted pathfinding vehicle bounding box to a rotation-invariant square based on hull size.
Version: 2.1.44
Date: 2026-11-11
  Changes:
    - Complete refactoring of the waypoint and patrol subsystem.
  Bugfixes:
    - Fixed convoys generating winding detour paths to destination spots across clear terrain.
    - Removed legacy vehicle weapon tracking and fixed related bugs.
Version: 2.1.43
Date: 2026-11-05
  Major Features:
    - Added interactive wait waypoints with in-world countdown timers configurable directly via LMB/RMB without GUI windows.
    - Comprehensive escort mode overhaul: single-click assignment via remote control on character or vehicles, vehicle-to-vehicle escort binding with idle hibernation, and real-time ground formation preview in GUI.
  Features:
    - Added wave-based group departures: large formations now depart row-by-row with dynamic delay scaling (0.1s to 1.0s) based on fleet size.
    - Added shadow follow submode prototype for vehicle escort formations.
  Scripting:
    - Added universal script remote interface (rts_control) enabling other mods to use AutoDrive as an execution backend for vehicle commands (movement, waypoints, patrol, escort).
  Changes:
    - Improved integration with HelicopterRevival mod.
    - Selecting empty ground or unfueled vehicles now clears the remote's remembered vehicle group to prevent misdirecting previous units.
    - Removed all redundant follow submodes in favor of a single unified configurable escort formation.
    - Removed artificial speed, turning, and deceleration limits for aircraft; flying vehicles now bank smoothly through turns.
    - Disabled convoy grouping mode for aircraft and spidertrons.
    - Updated path rendering with clean lines and distinct node dots.
    - Added mod setting for vehicle autopilot recoloring (disabled by default) and removed redundant status text overlays.
    - Replaced active vehicle registry with an ephemeral lifecycle; full fleet table now displays all vehicles without performance impact.
    - Removed legacy active vehicle camera tracking and map view.
    - Upgraded target exclusively to Factorio 2.1 (dropped Factorio 2.0 support).
    - Many improvements and changes that I didn't remember =)
  Optimizations:
    - Disabled dynamic convoy cruise speed regulation for large groups (over 8 vehicles) to maintain high performance.
    - Removed legacy debug log parser, eliminating game loading delays in large modpacks.
  Bugfixes:
    - Fixed spidertron momentum loss and stuttering when redirected in transit.
    - Prevented dummy passenger duplication and boarding sound spam during vehicle state changes.
    - Fixed dummy passengers being ejected and remaining on the ground when vehicles are destroyed or removed.
Version: 2.0.42
Date: 2026-10-26
  Bugfixes:
    - Fixed mod load crash with SchallTransportGroup due to missing equipment subgroup.
  Changes:
    - Moved autopilot sensors to the standard combat equipment subgroup alongside all other vehicle modules.
Version: 2.0.41
Date: 2026-10-24
  Changes:
    - Changed default settings for route and patrol path visualization to enabled.
Version: 2.0.40
Date: 2026-10-24
  Bugfixes:
    - Fixed crash when a convoy of two vehicles reaches destination or final parking.
Version: 2.0.39
Date: 2026-10-22
  Changes:
    - Removed the AI status visualizer equipment module; visual indicators (status rings, stuck arcs, rescue scanner) now toggle directly via mod settings.
    - Removed Pi-C_lib dependency (mod is now fully standalone).
    - Changed default speed limits for single vehicles and convoys from 150 km/h to 100 km/h.
    - Increased default formation spacing padding between vehicles from 1 to 2 tiles.
  Optimizations:
    - Optimized vehicle aura by disabling continuous background rescue scans.
    - Optimized convoy cruise control performance with batched checks.
    - Removed redundant per-tick obstacle scanning ahead of moving vehicles to improve group transit performance.
    - Optimized dummy passenger management during movement with an event-driven guard, eliminating duplicate per-tick API calls.
    - Removed obsolete legacy terrain friction calculations and per-tick surface polling in vehicle speed regulation.
    - Fixed vehicles crawling on natural terrain by eliminating obsolete compounded friction slowdowns.
    - Throttled in-transit fuel checks to once per second with staggered polling to improve group driving performance.
Version: 2.0.38
Date: 2026-10-20
  Optimizations:
    - Cleaned up obsolete legacy code, unused settings, and redundant background event listeners.
Version: 2.0.37
Date: 2026-10-19
  Optimizations:
    - Codebase cleanup and removed idle background tick overhead.
Version: 2.0.36
Date: 2026-10-19
  Bugfixes:
    - Fixed crash on game load or mod update when vehicle logistics technology was researched.
Version: 2.0.35
Date: 2026-10-18
  Bugfixes:
    - Fixed vehicles being physically blocked by ejected dummy passengers during movement.
  Optimizations:
    - Cleaned up obsolete legacy combat code from vehicle grid logic.
Version: 2.0.34
Date: 2026-10-15
  Bugfixes:
    - Fixed crash when vehicles in a group are destroyed or removed during formation movement orders.
Version: 2.0.33
Date: 2026-10-14
  Optimizations:
    - Removed unused legacy path post-processing algorithms and redundant settings, keeping route segmentation for smooth line fading.
Version: 2.0.32
Date: 2026-10-14
  Changes:
    - Added 1-second convoy start delay for queued orders.
  Bugfixes:
    - Fixed convoy follower vehicles gathering at the departure point through obstacles instead of taking safe detour routes.
    - Improved convoy vehicle dispersal and parking at destination spots, reducing traffic jams and route blocking.
Version: 2.0.31
Date: 2026-10-13
  Features:
    - Remote control unit now remembers the last selected vehicle group.
  Changes:
    - Increased destructible obstacle pathfinding penalty from 3 to 40 so vehicles detour around trees and rocks.
    - Removed straight-path priority flag to allow better obstacle detours.
    - General codebase refactoring and cleanup.
  Optimizations:
    - Optimized vehicle formation layout calculation function.
    - Optimized active vehicle list processing by eliminating redundant calculations.
    - Optimized pathfinding functions and request routines.
Version: 2.0.30
Date: 2026-10-11
  Modding:
    - Added preparatory remote interface support for HelicopterRevival mod integration.
Version: 2.0.29
Date: 2026-10-09
  Bugfixes:
    - Fixed fleet filter buttons overflowing and stretching the vehicle table width.
    - Fixed crash on configuration change when initializing vehicle fleet filter GUI.
Version: 2.0.28
Date: 2026-10-09
  Changes:
    - Unified obstacle collision classification into a single centralized system.
    - Improved direct pathfinding to accurately respect physical building boundaries and orientations.
    - Removed legacy rail collision workarounds.
  Bugfixes:
    - Fixed pathfinding and direct routes cutting through elevated rail ramps and bridge supports.
    - Fixed crash on chunk generation if a vehicle becomes invalid.
Version: 2.0.27
Date: 2026-10-09
  Optimizations:
    - Optimized vehicle auto-combat module with additional caching of spawners and worms.
Version: 2.0.26
Date: 2026-10-09
  Optimizations:
    - Fast native nearest-enemy search for vehicle auto-combat when target priorities are identical.
  Changes:
    - Target priorities can now be configured identically to ignore priority scoring, defaulting to equal priority.
Version: 2.0.25
Date: 2026-10-09
  Optimizations:
    - Additional optimization of the vehicle auto-combat module.
Version: 2.0.24
Date: 2026-10-09
  Optimizations:
    - Performance optimizations for vehicle auto-combat module and enemy search scheduling.
  Changes:
    - Changed default vehicle formation spacing to 1 hull and 1 tile buffer.
Version: 2.0.23
Date: 2026-10-07
  Combat:
    - Vehicle auto-combat module now scales weapon range with quality bonuses.
    - Increased enemy sensor activation range from 40 to 80 tiles.
  Graphics:
    - Updated mod thumbnail with a cleaner and brighter design.
  Changes:
    - Opening the fleet management window no longer forces the remote control into the cursor.
    - Reduced delay before repairing the final percent of vehicle health in combat to 0.5 seconds to prevent HP flickering.
Version: 2.0.22
Date: 2026-10-06
  Graphics:
    - Updated remote control icon.
    - Updated mod thumbnail.
Version: 2.0.21
Date: 2026-10-05
  Combat:
    - Support for Shift + click for vehicle auto-targeting module.
    - Weapon target filter buttons now support right-click to select only that category (left-click toggles).
Version: 2.0.20
Date: 2026-10-04
  Combat:
    - Smart pinpoint distribution for capture rockets and utility ammunition (1 rocket per spawner instead of entire drum volley).
  Changes:
    - Clarified weapon filter tooltips to specify melee and ranged enemy units instead of biters and spitters.
    - Refactored auto-combat targeting logic.
Version: 2.0.19
Date: 2026-10-04
  Bugfixes:
    - Fixed crash when vehicles under autopilot navigate in close proximity to other vehicles.
Version: 2.0.18
Date: 2026-10-03
  Features:
    - Added "Other" target filter category to enemy sensors to automatically catch unclassified enemy types and modded hostiles.
    - Made target filter selection for enemy sensors more flexible with per-weapon category toggles.
  Combat:
    - Cursor target priority mode now engages targets using all available vehicle weapons, ignoring configured target filters.
    - Prevented automatic weapon switching while manual shooting override is active.
    - Switching weapons via "Next weapon" key now also activates temporary manual shooting override.
Version: 2.0.17
Date: 2026-10-02
  Bugfixes:
    - Fixed vehicles treating transport belts, floor markings, and floor lamps as obstacles.
Version: 2.0.16
Date: 2026-10-02
  Bugfixes:
    - Fixed crash when external mods replace vehicles with non-vehicle units or pilots.
    - Fixed vehicle control conflict with AAI Programmable Vehicles by completely yielding control to AAI.
    - Fixed AAI remote controller inadvertently triggering AutoDrive vehicle orders.
Version: 2.0.15
Date: 2026-10-02
  Features:
    - Added vehicle category and model filter buttons to the fleet management GUI.
Version: 2.0.14
Date: 2026-10-01
  Bugfixes:
    - Fixed vehicle health bar flickering when repairing under continuous damage by keeping health just below max during combat and smoothing repair speed above 90% HP.
    - Fixed ammo category selector stretching the window horizontally when multiple ammo categories are available.
Version: 2.0.13
Date: 2026-10-01
  Changes:
    - Updated mod thumbnail.
Version: 2.0.12
Date: 2026-09-30
  Features:
    - Display loaded ammo item icon or empty ammo slot icon next to each vehicle weapon in targeting GUI.
    - Added real-time dynamic refresh for weapon ammo icons and repair pack status/warnings while vehicle GUI is open.
Version: 2.0.11
Date: 2026-09-30
  Bugfixes:
    - Fixed crash when entering or leaving non-car vehicles (trains, cargo ships, rolling stock).
Version: 2.0.10
Date: 2026-09-30
  Bugfixes:
    - Fixed crash when installing equipment or sensors into unarmed vehicles.
Version: 2.0.9
Date: 2026-09-29
  Features:
    - Added interactive weapon priority ranking (1..N buttons per weapon) in enemy sensor targeting GUI with automatic rank shifting.
    - Added priority-based weapon selection in combat: vehicles automatically switch to higher-priority weapons when targets enter their effective range.
  Combat:
    - Fixed weapon and target priority selection: vehicles now prioritize attacking bases over biters across all guns when target priority is set to bases.
    - Fixed parasitic and accidental shots from disabled weapons and wrong barrels during drum rotation and target switching.
    - Fixed the Spidertron auto-fire module.
Version: 2.0.8
Date: 2026-09-28
  Bugfixes:
    - Fixed harmless phantom worms with no collision or attacks spawning in biter nests (leftover dummy prototype from old test code).
Version: 2.0.7
Date: 2026-09-28
  Bugfixes:
    - Fixed crash when remote driving a vehicle equipped with an enemy sensor.
Version: 2.0.6
Date: 2026-09-27
  Balancing:
    - Rebalanced vehicle repair bot energy consumption to 10 kJ per 1 HP (half of personal energy shields).
  Combat:
    - Activated instant manual weapon override strictly on forced fire key press (C) without double-click.
    - Kept auto-targeting continuously active for player-occupied vehicles to guarantee misclick protection.
  Features:
    - Added explicit warning and full-line tooltip when vehicle trunk has no repair packs.
    - Added global mod setting for vehicle repair bot energy consumption per 1 HP.
Version: 2.0.5
Date: 2026-09-27
  Changes:
    - Moved AutoDrive sensor and module recipes from the transport section to the equipment subgroup under the combat tab.
  Bugfixes:
    - Fixed crash on game load caused by trigger-based technologies without science packs (nil tech.unit).
  Graphics:
    - Updated vehicle repair bot icons with a design inspired by Aeon Illuminate engineers from Supreme Commander.
Version: 2.0.4
Date: 2026-09-27
  Features:
    - Added mod settings for formation spacing (gap multiplier and extra padding).
Version: 2.0.3
Date: 2026-09-26
  Bugfixes:
    - Fixed multiplayer connection error (script-event-mismatch) caused by event handler and filter desync.
Version: 2.0.2
Date: 2026-09-26
  Bugfixes:
    - Fixed vehicle logistics enabling without logistic sensor installed.
    - Fixed manual logistics toggle being overridden when reopening vehicle GUI.
Version: 2.0.0
Date: 2026-09-26
  Compatibility:
    - Target Factorio version: 2.1
  Major Features:
    - Complete RTS Vehicle Control Overhaul:
      * Unified Remote Control tool compatible with all vehicle prototypes (cars, tanks, spidertrons, modded vehicles).
      * Intuitive selection box and direct right-click movement orders.
      * Command Queue (Shift + RMB): Chain sequential waypoints and multi-stop travel routes.
      * Cyclic Patrol Orders (Ctrl + Shift + RMB): Automated continuous patrol routing between designated points.
      * Convoy and Escort Dynamics: Follow-the-leader formation movement and long-range group navigation.
    - Unified Vehicle Separation Aura:
      * Smooth non-teleporting physics: Micro-pushes and drift vectors prevent vehicles from overlapping.
      * Zero teleport jumps: Natural separation and unjamming without visual stutter or game-breaking clipping.
      * Intelligent Reverse Maneuvering: Autonomous backward steering and redirection when encountering obstacles.
    - High-Performance Decision-Tree Pathfinding:
      * Direct Clear Path (<= 300 tiles): Instant raycast validation bypassing heavy pathfinder calls.
      * Gate Cluster Pathfinding: 3-stage gate cluster detection navigating vehicles through friendly gates.
      * Native C++ A* Fallback: Asynchronous engine path requests for long distances and complex terrain mazes.

  Combat:
    - Smart Enemy Sensor & Targeting System:
      * Independent per-weapon target filtering: Toggle target priorities (Units vs Spawners) per weapon slot.
      * Safe Nuclear Spidertron: Prevent self-destructive point-blank nuclear rocket fire by restricting launcher slots to enemy spawners.
      * Manual Shooting Override: Double-tap fire key ('C') temporarily grants full manual weapon aiming control.
      * Staggered Drum-Fire Cadence: Sequential multi-barrel weapon firing respecting weapon cooldown and warmup parameters.
      * Focus Target Targeting: Crosshairs indicate locked targets with dynamic leading calculation for projectiles.

  Equipment:
    - Onboard Vehicle Repair Bots:
      * Standard 2x2 and compact 1x1 mini modules repair vehicle hull using repair packs from trunk and grid power.
      * Fully balanced repair rate comparable to vanilla energy shields, scaling with Factorio 2.0 quality levels.
    - Autonomous Fuel & Ammo Sensors:
      * Automatic vehicle refueling from cargo inventory.
      * Autonomous restocking of suitable ammo categories into weapon magazines.
    - Logistic Network Integration:
      * Fully integrated personal logistic requests and auto-trash sections for vehicles parked in logistic network coverage.
    - Obstacle Cleaver Module ("Tree & Rock Cutter"):
      * Automated detection and laser incineration of obstructive trees and rocks directly on the travel path.
    - AI State Thought Visualizer:
      * Projected ground status rings rendering active vehicle state (Pathing, Moving, Unjamming, Target Lock, Idle).

  Accessibility & Customization:
    - Colorblind Accessibility:
      * Full palette customization for path lines, patrol routes, combat crosshairs, stuck arcs, and AI status rings.
    - Path Visual Customization:
      * Configurable line thickness, dash lengths, and rendering toggles for minimalist visuals.
    - Quick Remote Hotkey:
      * Triple-tap 'Q' with empty hand instantly pulls the AutoDrive Remote Control into player cursor.

  Balancing:
    - Realistic Impact Physics:
      * Removed legacy magic repair mechanics on vehicle collisions; hull damage strictly follows native Factorio engine physics.