Func_Msgboard: Custom Music With Quake

News | Forum | People | FAQ | Links | Register | Log in

|  | Custom Music With Quake

Posted by printz [92.80.35.101] on 2010/09/18 19:23:45
Since Quake originally needs a CD to play music, I assume that adding custom music to a mod is to supply it with a custom disc image, such as an ISO file, and guide the users to mount it using something like Daemon Tools. How do I convince Quake, WinQuake or any port to read music from the proper drive letter?

#1 posted by [78.54.64.170] on 2010/09/18 20:44:38
Wasn't there something about Quake always looking for the soundtrack in the first drive?
#2 posted by Spirit [80.171.163.51] on 2010/09/18 21:28:00
Discussion threads are for broad topics or questions that are likely to have many replies, where there is no simple answer and many people are likely to have different opinions.
If it's a simple question or comment that will only get a few responses, please post in one of the existing permanent threads, such as Mapping Help, Screenshots & Betas, Jobs & Mappers Wanted, or General Abuse.
That aside, yes, you could do that. Or you could use an engine that supports loading Vorbis or MP3 files. Or add that functionality to an engine.
#3 posted by gb [89.27.225.163] on 2010/09/18 21:35:51
or actually call the wav files from within the mod/map via sound/ambientsound entities - Quoth should have these... which doesn't help you if you need code, but Scourge of Armagon and Extras also have these entities I think.
The latter has the advantage of being able to trigger the sounds when needed instead of just playing a CD track. You can load pretty big wav files like this, although they must be mono (not that that matters much seeing as the game produces a lot of noise all the time anyway, not really audiophile listening conditions).
So there are different ways to have music in a Quake mod. In theory. I practice, I guess most ppl are going to want mp3 tracks or something.
#4 posted by ZealousQuakeFan [82.16.91.106] on 2010/09/18 21:37:19
I miss Doom midis and the sense of silliness they bring :p
#5 posted by necros [99.227.131.204] on 2010/09/18 22:12:56
try doom editing? it's a lot of fun and the new editors are really awesome now. not at all like the dark ages with dck and such.
#6 posted by ZealousQuakeFan [82.16.91.106] on 2010/09/19 00:01:43
I thought about making something for Doom, but I've played it too much by now and I think that ultimately Quake's gameplay is better. More balanced guns and faster enemies... and as clever as Doom levels get Quake can do more :D
Actually No
#7 posted by [78.54.73.88] on 2010/09/19 00:36:31
Doom's gameplay is both faster and more balanced. Considering how sophisticated Doom levels got, Quake has still some catching up to do.
#8 posted by [78.54.73.88] on 2010/09/19 00:39:41
As for playing soundtrack wavs as map ambience, this has disadvantages too. Mike Woodham's latest map used it somewhat effectively but also in a fairly hacky way.
Actually, Whatever.
#9 posted by ZealousQuakeFan [82.16.91.106] on 2010/09/19 02:01:28
Main issue with Doom's gameplay imo is enemies are slower, the player is insanely fast, and the super shotgun is too good, to the point that it's in your hands for 99% of the time. Also in Quake there are fewer insanely damaging attacks. Fail to spot an ogre in quake and you are badly hurt. Fail to spot a commando in Doom and you are toast.
But anyway, this argument could go on for a while... and it's not like I don't like Doom anyway :p
#10 posted by necros [99.227.131.204] on 2010/09/19 07:22:32
yeah, that's my one real beef with doom. there's way too much rng for a shooter.
Oh...
#11 posted by printz [92.80.35.101] on 2010/09/19 11:30:39
@Spirit: I was aware of that, that's why I started a new thread. And it indeed isn't just a simple question, some are suggesting (vaguely) to try using ports, or use custom QuakeC ambient-sound entities, or MP3s... But perhaps you're right, this got derailed in the end and people ended up suggesting me try Doom :|
@gb: Ambient sounds with ATTN_NONE you mean? Interesting. I should try it, but as far as I remember, even ATTN_NONE sounds in Quake are panned to the side of the speaker when the source is that direction too. Does this really happen to ambient-music, particularly in multiplayer where there are several listeners?
@necros and everyone below: I'm not interested in Doom editing right now, why else do you think I came here and didn't post at Doomworld? I also want to take advantage of Quake's true-3d engine that Doom 2 lacks, and Quake should be the easiest and mod-friendliest such game.
Hmm
#12 posted by nonentity [188.223.82.21] on 2010/09/19 14:39:57
No. It really is a simple question. Go look at some of the stuff in the Mapping Help thread here;
http://celephais.net/board/view_th...
(note, that link will open all 10,000 posts in the thread, go look at the perma threads at the top of the forum page for the last 50 link).
New threads are for far broader topics, like discussion of general game-design theory, abstract discussions or different groups of media, something that will actually inspire discussion (ofter 100s of posts of).
I understand it's a slightly unusual way for a board to work, but it works for us, please respect that. Currently the reaction is remarkably polite for us.
In future please use Mapping Help or possible Coding Thread (under discussion threads).
Hmm
#13 posted by nonentity [188.223.82.21] on 2010/09/19 14:41:09
Ofter is of course often.
Although it does make me think of some kind of extra furry otter.
Hey... new monster idea... ;p
#14 posted by necros [99.227.131.204] on 2010/09/19 20:29:14
I'm not interested in Doom editing right now, why else do you think I came here and didn't post at Doomworld? I also want to take advantage of Quake's true-3d engine that Doom 2 lacks, and Quake should be the easiest and mod-friendliest such game.
that's fine... there's no need to get angry. we're just talking here.
but as far as I remember, even ATTN_NONE sounds in Quake are panned to the side of the speaker when the source is that direction too.
i actually don't know why no one does this, but if you play sounds on the player, they are always played full volume through both speakers.
in fact, you can do this without having to change anything about the player because there are 3 sound channels that are never used in quake! in fact, they aren't even reference in the defs.qc file.
CHAN_AUTO = 0
CHAN_WEAPON = 1
CHAN_VOICE = 2
CHAN_ITEM = 3
CHAN_BODY = 4
but there's also channels 5, 6, 7.
what i'd do is just create a new constant CHAN_MUSIC as one of those unused channels.
if you play your sound on that channel, it'll never be interrupted and will always be played full volume through both speakers.
of course, this will break in coop because either you limit it to only playing music from player 1, and it sounds weird to all the other players, or you have all players playing it which just means you hear doubled up sounds.
otoh, i suppose you could changed the attenuation really high (like 5 or 6). high enough that other players wouldn't hear it but the source would... hmmmmmmm
#15 posted by metlslime [159.153.4.50] on 2010/09/19 23:31:57
if you play your sound on that channel, it'll never be interrupted and will always be played full volume through both speakers. </q?>
I'd like to see this tested; my fear is that the sound will play at the player's current location and if he moves, the sound won't move with him.
#16 posted by metlslime [159.153.4.50] on 2010/09/19 23:32:27
failed at tagging on my own messageboard :(
Sounds Good
#17 posted by Preach [77.98.129.22] on 2010/09/20 00:13:54
I recall someone on inside3d spawning two entities to play music, at '-4096 -4096 -4096' and '4096 4096 4096' respectively. This apparently ensured there were no stereo issues (when you use ATTN_NONE so it's always constant volume. This post was not tested before submission!
#18 posted by necros [99.227.131.204] on 2010/09/20 00:16:46
i've already done it and it works fine.
also, in SND_Spatialize() (snd_dma.c)
// anything coming from the view entity will allways be full volume
if (ch->entnum == cl.viewentity)
{
ch->leftvol = ch->master_vol;
ch->rightvol = ch->master_vol;
return;
}
Re: #18
#19 posted by metlslime [159.153.4.50] on 2010/09/20 01:36:29
nice find... that sounds like the perfect solution then.
What About
#20 posted by bear [217.115.56.186] on 2010/09/20 20:33:07
stereo track split into two mono wavs? could it be done without using two ents following the player around on the correct sides?
Nope
#21 posted by necros [99.227.131.204] on 2010/09/20 22:33:22
since quake can't do moving sounds. (i wish custom engines would do this! (and also doppler))
#22 posted by ZealousQuakeFan [82.16.91.106] on 2010/09/21 12:09:49
Think up a great reason for medieval hell beasts to have stereo sets. Then it's all technically environmental!
Also why does this remind me of Kingpin :p
ATTN_NONE
#23 posted by ijed [190.22.44.171] on 2010/09/21 13:57:07
I did this by having music players at the max extents of each of the corners and cardinal points of a map - it still occasionally faded out though.
Playing it on the player could work, but yeah, I think it'd just remain at the info_player_start...
..really A Neverending Issue
#24 posted by delor3 [151.66.162.136] on 2010/12/12 15:37:41
In Hammer/HalfLife you put 4 ambient entities at cardinal points and you're done..
..but in Quake still you have small fades/stutter so a perfect solution does not exist
I've created my own ambient_special entity with attn_none and I'll stay with that..

Post A Reply:

Name: |
Title: |
Body: |

Website copyright © 2002-2011 John Fitzgibbons. All posts are copyright their respective authors.