livinginfinite Posted June 18, 2013 Posted June 18, 2013 I'm trying to get stains on clothes to show up the same way blood splatters do, except for reasons other than getting hit with a weapon. I've tried using custom spells and the script command PlayImpactEffect, but it seems like only weapons are able to place decals on character models. Has anyone encountered this before?
WaxenFigure Posted June 18, 2013 Posted June 18, 2013 The sex mods use decals to place cum, it's really simple to accomplish. It's declared as a "texture" to an "effects shader" and then applied via script: EffectShader Property _SA_xo3dBukShader001 Auto _SA_xo3dBukShader001.Play(target,180.0) The first line is where the Effect Shader is declared to the script and the second line is how it is applied, target is an actor reference and the 180.0 is the duration time (in seconds) for the effect to play. A more sophisticated system is used by the Prison Overhaul mod which applies decals (whip marks) to random locations using "Impact Data" that applies a "Texture Set" via packages. I recommend you open that mod and examine how it works in the CK since it sounds closer than my sex mod to what you are wanting to do. What I am not certain (though it should be possible since it works for blood splashes) is applying it to armor instead of an actor.
livinginfinite Posted June 19, 2013 Author Posted June 19, 2013 I've tried using an EffectShader; the problem with that is it applies the same texture on the body to the head and the hands, which can result in stains in weird places on the face and hands. The cum decals probably wouldn't work with a bald character - you'd see weird stuff on the scalp, it's just usually hidden by the hair. The whip marks only work because that's considered by the game as being struck with a weapon. Whatever mechanism that gets used by the game to produce decals when a weapon strikes isn't accessible by script or any other means, which is a bit frustrating for me! I'm settling for stains only on skin at this point, and I'm using something similar to http://skyrim.nexusmods.com/mods/32080/? to achieve it - I'm looking into the bug that he's encountered with things not showing up until a quickload/quicksave. I'm pretty sure this happens any time you have two things equipped with an ArmorAddon that occupies the body slot...I'm hoping there's some sneaky way around this. Thanks for the response, though!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.