Author Topic: Horse Edits  (Read 411 times)

I wanted to modify the default Horse vehicle for my server.  I already edited the Jump height to 4 blocks and it works fine, but I also wanted to change the way it runs.

I wanted to walk at a somewhat slow speed (like a tiny bit faster than player speed) and then run fast (a tad faster than it does now) when you hold shift (crouch)

I tried changing the regular walking speed to 8 and the crouching speed to 14, and it did walk slower, but it didn't go faster when it crouched.  I asked Marcem and he said it's because the horse doesn't crouch (and he doesn't know how to make it crouch). 

Anyone know how to make the horse able to crouch?  I'm assuming it's just a few lines of code I have to change/add.

I tried changing the regular walking speed to 8 and the crouching speed to 14, and it did walk slower, but it didn't go faster when it crouched.  I asked Marcem and he said it's because the horse doesn't crouch (and he doesn't know how to make it crouch). 

I think the problem is that you can't get bot vehicles to crouch while driving them, except through script and entering water. (which is why I think the default horse has no crouch animation, so it doesn't "auto-crouch" while in water)
You have to actually be the horse for the crouching to work normally.