
A live minimap script for GTA V that tracks your position around the Top Gear UK Test Track. Inspired by nyconing’s Nurburgring Minimap, but adapted to ON3FLY3R’s Top Gear UK Test Track map. The track outline isn’t a rough approximation, it’s traced directly from real telemetry recorded driving a full lap of the circuit.
Features
– Accurate Track Layout: topgear.png is generated from real recorded telemetry, so the shape matches the actual circuit.
– Live Position Pin: A marker tracks your car in real time as you drive.
– Auto Show/Hide: The map only appears when you’re near the real circuit, just like the original Nurburgring mod, no clutter when you’re elsewhere on the map.
– Fully Configurable: Map/pin position and size, detection distance, and circuit offset are all set through TopGearMinimap.ini, no need to touch the code.
Requirements
– Script Hook V
– Script Hook V .NET (ScriptHookVDotNet3)
– Top Gear UK Test Track map installed
Installation
1. Make sure you have Script Hook V and ScriptHookVDotNet3 installed.
2. Install the Top Gear UK Test Track map mod.
3. Copy TopGearMinimap.cs, TopGearMinimap.ini and TopGearMinimap into your GTA V scripts folder.
4. Launch the game.
Configuration (TopGearMinimap.ini)
[Circuit]
OffsetX=0
OffsetY=0
OnTrackDistance=20
[Map]
PosX=0
PosY=-180
Width=500
Height=500
[Pin]
Width=6
Height=6
– OffsetX/OffsetY: Circuit displacement, in case the map mod ever gets moved in the GTA world (translation only, not rotation).
– OnTrackDistance: How close (in game units, approximately meters) the player needs to be to the circuit for the map to appear.
– PosX/PosY: top-left corner of the map on screen (reference resolution 1280×720).
– Width/Height: map size on screen.
– [Pin] Width/Height: size of the position marker.
– Use a dot (.) as the decimal separator, not a comma.
– If the file is missing or a value is invalid, the script warns on screen and falls back to the default for that field only.
– Reload scripts (or restart the game) after editing for changes to apply.
Usage
– Just drive, the map appears automatically once you’re on the circuit and disappears when you leave it.
Notes
– If the pin looks slightly off in a specific part of the track, let me know in the comments and I’ll look at adjusting it.
Credits:
Antthony_12



![Top Gear UK Test Track [Add-on SP/FiveM] V1.0 Top Gear UK Test Track [Add-on SP/FiveM] V1.0](https://gta5mod.net/wp-content/uploads/2023/02/Top-Gear-UK-Test-Track-150x150.webp)


![[Menyoo/XML] Figureight Top Speed Test Road 1.0 [Menyoo/XML] Figureight Top Speed Test Road 1.0](https://gta5mod.net/wp-content/uploads/2020/06/Figureight-Top-Speed-Test-Road-150x150.jpg)
![Redwood Track Dirt Track [FiveM / SP / YMAP] 1.1 Redwood Track Dirt Track [FiveM / SP / YMAP] 1.0](https://gta5mod.net/wp-content/uploads/2021/04/Redwood-Track-Dirt-Track-150x150.png)