chump29 / DCS_Mod

Mods for DCS missions
MIT License
2 stars 0 forks source link

Briefing Addon - A-10 LASTE Wind Output, bug and request. #2

Open ValokAsura opened 9 months ago

ValokAsura commented 9 months ago

Hello, Chump!

Firstly, I want to thank you for making all of these mods. In particular, I always use the Briefing Addon script to add the A-10 Wind info to the mission briefing. It makes hog flying so much better!

I just recently downloaded the latest release as my old one starting throwing an error into the log and prevented my single-player missions from loading. That is fixed, but now I'm seeing another issue. On a couple of servers I've joined, my wind information displays as "NIL" in the mission briefing. I'm wondering if I messed something up, or if it's a bug you could look into.

Finally, a feature request. Could there be something added to the script that is editable with a true/false that would add logic to allow players to append the information to the briefing instead of replacing the info that is there by default? It would be nice to have in the rare events where your script might return "NIL" or I need to give someone info from the default briefing.

Thank you for your time!

NIL Wind Info

chump29 commented 9 months ago
ValokAsura commented 9 months ago

Thanks a bunch for letting me know how it works!

I didn't consider the dynamic weather. I was looking at your lua today to see if I could find a way to combine your output with vanilla output (Not Yet!) in the script and noticed the "NIL" return tables. Perhaps if it's dynamic, maybe just have it say "Dynamic Weather Not Supported." or similar. Because of the "NIL," I assumed it was a bug, so my apologies for posting about it before looking at the script more in-depth. I assumed I wouldn't be able to determine anything since I'm a programming scrub :)