DarthRevan101 104 Posted February 23, 2017 I don't know how easy this is to do so I thought I'd ask. At the end of a conversation when a bunch of characters need to leave a module at the same time, is there a way to make the screen go black for a second while they disappear? Simply because it looks better than them just vanishing in front of the player and it's less messy than all the characters walking out. Quote Share this post Link to post Share on other sites
Kexikus 995 Posted February 23, 2017 From nwscript.nss: // 719. SetGlobalFadeIn // Sets a Fade In that starts after fWait seconds and fades for fLength Seconds. // The Fade will be from a color specified by the RGB values fR, fG, and fB. // Note that fR, fG, and fB are normalized values. // The default values are an immediate cut in from black. void SetGlobalFadeIn(float fWait = 0.0f, float fLength = 0.0f, float fR=0.0f, float fG=0.0f, float fB=0.0f); // 720. SetGlobalFadeOut // Sets a Fade Out that starts after fWait seconds and fades for fLength Seconds. // The Fade will be to a color specified by the RGB values fR, fG, and fB. // Note that fR, fG, and fB are normalized values. // The default values are an immediate cut to from black. void SetGlobalFadeOut(float fWait = 0.0f, float fLength = 0.0f, float fR=0.0f, float fG=0.0f, float fB=0.0f); Black would of course be 0.0 for the three color values and then you have to customize the rest for your specific needs. Quote Share this post Link to post Share on other sites
bead-v 251 Posted February 23, 2017 You can also do it in the .dlg file, I think the field is called FadeType. Check with Kotor Tool's DLG Editor, that one makes it clear which values do what IIRC. Quote Share this post Link to post Share on other sites
Effix 532 Posted March 1, 2017 I also think the .dlg is probably easiest, this is an example from intro.dlg:I think the 4 is a fade to black and the delay the time it takes, 1 is likely 1 second, you can experiment with that. Quote Share this post Link to post Share on other sites
VarsityPuppet 1,085 Posted March 1, 2017 Or try this: 1 Quote Share this post Link to post Share on other sites
DarthRevan101 104 Posted March 1, 2017 Or try this: Finally, an answer that helps me. 1 1 Quote Share this post Link to post Share on other sites
DarthRevan101 104 Posted March 1, 2017 I also think the .dlg is probably easiest, this is an example from intro.dlg: I think the 4 is a fade to black and the delay the time it takes, 1 is likely 1 second, you can experiment with that. I'll try that, thanks! Quote Share this post Link to post Share on other sites