Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invert the Running/Walking States #485

Merged
merged 8 commits into from
Aug 1, 2024

Conversation

DEATHB4DEFEAT
Copy link
Member

@DEATHB4DEFEAT DEATHB4DEFEAT commented Jun 24, 2024

Description

Ports Simple-Station/Parkstation-Friendly-Chainsaw#39

A change made to encourage people to stop and smell the roses, instead of sprinting everywhere trying to get shit done.
This goes well with #486, so people don't actually have to rush places to try to get things done before the shift ends fatally.
It's weird anyway how we're all constantly sprinting everywhere and have to very actively choose not to (and why would you?).
Increases the default speeds so that walking isn't painfully slow and sprinting feels more like sprinting in combination with the active choice to sprint.

Someone needs to PR changing the default sprint or examine buttons, so people can fight and sprint with this change.
(A lot of other default keybinds suck or conflict too and need to change)

Media

Terrible video but whatever

2024-07-20_00-12-13.mp4

Changelog

🆑

  • tweak: The station's crew hivemind has decided to slow down their movement and enjoy The Park instead of sprinting everywhere

Simple-Station/Parkstation#193

🆑
- tweak: The station's crew hivemind has decided to slow down their
movement and enjoy The Park instead of sprinting everywhere
@DEATHB4DEFEAT DEATHB4DEFEAT added Size: 4-Small For small issues/PRs Priority: 3-Medium Needs to be resolved at some point Type: Port Brings something to here from another codebase labels Jun 24, 2024
@github-actions github-actions bot added Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files labels Jun 24, 2024
@github-actions github-actions bot added the Status: Needs Review Someone please review this label Jun 24, 2024
@FoxxoTrystan
Copy link
Member

Im not a fan of this change, i like the shift to slow down because else mostly nearly everyone is going to hold shift to just walk, and that just may be annoying.

@DEATHB4DEFEAT
Copy link
Member Author

Im not a fan of this change, i like the shift to slow down because else mostly nearly everyone is going to hold shift to just walk, and that just may be annoying.

Use toggle sprint or slow down and enjoy The Park.

@DEATHB4DEFEAT DEATHB4DEFEAT removed their assignment Jun 24, 2024
DangerRevolution

This comment was marked as resolved.

@DEATHB4DEFEAT

This comment was marked as resolved.

@DangerRevolution

This comment was marked as resolved.

@DEATHB4DEFEAT
Copy link
Member Author

Added a description explaining rationale.

@@ -113,7 +113,7 @@ ui-options-function-move-up = Move Up
ui-options-function-move-left = Move Left
ui-options-function-move-down = Move Down
ui-options-function-move-right = Move Right
ui-options-function-walk = Walk
ui-options-function-walk = Run

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misleading fluent key

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know why this is the engine. I can't change this.

image

image

misandrie

This comment was marked as resolved.

@DangerRevolution

This comment was marked as resolved.

@github-actions github-actions bot added the Status: Merge Conflict FIX YOUR PR AAAGH label Jun 25, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Signed-off-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
@github-actions github-actions bot removed the Status: Merge Conflict FIX YOUR PR AAAGH label Jun 25, 2024
@DangerRevolution DangerRevolution marked this pull request as draft July 4, 2024 08:28
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Status: Merge Conflict FIX YOUR PR AAAGH label Jul 20, 2024
@github-actions github-actions bot removed the Status: Merge Conflict FIX YOUR PR AAAGH label Jul 20, 2024
@DEATHB4DEFEAT DEATHB4DEFEAT removed the Status: Needs Discussion Must be discussed label Jul 20, 2024
@github-actions github-actions bot added the Status: Merge Conflict FIX YOUR PR AAAGH label Jul 20, 2024
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@DEATHB4DEFEAT DEATHB4DEFEAT marked this pull request as ready for review July 20, 2024 07:18
@github-actions github-actions bot removed the Status: Merge Conflict FIX YOUR PR AAAGH label Jul 20, 2024
Copy link
Member

@VMSolidus VMSolidus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually went through and read the code this time. This is good. :)

Content.Shared/CCVar/CCVars.cs Outdated Show resolved Hide resolved
Comment on lines 77 to 80
//NOTE I don't think I'm supposed to do this
public bool Sprinting => IoCManager.Resolve<IConfigurationManager>().GetCVar(CCVars.GameSprintWalks)
? (HeldMoveButtons & MoveButtons.Sprint) != 0x0
: (HeldMoveButtons & MoveButtons.Sprint) == 0x0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's logic in my Components!

Yeah, this isn't ideal, Component should just hold the state. This is also a really goofy way of doing it. You're also querying the CVar every single time this is checked, which doesn't seem ideal?

@@ -112,13 +112,13 @@ ui-options-header-dev = Development
ui-options-header-general = General

ui-options-hotkey-keymap = Use US QWERTY Keys
ui-options-hotkey-toggle-walk = Toggle Walk
ui-options-hotkey-toggle-walk = Toggle Speed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite sure about this, same reason with it being an optional change. You could make two separate Loc strings, one for walk and one for sprint, that wouldn't be unreasonable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an engine bind, I cannot make it switch between two locales.

Co-authored-by: Pspritechologist <81725545+Pspritechologist@users.noreply.github.com>
Signed-off-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
@DangerRevolution DangerRevolution merged commit ac2fc06 into Simple-Station:master Aug 1, 2024
11 checks passed
SimpleStation14 added a commit that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files Priority: 3-Medium Needs to be resolved at some point Size: 4-Small For small issues/PRs Status: Needs Review Someone please review this Type: Port Brings something to here from another codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants