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

AMX Voice Proximity


Post New Thread Reply   
 
Thread Tools Display Modes
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-15-2006 , 01:16   Re: AMX Voice Proximity
Reply With Quote #21

Quote:
Originally Posted by Wilson [29th ID] View Post
Emp`, i'm sorry but you are wrong. Those other two plugins do not work.
okay, I assumed they were working because they were approved. Will look into this when I have time.

edit: Thanks Hawk

Last edited by Emp`; 12-15-2006 at 18:58.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-15-2006 , 17:21   Re: AMX Voice Proximity
Reply With Quote #22

One suggestion, but I'm going to approve this regardless:

Code:
        if(entity_distance_stock(id, players[i]) <= get_pcvar_num(g_distance))             engfunc(EngFunc_SetClientListening, id, players[i], 1)         else             engfunc(EngFunc_SetClientListening, id, players[i], 0)

can be cut down to:

Code:
engfunc(EngFunc_SetClientListening, id, players[i], (entity_distance_stock(id, players[i]) <= get_pcvar_num(g_distance)) ? 1 : 0)

I've also unapproved one of the ones listed by Bo0m! since it had comments in it about it not working.

The other one I have left a comment in asking Suzuka to fix it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
CPeanutG
Junior Member
Join Date: Jan 2006
Old 12-20-2006 , 21:53   Re: AMX Voice Proximity
Reply With Quote #23

This is lagging my server quite badly.
__________________
CPeanutG is offline
Send a message via ICQ to CPeanutG Send a message via AIM to CPeanutG Send a message via MSN to CPeanutG Send a message via Yahoo to CPeanutG
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 12-20-2006 , 23:29   Re: AMX Voice Proximity
Reply With Quote #24

Simply put, it's your server.

I've had 16v16 with tons of plugins running plus this several times (talking at least 50 times) and there is no lag whatsoever.

How did I compare it? Enable it and disable it and no change it fps, ping, ms, loss, choke, lag etc.

Theoretically speaking the plugin uses a lot of CPU - but this plugin does not have any affects that would cause a standard server to notice "lag quite badly."
__________________

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]
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 04-09-2007 , 05:13   Re: AMX Voice Proximity
Reply With Quote #25

i dont understand, u said that this will make u hear enemies radio(mic) from some distance, but all i read here is that plugin makes radio has it own range
__________________
Voi is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 04-09-2007 , 12:23   Re: AMX Voice Proximity
Reply With Quote #26

Try it out and see for yourself...really not that hard to understand.

Picture talking out loud. Your voice can be heard within, say, 30 feet in each direction. Whether it's an enemy or a friendly, they can hear you and you can hear them if they are within 30 feet of you. Anyone outside 30 feet of you cannot.
__________________

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]
Arkitech
Junior Member
Join Date: Jun 2006
Old 04-10-2007 , 06:25   Re: AMX Voice Proximity
Reply With Quote #27

Nice work,

Just a suggestion though, which would make it a bit more "realistic" I guess...

Seeing as you'd except CT's and well equipped T's to have radios anyway to communicate to each other.. how about making it so you can hear everyone on your team.. but you can only hear the opposite team members if you are within range.

So if your a CT you can still hear other CT's no matter where they are, due to having radios.. but say your close to a T while talking, then the T can hear you talking, because you would be within hearing range.. however T's further away wont hear you?

Arkitech is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 04-10-2007 , 09:07   Re: AMX Voice Proximity
Reply With Quote #28

Quote:
Originally Posted by Wilson [29th ID] View Post
Try it out and see for yourself...really not that hard to understand.

Picture talking out loud. Your voice can be heard within, say, 30 feet in each direction. Whether it's an enemy or a friendly, they can hear you and you can hear them if they are within 30 feet of you. Anyone outside 30 feet of you cannot.
great! definetly using this! gj
__________________
Voi is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 04-12-2007 , 09:25   Re: AMX Voice Proximity
Reply With Quote #29

it isnt working as i suspected, can it be like this:

when ur near enemy he will emit_sound with his voice ?
__________________
Voi is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 04-12-2007 , 09:53   Re: AMX Voice Proximity
Reply With Quote #30

No. That's not how the voice works in the engine. No-can-do.
__________________

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]
Reply



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 03:52.


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