Music Queueing

General discussion about Defcon

Moderator: Defcon moderators

User avatar
General Crespin
level1
level1
Posts: 15
Joined: Sun Oct 01, 2006 1:14 am
Location: Michigan, U.S.A.
Contact:

Music Queueing

Postby General Crespin » Sun Oct 01, 2006 2:45 am

So DEFCON already has some dynamic music.

What would be pretty cool, would be to have Vera Lynn's We'll Meet Again play when the first nuke goes off. :lol:

I could do this in Winamp, but it would be nice to have it happen automatically in game. Will this be possible to mod in the future?
-General Edor Crespin
Captain of the SSD Shadowkeeper
Commander of Amethyst Squadron
User avatar
Montyphy
level5
level5
Posts: 6745
Joined: Tue Apr 19, 2005 2:28 pm
Location: London, England

Postby Montyphy » Sun Oct 01, 2006 2:55 am

You could do it yourself already

1) Find main.dat and sounds.dat in your Defcon folder.
2) Rename them to main.rar and sounds.rar respectively.
3) Unrar both.
4) Locate sounds.txt in /Defcon/data. This file tells Defcon what sounds to play and when to play them
5) Locate /Defcon/data/sounds. This is where you would place the sound files you want to play. Not sure, but they may have to be ogg files.
Last edited by Montyphy on Sun Oct 01, 2006 3:32 am, edited 1 time in total.
Uplink help: Check out the Guide or FAQ.
Latest Uplink patch is v1.55.
User avatar
General Crespin
level1
level1
Posts: 15
Joined: Sun Oct 01, 2006 1:14 am
Location: Michigan, U.S.A.
Contact:

Postby General Crespin » Sun Oct 01, 2006 3:24 am

Thanks, Montyphy. :)
-General Edor Crespin

Captain of the SSD Shadowkeeper

Commander of Amethyst Squadron
skilletaudio
level1
level1
Posts: 16
Joined: Tue Sep 26, 2006 8:54 am

Postby skilletaudio » Sun Oct 01, 2006 3:37 am

hehe, I just started gathering my own "alternate soundtrack".

Can anyone say Tom Lehrer? "We'll all burn together when we burn..."



Heres an idea that pertains to this thread tho: If the game will actually randomly pick up and play your song, heres an idea that would fit well with an older song like that:
Instead of a modern, quality sounding song, you could EQ and filter it, throw some deep echo and spatial displacement, to make it sound like a faint record bouncing down a hall. In other words, Spooky it up! It'll fit right in with the other parts of the soundscape and might give you some chills if done right.


Dang, I'll have to do this myself now. (does my name give away that Im an audio nut?)
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Sun Oct 01, 2006 3:44 am

That sounds like an awesome idea. I'd like to hear how it sounds!

I'm not an audio nut, i just think that idea's cool ;)
Here is my signature. Make of it what you will.
Image
mr.seamonkey
level0
Posts: 4
Joined: Sun Oct 01, 2006 4:50 am
Contact:

Postby mr.seamonkey » Sun Oct 01, 2006 4:54 am

1) Find main.dat and sounds.dat in your Defcon folder.
2) Rename them to main.rar and sounds.rar respectively.
3) Unrar both.


What do you mean by unrar?
"The scilence is deafening."
User avatar
Montyphy
level5
level5
Posts: 6745
Joined: Tue Apr 19, 2005 2:28 pm
Location: London, England

Postby Montyphy » Sun Oct 01, 2006 4:56 am

mr.seamonkey wrote:
1) Find main.dat and sounds.dat in your Defcon folder.
2) Rename them to main.rar and sounds.rar respectively.
3) Unrar both.


What do you mean by unrar?


Unrar, unzip, unarchive, extract, uncompress. To use the program WinRAR to extract the information contained within the .rar archive.
Uplink help: Check out the Guide or FAQ.

Latest Uplink patch is v1.55.
User avatar
General Crespin
level1
level1
Posts: 15
Joined: Sun Oct 01, 2006 1:14 am
Location: Michigan, U.S.A.
Contact:

Postby General Crespin » Sun Oct 01, 2006 5:18 am

RARs are like ZIP files, but they generally have better compression. www.rarlabs.com
mr.seamonkey
level0
Posts: 4
Joined: Sun Oct 01, 2006 4:50 am
Contact:

Postby mr.seamonkey » Sun Oct 01, 2006 6:42 am

oh right. i knew that...

Edit: now my next question is how do i know what sound file is played for a certain event?
User avatar
General Crespin
level1
level1
Posts: 15
Joined: Sun Oct 01, 2006 1:14 am
Location: Michigan, U.S.A.
Contact:

Postby General Crespin » Sun Oct 01, 2006 6:48 am

Montyphy wrote:4) Locate sounds.txt in /Defcon/data. This file tells Defcon what sounds to play and when to play them


Look through that, it's pretty self-explanatory.
mr.seamonkey
level0
Posts: 4
Joined: Sun Oct 01, 2006 4:50 am
Contact:

Postby mr.seamonkey » Sun Oct 01, 2006 7:09 am

right, and then i find launchdetetd.ogg
how do i make that into like stairway to heaven or something?
"The scilence is deafening."
mr.seamonkey
level0
Posts: 4
Joined: Sun Oct 01, 2006 4:50 am
Contact:

Postby mr.seamonkey » Sun Oct 01, 2006 7:10 am

right, and then i find launchdetetd.ogg
how do i make that into like stairway to heaven or something?
"The scilence is deafening."
User avatar
General Crespin
level1
level1
Posts: 15
Joined: Sun Oct 01, 2006 1:14 am
Location: Michigan, U.S.A.
Contact:

Postby General Crespin » Sun Oct 01, 2006 7:17 am

Convert the sound file to OGG format, the fastest way I know of is dBpowerAMP, maybe someone else has a faster way.

Then, just put the file in the sounds directory with the rest of the sounds and music.

Then just add the file name to the list where the rest of the music is. e.g. if it's StairwaytoHeaven.ogg, add StairwaytoHeaven .

I haven't actually tried this myself, but going off what Montyphy said, it should work.
Secretpact
level1
level1
Posts: 27
Joined: Fri Sep 01, 2006 8:47 pm

Postby Secretpact » Sun Oct 01, 2006 7:27 am

Do we have to repack it into a rar and rename them to .dat?
User avatar
shinygerbil
level5
level5
Posts: 4667
Joined: Wed Dec 22, 2004 10:14 pm
Location: Out, finding my own food. Also, doing the shinyBonsai Manoeuvre(tm)
Contact:

Postby shinygerbil » Sun Oct 01, 2006 2:38 pm

Doubt it, but it's possible. Try it and see...
Here is my signature. Make of it what you will.

Image

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests