Jump to content

Modder Help Needed - Human NPC decomposition mod through SPID


Recommended Posts

Posted

I am a texture artist/modder with no experience of scripting or advanced SPID. I want to create a simple decomposition mod but need some help with scripting and SPID.

Can someone familiar with SPID/scripting lend a hand? 

 

The logic is simple: When a humanoid NPC is/was dead, SPID distributes a "perk" or "active effect" indicating the NPC is dead. If NPC has the perk or active effect, the perk would start a counter (3 days?) for the NPC to add another "perk" or "active effect" indicating they are in decomposition stage. Once the decomposition perk or active effect is added to the NPC, the SPID would distribute a decomposition skin texture, I made, to the NPC. 

 

 

Posted

Yes. I used that mod as reference. I still need help.

 

On used a modified script that when NPC dies, the script adds the NPC to "decomposition" faction. While I dont know if the custom faction is truly added to the dead NPC, I think this works because I added an unequip function and the dead NPC does unequip when the script triggers. Through SPID, I added a code to distribute the custom based on "decomposition" faction and it isn't showing up on the dead npc. For the life of me, I could not figure out why. I am not sure if it is RSV interfering with it.

 

Keyword = RSVignore|NONE|DecompositionStage1Faction
Keyword = DecompSkin1|NONE|DecompositionStage1Faction

Skin = 0x792F~decomposition.esp|ActorTypeNPC|DecompositionStage1Faction,DecompSkin1|NONE|NONE|NONE|100
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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