Raised This Month: $105 Target: $400
 26% 

AMX Voice Proximity


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Hawk552 (427)
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-19-2006 , 01:23   AMX Voice Proximity
Reply With Quote #1

Plugin with more features and higher efficiency: https://forums.alliedmods.net/showthread.php?t=170297

DESCRIPTION
The long awaited voice proximity plugin is finally released. This plugin forces voice communication only to players within a certain radius of the speaker, which makes it so you cannot communicate to players accross the map; but rather within "speaking range," which is a distance defined in a cvar. This also allows communication between teams if the players are within proximity.

This plugin has been tested in realism-based scrimmages and has proven to change the gameplay entirely. It really makes you depend on individual squad leadership, and takes the game to the next level. I don't know of any other game that has a feature like this.

Try this plugin in a scrimmage - you'll love it.

I must give credit to Twilight Suzuka as she originally came up with the idea but could not get it working.

USAGE
amx_voiceprox <1/0>
Enables or Disables the plugin
amx_voiceprox_distance #
Defines how far away you can be from a player to hear them speaking (Default 1300)
Attached Files
File Type: sma Get Plugin or Get Source (amx_voiceprox.sma - 2078 views - 2.2 KB)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician

Last edited by Emp`; 10-22-2011 at 21:43.
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 09-19-2006 , 02:24   Re: AMX Voice Proximity
Reply With Quote #2

seems nice ill test it
edit: want to add FCVAR? to the cvars? ?

Last edited by k007; 09-19-2006 at 02:26.
k007 is offline
Send a message via MSN to k007
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-19-2006 , 02:27   Re: AMX Voice Proximity
Reply With Quote #3

Have you tried this on a full 32 player server? It seems like it would lag the server.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 09-19-2006 , 02:39   Re: AMX Voice Proximity
Reply With Quote #4

Meh, will probably be used by quite a few TS servers along with existing talk area plugins.....
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-19-2006 , 04:00   Re: AMX Voice Proximity
Reply With Quote #5

Quote:
Originally Posted by XxAvalanchexX View Post
Have you tried this on a full 32 player server? It seems like it would lag the server.
Yes I have - it doesn't seem to lag it at all.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
VEN
Veteran Member
Join Date: Jan 2005
Old 09-19-2006 , 06:57   Re: AMX Voice Proximity
Reply With Quote #6

You could use get_distance_f or vector_distance natives instead of vecdist function to improve performance.
VEN is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 09-19-2006 , 22:03   Re: AMX Voice Proximity
Reply With Quote #7

I wonder, if any of you ever used a mod that attaches your view to an entity (i.e. fireworks++), you'll notice that the engine basically emit_sounds()'s a player s voice, creating a cool "proximity" effect, if it would be possible to replicate this.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-20-2006 , 01:07   Re: AMX Voice Proximity
Reply With Quote #8

Zenith I have a feeling that's not 100% correct because the way voice communication works in HL is through a stream rather than saving it as a wav and playing it.

If you can show me otherwise that would be tremendous - I'd spend months coding it if I knew it was possible.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Zenith77
Veteran Member
Join Date: Aug 2005
Old 09-20-2006 , 13:28   Re: AMX Voice Proximity
Reply With Quote #9

Read my post again, I said when your view is in another place (i.e. attached to a firework in fireworks++), then it will get a proximity effect, and it seems as if the engine does something else with the voice, as if you where to emit_sound() it (I'm not saying this what the engine does, just that it has that effect).
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Bo0m!
Veteran Member
Join Date: Mar 2006
Location: New Jersey
Old 09-20-2006 , 15:27   Re: AMX Voice Proximity
Reply With Quote #10

Shouldn't these be unapproved if they aren't working?
1
2
__________________
Bo0m! is offline
Send a message via AIM to Bo0m! Send a message via MSN to Bo0m! Send a message via Yahoo to Bo0m!
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 15:31.


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