Some footstep tweaks (#9355)
* Lower footstep volume slightly * more tweaks
This commit is contained in:
@@ -36,8 +36,8 @@ namespace Content.Shared.Movement.Systems
|
||||
private const float StepSoundMoveDistanceWalking = 1.5f;
|
||||
|
||||
private const float FootstepVariation = 0f;
|
||||
private const float FootstepVolume = 6f;
|
||||
private const float FootstepWalkingVolumeModifier = 0.2f;
|
||||
private const float FootstepVolume = 3f;
|
||||
private const float FootstepWalkingAddedVolumeMultiplier = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="CCVars.MinimumFrictionSpeed"/>
|
||||
@@ -278,7 +278,7 @@ namespace Content.Shared.Movement.Systems
|
||||
|
||||
if (!weightless && TryGetSound(mover, mobMover, xform, out var variation, out var sound))
|
||||
{
|
||||
var soundModifier = mover.Sprinting ? 1.0f : FootstepWalkingVolumeModifier;
|
||||
var soundModifier = mover.Sprinting ? 1.0f : FootstepWalkingAddedVolumeMultiplier;
|
||||
SoundSystem.Play(sound,
|
||||
GetSoundPlayers(mover.Owner),
|
||||
mover.Owner, AudioHelpers.WithVariation(variation).WithVolume(FootstepVolume * soundModifier));
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -135,7 +135,7 @@
|
||||
is_subfloor: false
|
||||
can_crowbar: true
|
||||
footstep_sounds:
|
||||
collection: footstep_floor
|
||||
collection: footstep_plating
|
||||
friction: 0.30
|
||||
item_drop: FloorTileItemDirty
|
||||
thermalConductivity: 0.04
|
||||
@@ -156,6 +156,21 @@
|
||||
thermalConductivity: 0.04
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: FloorMetalDiamond
|
||||
name: diamond plate floor
|
||||
texture: "metaldiamond"
|
||||
base_turfs:
|
||||
- plating
|
||||
is_subfloor: false
|
||||
can_crowbar: true
|
||||
footstep_sounds:
|
||||
collection: footstep_hull
|
||||
friction: 0.30
|
||||
item_drop: FloorTileItemMetalDiamond
|
||||
thermalConductivity: 0.04
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: floor_rock_vault
|
||||
name: rock floor
|
||||
@@ -572,21 +587,6 @@
|
||||
thermalConductivity: 0.04
|
||||
heatCapacity: 10000
|
||||
|
||||
- type: tile
|
||||
id: FloorMetalDiamond
|
||||
name: diamond plate floor
|
||||
texture: "metaldiamond"
|
||||
base_turfs:
|
||||
- plating
|
||||
is_subfloor: false
|
||||
can_crowbar: true
|
||||
footstep_sounds:
|
||||
collection: footstep_tile
|
||||
friction: 0.30
|
||||
item_drop: FloorTileItemMetalDiamond
|
||||
thermalConductivity: 0.04
|
||||
heatCapacity: 10000
|
||||
|
||||
# Circuits
|
||||
- type: tile
|
||||
id: floor_green_circuit
|
||||
|
||||
Reference in New Issue
Block a user