rkusa / DATIS

DCS World Automatic Terminal Information Service (ATIS) broadcasted through Simple Radio Standalone (SRS)
MIT License
91 stars 22 forks source link

units broadcast even they are not activated #60

Open derbuur opened 4 years ago

derbuur commented 4 years ago

If you set a message to a late activated unit it will send the message from begin of the mission. For mission building it will be nice if the message send only if the unit is activated. Also the broadcasted message is repeated, is it possible to send the message only once?

rkusa commented 4 years ago

If you set a message to a late activated unit it will send the message from begin of the mission. For mission building it will be nice if the message send only if the unit is activated.

Makes totally sense!

Also the broadcasted message is repeated, is it possible to send the message only once?

Should be easy to add, I'll mainly have to think about how to setup both use cases broadcast loop vs broadcast once. This is another example where a unit name isn't really the best place to add a whole lot of options 🤔

marcos2221 commented 4 years ago

Great work man,,, was wondering if you added or going to add something for single messages,, and if they could be more dynamic like setting them up during the game...

rkusa commented 4 years ago

was wondering if you added or going to add something for single messages,, and if they could be more dynamic like setting them up during the game...

Do you have an example? You can set up broadcast stations that loop a custom message. Is this the direction you were thinking about?

Edit: nevermind, I should have read the whole issue before answering

rkusa commented 4 years ago

was wondering if you added or going to add something for single messages

I'll definitely look into that eventually.

and if they could be more dynamic like setting them up during the game

This should be easy to achieve once units only broadcast when they are active. Though, I was also thinking about adding something like a Lua API to ease up setting up stations and making them more flexible, but those thoughts are in early stages.

marcos2221 commented 4 years ago

Lua API would be great... I was thinking to use this to transmit JTAC messages. like "target destroyed"or "lasing" etc or any other message based on a event.. i use the CTLD jtac a lot in the server and that would be a great addition.. I can volunteer to help with this in the Lua side if needed.. ,