Jump to content

Need help making blood gush from body with scripting


dePog

Recommended Posts

Hi Guys,

 

I want to add the command into my mod's script that shows the player bleeding. I don't mean the ' bleedout animation' where you are on the ground panting. I mean the animation that shows blood gushing out of your body. Does anybody know the scripting command line for this?

 

Thanks,

dePog

Link to comment
Share on other sites

Hmm, don't know which animation you mean. But if it's an idle animation you can play it with:

Game.getPlayer().playIdle(...)

This method does not work if the actor is currently using a furniture maker. Here is the documentation.

 

If it's not an idle animation you can create one. That would be a bit fiddly though, but possible...

 

I have used idles many times but haven't seen one that shows blood squirting out of the players body. I will have another look.

 

Perhaps I am wrong in saying its an animation. It may be more of an effect. Basically, you see blood squirting, gushing, pumping out of your body. What is the scripting to make that happen?

 

Thanks,

dePog

Edited by dePog
Link to comment
Share on other sites

You wanna import the blood anim as an effect shader, and then apply it through script. Effect shaders are fx like dragon soul absorption and fire effects. http://www.creationkit.com/EffectShader You can use this to apply it in script. http://www.creationkit.com/Play_-_EffectShader

Thanks for the suggestion DiOnysys, but I have already tried fx shaders and none of them appear to give a blood spurting effect. Have you any idea what the name of the effect is?

 

The closest I found was a Harkon blood death effect, but it is more of a black/red mist and looks nothing like blood gushing from a wound.

Link to comment
Share on other sites

You wanna import the blood anim as an effect shader, and then apply it through script. Effect shaders are fx like dragon soul absorption and fire effects. http://www.creationkit.com/EffectShader You can use this to apply it in script. http://www.creationkit.com/Play_-_EffectShader

 

Yes I also believe it is something to do with the effect shader, as well as the ' Hit effect art ' of the magic effec. The hit effect art object I believe is where the animation* is at. You might be able to fnid something similar in those big magic mods, then all you need is to gain permission from the creator of that effect, and so you can customise it to make it look like blood.

 

If not then you will have to make those nif(s) yourself.

 

PS. I am quoting what Di0nsys said cause that would probably be how I would do it if I want to have this blood effect.

Edited by TrulymadlyNexus
Link to comment
Share on other sites

Have you looked at how Crimson Tide did it?

http://www.nexusmods.com/skyrim/mods/12798/?

I tried to see how Enhanced Blood did it, but I think its hiding inside the bsa. I also tried to pm the authors of Enhanced Blood (dDefinder1) and Deadly Mutilation (lamer1000) but they appear to be no longer on the Nexus.

 

I will have a look at Crimson Tide

 

Thanks again,

dePog

Link to comment
Share on other sites

There is a spell called BleedingSpell. Its used in the werewolf form when you feed off of a corpse; I'm using it in a scripting function as well and its the closest thing I found to make your character bleed. Just make sure to cast it on the player as the target and it'll work:

 

BleedingSpell.Cast(PlayerRef, PlayerRef)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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