Re: Horseback Riding Additions
Posted: Wed Jan 24, 2018 3:09 pm
For the playerMotor script, the changes basically boil down to adding a new run speed while on a horse, making it so running works while riding, and increasing jump height while on a horse and running.
Then there is the other script that deals with the transport modes where I had to create a separate animation transition timer when running and made it so the walking audio playes while running. If you want to see the code itself, I can send it to you over the weekend.
I also tried limiting turn speed while cantering and increasing the walking audio while cantering, but I couldn't figure out how to do either.
As for the canter speed being too high, I'd like to point out that this goes for all the movment options in the entire game, plus horses can move pretty crazy fast if they want to. The walking audio would also sound just like a canter would if it were louder and a little bit faster.
Then there is the other script that deals with the transport modes where I had to create a separate animation transition timer when running and made it so the walking audio playes while running. If you want to see the code itself, I can send it to you over the weekend.
I also tried limiting turn speed while cantering and increasing the walking audio while cantering, but I couldn't figure out how to do either.
As for the canter speed being too high, I'd like to point out that this goes for all the movment options in the entire game, plus horses can move pretty crazy fast if they want to. The walking audio would also sound just like a canter would if it were louder and a little bit faster.