Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: IPAndrews on March 01, 2006, 05:13:05 am

Title: fade-in/fade-out
Post by: IPAndrews on March 01, 2006, 05:13:05 am
Is there a trick to getting these to work, or should I just give up. At present they seem to do very little.
Title: Re: fade-in/fade-out
Post by: karajorma on March 01, 2006, 05:39:42 am
Time is in milliseconds not seconds.
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 08, 2006, 06:25:44 am
Could have sworn I tried both seconds and miliseconds. From memory, fade out to black did nothing. Fade out to white did nothing for the duration of the delay, then at the end the screen all of a sudden went... white-ish. I'll test again as it would be nice to cover up the random background drawing ;).
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 08, 2006, 10:37:10 am
Yup. They behave as I described above. Play-sound-from-file doesn't work either. I give it a filename "enemy attack brief 1.wav" and, disappointingly, it doesn't play from the sound from the file. All these new sexps are great. It'd be nice if they worked too  :drevil:
Title: Re: fade-in/fade-out
Post by: CP5670 on March 08, 2006, 11:12:19 am
I have been playing with these sexps recently and they work fine for me (with black), at least with the cutscene bars enabled and without the HUD. What build are you using?

play-sound-from-file also works fine and I have used it in several of my missions, but I did run into one situation where it didn't work with a file that had a long name. So you may just need to shorten the file name.
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 09, 2006, 02:42:19 pm
I have been playing with these sexps recently and they work fine for me (with black), at least with the cutscene bars enabled and without the HUD. What build are you using?

I'm using 26/02/06 but to be honest I haven't seen those sexps work with any build. Is anyone else having issues or is it just me?   :doubt:

Quote
but I did run into one situation where it didn't work with a file that had a long name. So you may just need to shorten the file name.

Ok could be that. I'm a sucker for long file names.
Title: Re: fade-in/fade-out
Post by: Ransom on March 11, 2006, 08:05:32 am
The fade sexps seem to work weirdly. With the cutscene bars they behave for me the same as you described, but without the bars they work fine. Having the HUD disabled also seems to mess with them.
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 11, 2006, 01:57:23 pm
I'm always trying to use it with the cutscene bars. So that'll be it.
Title: Re: fade-in/fade-out
Post by: CP5670 on March 15, 2006, 01:53:02 am
I just got around to checking this out and it works perfectly fine for me with the cutscene bars. :confused: (and with the HUD disabled too, for that matter)
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 15, 2006, 02:56:11 am
 :wtf: Erm... what build dude?
Title: Re: fade-in/fade-out
Post by: CP5670 on March 15, 2006, 03:39:55 am
The latest 3/06 one. I have an event at the start of the mission that contains set-cutscene-bars, followed by fade-out with 0 (to start off with a black screen), hud-disable-except-messages with 1, a few other random things and lastly fade-in with 3000. Later on another event containing just fade-out with 4000 occurs.
Title: Re: fade-in/fade-out
Post by: IPAndrews on March 17, 2006, 09:38:12 am
Well that made absolutely no difference whatsoever. Ziltch. Nada. Zip. None. Nothing. That was with 26/02/06. So I'm certain there's a problem there. As for 06/03, well I guess I should try that too but unless the code has changed I seriously doubt it will be any different. For information I tried practically every combination of fade-in, fade-out, cutscene-bars I could think of with no success.