Raised This Month: $12 Target: $400
 3% 

[CS:GO] Hook Radio Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 08-21-2017 , 20:39   [CS:GO] Hook Radio Sounds
Reply With Quote #1

Hello everyone,

This question is really bothering me, since I couldn't finish this.

I've tried to hook the radio sounds we have in CS:GO, such as "Enemy Spotted", "Planting the Bomb", etc, but I couldn't hook them with total success.

I know it's possible to hook some commands, like "enemyspot" for the radio commands, but for the grenades it's not possible.

Then I tried by hooking the "player_radio" event, but without any success (only hooks some radio commands, same as I said before);

Then I tried to use a part of the code that Bacardi showed here (with protobuf ofc), but without any success (it doesn't show anything in the logs).

Some part of the code is here (its just to log when it's used the SendRadio, and yes, no error logs found):

Code


For what I've tested, is possible to change by hooking "RadioText", but when trying to block the message, the sound is still played (I even tried to emit a sound at the same time as the radiotext is used, but the original sound emits before).

Someone has any ideas?

If you don't understand, I'll try to explain in another way (my english is kinda rubbish).
__________________

Last edited by Hallucinogenic Troll; 08-21-2017 at 23:26.
Hallucinogenic Troll is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:34.


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