[CS:GO] Limit shot sound distance for deathmatch
I just can't figure out how brutalcs and warmup deathmatch servers have limited the weapon shot sounds you can hear on the map. For example, when you are on A, you can't the hear the shots on B. Looking at both their SM plugins, none of them is using a plugin that limits that.
If anyone has an idea or if there is a plugin available, I'd be very happy to know about it. Your help is greatly appreciated. |
Re: [CS:GO] Limit shot sound distance for deathmatch
They may have simply built it into the plugin. It's something I've been experimenting in my deathmatch plugin but isn't yet available in the beta.
|
Re: [CS:GO] Limit shot sound distance for deathmatch
Quote:
How complex is it in your opinion to build this? |
Re: [CS:GO] Limit shot sound distance for deathmatch
Check the player position and only reproduce his shoot sounds to players in the same map position.
Exists a netprop that tell you the position in the map, like when you use radio commands that says your position, but i dont remember what netprop, I remember that I saw a thread about it. If not, you can use my devzones plugin for make different zones and only the people on these zones can hear his shots. Or if not limit the shot sound by distance for example: distance > 1000 then block sound). Plugin doable and not hard to do. EDIT: ok the netprop for find the position is "m_szLastPlaceName" |
Re: [CS:GO] Limit shot sound distance for deathmatch
Ok I made a plugin for auto limit hear shot sounds for players on the same area.
Try it and tell me if works well -> MOVED TO https://forums.alliedmods.net/showthread.php?p=2682812 |
Re: [CS:GO] Limit shot sound distance for deathmatch
Quote:
issue - i can't hear any close fire sound also |
Re: [CS:GO] Limit shot sound distance for deathmatch
Quote:
Code:
sm_franugshotsbyarea_distance "1000.0" // Max distance from the shooter for don't hear him when the listener dont are in the same map place that shooter. 0.0 = use only map places MOVED TO https://forums.alliedmods.net/showthread.php?p=2682812 |
All times are GMT -4. The time now is 02:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.