momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
520 stars 209 forks source link

Whitelisted movement commands for point_servercommand and point_clientcommand #1757

Open tmob03 opened 2 years ago

tmob03 commented 2 years ago

What feature is your improvement idea related to?

sv_maxspeed, sv_air_max_wishspeed, and, sv_interval_per_tick/sv_tickrate aren't able to be changed by point_servercommand or point_clientcommands by the mapper.

Describe the solution you'd like

Add them to the command whitelist for those entities, this would allow the mapper to change the movement to their liking per map.

Describe alternatives you've considered, if any.

No response

Additional context

https://discord.com/channels/235111289435717633/569734276917100544/963227971395657749

tsa96 commented 2 years ago

Has been discussed quite a bit in #mapping-bhop but just to reiterate here: https://github.com/momentum-mod/game/issues/233 will allow this kind of this in the future, but with a much better method that point_servercommand. IMO maps themselves changing cvars should be avoided wherever possible.

Gocnak commented 2 years ago

More context: https://www.youtube.com/watch?v=LR6nmw9XZ1w&t=2880s