CiraKitsune Posted June 7, 2017 Share Posted June 7, 2017 Hi, I've been making a dungeon and have a table on which you find a dead NPC. I'm trying to make this NPC decapitated when you find them by using a script to equip the "DecapitatedHead" armour to them, but all it does is make their head really pale in comparison to the rest of the body. Here's the source code of the script: Scriptname NPCStartsBeheadedScript extends Actor Armor Property DecapitatedHead Auto Event OnInit() while !self.is3DLoaded() endWhile Self.EquipItem(DecapitatedHead) EndEvent Here's a screenshot of the pale head (sorry about the lighting, haven't got that far in my dungeon yet) Anyone know how to fix this?? Link to comment Share on other sites More sharing options...
DukePatrick Posted June 8, 2017 Share Posted June 8, 2017 I am confused, why not use the "headless" feature that is already built into the game? Just look at the headless horse man actor. I mean that is what you are doing right? A non-ghost and dead version of that actor. Skyrim ghosts are just normal actors with a special voice type and shader. That is basicly all. Link to comment Share on other sites More sharing options...
CiraKitsune Posted June 8, 2017 Author Share Posted June 8, 2017 Thanks for the suggestion, I didn't know about a "headless" feature (I'm quite new to modding with the creation kit) but will test it out and report back here. Link to comment Share on other sites More sharing options...
CiraKitsune Posted June 8, 2017 Author Share Posted June 8, 2017 Ok, so the npc seems to become headless when using the headless horseman outfit, but I don't want the armour there. I think the object "dunWaywardPassGhostArmor" is what makes them headless, but am not sure how to individually add this as it is part of an outfit. Could I use "Self.EquipItem(dunWaywardPassGhostArmor)", replacing the "DecapitatedHead" object? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted June 9, 2017 Share Posted June 9, 2017 (edited) Duplicate the DecapitatedHead armor object.Add the following body slot assignments: 30 - Head, 31 - Hair, 32 - Body, 42 - Circlet, 43 - EarsThen equip your new item. This should cause the head and all related parts to 'disappear' and allow the neck gore to be seen. You will not be able to have the head lying near by as it is technically still attached. The visible separation that takes place in executions and decapitation kill moves is, I believe, hard coded somewhere. EDIT: You may need to remove the 50 - DecapitateHead body slot as that is for the neck gore on the head while the 51 - Decapitate is the neck gore on the body. Edited June 9, 2017 by IsharaMeradin Link to comment Share on other sites More sharing options...
CiraKitsune Posted June 9, 2017 Author Share Posted June 9, 2017 Thanks, got it working well. Turns out the pale face glitch stayed even after making the changes outlined above, and this turned out to be because I hadn't set the armor property within the script to be properly associated with the object.I changed the Pick Object field from "Using default script value".Here: I also needed to make one modification to the slot assignments, and that was to leave slot 32 - Body unchecked as that made the main body of the npc turn invisible too. Here's the result so far! Just need to make the scene seem more brutal now. Link to comment Share on other sites More sharing options...
pwrdiag147 Posted November 7, 2017 Share Posted November 7, 2017 Thanks, got it working well. Turns out the pale face glitch stayed even after making the changes outlined above, and this turned out to be because I hadn't set the armor property within the script to be properly associated with the object.I changed the Pick Object field from "Using default script value".Here:NPCStartsBeheadedScript DismemberedCorpse Properties.png I also needed to make one modification to the slot assignments, and that was to leave slot 32 - Body unchecked as that made the main body of the npc turn invisible too. Here's the result so far!20170609205404_2.jpgJust need to make the scene seem more brutal now.Hi, I'm trying to put a decapitatedhead on a corpse too, however, it just never appears. I'm pretty sure that I have the exact same script like yours, and I have modified properly either.May you share some of your experience? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts