michail-nikolaev / task-force-arma-3-radio

TeamSpeak integration for Arma 3
http://radio.task-force.ru/en/
Other
313 stars 169 forks source link

Channel Restriction #1036

Open Wawixs opened 8 years ago

Wawixs commented 8 years ago

Hello, i highly support TFR and i wanna improve it so here's my idea:

Create a func to put in the init of the mission to block the player into the taskforce channel (exception for administrators with for exemple the join power over 60)

Would be so great to add into this awesome plugin!

michail-nikolaev commented 8 years ago

Hm.... Could you please provide more details?

rogerxxxx commented 8 years ago

Ditto. This sounds like an excellent idea too, and I (too) would love to see more details. (Note, I'm not trying to poke pun at Wawixs's user panty icon.)

Wawixs commented 8 years ago

Hm so michail it would be a system like that:

Create a new variable for example TFAR_ChannelRestriction

This variable would have 3 possible restrictions. 1: No restrictions 2: All users restricted 3: Same as 2 but users with more than X join power could get out of the channel

So you could create another var to choose the join power like this: TFAR_ChannelPower = 65 (If the user have more than 65 i_client_join_power or equal he can get out)

Restricted players CANNOT get out of TS channel (it would auto-switch them back ingame)

Thats how i see this system :)

michail-nikolaev commented 8 years ago

So, if you want to not allow player to leave channel - you could use customs script for it. Check this - https://github.com/michail-nikolaev/task-force-arma-3-radio/wiki/API%3A-Functions#TFAR_fnc_getTeamSpeakChannelName

rogerxxxx commented 8 years ago

A little confusion here.

LR = Long Range SW = Short Range? But then this definition would conflict with Short Wave radios, for which do include High Frequency radios. (If I'm no mistaken, VHF is commonly used for aircraft instead of something called LR radios, as such the lower frequency designations.)

Should I open a newer bug concerning this, or am I mistaken the definitions; of which LR/SW definitions do not appear to be defined anywhere and are merrily assumed by the majority?

michail-nikolaev commented 8 years ago

Yep, SW is short range, don't ask why ;)