Mud Posted August 28, 2013 Posted August 28, 2013 I was poking around with oli3d's bukkake spell, and came across the ability to use the console to create custom enchanted items bearing the bukkake magic effect, which applies the bukkake shaders when worn. However, because the shader was originally meant for use with the spell and the cum textures move over the duration, the script is only set to apply the shader for 180 seconds using an OnEffectStart event when the bukkake magic effect is first applied (and then immediately expires). With the custom bukkake item equipped, the magic effect is always present. What can I do to make it so the shader event is run again every 180 seconds only as long as the effect is there, allowing me to have a continuously refreshing effect while wearing a custom item, and having it end normally when it is unequipped or the spell is used? Or, if I'm overthinking this and there's a much easier way of continuously re-applying the effect, I'd love to know it.
Shaydow Posted August 28, 2013 Posted August 28, 2013 If you know a little about the CK ( and it would seem as you do ), you could try just creating a new effect and applying the Shader to this one, without a script at all. Apply your effect to a new item. Or am I missing something and the script in question is NEEDED to run the shader? If anything, copy the script ( if you have the source, and it seems you do since you know the value is 180 ), make a new script to attach to a new effect, paste in the copied script, and either comment out / delete the parts dealing with the time, or just change 180 to some rather large number that is much harder to hit ( this may not be the best option as it may cause bloating ). Sorry just woke up and having some coffee while spitballing for ya. GL.
Groovtama Posted August 28, 2013 Posted August 28, 2013 Reapllying with OnUpdate Event and an if to test if the Magic Effect is still there and if not disabling the OnUpdate Event but Shaydows idea with the new effect is more elegant.
Mud Posted August 28, 2013 Author Posted August 28, 2013 I tried to work something out with the CK, but I couldn't figure out how to get it to refresh an effect every so often. The refreshing is crucial here, because the cum shader acts weird if it stays too long without fading (cum dribbling back down from on top of the actor's scalp after previously dripping under the chin and disappearing, for example). So I went with scripting. I threw myself at trying to figure out how RegisterForUpdate and OnUpdate worked until I got something that seems to refresh properly, but it seems to be imperfect. Possibly a limitation with the base game, but I noticed either the effect or the shader, not sure which exactly it is, fails to properly apply on a follower when entering certain cells where they aren't already loaded in when the game finishes loading. That is, when it takes an additional second for them to appear after the loading screen fades, I see the spell's restoration glow swirling on the follower when they load in as if the effect is being applied again, but no shader, and it seems the shader isn't reapplied after three minutes in such a case, such as when entering Jorrvaskr's basement or travelling somewhere via the coc console command. Curiously, it seems to work just fine when fast travelling, despite seeing the effect swirls being applied again the same way.
Shaydow Posted August 28, 2013 Posted August 28, 2013 This is an engine problem. You just need to unequip the item then re equip it. Maybe someone who knows more than me can tell you why. It happens with my own mod and my own effects / shaders sometimes. No scripting will help it. The script thinks it is working just fine, but Skyrim itself doesn't DRAW the effect sometimes after a load. There is nothing you can really do about it. If I am wrong I hope someone corrects me. The best you can do is turn to your follower. Ask to see inventory, take the item from them. Close out dialogue. Do it again, Re- give them the item. It should apply correctly. As you said it only seems to happen in certain INTERIOR cells. I still have not been able to figure out what causes it. All I know is a refresh on the Update will correct the issue. Hope this helps.
Mud Posted August 28, 2013 Author Posted August 28, 2013 Hmm, I thought that might be the case. I suppose the only way to combat that is to reduce the update interval for the shader, if the problem is the effect being applied but the engine failing to load the shader properly.
Shaydow Posted August 28, 2013 Posted August 28, 2013 Even constant effects ( those without scripts that just run on equip ) will do this. I have yet to find any solution other then unequip and re equip.
Mud Posted August 29, 2013 Author Posted August 29, 2013 Well, the script is working for my character and followers who are currently following me, but it doesn't seem to apply when I dismiss a follower with the item equipped and move to a different area, then come back later. When the shader doesn't appear on my followers, it'll come back when the update occurs, but nothing happens for these dismissed ones. Is this another engine limitation?
Shaydow Posted August 29, 2013 Posted August 29, 2013 Well, the script is working for my character and followers who are currently following me, but it doesn't seem to apply when I dismiss a follower with the item equipped and move to a different area, then come back later. When the shader doesn't appear on my followers, it'll come back when the update occurs, but nothing happens for these dismissed ones. Is this another engine limitation? No, but err, yes? It is because when you dismiss a follower they start to wear only what they want, most anything you GAVE them may become unequipped at any time ( sometimes they keep armor on, sometimes they put on something else if they have it, sometimes they would rather equip something they picked up along the way, don't ask me, followers are idiots ). I bet if you go back to that dismissed follower, tell them to follow you again and look, they have item on them but it is not equipped. It is the same as if you go to pickpocket some random NPC and he has say a necklace of " AWESOME GOD LIKE POWERS " in his inventory, yet notice he isn't WEARING the necklace? Because NPC's are idiots.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.