Skip to content

Conversation

@Crimson-X1
Copy link

@Crimson-X1 Crimson-X1 commented Apr 17, 2023

A custom implementation of prop sprinting, as seen in Black Mesa and EZ:2, allows players to sprint while holding a physics object.

This mechanic— disabled by default— is controlled by two new convars: sv_player_enable_propsprint and sv_player_enable_gravgun_sprint.

These convars offer some control over when players can utilize this feature, with the latter convar affecting only the gravity gun.


Does this PR close any issues?

None.

PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

Copy link
Member

@Blixibon Blixibon left a comment

Choose a reason for hiding this comment

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

I was a little reluctant at first about how well these cvars would fit into Mapbase, but in practice, they are effectively quality-of-life utilities. Mappers and modders can enable or disable them depending on whether they help the gameplay of what they are making.

So the idea behind this feature looks good to me, although I did have a few concerns about the code which I pointed out in this review. I can go ahead and commit the suggestions and merge this myself though.

@Blixibon Blixibon merged commit c3f0509 into mapbase-source:develop Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants