jeudi 20 novembre 2014

KF Music Loops

Hi all,



I'm wondering how to correctly loop music in Killing Floor. My setup is this:

1. I have a fade in track that is the intro to the main music

2. The main music that is looped for about 10 seconds, over and over

3. a fade out track that ends the loop

I understand that this is hard to comprehend. Basically



Fade in > Loop > Fade out

All 3 tracks are separate from one another.



I want to change the music to the 'Loop' track right after the 'Fade in'. No pauses or anything, or it'll take away from the game. I've tried to time it, but due to lag on some PC's, this isn't a surefire way to go about this. Is there a way I can change the music ONLY after the track is finished playing?

So I've been doing this:

<WAITFOREVENT>

<Event = "BeginMusic">

<PLAYMUSIC>

<Music = "ExampleFadeIn.ogg">

<Instant>

<WAITFORTIMER>

<17>

<PLAYMUSIC>

<MUSIC = "ExampleLOOP.ogg">

<WAITFOREVENT>

<Event = "MusicFadeOut">

<PLAYMUSIC>

<MUSIC = "ExampleFadeOut">



This is so rough and I hope I asked this is a way people will understand. If you'd like, I could post the tracks themselves so you can get a much better understanding of what I mean.



Thanks.




Aucun commentaire:

Enregistrer un commentaire