How to untether a horse?

Post » Thu Sep 24, 2015 7:28 pm

I've been using TetherHorseToCart and it works just fine. But I need the horse back.

I can do it by disable and re-enabling the cart, but I'd like a solution that didn't flicker.

Anyone done this before?

User avatar
Stephanie Valentine
 
Posts: 3281
Joined: Wed Jun 28, 2006 2:09 pm

Post » Fri Sep 25, 2015 6:52 am

I believe you can also disable/enable the horse to break the link, but that's the same problem. Looking at the CartAndHorseTether script that wraps the function, it looks like you also need to switch the cart between being key-frame controlled (static-ish) and Dynamic (meaning havok'ed and driven by the cart-horse bone link). Whether that part requires the cart to be disabled while it happens isn't clear. And I'm about to try doing this myself.

Flicker could be replaced by a fade, which might not look so bad if the horse and cart are separated more when they fade back in. It would be rather like the fade out when an NPC uses a load door.

User avatar
Kayla Oatney
 
Posts: 3472
Joined: Sat Jan 20, 2007 9:02 pm

Post » Fri Sep 25, 2015 6:39 am

Well, the horse in this case is the player, so I think I'm best off disabling the cart :)

Hmmm... The cart I'm using is summoned by spell, so having it disappear when the cart is dismissed isn't going to be a problem. Uncoupling in cases of violence or the cart rolling I can probably get away with it, since there's going to be other things going on. That only leaves the player uncoupling themselves temporarily. I suppose I can always hide that with quick fade to black and back

I think the idea of the keyframed motion is that it puts the handbrake on the cart. If you don't do that it'll roll back down the a hill given half a chance.

I wonder what happens if you leave the tether on and set it to keyframed anyway. Must try that; if it doesn't result in horrible death it could be quite useful :)

User avatar
Lifee Mccaslin
 
Posts: 3369
Joined: Fri Jun 01, 2007 1:03 am


Return to V - Skyrim