So, in NWN1 and NWN2, we have a method to handle the fading in/out of the screen. So far, I haven't come across such a method. However, by look at another thread about script camera visual effects, I learned that I could manipulate da_HSVMatrix. Once I enable it in my custom level, I can call this to make the screen go black:
FB_SetEffectResource("da_HSVMatrix", "Brightness", 0.0);
Now, I can certainly script it in a way where it progressively fades in or out, by manipulating that "Brightness" option by making successive calls to DelayEvent (which I assume would be processor intensive as it is). I'd rather not re-do existing work, so I was wondering if there was some library handling this, that I missed. Or, perhaps I'm going about it the wrong way? I mean, I guess I could just create a cutscene for the particular event, I was just hoping there was a scripting solution to it.
Thanks in advance for any input.





Retour en haut







