VOSAN Logo
Apps & Tools

Tandem Ghost- The Ultimate Solo Drift Training Tool

IDDL
IDDL VOSAN+ Subscriber
Published on Feb 6, 2026 Updated on Sep 15, 2026
/
Master the art of tandem drifting without waiting for a partner.
TandemGhost v2.0 is a premium Lua script for Assetto Corsa (CSP) that revolutionizes solo practice. Whether you want to chase your best run or learn to lead a pack, this tool creates a hyper-realistic ghost that interacts with you in real-time.

Why you need this:
This isn't just a replay; it’s a simulation. The ghost has physics, sound, smoke, and lights. It reacts to the environment and looks exactly like a real player.

🌟 Key Features
1. Chase Mode (Perfect Your Follow)

High-Precision Recording: Captures your lead run (position, rotation, inputs, RPM, drift angle) every ~16ms for 1:1 accuracy.

Smart Playback: Uses binary search + linear interpolation (Lerp) for butter-smooth ghost movement.

Auto-Loop: The ghost automatically resets and loops, allowing for continuous practice.

Proximity HUD: A dynamic "Door-to-Door" distance bar gives you real-time feedback:

[DANGER] [CLOSE] [PERFECT] [GAP] [FAR]

2. Lead Training (Mirror Mode)

Next-Gen Following: Unlike basic scripts that just delay time, v2.0 uses Path Distance. The ghost maintains a specific physical distance (in meters) behind you, regardless of how fast or slow you drive.

Customizable: Tweak the Follow Gap, Minimum Gap, and Reaction Time to simulate aggressive or relaxed chasers.

3. Tandem Pair (Drift Trains)

Formation Flying: Spawn a second ghost that follows the first one.

Visuals: Watch a 2-car formation drift while you spectate or join in as the third car. The second ghost supports its own unique skin.

4. The Ghost Renderer (Visual Fidelity)

Full Model Loading: Loads the actual KN5 model of any car.

Complete Animation:

Wheels (Spin, steer, camber).

Steering Wheel: The driver's internal steering wheel rotates perfectly.

Brake Discs & Calipers: Heat up and rotate.

Wipers: Animated support (ksanim or manual rotation).

Advanced Lighting:

Headlights (Left/Right LightSource) & Taillights.

Brake Lights: A completely independent system (works even if headlights are off).

Environmental Effects:

Dynamic Wetness: The ghost's tires don't get wet when it rains.

Ground Snapping: Raycast physics ensure wheels sit perfectly on the tarmac (no floating) with anti-teleport smoothing.

Shadows: Fake blob shadows for depth.

Particles: Tire smoke and engine sounds (FMOD) fully synced.

5. Replay Sync

Watch your tandems in the official Assetto Corsa Replay mode. The ghost is fully visible and synchronized during replays.

6. Quality of Life

Save/Teleport: Save your starting position and teleport back instantly with a hotkey (includes option to auto-reset the ghost).

File Management: Import/Export ghost files via URL (Dropbox/Drive), rename, or delete directly in-app.

Tutorial: An interactive 8-step guide walks you through the features on the first launch.

Installation - Drag and drop to content manager
Version 0.1

February 14, 2026

TandemGhost v2.0 is a complete rewrite of the original pldTandemGhost script. The codebase has expanded significantly (Renderer alone is now 4485 lines of code) to support full physics simulation, visual fidelity, and stability.

🏗️ Architecture & Core Changes
Storage Migration: Recordings now save to data/<trackId>/ inside the app folder (instead of ScriptConfig). Includes automatic migration for old files.

Timing System: Switched from os.preciseClock() to state.recordingElapsed += dt. This makes playback immune to game pauses and frame drops.

Mirror Mode Logic:

Old: Time-based delay (e.g., ghost is 1.5 seconds behind).

New: Path-Distance Following. The ghost now calculates distance along the spline. It stays exactly X meters behind you (configurable), solving the issue where ghosts would crash into you during slow corners.

Replay System: Completely unlocked. The ghost logic now runs during AC Replays using nearest-neighbor search + segment interpolation.

🚀 New Features (v2.0 Exclusive)
Replay Sync: Ghost is now visible and accurate in replays.

Visual Overhaul:

Headlights/Taillights: Full parsing of lights.ini with emissive glow shaders.

Brake Lights: Separate logic system; lights trigger on deceleration/brake input.

Steering Wheel: STEER_HR node animation synced to ghost steering angle.

Wipers: Animation support added.

Rain/Wetness: Shaders react to Sol/Pure weather data.

Fake Shadow: Implemented blob shadow under the car.

Physics & Interaction:

Raycast Ground-Snapping: Wheels now conform to the terrain heightmap.

Anti-Teleport Smoothing: Interpolation prevents visual "snapping" when the loop resets.

ClearMotion: Disables motion blur frames during teleports to prevent "smearing" artifacts.

Data Parsing: Script now reads data.acd to automatically fetch steer lock, wheel radius, track width, and wheelbase for perfect alignment.

UI & UX:

Ghost Preview: New orbital camera in the "Ghost" tab to view the model/skin.

Tutorial: 8-step interactive walkthrough.

Save/Teleport: With disk persistence and "Reset Ghost on Teleport" config.

Random Skins: Ghost spawns with a random skin on playback start.

❌ Removed / Deprecated
Skidmarks: enableSkidmarks and associated rendering functions removed for performance optimization.

Presets: The old preset system has been replaced by the new file management system.

Cars Tab: Merged into the "Ghost" customization tab.

Config: showDriver is no longer a config option; it is managed internally by the renderer.

💻 Renderer Evolution
The renderer has grown from a simple model drawer to a complex engine.

Old: Basic drawGhostCar, simple smoke/sound updates.

New:

Dedicated updatePosition phase separate from rendering.

Full ini file parsing (car, suspensions, tyres, lights).

Smoothing algorithms (Y_SMOOTH_SPEED) for terrain handling.

Custom HLSL shaders for light glow and wetness.

Multi-ghost support (Tandem Pair uses a fully independent second renderer instance).
DCBB
DCBB Buyer 4 months ago

cant un zip the file

bleachflyfly@gmail.com
[email protected] Buyer 6 months ago

You can watch the tandem replay with the ghost, but after saving and reloading the replay, only your own car remains.

vakhto1998
vakhto1998 Buyer 6 months ago

It won't turn on and why?

mrmanguy
mrmanguy Buyer 7 months ago

absolutely awesome, i very much recommend this mod, the author of this is awesome too!

/

Share this post

Or copy link

Join the Community

Unlock the full potential of VOSAN with a free account.

User Profile

Your personalized drift identity.

Less ads

Enjoy a cleaner experience as a member.

Access the VOSAN Feed

See what's happening in the community.

Favorite Mods

Save your favorite mods to find them easily.

Leave Feedback

Rate and comment on your favorite creations.

Sign Up for Free
Already have an account? Login