rurounijones Posted July 7, 2020 Share Posted July 7, 2020 (edited) Ahoi all. If anyone has some time to kill, DCS scripting knowledge and would like to volunteeer to help the Overlordbot project then please keep reading. Background I am the developer of OverlordBot, an SRS enabled AWACS bot: https://gitlab.com/overlord-bot/srs-bot/-/wikis/Interaction and am currently working on an ATC implementation. The first version allows people to call into an airfield and request taxi at which point the bot will respond with instructions. e.g. For Anapa when runway 04 is active: Apron 1 Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via Mike Alpha,Apron 2 Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via Mike Alpha,East Apron Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via Echo Delta Mike Alpha, Cross Runway 2 2Echo Spots Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via Echo Delta Mike Alpha, Cross Runway 2 2Whiskey Spots Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via Whiskey Mike Alpha,Maintenance Area Clients on freq: DOLT 1-2 | RurouniJones Incoming: Anapa ground dolt 12. Ready to taxi. Outgoing: dolt 1 2, Anapa-Vityazevo Ground, Taxi to Runway 0 4 via November Whiskey Mike Alpha,In order for the bot to work we need to do airfield mapping for each airfield. This require someone(s) to map out the taxi points for a particular airfield so we can then add them to a navigation graph (e.g. https://git.io/JJL9f For Anapa 04 active). We need the Lat/Lon of these points as well so the bot can determine where someone is when they call in. It has been a long time since I have had to do DCS lua scripting so if someone has some spare time and can volunteer to do some scripting for the following request; it would be much appreciated. Request In order to reduce the amount of effort it will take to map out the airfields we want to give some tools to the people who will be doing it. Therefore write a script that: On mission start, reads a json file with the following format: https://gist.github.com/rurounijones/21d3735ce88e9acf10bd2b758761e6fa from a location of your choice (If one exists). For each ParkingSpot, Junction and Runway in the json file: Place an F10 map marker (using markToCoalition) at the appropriate position (json file is decimal lat/lon) and with the marker title set to the name of the ParkingSpot, Junction or Runway. Allow for export of all Map Markers to a machine readable format (not necessarily the above json config file although it would be nice, we can convert it later if necessary.) on command. e.g. If it is too much hassle to write back to the json then this would work: # Name lat Lon Charlie Mike, 45.00000, 37.000000 Apron 1, 45.50000, 37.100000Stretch goals: * A radio menu command that re-reads the file so that people can update the file and re-display while still in mission. * Read all json files in a directory and places their map markers. (Very optional, as would require writing back multiple config files with F10 markers associated to their parent airbase) This will allow mappers to do something like the following then export the data. Embedding the script in an empty mission and just sending the mission with some basic instructions (e.g. where to put the json files) would be the preferred deliverable. This isn't particularly difficult work I know but it is work in a domain I haven't touched for a while and when I have plenty of other things I can be working on. If no one can do it then I will get around to it. but if someone does have the time, great Edited July 7, 2020 by rurounijones Link to comment Share on other sites More sharing options...
Neon Posted July 9, 2020 Share Posted July 9, 2020 Ahoi all. If anyone has some time to kill, DCS scripting knowledge and would like to volunteeer to help the Overlordbot project then please keep reading. Background I am the developer of OverlordBot, an SRS enabled AWACS bot: https://gitlab.com/overlord-bot/srs-bot/-/wikis/Interaction and am currently working on an ATC implementation. The first version allows people to call into an airfield and request taxi at which point the bot will respond with instructions. e.g. For Anapa when runway 04 is active: In order for the bot to work we need to do airfield mapping for each airfield. This require someone(s) to map out the taxi points for a particular airfield so we can then add them to a navigation graph (e.g. https://git.io/JJL9f For Anapa 04 active). We need the Lat/Lon of these points as well so the bot can determine where someone is when they call in. It has been a long time since I have had to do DCS lua scripting so if someone has some spare time and can volunteer to do some scripting for the following request; it would be much appreciated. Request In order to reduce the amount of effort it will take to map out the airfields we want to give some tools to the people who will be doing it. Therefore write a script that: On mission start, reads a json file with the following format: https://gist.github.com/rurounijones/21d3735ce88e9acf10bd2b758761e6fa from a location of your choice (If one exists). For each ParkingSpot, Junction and Runway in the json file: Place an F10 map marker (using markToCoalition) at the appropriate position (json file is decimal lat/lon) and with the marker title set to the name of the ParkingSpot, Junction or Runway. Allow for export of all Map Markers to a machine readable format (not necessarily the above json config file although it would be nice, we can convert it later if necessary.) on command. e.g. If it is too much hassle to write back to the json then this would work: # Name lat Lon Charlie Mike, 45.00000, 37.000000 Apron 1, 45.50000, 37.100000Stretch goals: * A radio menu command that re-reads the file so that people can update the file and re-display while still in mission. * Read all json files in a directory and places their map markers. (Very optional, as would require writing back multiple config files with F10 markers associated to their parent airbase) This will allow mappers to do something like the following then export the data. Embedding the script in an empty mission and just sending the mission with some basic instructions (e.g. where to put the json files) would be the preferred deliverable. This isn't particularly difficult work I know but it is work in a domain I haven't touched for a while and when I have plenty of other things I can be working on. If no one can do it then I will get around to it. but if someone does have the time, great This is a bit beyond my skill level but by god I hope you get the help you need. That would be amazing. [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
davidp57 Posted July 9, 2020 Share Posted July 9, 2020 I'm on it ! Interesting project btw. Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
shu77 Posted July 9, 2020 Share Posted July 9, 2020 Really great project DCS needs more of these 'usability' mods incorporated into the core Hornet, Super Carrier, Warthog & (II), Mustang, Spitfire, Albatross, Sabre, Combined Arms, FC3, Nevada, Gulf, Normandy, Syria AH-6J i9 10900K @ 5.0GHz, Gigabyte Z490 Vision G, Cooler Master ML120L, Gigabyte RTX3080 OC Gaming 10Gb, 64GB RAM, Reverb G2 @ 2480x2428, TM Warthog, Saitek pedals & throttle, DIY collective, TrackIR4, Cougar MFDs, vx3276-2k Combat Wombat's Airfield & Enroute Maps and Planning Tools Link to comment Share on other sites More sharing options...
davidp57 Posted July 9, 2020 Share Posted July 9, 2020 First version, tell me if you want me to modify some things. https://github.com/VEAF/read-write-markers And the mission itself is attached to this post.read-write-markers_20200709.miz Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
rurounijones Posted July 10, 2020 Author Share Posted July 10, 2020 @davidp57. Thank you very much! I shall look at it as soon as I get home from work. Link to comment Share on other sites More sharing options...
rurounijones Posted July 10, 2020 Author Share Posted July 10, 2020 (edited) @davidp57 I ran the mission and all seems well and it highlighted errors in the JSON I had already created for Anapa which is a damn good way of proving the tool's worth! I might have come across some wierdness with reloading edited values but it only happened once and a mission restart was all that was needed so I didn't investigate. I will put together a wiki page on the OverlordBot wiki with a link to the mission and other details for the mappers to look it. It is possible they may run across some issues Thanks again for you work and volunteering your time. Edited July 10, 2020 by rurounijones stupid double line beaks Link to comment Share on other sites More sharing options...
davidp57 Posted July 10, 2020 Share Posted July 10, 2020 You're welcome ! I'm available for tasking (^^) should any need arise. Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze ! Link to comment Share on other sites More sharing options...
PravusJSB Posted July 11, 2020 Share Posted July 11, 2020 I do not have the time to take on the project as I have too many of my own but I don't mind consulting and assisting with how you need to code it, I can see how that can be done. Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb Link to comment Share on other sites More sharing options...
rurounijones Posted July 23, 2020 Author Share Posted July 23, 2020 davidp57 has done the job and all is well. This request is closed. Link to comment Share on other sites More sharing options...
Kappa-131st Posted August 11, 2022 Share Posted August 11, 2022 (edited) Overlord bot seem to be a game-changer! What DCS lacks the most, in my opinion, is being able to transmit coordinates (lat long) by radio, so that they are converted into vec2 / vec3 variables, and usable in any script! Thus, one could easily imagine missions where, for example, a pilot could command an AI artillery fire simply by transmitting coordinates by radio! Or have reconnaissance devices transmitting coordinates to a JTAC, which then redistributes these to attack devices! The transformation of oral coordinates by SRS into vec2/vec3 would open the door to really interesting dynamic missions Edited August 11, 2022 by Kappa-131st Link to comment Share on other sites More sharing options...
Recommended Posts