Copy of Torch01 causes strange equip animations

Post » Thu Jun 21, 2012 8:33 pm

I made a duplicate of the Torch01 LIGH object. Upon equipping this torch in-game, the player plays what looks like an "NPC Table Pickup" animation instead of just pulling the torch out. Upon putting it away, he plays the same animation again, and his arm remains outstretched, but holding nothing. Jumping or sprinting clears the arm issue.

Does anyone know why this is happening, and how to prevent it? I see that this issue has been http://www.gamesas.com/topic/1370698-torch01-clone-teleports-player/page__hl__torch__fromsearch__1, but a solution wasn't provided.
User avatar
Kellymarie Heppell
 
Posts: 3456
Joined: Mon Jul 24, 2006 4:37 am

Post » Thu Jun 21, 2012 2:15 pm

I have the same issue with my own torch copy: http://skyrim.nexusmods.com/downloads/file.php?id=16112
Not only the animation but (quote of a user):... for some reason whenever it's equipped with ( one handed attack object ) upon un-equipping the staff, the one handed weapon in the right hand is unusable though it appears equipped. - (This can be solved by unequipping and re-equipping the one-handed weapon.)
And (very strange) I noticed that I was sometimes teleported to the point where I first equipped the staff (= torch-copy) when I unequipped it and equipped it again.
User avatar
Syaza Ramali
 
Posts: 3466
Joined: Wed Jan 24, 2007 10:46 am

Post » Thu Jun 21, 2012 12:45 pm

The teleportation issue is due to the animation that plays when equipping the torch. It would seem that forcing the PC to play idle animations causes the game to store where that animation occured and warp the player there under certain conditions. I was able to get around this in another one of my mods by moving the marker used for the player alias's AI package, but that's neither here nor there.

I've inspected the default torch01 object on a subrecord level on TESVSnip and I'm drawing a blank. I see no difference between my torch and this.

Some folks have obviously solved this problem (born2bkilled of Einithar's Lantern), I just don't know how. I'm hoping he or someone else will get back with me.
User avatar
Hannah Barnard
 
Posts: 3421
Joined: Fri Feb 09, 2007 9:42 am

Post » Thu Jun 21, 2012 8:16 am

I'd say you need to add proper animation conditions in Gameplay -> Animations -> Actors\Character\Behaviours\o_Master.hkx -> ActionActivate -> ActivateRootChar -> TorchEvents

At least that's what I needed to do when using a copy of Torch01 to make the Lanterns playable.
User avatar
Jamie Lee
 
Posts: 3415
Joined: Sun Jun 17, 2007 9:15 am

Post » Thu Jun 21, 2012 5:10 pm

@_@ ...I had no idea this animation browser even existed, nor would I ever have found it. This is awesome. And based on the conditions I see in the condition window, this totally looks like what the problem is.

Thank you! I will try this as soon as I can!
User avatar
Ernesto Salinas
 
Posts: 3399
Joined: Sat Nov 03, 2007 2:19 pm

Post » Thu Jun 21, 2012 6:50 pm

@_@ ...I had no idea this animation browser even existed, nor would I ever have found it. This is awesome. And based on the conditions I see in the condition window, this totally looks like what the problem is.

Thank you! I will try this as soon as I can!

I've spend like half a day to find this stupid animation thingy. I thought I just spare you this nuisance.
User avatar
Alada Vaginah
 
Posts: 3368
Joined: Sun Jun 25, 2006 8:31 pm

Post » Thu Jun 21, 2012 2:45 pm

The fix is actually very simple. I made myself a note about it in the docs included with my Storage Helpers mod when I was exploring the options of using lights as the movable tokens.

In the CK choose Gameplay - Animations... - Actors\Character\Behaviors\0_Master.hkx - ActionActivate - ActivateRootChar - TorchEvents. It needs to be filtered on IsCarriable rather than limiting to the item Torch01.

That's a general fix that shouldn't break other mods that might also want to create alternate carriable light objects. But be warned that at least one mod has "fixed" the problem by simply adding their own light items into the list with "OR" conditions. Unfortunately, only one mod can really alter that list. So your mod will have to load after any mods like that if all are of them are going to work correctly. (If a mod needs a different animation then it should be loaded into the animation chain ahead of that one can filter on it's own specific item type.)
User avatar
Jade Muggeridge
 
Posts: 3439
Joined: Mon Nov 20, 2006 6:51 pm


Return to V - Skyrim