Jump to content

Exploding npc/creatures


Recommended Posts

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

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

  • Recently Browsing   0 members

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