Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

"Dynamic" maps?


Ken Greim
 Share

Recommended Posts

Ken Greim
Posted
Posted

Hi,

For KZAK, we're working on a small script that fetches the current SIGMETs and creates a new XML map depicting applicable SIGMETs; the idea being that a controller working that airspace would run the script before launching vatSys.

We've got it working as described, but one issue is that SIGMETs might expire during a controller's session. A few questions:

  1. Am I right that maps are loaded only at startup, so any changes to the XML while vatSys is running would have no effect? This seems to be the case from my testing.
  2. Is there any way to edit the maps via the plugin interface? I looked through the code of the example plugins I could find but they seemed limited customizing data labels and other scope elements, not the base maps.

Thanks!

Link to comment
Share on other sites

Jake Saw
Posted
Posted

Hi Ken

Yes maps from xml are only loaded at startup. Changing maps via the plugins is unsupported (it is actually possible, but hacky). Better to wait for vatSysServer when I'll support it properly.

Jake

Developer - vatSys

image.png.3cc3dde479bc419c580ca959161ce25e.png

Link to comment
Share on other sites

Ken Greim
Posted
Posted

Got it, thanks for the quick response Jake!

Link to comment
Share on other sites

 Share