Jump to content

Recommended Posts

Posted

Hello guys.
I have seen in some server the ability to choose your coalition via the ingame chat menu and then be "locked" to it without the ability to change side until server restart or done by an admin (DDCS, Buddy Spike...)

Please can you point me to the direction on how this is done?
What scripts are used, any threads i can read or YT tutorial videos (maybe?)

Thanks in advance for your help 👍

Lock-On Greece / DCS World Greece http://lockon-greece.forumotion.net/

🇬🇷 1st Hellinic Virtual Squadron for Flaming Cliffs & DCS World
~ Flying since 2008 ~

 

Posted

https://wiki.hoggitworld.com/view/DCS_hook_onPlayerTrySendChat

https://wiki.hoggitworld.com/view/DCS_hook_onPlayerTryChangeSlot

https://wiki.hoggitworld.com/view/DCS_func_setUserCallbacks

have a list of users assigned to different tables for each side, and only allows slotting if the user is in the coalition's table. If the user types in "red" or "blue" in chat, check to see if the user is already in a coalition table, and if not then assign them to it. save the data to a file or something similar to persist between server resets.

"just kill" | "you gotta believe"

Posted
13 hours ago, Yink said:

https://wiki.hoggitworld.com/view/DCS_hook_onPlayerTrySendChat

https://wiki.hoggitworld.com/view/DCS_hook_onPlayerTryChangeSlot

https://wiki.hoggitworld.com/view/DCS_func_setUserCallbacks

have a list of users assigned to different tables for each side, and only allows slotting if the user is in the coalition's table. If the user types in "red" or "blue" in chat, check to see if the user is already in a coalition table, and if not then assign them to it. save the data to a file or something similar to persist between server resets.

Thanks for your answer.
If anyone else has anything else to suggest feel free to do so 😀

Lock-On Greece / DCS World Greece http://lockon-greece.forumotion.net/

🇬🇷 1st Hellinic Virtual Squadron for Flaming Cliffs & DCS World
~ Flying since 2008 ~

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...