Adjusted a few values for the Mech MB sounds
This commit is contained in:
parent
c5c1818749
commit
9fd6ec2d16
1 changed files with 2 additions and 2 deletions
|
@ -94,14 +94,14 @@ public final class MechEnergy {
|
|||
}
|
||||
|
||||
public float getPitch() {
|
||||
return (float) Math.min(.3*Math.sqrt(getSpeedForSound()), 2);
|
||||
return (float) Math.min(.3 * Math.sqrt(getSpeedForSound()), 1.25);
|
||||
}
|
||||
|
||||
private float getTotalVolume() {
|
||||
if (invalid)
|
||||
return 0;
|
||||
float ret = (float) (weight / 20e3 * Math.tanh(getSpeedForSound()/30));
|
||||
ret = Math.min(ret, 1.5F);
|
||||
ret = Math.min(ret, 1F);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue