• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.

Archived

This topic is now archived and is closed to further replies.

muzutsu

Scripting Help Required

g'day all.

So I've started my long and rewarding quest of learning to mod oblivion. I started out by adding a cellar to Aborwatch in Chorrol to use as a sort of test lab, that bit was easy after a little reading no dramas there.

I did a couple of hello world! tutorials after that to sort of come to terms with the scripting language. Thanks to my prior programming/scripting experience it doesn't seem to daunting however I have come across an issue.

I want to learn in a progressive way and so I thought the best way to do this would be to work on small simple parts of a mod I wish to make getting progressively more difficult as I become more and more awesome. The first of these small parts is a new sperm effect, (rather strange thing to start with I know but its small and shouldn't be that difficult in theory). Now I have a few theories on how to achieve the desired result and they are as follows.

1)Would be to make a mesh that attaches to the character with the desired texture upon it. The error I see here is that I use a rather uncommon mesh and so in order to make it compatible with everyone's game I would have to make about five version of the bloody mod (when I come to release it).

2) The far more plausible method would be to create a custom shader and then apply that to the mesh. What could go wrong there?

I initially started with method two(which means I really should have put that one first...)

I have created the shader(well a test one anyways) however I cannot find anyway to render said shader onto the PC. I first tried assigning it to a magic effect (i.e cast a spell receive a facial) but I can't find a way to create custom magic effects and from what google tells me it isn't possible. So then that leaves me with using a script to call up a shader effect. Now then here's the real issue, I can't find any bloody functions that allow me to call a shader effect...So how do I go about doing this? Or am I doing the whole this arse about face and missing something rather large and simple?

Thanks in advance.

0

Share this post


Link to post

@muzutsu,

The best help I can offer is to try reverse engineering a mod like sperm splash. I have no scripting experience but I am doing my best to learn as well.

Right now I am trying to come up with a scripted spell that will assign new movement animations to an NPC and I can't seem to find one that does exactly what I need it to do. Any help I can get on that would be awesome as well.

I think it would be great if someone with some TES scripting experience would take a few of us under their wing with some guidance.

0

Share this post


Link to post

@muzutsu' date='

The best help I can offer is to try reverse engineering a mod like sperm splash. I have no scripting experience but I am doing my best to learn as well.

Right now I am trying to come up with a scripted spell that will assign new movement animations to an NPC and I can't seem to find one that does exactly what I need it to do. Any help I can get on that would be awesome as well.

I think it would be great if someone with some TES scripting experience would take a few of us under their wing with some guidance.

[/quote']

Well as I'm about as new as you don't think I could help much, I did try and reverse engineer some of the lovers esms but locating the right scripts is difficult and all the comments are in of course japanese...Also the variable names make little sense so its kinda tricky lol. I'll keep my eye out for ya though if I stumble across something that could help you, I'll let you know ^_^

0

Share this post


Link to post