MissMarilynn
Member
Posts: 74
Joined: Oct 2011
Reputation: 0
|
RE: Problem with timing script...
(01-10-2012 05:07 AM)flamez3 Wrote: Replace 01_amb_darkness.ogg to 02_amb_safe.ogg.
Now go to
void intro4(string &in asTimer)
{
SetMessage("Intro", "Beginning3", 5);
AddTimer("", 6, "intro3");
}
And Add StopMusic(float afFadeTime, int alPrio);
It would look like this:
Quote:void intro4(string &in asTimer)
{
SetMessage("Intro", "Beginning3", 5);
AddTimer("", 6, "intro3");
StopMusic(6.0f, 1);
}
And at
void intro3(string &in asTimer)
{
FadeIn(2);
}
Add PlayMusic("01_amb_darkness.ogg", true,1.0f, 2.0f, 0, true);
It would look like this:
Quote:void intro3(string &in asTimer)
{
FadeIn(2);
PlayMusic("01_amb_darkness.ogg", true,1.0f, 2.0f, 0, true);
}
Hurray! Thank you so much for walking through this with me.
You don't perchance know how to add images along with the text do you? I'm looking everywhere but I can't seem to find any scripting for it. I know how to add images to the loading page but not the fade in/out...
|
|
| 01-10-2012 05:35 AM |
|
flamez3
Posting Freak
Posts: 1,319
Joined: Apr 2011
Reputation: 57
|
RE: Problem with timing script...
I'm not sure you can. You would have to make a billboard with the appropriate .mat file. Then again, I'm not even sure you can set them unactive.
|
|
| 01-10-2012 06:03 AM |
|
MissMarilynn
Member
Posts: 74
Joined: Oct 2011
Reputation: 0
|
RE: Problem with timing script...
(01-10-2012 06:03 AM)flamez3 Wrote: I'm not sure you can. You would have to make a billboard with the appropriate .mat file. Then again, I'm not even sure you can set them unactive.
Aaah that's alright. Thanks for all your help!
|
|
| 01-10-2012 06:04 AM |
|
Khyrpa
Senior Member
Posts: 615
Joined: Apr 2011
Reputation: 24
|
RE: Problem with timing script...
(01-10-2012 06:03 AM)flamez3 Wrote: I'm not sure you can. You would have to make a billboard with the appropriate .mat file. Then again, I'm not even sure you can set them unactive.
You can set a billboard active or unactive by connecting it to a light and changing that lights color with FadeLightTo
|
|
| 01-10-2012 06:15 AM |
|
flamez3
Posting Freak
Posts: 1,319
Joined: Apr 2011
Reputation: 57
|
RE: Problem with timing script...
(01-10-2012 06:15 AM)Khyrpa Wrote: (01-10-2012 06:03 AM)flamez3 Wrote: I'm not sure you can. You would have to make a billboard with the appropriate .mat file. Then again, I'm not even sure you can set them unactive.
You can set a billboard active or unactive by connecting it to a light and changing that lights color with FadeLightTo
wow, thanks; great tip
|
|
| 01-10-2012 06:19 AM |
|