Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / A question that has been asked quite a few times, How to change music sky's for each level

Author
Message
jasuk70
21
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 20th Feb 2005 22:25
Below is a script I've just made for my game, and have tested it and it works. (To a degree, it would be better to have a per level setup file if anyone at TGC is watching ).



Firstly, Put this trigger so that it will trigger as soon as the player starts the level. One of the problems I had was the global startup script seemed to run after my trigger. So you will see in that script there is a time delay of 1/10th of a second before it trys to set everything up. On my system it seems to be long enough. You may need to make it longer on others.

Next the sky in the script is taken up at the level start I think so you cannot have more than 1 sky command run per level. I need to do more investigation to sort this out.

The music will cause a momentary pause (I assume while it's loading) but it's only a flicker and I expect it depends on the size of the .wav file loading)

Jas

----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"

Login to post a reply

Server time is: 2024-03-29 09:43:28
Your offset time is: 2024-03-29 09:43:28