YaLTeR / BunnymodXT

Speedrun and TAS tool for Half-Life & friends.
Other
200 stars 38 forks source link

Setting noclip velocity #505

Closed khanghugo closed 2 months ago

khanghugo commented 7 months ago

Hook works great. But then when I try to navigate these tinily huge maps, I bump into teleport all the time.

This has been something on my mind for a while.

My idea for the implementation is changing pmove->maxspeed and pmove->clientmaxspeed before PM_CheckParameters() during noclip and restoring it back when not in noclip. Because it is a cheat command, I don't think it would interfere with anything speedrunning.

Additionally, there could be something extra like "+speed" to double the noclip velocity.