From 990a72bc2ad2edc2ff993988dbf07ed02b26d0df Mon Sep 17 00:00:00 2001 From: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Date: Sat, 17 Feb 2024 14:53:49 -0800 Subject: [PATCH] Movers Don't Accelerate Instantly (#47) # Media https://github.com/Simple-Station/Parkstation-Friendly-Chainsaw/assets/77995199/e7405492-1e88-40a9-8a2c-0b377006551b # Changelog :cl: - tweak: The crew have suddenly lost some strength in their legs and can't stop or start moving instantly --- .../Components/MovementSpeedModifierComponent.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs b/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs index 796611fc0a..c838ebec77 100644 --- a/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs +++ b/Content.Shared/Movement/Components/MovementSpeedModifierComponent.cs @@ -18,9 +18,11 @@ public sealed partial class MovementSpeedModifierComponent : Component public const float DefaultWeightlessModifier = 0.7f; public const float DefaultWeightlessAcceleration = 1f; - public const float DefaultAcceleration = 20f; - public const float DefaultFriction = 20f; - public const float DefaultFrictionNoInput = 20f; + // Parkstation-AcceleratingMovement Start + public const float DefaultAcceleration = 8f; + public const float DefaultFriction = 8f; + public const float DefaultFrictionNoInput = 14f; + // Parkstation-AcceleratingMovement End public const float DefaultBaseWalkSpeed = 3f; public const float DefaultBaseSprintSpeed = 5f; @@ -100,7 +102,7 @@ private float _baseSprintSpeedVV /// The negative velocity applied for friction. /// [AutoNetworkedField, ViewVariables(VVAccess.ReadWrite), DataField] - public float? FrictionNoInput; + public float? FrictionNoInput = DefaultFrictionNoInput; // Parkstation-AcceleratingMovement [ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField] public float BaseWalkSpeed { get; set; } = DefaultBaseWalkSpeed;