Hello DimensionalWitch,
Nehahra showed us how to do this.
It has a high level of ambience and therefore also made use of these audio tricks.
There are some words about it here
You said in your 1st post that the only level you want to play the same track from beginning to end is the start map.
For the other levels you want to switch different tracks, depending on the map areas you are in, right ?
I think you can do this.
What comes in my mind are these commands:
play2
cd
With "play2" you can play cd tracks throughout the whole level.
Be careful that it will play the track in addition (meaning that if another track is running, you will hear both).
So, you should use this command for picking up items for example, that only plays a rather short track.
It will NOT interfere with the already running track, so that is most likely what you want!
With "cd" you can manage pretty everything else.
It interrupts a previously started track when you switch to a new one.
You have multiple optional further commands within, such as looping a track or playing it only once.
Then, you can also compare the already plaid track time with a time you maybe aiming for (if you want to stop the track at a specific point for example, or want to do something special then).
You will be able to do this with DP_QC_GETTIME_CDTRACK
Cobalt is experimenting with this in his mod at the moment.
The above mentioned are commands, so you have to stuffcmd them in your QC mod.
And they are working in SP only, but this is what you are aiming for, right ?
I think with these, you can do quite a lot audio effects in your game.
Having/Using Nehahra�s extensions: playmod/stopmod would allow even more...
Madgypsy will now be able to do the mod for you.
Best of luck,
Seven
Nehahra showed us how to do this.
It has a high level of ambience and therefore also made use of these audio tricks.
There are some words about it here
You said in your 1st post that the only level you want to play the same track from beginning to end is the start map.
For the other levels you want to switch different tracks, depending on the map areas you are in, right ?
I think you can do this.
What comes in my mind are these commands:
play2
cd
With "play2" you can play cd tracks throughout the whole level.
Be careful that it will play the track in addition (meaning that if another track is running, you will hear both).
So, you should use this command for picking up items for example, that only plays a rather short track.
It will NOT interfere with the already running track, so that is most likely what you want!
With "cd" you can manage pretty everything else.
It interrupts a previously started track when you switch to a new one.
You have multiple optional further commands within, such as looping a track or playing it only once.
Then, you can also compare the already plaid track time with a time you maybe aiming for (if you want to stop the track at a specific point for example, or want to do something special then).
You will be able to do this with DP_QC_GETTIME_CDTRACK
Cobalt is experimenting with this in his mod at the moment.
The above mentioned are commands, so you have to stuffcmd them in your QC mod.
And they are working in SP only, but this is what you are aiming for, right ?
I think with these, you can do quite a lot audio effects in your game.
Having/Using Nehahra�s extensions: playmod/stopmod would allow even more...
Madgypsy will now be able to do the mod for you.
Best of luck,
Seven
Comment