Jump to content

Recommended Posts

Posted

Hello,

 

I need to retrieve by script city & town absolute coordinates, to build a table at each mission start that will represent a database of all urban areas of the scenery. I thought that having the coordinates of the town's names would be ideal, but I did not understand where those information are kept.

 

Any help?

 

thanks so much!

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Github for latest version: https://github.com/Chromium18/DSMC

Posted

I know most of the data like the orange boundaries of the towns you see in the mission editor are likely saved somewhere in the terrain files. However there is a file somewhere that I think is used by the ABRIS on the Ka-50 to search town names. For nevada its in Nevada/Map/towns.lua. For the Caucuses the file is just in the CaucusBase root folder. The cities are simply defined by Lat/Long coordinates.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...