var/sound/S = sound('SFX/Guns/ar416/ar_shoot.wav')
S.environment = 16
S.falloff = 20
S.volume = rand(185,200)
src.mob.icon_state = "ar416 - fire"
src.mob.shooting = 1
src.mob<< S
turnangle = rand(6,-6)
new/obj/Bullet(src.mob.loc, TurnAngle(angle,turnangle), src.mob)
spawn() Recoil(src.mob, 1,3)
for(var/mob/M in range(35,src.mob))
if(M == src.mob) continue
if(!M) continue
S.x = (src.mob.x - M.x)/2
S.y = (src.mob.y - M.y)/2
S.environment = 17
M<< S
Problem description:
Whatever mobs that are in range 35 of src.mob will not hear the sound unless they are within 10 tiles of src.mob.
I've tried changing the Falloff var, and decreasing the sound's X and Y vars (as you can see by the "/2"). No difference. At all!