Increase muffling effects with obstruction for spoken speech (barely affects radio chat and wifi components, however it does add extra 100f range to the distance)

Decreased required muffling to 0.3f
Added an "obstructionmult" to intensify speaking obstruction effects
This commit is contained in:
Alex Noir
2017-12-17 14:55:35 +03:00
parent 828bde6f04
commit d5e409bfff
2 changed files with 4 additions and 4 deletions
@@ -1848,7 +1848,7 @@ namespace Barotrauma.Networking
case ChatMessageType.Default:
if (!receiver.IsDead)
{
return ChatMessage.ApplyDistanceEffect(receiver, sender, message, ChatMessage.SpeakRange);
return ChatMessage.ApplyDistanceEffect(receiver, sender, message, ChatMessage.SpeakRange, 3.0f);
}
break;
case ChatMessageType.Radio: