Jump to content
  • 0

Show/Hide option for Sidechat Clientside


SryImAnooB

Question

17 answers to this question

Recommended Posts

  • 0
54 minutes ago, SryImAnooB said:

Hey guys,

i need your help again. Is there a way to Show/Hide the sidechat only for the client?

Google wasnt rly helpfull...

 

Thx

mmm if i understand you well.. your trying to add or disable a kind of chat?

take a look on the description.ext this line (thers a number for each channel... ) if u want to disable you need  add his number here, if u want  enable, then remove his number

disableChannels[] = {0,2,6};

https://community.bistudio.com/wiki/Description.ext

Channel number correspondence:
0 = Global
1 = Side
2 = Command
3 = Group
4 = Vehicle
5 = Direct
6 = System 

 

Link to comment
Share on other sites

  • 0
4 minutes ago, juandayz said:

mmm if i understand you well.. your trying to add or disable blue chat?

take a look on the description.ext this line (thers a number for each channel... i cannot remember what is the number for blue channel)..but if u want to disable you need to add his number here.

disableChannels[] = {0,2,6};

That would disable the sidechat at all, if im not mistaken.

What i meant was like:

The SIdechat should work by default so everyone can use it, but if it annoys you just click for ex. rmb on toolbox --> Hide Sidechat. And then the Sidechat should be disabled for that player.

Baisicly the player should be able to change this ingame: disableChannels[] = {0,2,6};

Link to comment
Share on other sites

  • 0
9 minutes ago, SryImAnooB said:

That would disable the sidechat at all, if im not mistaken.

What i meant was like:

The SIdechat should work by default so everyone can use it, but if it annoys you just click for ex. rmb on toolbox --> Hide Sidechat. And then the Sidechat should be disabled for that player.

Baisicly the player should be able to change this ingame: disableChannels[] = {0,2,6};

ohhh something like "mute channels" ?

Link to comment
Share on other sites

  • 0

by right click you can try

muteside.sqf

Spoiler

disableChannels[] = {0,2,6,1};

extra_rc.hpp

Spoiler

class ExtraRc {
 
   class ItemToolbox {
     class mute {
            text = "muteside";
            script = "execVM 'custom\muteside.sqf'";
        };
   };   

};

 

Link to comment
Share on other sites

  • 0
5 minutes ago, juandayz said:

yup, i guess you will need define a key for it. then use something like this

https://forums.bistudio.com/forums/topic/124287-run-script-when-button-is-pressed/

 

Yes, i wanted to execute the script with DeployAnything ClickAction, thats not the problem.

I have issue to change that playerside during the game:  disableChannels[] = {0,2,6};

Or find a anything similar to solve this.

 

Edit:// saw your 2. post to late. WIll try it.

 

Link to comment
Share on other sites

  • 0
1 minute ago, juandayz said:

by right click you can try

muteside.sqf

  Reveal hidden contents

disableChannels[] = {0,2,6,1};

extra_rc.hpp

  Reveal hidden contents

class ExtraRc {
 
   class ItemToolbox {
     class mute {
            text = "muteside";
            script = "execVM 'custom\muteside.sqf'";
        };
   };   

};

 

Not working, chat still visible.

 

Link to comment
Share on other sites

  • 0

There is no way, rather, good way to disable text based side chat without disabling voice chat as well. If you want to enable side chat VoIP then in your init.sqf, add the following code below:  #include "\z\addons\dayz_code\configVariables.sqf"

DZE_DisabledChannels = [(localize "str_channel_global"),(localize "str_channel_command")]; //List of disabled voice channels. Other channels are: "str_channel_group","str_channel_direct","str_channel_vehicle", "str_channel_side"

 

Link to comment
Share on other sites

  • 0

I remember reading once a server had achieved this by amending the UI and simply pushed the side chat "box" off of the screen. 

Obviosuly this method removes all chat and I have no idea if it's possible to let the client choose a different UI on the fly whilst in game. 

Im sure I've been on servers with the option to remove side chat though. 

Link to comment
Share on other sites

  • 0

i allways made the enable , disable channels through description.ext.. remember the dayz mod 1.4 .. the one who comes with side chat disable for default. we had to enable it with disableChannels[] = {0,2,6,};   .. but never seen before a option to enable/disble by players in game. that not means is impossible, but for my knowledge it is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...