TrailMap is a Union plugin for Gothic I/G1A/G2/G2NotR that creates a heatmap overlay on the in-game map showing where you've been. The plugin tracks your movement and displays visited areas with color-coded markers, helping you explore the world more efficiently and visualize your journey through each chapter. This plugin is based on ItemMap by Sefaris.
https://www.youtube.com/watch?v=iu_8aKg0qiU
- Real-time Movement Tracking: Automatically records your position as you explore the world
- Heatmap Visualization: Color-coded markers show visited areas (light green = few visits, dark green = many visits)
- Chapter-based Filtering: View trails from specific chapters or all chapters combined
- Step Counter: Tracks total steps taken per chapter
- Persistent Data: Trail data is saved with each savegame in TRAILMAP.SAV file
- Customizable Grid: Adjustable cell size and color intensity
- Multi-Game Support: Compatible with Gothic I Classic, Gothic I Addon, Gothic II Classic, Gothic II NotR
- Union Menu Integration: Configure all settings directly from Union menu
- Download the latest release from the Releases page
- Extract
TrailMap.vdfto your[Gothic]\Data\Pluginsfolder - Launch Gothic - the plugin will load automatically
- Open Map: Press your map key (default: M)
- F9: Toggle heatmap overlay on/off
- F10: Toggle info panel on/off
- Home/End: Cycle through chapter filters
The plugin offers several filtering modes accessible via Home/End keys:
- All: Show trails from all chapters
- Current: Show only trails from current chapter
- Chapter 1-9: Show trails from specific chapter
- Off: Hide all trails
The filter automatically skips chapters higher than your current chapter (e.g., if you're in Chapter 3, only All, Current, Ch1, Ch2, Ch3, and Off are available).
The left panel displays:
- Cells: Number of unique grid cells visited
- Steps: Total steps taken (per chapter)
- Current Filter: Active filter mode
- Keybindings: Quick reference for controls
- Launch the game
- Go to Main Menu → Options → Union
- Find "TrailMap" in the list
- Configure options:
- Enabled: Toggle the plugin on/off
- GridSize: Size of tracking cells in game units (default: 1000)
- MaxVisitsForColor: Number of visits for maximum color intensity (default: 10)
- ShowHeatmap: Show/hide heatmap markers
- ShowPanel: Show/hide info panel
- TransparentPanel: Make panel semi-transparent
| Option | Description | Default | Range |
|---|---|---|---|
Enabled |
Enable/disable the entire plugin | On | - |
GridSize |
Size of grid cells in game units | 1000 | 100+ |
MaxVisitsForColor |
Visits needed for darkest color | 10 | 1+ |
ShowHeatmap |
Display heatmap overlay | On | - |
ShowPanel |
Display info panel | On | - |
TransparentPanel |
Semi-transparent panel | Off | - |
- The world is divided into grid cells based on
GridSize - Each time you move 100 units, your position is recorded
- If you enter a new grid cell, a visit is recorded for that cell in the current chapter
- Cells can be visited multiple times, increasing their color intensity
- Transparent: Never visited
- Light Green: Few visits (1-2)
- Medium Green: Moderate visits (3-5)
- Dark Green: Many visits (6-10+)
The color intensity is calculated as: intensity = visits / MaxVisitsForColor
- Lower
MaxVisitsForColor= faster color darkening - Higher
MaxVisitsForColor= slower, more gradual color changes
- Steps are counted per chapter
- One step = moving 100 game units
- Steps are tracked separately from cell visits
- Useful for speedrunning or tracking exploration efficiency
Trail data is stored in [SaveFolder]\TRAILMAP.SAV for each savegame:
- Uses Gothic's native zCArchiver format (ASCII mode)
- Automatically saved when you save the game
- Automatically loaded when you load a savegame
- Each savegame has independent trail data
The plugin stores:
- Grid cell coordinates (gx, gz)
- Visit counts per chapter for each cell
- Total step count per chapter
- Grid size used for recording
- Gothic I Classic: ✅ Supported
- Gothic I Addon: ✅ Supported
- Gothic II Classic: ✅ Supported
- Gothic II NotR: ✅ Supported
- The Chronicles Of Myrtana: Archolos: ✅ Supported (9 chapters)
- Other Total Conversions: ✅ Supported (up to 9 chapters)
- Vanilla Mods: ✅ Supported
- Visual Studio 2019 or later
- Union SDK v1.0m
- C++11 or later
- Clone this repository
- Copy ZenGin folder from Union SDK to
TrailMap/ZenGin/ - Open
TrailMap.slnin Visual Studio - Select "MP x4 MT Release" configuration
- Build the solution
- Find the compiled DLL in the
Bin/folder
- Plugin Author - Raster96
- Union Team - For the excellent Union SDK framework
- ItemMap - For map overlay inspiration and texture assets
- Gothic Community - For continued support and testing
MIT License
- Ensure
TrailMap.vdfis in the correct folder:[Gothic]\Data\Plugins - Check that Union is properly installed
- Verify Gothic version compatibility
- Check that texture files are included in the VDF
- Press F9 to toggle heatmap visibility
- Ensure you've moved around enough to record visits
- Check that filter is not set to "Off"
- Verify
ShowHeatmapis enabled in Union menu
- Press F10 to toggle panel visibility
- Check that
ShowPanelis enabled in Union menu - Ensure you're viewing the map (press M)
- Verify you're saving the game properly (not quick-loading)
- Check that savegame folder has write permissions
- Ensure
Enabledis On in Union menu - Look for TRAILMAP.SAV file in your savegame folder
- Increase
GridSizeto reduce number of tracked cells - Disable
ShowPanelif not needed - Consider clearing old trail data by starting a new game
- Ensure TRAILMAP_BACKGROUND.TGA and TRAILMAP_MARKER.TGA are in the VDF
- Check that textures are in
_work/Data/Textures/_compiled/folder - Verify texture files are compiled (.TEX format)
This is a community project. Feel free to:
- Report bugs in the Issues section
- Submit improvements via Pull Requests
- Share feedback and suggestions
- Test with different Gothic versions and mods
- Discord: raster96
- v1.0.1 - Dynamic cell sizing & texture rename
- Heatmap dot size is now calculated dynamically from the world-to-map ratio
- Cells display correctly on all maps (world, city, custom mod maps)
- Eliminated gaps between adjacent cells on CoM and rotated maps
- Removed obsolete DotSize setting from Union menu
- Renamed textures from ITEMMAP_* to TRAILMAP_* to avoid conflicts with ItemMap plugin
- v1.0.0 - Initial release
- Real-time movement tracking
- Chapter-based filtering with smart chapter detection
- Heatmap visualization with color intensity
- Per-chapter step counter
- Persistent data storage in savegames
- Union menu integration
- Customizable grid size and colors
- Support for all Gothic versions and mods