DragonAir216 Posted August 3, 2017 Share Posted August 3, 2017 I have very little scripting experience but would like to try and make a mod that something/someone (haven't decided yet) would explode after dying it seems simple but I would like some help getting a grasp on what I would have to do. Link to comment Share on other sites More sharing options...
BlahBlahDEEBlahBlah Posted August 3, 2017 Share Posted August 3, 2017 Don't really need a script, as on the npc/actor record there's a button to add Destructible Data (or something like that). Really straightforward from there on that new screen after hitting the button, but you could reference any car that can be blown up if get stuck from there. Link to comment Share on other sites More sharing options...
MissingMeshTV Posted August 3, 2017 Share Posted August 3, 2017 The latest version of FROST has glowing ghouls explode giving a burst of rads when you kill them. You might take a look at that mod to see how they are set up. Fair warning: if you give that a try, be prepared to click through a ton of CK warnings when you open the .esp. Link to comment Share on other sites More sharing options...
DragonAir216 Posted August 4, 2017 Author Share Posted August 4, 2017 Thanks for all the comments we may see exploding people yet Link to comment Share on other sites More sharing options...
werr92 Posted August 4, 2017 Share Posted August 4, 2017 This is a very simple thing indeed. If you wanna go with body parts being exploded use Dismember() function. It has an option to not only it can rip off the heads, the legs and the arms but to make them literally explode in a bloody mess. Then there is another kind of "explosion". You can place the actual explosion such as grenade one at the feet of an NPC (with PlaceAtMe() function) while he is dying. Suit yourself here, but the nice idea would be to combine these two types of explosion, so that all of the limbs were blown away from the center of explosion. If you attach script to actor it looks something like this: Event OnDying(Actor akKiller) Self.Dismember("Head1", true, false, false) Self.Dismember("Torso", true, false, false) Self.Dismember("LeftArm1", false, false, false) Self.Dismember("RightArm1", true, false, false) Self.Dismember("LeftLeg1", true, false, false) Self.Dismember("RightLeg1", false, false, false) Utility.Wait(0.15) Self.PlaceAtMe(pFragExplosion) EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts