Jump to content

[LE] Mod Help: Remove Heads from Dead


sp0ckrates

Recommended Posts

OK, so I've done the work on this mod, and wonder if anyone has an idea how to add one more feature. I'm willing to share meshes and textures with anyone who has the solution. What the mod will do:

 

1. Dynamically adds a spell (ability) to every NPC the player meets (in the same cell).

 

2. Uses a script in the ability that fires ondying(), determining the race of the dying NPC and adding a custom-made skull to the NPC for it's race.

 

3. Adds a necklace and hat to the dying NPC that, if equipped, makes the head of the NPC invisible and leaves a bloody neck stub.

 

4. When the skull is removed by the player from the NPC, the necklace and hat are equipped, making it look as though the NPC's head is removed.

 

So I have (1), (2) and (3) completed, tested and verified as working. What I don't know how to do is (4), which is to have the dead NPC equip the items that will make it look headless when the skull is removed by the player. I'm not sure if there actually is any way to make a dead actor equip something say, onactivate().

 

Any suggestions will be appreciated. As mentioned, I'd also be willing to share my custom-made skull meshes and textures with anyone who has the solution to make (4) happen. I've made many skulls customized for each race (for example, Orc skulls look different from human, Khajiit or Argonian skulls) using 3DSMax, Nifskope and an image editor, including vampire skulls with fangs for each NPC race, which someone might like to use in her own mod.

 

If not, I'll release the mod as is, so no worries!

Edited by sp0ckrates
Link to comment
Share on other sites

A similar idea was talked about a few years back. At the time I did some tinkering and wrote some scripts which would equip the neck gore when the player took the head item. But the person wanted a head that looked like the NPC and that was pretty impossible to come up with. However, the script should work fine with a generic skull object. Here is the post where I put up the scripts that I used. Feel free to use them and/or adapt them to your needs.

Link to comment
Share on other sites

Can't you use an OnItemRemoved event to test whether the skull is taken, and then call EquipItem to make it equip your stuff? You could add those to the magic effect, though you'd need to check 'no death dispel'. You could then make it dispel itself once the skull is removed.

Yeah, I've been playing around with OnItemRemoved(). Thanks.

Link to comment
Share on other sites

A similar idea was talked about a few years back. At the time I did some tinkering and wrote some scripts which would equip the neck gore when the player took the head item. But the person wanted a head that looked like the NPC and that was pretty impossible to come up with. However, the script should work fine with a generic skull object. Here is the post where I put up the scripts that I used. Feel free to use them and/or adapt them to your needs.

Excellent! Thank you! I'll try it out and let you know how it goes. Also want to say your posts here on the forum to others have been a great help to me in the past. Keep up the good work. :smile:

Edited by sp0ckrates
Link to comment
Share on other sites

A similar idea was talked about a few years back. At the time I did some tinkering and wrote some scripts which would equip the neck gore when the player took the head item. But the person wanted a head that looked like the NPC and that was pretty impossible to come up with. However, the script should work fine with a generic skull object. Here is the post where I put up the scripts that I used. Feel free to use them and/or adapt them to your needs.

 

Works flawlessly! Thanks. As promised, I'll share my meshes and textures. Or if you like, I have experience with Nifskope and 3DSMax. Perhaps I could convert some face gen heads into misc items for you?

Link to comment
Share on other sites

 

A similar idea was talked about a few years back. At the time I did some tinkering and wrote some scripts which would equip the neck gore when the player took the head item. But the person wanted a head that looked like the NPC and that was pretty impossible to come up with. However, the script should work fine with a generic skull object. Here is the post where I put up the scripts that I used. Feel free to use them and/or adapt them to your needs.

 

Works flawlessly! Thanks. As promised, I'll share my meshes and textures. Or if you like, I have experience with Nifskope and 3DSMax. Perhaps I could convert some face gen heads into misc items for you?

 

Oh, I don't need them. That was just something I felt like tinkering around with at the time just to see what was possible and what was not. Glad the scripts worked for your needs.

Link to comment
Share on other sites

 

 

A similar idea was talked about a few years back. At the time I did some tinkering and wrote some scripts which would equip the neck gore when the player took the head item. But the person wanted a head that looked like the NPC and that was pretty impossible to come up with. However, the script should work fine with a generic skull object. Here is the post where I put up the scripts that I used. Feel free to use them and/or adapt them to your needs.

 

Works flawlessly! Thanks. As promised, I'll share my meshes and textures. Or if you like, I have experience with Nifskope and 3DSMax. Perhaps I could convert some face gen heads into misc items for you?

 

Oh, I don't need them. That was just something I felt like tinkering around with at the time just to see what was possible and what was not. Glad the scripts worked for your needs.

 

 

Thanks again. :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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