Jump to content

IndexCase

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am a VR user, and i needed a bridge between my two favorite tools, so i made one. I made a python script that converts the content from the scratchpad mod to generate a file that The Way can import. You put the script in the DCS saved games scratchpad folder, right next to 0000.txt and run it.It runs until you stop it and listens for changes in the scratchpad file. If you use the scratchpad functionality to pick coordinates off the f10 map the script will see the change and write a file called scratchpad.tw. You can import this file with The Way. It will run constantly and look for changes in 0000.txt. If you want to name a waypoint you need to put WP: followed by the name in the line above the captured coordinate block, otherwise it will default to WAYPOINT0, WAYPOINT1, WAYPOINT2 and so on. so for instance: WP:Ingress N 34°00'42.28", E 35°45'11.23" N 34°00.7047', E 35°45.1872' 36 S YC 54246 66876 1388m, 4552ft Will be translated into the scratchpad.tw file as. [{"id":2,"name":"Ingress","lat":34.011744444,"long":35.753119444,"elev":1388.0}] Which you can then use for the "From a file" function in The Way Feel free to use it. Dont go to crazy with what you put in the scratchpad, but it should ignore single lines and skip blocks that dont have LAT/LONG and Elevation in them. The file is attached and also available at: https://pastebin.com/R0zQZgV8 scratchpad_theway.py
×
×
  • Create New...