AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Speaker Icon (talk icon like in CS:S) (https://forums.alliedmods.net/showthread.php?t=274640)

Franc1sco 11-12-2015 06:20

[CS:GO] Speaker Icon (talk icon like in CS:S)
 
Description:

Show a big icon in the person that use the talk button like in CS:S


You can test the latest version here:
http://cache.www.gametracker.com/ser...FFF_000000.png


Requeriments:
DHooks
Voiceannounce_ex


Screenshots:

http://steamcommunity.com/sharedfile.../?id=397896527


Donations (optional):

If you apreciate my work, you can donate me via paypal or with a trade offer


Download:

Main repository
Direct download
Code changes

whtevrwt 11-12-2015 06:50

Re: [CS:GO] Speaker Icon
 
Yeah, this doesn't work at all for any of my servers. sv_show_voip_indicator_for_enemies works perfectly fine, but using a sprite doesn't at all. The files are added to the FastDL and on the servers successfully. I've checked the running extensions and plugins I meet all the requirements.

EDIT: The game data was out of date. Everything is working perfectly fine now.

Franc1sco 11-12-2015 06:54

Re: [CS:GO] Speaker Icon
 
Quote:

Originally Posted by whtevrwt (Post 2362309)
Yeah, this doesn't work at all for any of my servers. sv_show_voip_indicator_for_enemies works perfectly fine, but using a sprite doesn't at all. The files are added to the FastDL and on the servers successfully. I've checked the running extensions and plugins I meet all the requirements.

Check log errors and be sure that you have installed dhooks and voiceannounce_ex and restarted the server. If you cant fix it, contact with me in steam and we will see what is wrong.

EDIT: he had a voiceannounce_ex gamedata outdated, now I fixed it with him in his server

whtevrwt 11-12-2015 07:44

Re: [CS:GO] Speaker Icon
 
1 Attachment(s)
Below is the updated game data file for the voice announce extension. Thanks to Franc1sco for quick update. :)

With that, this plugin works perfectly. :up:

8guawong 11-12-2015 08:07

Re: [CS:GO] Speaker Icon
 
so sv_show_voip_indicator_for_enemies works now?

whtevrwt 11-12-2015 08:08

Re: [CS:GO] Speaker Icon
 
Quote:

Originally Posted by 8guawong (Post 2362331)
so sv_show_voip_indicator_for_enemies works now?

It's always been working.

sm_cvar sv_show_voip_indicator_for_enemies 1

Make sure sm_cvar is set.

Franc1sco 11-12-2015 09:35

Re: [CS:GO] Speaker Icon
 
Quote:

Originally Posted by whtevrwt (Post 2362332)
It's always been working.

sm_cvar sv_show_voip_indicator_for_enemies 1

Make sure sm_cvar is set.

Yes but the default talk icon of CS:GO is small and with a lot people playing in the server don't work (like happened in my ZE server). Better is use my plugin for the talk icon because the icon is more big and visible and always works.

SHAREN 11-12-2015 10:17

Re: [CS:GO] Speaker Icon
 
1 Attachment(s)
Is possible to use the standard icon. In order not to download additional files
"particle/voice_icon_particle.vmt"

Code:

                        DispatchKeyValue(entity, "classname", "env_sprite");
                        DispatchKeyValue(entity, "scale", "0.25");
                        DispatchKeyValue(entity, "rendermode", "1");                //to use the rendercolor
                        DispatchKeyValue(entity, "rendercolor", "0 255 0");
                        DispatchKeyValue(entity, "model", "particle/voice_icon_particle.vmt");



#include <basecomm> If a player is muted, the icon will not operate.
Code:

public bool OnClientSpeakingEx(client)
{
        if(BaseComm_IsClientMuted(client))
                        return false;


Franc1sco 11-12-2015 10:34

Re: [CS:GO] Speaker Icon
 
2 Attachment(s)
Quote:

Originally Posted by SHAREN (Post 2362385)
Is possible to use the standard icon. In order not to download additional files
"particle/voice_icon_particle.vmt"

Code:

                        DispatchKeyValue(entity, "classname", "env_sprite");
                        DispatchKeyValue(entity, "scale", "0.25");
                        DispatchKeyValue(entity, "rendermode", "1");                //to use the rendercolor
                        DispatchKeyValue(entity, "rendercolor", "0 255 0");
                        DispatchKeyValue(entity, "model", "particle/voice_icon_particle.vmt");



#include <basecomm> If a player is muted, the icon will not operate.
Code:

public bool OnClientSpeakingEx(client)
{
        if(BaseComm_IsClientMuted(client))
                        return false;


Good contribution! :bacon!:

This should work using your contribution (I dont tested it yet)

tommie113 11-12-2015 10:37

Re: [CS:GO] Speaker Icon (talk icon like in CS:S)
 
I don't know if BaseComm_IsClientMuted(client) will work, at least none of the basecomm natives worked for me..
I made a topic about it, but no responds: https://forums.alliedmods.net/showthread.php?t=274439
Pls let me know if it works for you or not!


All times are GMT -4. The time now is 01:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.