Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Music Question
Music Question
2001-12-03, 11:47 PM #1
How do I make it so that I can play custom music in a level while still hearing explosions and such? Would that require a different channel? If so, how would I cog it?

------------------
Cordially,
Lord Tiberius Grismath
Head Administrator
GCWC.net
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2001-12-05, 10:23 AM #2
Gah!

I'd ram your head into a wall if there was one...

Look, all you need to do is save it as a .wav (you might be OK with .mid) and then use it as a background ambient. No cogs needed. You hear everything, just you can't play two at once, unless you got one to make a looping ambient cog, playable in a sector(s) if you want it like that. No, don't ask me. ( cannot cog. At all. Definitely not. No way. No. Not at all. Nuh-uh.

Did I mention no?

------------------
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
2001-12-05, 12:21 PM #3
BAH! There is absolutly NO WAY IN HELL your going to get a MID to play in JK. Not without an external program.


As for regular ole' wavs, sure, theyll work, but make sure there under 1MB. I dont have the time to write out the cog, but use something like this:


Code:
Some_message:
Int_channel = Playsoundthing(Music, J_box, 1.0, -1, 50, 0x1);
Stop;


Some_other_message:
Stopsound(Int_channel);
Stop;



That will let you start and stop a looped WAV.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-06, 2:02 AM #4
Should I actually say int_channel? lol

or 1_channel, for example?

------------------
Cordially,
Lord Tiberius Grismath
Head Administrator
GCWC.net
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2001-12-06, 2:04 AM #5
Oh, and Tony, you sure are mad, as the MID files will NOT WORK. Also, I want it to be ambient music that goes with you and changes, NOT SECTOR MUSIC. Thanks for the help, GBK.

------------------
Cordially,
Lord Tiberius Grismath
Head Administrator
GCWC.net
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2001-12-06, 4:56 AM #6
The Int channel can be anything; 'Bob', 'Your_mother', 'Lotsa_crap'. It doesnt matter. You just have to spell it right, and predefine it in the symbols section....

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-06, 4:59 AM #7
You can use 'Sector sounds' for music. LEC did in JK1. Remember the bar, in the first part of 01Narshadda? That music was sector sounds. The volume simply gets lower and lower until its at 0.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!