DocClox Posted April 10, 2019 Posted April 10, 2019 I have a spell I'm making called "The Body Electric". If you cast it, it charges you up with electrictity and you get a visual shock shader. Doesn't hurt, just looks badass. The thing is, if you start having sex with the spell running, the shader also applies to your parter, and they do get hurt by it, albeit not very much. What I'd like to do is have the effect appear to flare when either party orgasms, so the sparks get bigger or more intense for a moment, and then they subside again. I can do the spell scripting, but I know next to nothing about shaders. Anyone give me a hint or two?
Guest Posted April 10, 2019 Posted April 10, 2019 Most of them are done using particle shaders and emitters. That are just an animated type of NIF. Copy the one you want, and just change its "Scale" to something little bigger. Then you can apply the shader to the actors directly using a script, no need to create an actual magic effect
DocClox Posted April 10, 2019 Author Posted April 10, 2019 Well, these aren't nifs The shock event that most people know is ShockFXShaderNew. That doesn't have a nif reference (or any reference to an object other than the sound effect) but it does have the path to a teture. That one is four different lightning paths. I assume that these are the animation with the path in one quarter shown for a moment, then the next, and looking at them, that would seem to be about right. Only thing is, I can't see anything saying how big those cells in the 4x4 dds file are. I mean the texture is 256x256, but I can't see anything saying 128 in the data, so I'm worried they are a standard size and upping the textures size won't help. I guess I'll have to do some tests when I get home. [edit] I might be able to do what I want by starting a second shader with a different time offset. That could double the number of sparks, which would do what I need.
karlpaws Posted April 10, 2019 Posted April 10, 2019 Not that I can help, but I happened to use a shock aura type spell playing last night (one of those do damage to those that hit you and do a little extra damage to those that you hit in melee type spells) and was thinking that an item that added that look to you would be really cool. One thing I could guess at, is whether you are using consensual or aggressive anims in relation to doing damage to your partner.... I've heard Oofs and ouch type sounds occasionally when it didn't make sense, and I think that's what's going on. Unless the sounds are totally random, which is also possible.
DocClox Posted April 10, 2019 Author Posted April 10, 2019 4 minutes ago, karlpaws said: Not that I can help, but I happened to use a shock aura type spell playing last night (one of those do damage to those that hit you and do a little extra damage to those that you hit in melee type spells) and was thinking that an item that added that look to you would be really cool. I did notice a "large shock shader" in the CK earlier on. That might solve the problem nicely 1 minute ago, karlpaws said: One thing I could guess at, is whether you are using consensual or aggressive anims in relation to doing damage to your partner.... I've heard Oofs and ouch type sounds occasionally when it didn't make sense, and I think that's what's going on. Unless the sounds are totally random, which is also possible.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.