Skip to content

feat(client): add MapDumper to export road network, nav graph, and heightmap - #5

Open
asean-coding-agent[bot] wants to merge 2 commits into
masterfrom
client-scripts-updates
Open

feat(client): add MapDumper to export road network, nav graph, and heightmap#5
asean-coding-agent[bot] wants to merge 2 commits into
masterfrom
client-scripts-updates

Conversation

@asean-coding-agent

Copy link
Copy Markdown

Add MapDumper.lua client script that exports the full road network, pre-built navigation graph, and landscape heightmap to a JSON file.

Usage

/dumpmap [filename] [heightmapSample=4]

Exported Data

  • Roads - All AMotorTownRoad actors with spline points, bounds, metadata
  • Navigation Graph - Pre-built routing graph nodes & edges from AMotorTownNavigation
  • Heightmap - Landscape elevation data (with configurable downsampling)

Files Changed

  • ClientScripts/MapDumper.lua (new)
  • ClientScripts/main.lua - require MapDumper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants