Add bxt_ch_trigger_tp_keeps_momentum
This is useful for some surf/bhop maps that take advantage of portal-like teleportation.
Implementation is simple because in order for it to work, the mapper has to make the map linear as well.
This case is promised to never happen.
~Waiting for CI to test on Windows. Currently crashing on Windows.....~
Do you want to know what the main issue with the that implementation? The fact is that your speed needs to be redirected depending on your direction
The angles must be taken either from those specified in info_teleport_destination (the mapper must take care of this so that it specify the correct angles) or redirected from the player angles at the worst
Take a look to that implementation and description: https://github.com/fireblizzard/agmod/pull/11
Right, then there should be two options for it. With redirect and without it. Redirect is nice but I mean to have this for big surf maps and they are guaranteed to be built like that.
This is an example of a map that only works without redirect.
https://www.youtube.com/watch?v=s6Y5BY6-iGY
I can add both of that.
Thanks for the help. This should be good. I don't have redirect option on by default because I think maps that take advantage of this are linear.
Thanks