Search the Community
Showing results for tags 'hanged'.
-
First here is link to My Stuff page - Jebbalon's Stuff That is where I uploaded an example of how to Hang NPCs in Skyrim. (there's other stuff on the page - or - will be) Here I'd like to discuss it more, maybe answer questions and offer other uses for the technique used. Vanilla Skyrim comes with an attempt to provide a method of Hanging NPCs. However, it is not used - because it doesn't work. Following objects and scripts are involved... hangedManRopeTRIG [ACTI:00035328] rigidBodyDummy [MSTT:000D19BA] fakeForceBallNudge [EXPL:000C800D] HangedManScript.psc DefaultWerewolfAttachPointSCRIPT.psc That last script is what I used to combine with the HangedManScript to make my example mod. It is used on a Werewolf in Gallows Rock - he is hanging by one hand. This works and it was not hard to figure out how to combine the two. Here is my final script to use on corpses you want to send to the gallows!! You'll notice I made comments in some places. The OnHit and OnItemRemoved events are optional - if you just want the hanging you can comment them out. OnHit event currently just drops the body but you could add the ApplyHavokImpulse to hit the corpse and make it move instead. The OnItemRemoved is setup to have a letter placed in inventory and when removed the body drops. You can easily change that to any item, use OnItemAdded instead, or have some other action take place instead of dropping corpse. Original setup used the activator hangedManRopeTRIG - I think they wanted the cool effect of Robin Hood shooting the rope and saving his friends! But this doesn't work. One reason is that the rope mesh has collision on it. This makes the NPCs head sit all weird and causes it to flip out. In my example mod I used a rope that doesn't have collison DockColStrSignRope01 [STAT:00093480] As seen in the Werewolf example - it's script is attached to the corpse, not the rope. This works much better. If you still want the Robin Hood effect you could add small collision box around rope and attach an OnHit() script to that. Now for the other script I included in my example mod..... This is attached to the rigidBodyDummy and will translate the node back and forth slightly to simulate the body swaying while hung. Okay, that's all I have for now. Any questions or comments ? Thanks all, -Jebbalon