Skip to content

Useful Tools

Lenny edited this page Jan 22, 2023 · 6 revisions

Coordinates

Sector coordinates can be converted from the coordinates in .ese files using the following regular expressions (in Visual Studio Code's Find/Replace function).

  • North & West
    • COORD:N0{0,1}([0-9]{2})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3}):W([0-9]{3})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3})
    • ["$1$2$3","-$5$6$7"],
  • North & East
    • COORD:N0{0,1}([0-9]{2})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3}):E([0-9]{3})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3})
    • ["$1$2$3","$5$6$7"],
  • South & West
    • COORD:S0{0,1}([0-9]{2})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3}):W([0-9]{3})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3})
    • ["-$1$2$3","-$5$6$7"],
  • South & East
    • COORD:S0{0,1}([0-9]{2})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3}):E([0-9]{3})\.([0-9]{2})\.([0-9]{2})\.([0-9]{3})
    • ["-$1$2$3","$5$6$7"],

Line Crossing Calculator

If you're creating sectors and need a tool for calculating the point of intersection between two lines (with each line defined by two VATGlasses-formatted coordinates), please feel free to drop @lennycolton a message.

Clone this wiki locally