Raptor007 / aq2-tng

Action Quake 2: The Next Generation. Raptor007's sandbox for testing changes. When verified stable, this code is pushed to the official aq2-tng repo:
https://github.com/aq2-tng/aq2-tng/tree/bots
4 stars 2 forks source link

Make unsilenced shots louder than silenced/reload/etc. #33

Closed Raptor007 closed 7 years ago

Raptor007 commented 7 years ago

Unsilenced shots should carry farther. Since this would be pretty significantly game-changing, it will be a server cvar. (The attenuation value in gi.sound is floating-point, not integer, yay!)

Raptor007 commented 7 years ago

I checked; using a non-whole value between 0 and 1 does cause a sound to carry farther. I'm not sure if I can set the attenuation for llsound though.

Raptor007 commented 7 years ago

Added loud_guns cvar for attenuation 0.4, which is audible across actcity3: https://github.com/Raptor007/aq2-tng/commit/6085ae7ce93832fbe0a45f7656190841e633593e

Raptor007 commented 7 years ago

This has been thoroughly tested now. I was afraid it might mess up the perceived distance of enemies, but you get used to it really quickly. Everyone who tested this with me seemed to really like the change, so I will have it enabled by default.