PDA

View Full Version : Music changed by surface switch



MCMF_Hethrir
10-22-2000, 03:10 PM
Is there a skilled enough cogger out there who can create a cog that will change the music (.mid) in a sector or sectors when the button is pressed. (Not random changing) Only needs to change through about 5 mids. http://forums.massassi.net/html/smile.gif


------------------
"Life is a strange phenomenon, where each day is like the last", Some funny old man on a bus

Zecks
10-23-2000, 02:50 AM
Music in levels the way you're talking about can only be in .wav files. Anyhow, I don't believe it would really be that hard.

------------------
Mmm.... have a donut.

Quilty
10-23-2000, 03:05 PM
First, you need to convert the .mid files to .wav files. Then just use a message like activated and:

code

activated:

SectorSound(YourSector, YourSound, 1);

That should do it.

------------------
"Dead Reckoning"
http://www.geocities.com/quilty00