Jump to content

[LE] Skyrim bug - horse teleports away from player instead of following


Tasheni

Recommended Posts

I have recently two weird issues with my playerhorse.

First, the horse refuses to follow the player.

Second, she is teleported away from player when he has dismounted and walks away.

I tried everything I can think of to get that to work again, I even installed Skyrim new to make sure, everything runs well. No other mods are installed. I will describe, how the setup works, maybe I overlooked something.

 

Player horse Vala is two actors: One ActorTypeNPC and one ActorTypeHorse. They have aliases in an own quest. The quest handles also the follower mounting, if player mounts his horse. That works fine. The horse is disabled and located inside a dummy interior cell. The npc is located in the wilderness near Whiterun. When player finds the npc horse, he can talk to her and open her saddlebags. There he finds a magical ring. Now he can either talk to the npc, if he wants to ride, or use the ring. The ring has a script attached, that disables the npc, enables the horse and teleports it to the player. A script attached to the dialogue does the same. Now he can ride, but not talk to the horse. When he unequips the ring, the script changes the horse back to npc, player can talk to and reach the inventory. That works very good, thanks to ReDragon2013.

Both aliasactors have a sandbox package and a follow package attached. A script with a global variable determines, if the actors should follow or not. This is not triggered by the ring, but only through the dialogue. The npc follows, when she should, but not the horse. No matter what I do, the horse refuses to follow. The follow packages are on the aliases, both aliases are set to unique and optional.

Not following is the first issue. The second is: When player rides the horse and hops off, the horse is teleported to the place where player jumped onto her. If player changes her to npc, she is also teleported where player last jumped on her. This happens as soon as the player gets away from her.

What I did to find a solution: Deleted all packages and made them new. Deleted the horse from the world and put it into a dummy cell and relinked every property and references (she has a lot!). Attached packages to the actor, not to the alias. Made sure scripts are triggering correctly. Cleaned manually everything unused stuff with xEDIT.

I can find nothing that overrides the behavior. It worked for years, with a ton of mods and without mods installed. What happened?

I have a ton of backups, but because I don't know when this issue first appeared, I don't know which backup to use. I made so much progress with the mod that I would not like to do that all again default_crash.gif

So if anyone has a clever idea I would be the happiest woman in the world :sweat:

 

I heard that the same issue appeared in the mod The Grey Cowl of Nocturnal with the camel. Your help is much appreciated.

Link to comment
Share on other sites

If teleporting away you mean teleporting somewhere in your general area still, sounds like a Nav snap issue. Think of when you summon an atronach. Depending on where you cast it might "snap" to a nearby area and not right where you cast on the ground. Sounds like that might be what the horse is doing when it evaluates AI after dismount

 

As for walking away, thats AI. Something, alias or otherwise, is telling the horse to do that. You might have a wider follow radius than before, or a number of other things. Hard to say without seeing the mod/s

Link to comment
Share on other sites

Thank you Sphered for your reply. No, horse was not teleported in players area but to the place player mounted. But I fixed it.

 

I recreated that horse from scratch in it's own mod, so I could get sure nothing from my followers mod was the issue. In the new mod all worked fine. I compared it to my followers mod and corrected the differencies and - bang! That's it.

 

I'm not really sure what the issue was. I noticed in the horse quest script that the sorting of the functions was different. Very weird because I did not touch that script for years. And the follow package of the horse must be attached to the actor, not to the alias. The follow package for the npc must be attached to the alias. I can't explain why, but that works now like it should. I'm so happy about it. :laugh:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...