Sound problems...

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Sound problems...

Post by Black-Hole »

Im not going to post the variables trigger its to long. But i will tell you. Each sound has its own variable. For example
Sound[1] = 1 <gen>
All the way to
Sound[198] = 198 <gen>

Thats the Variables.

Than im trying to play the sounds but nothing happens, ive tryed everything i can think of and this is what my Test Sound trigger looks like at the Moment...

Code: Select all

Sound
    Events
        Player - Player 1 (Red) types a chat message containing -test as An exact match
    Conditions
    Actions
        Set SoundNumber = (Random integer number between 1 and 198)
        Sound - Set position of Sound[SoundNumber] to (Center of (Playable map area)) with Z offset 0.00
        Sound - Set Sound[SoundNumber] distances to 1000000000.00 minimum and 1000000000.00 maximum
        Sound - Set cutoff distance of Sound[SoundNumber] to 1000000000.00
        Sound - Set volume of Sound[SoundNumber] to 100.00%
        Wait 0.01 seconds
        Sound - Play Sound[SoundNumber]
Not sure why its not playing, ive tryed everything (thats why everything is 10000000000.00)
DL.PIGGY
Newcomer
Posts: 15
Joined: May 30th, 2007, 4:19 pm

Re: Sound problems...

Post by DL.PIGGY »

Did u initialize the variables. Like set it to run @ map initialization?

Are all the sounds already an in game variable under the sound editor?

Why not just use sound - play sound?
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Sound problems...

Post by Black-Hole »

I figured it out, than went away for the weakened and forgot to remove the topic :(

The problem was my 200 sound files were in 3D sounds. So i had to go through for about 25min and make sure they wernt