Replies: 1 comment 4 replies
-
I like it! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for feedback about the following changes to DATIS I am considering to make. Let me know if you'd welcome them, or if you think they'd just complicate things and you'd rather keep DATIS as it is right now.
tldr: I am thinking about replacing the current way of setting up DATIS stations with a Lua API and make the reports template-based for customization.
The current format:
doesn't scale well with all the possible use-cases and customizations DATIS user's wish for.
So I am playing with the idea of completely removing the current approaches (text pattern inside the mission situation or inside of unit names) of setting up a station in the next major DATIS release.
I am thinking about providing a Lua API as a replacement. This would require adding the following code to
Scripts/MissionScripting.lua
to work:A mission editor would then setup stations like so (just some ideas, not the final API):
This would solve: #101, #99, #96 and #60
I am also considering to make the report template-based. With that, everyone would be able to customize the report, and it is not really necessary to distinguish between ATIS, Weather station, Carrier and Broadcast stations anymore, because they'd then all simply use different templates.
The template (using handlebars syntax) for the current ATIS report would look like:
DATIS would have several templates built-in: ATIS, Weather and Carrier.
This would solve: #104 (and similar requests I've received via Mail or Discord)
Beta Was this translation helpful? Give feedback.
All reactions