home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 29
/
XENIATGM29.iso
/
wads
/
qpatch
/
qvoice10.txt
< prev
next >
Wrap
Text File
|
1997-06-11
|
4KB
|
111 lines
* Quake Multivoice Patch 1.0 *
This patch adds two free playable voices to some of the Multiskin 1.1
charakters to hopefully enhance the mood of Quake Multiskin Games!
Instructions: (just change weapons.qc of your favorite multiskin mod)
1. search for "void() W_Precache" and add the lines:
precache_sound ("voices/01show.wav"); // Marine (1): Showtime
precache_sound ("voices/01pay.wav"); // Marine (1): Payback time
precache_sound ("voices/02blow.wav"); // Duke Nukem (2): Blow it out your ass
precache_sound ("voices/02eat.wav"); // Duke Nukem (2): Eat shit and die
precache_sound ("voices/03die.wav"); // Toad (3): Die human
precache_sound ("voices/03suck.wav"); // Toad (3): Suck it down
precache_sound ("voices/04scum.wav"); // Stormtrooper (4): Stop rebel scum
precache_sound ("voices/04stop.wav"); // Stormtrooper (4): You there, stop
precache_sound ("voices/06back.wav"); // Terminator (6): I'll be back
precache_sound ("voices/06hasta.wav"); // Terminator (6): Hasta la vista
precache_sound ("voices/07judge.wav"); // Judge Dredd (7): Judge this
precache_sound ("voices/07law.wav"); // Judge Dredd (7): I am the law
precache_sound ("voices/08over.wav"); // Soldier (8): Over here
precache_sound ("voices/08seeyou.wav"); // Soldier (8): I see you
precache_sound ("voices/11scream.wav"); // Predator (11): Scream
precache_sound ("voices/11snat.wav"); // Predator (11): Snatter
precache_sound ("voices/18cover.wav"); // NYPD Cop (18): Take cover
precache_sound ("voices/18run.wav"); // NYPD Cop (18): Run away
2. search for "void() ImpulseCommands" and add the lines:
if (self.skin == 0)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/01show.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/01pay.wav", 1, ATTN_NORM);
}
if (self.skin == 1)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/02blow.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/02eat.wav", 1, ATTN_NORM);
}
if (self.skin == 2)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/03die.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/03suck.wav", 1, ATTN_NORM);
}
if (self.skin == 3)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/04scum.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/04stop.wav", 1, ATTN_NORM);
}
if (self.skin == 5)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/06back.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/06hasta.wav", 1, ATTN_NORM);
}
if (self.skin == 6)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/07judge.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/07law.wav", 1, ATTN_NORM);
}
if (self.skin == 7)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/08over.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/08seeyou.wav", 1, ATTN_NORM);
}
if (self.skin == 10)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/11scream.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/11snat.wav", 1, ATTN_NORM);
}
if (self.skin == 17)
{
if (self.impulse == 100)
sound (self, CHAN_VOICE, "voices/18cover.wav", 1, ATTN_NORM);
if (self.impulse == 101)
sound (self, CHAN_VOICE, "voices/18run.wav", 1, ATTN_NORM);
}
3. compile the qcfiles according to the QuakeC instructions
4. create a subdirectory named /sound/voices in your multiskin
directory and copy all the wav files into it
5. start your multiskin patch as usual
Don't forget to bind keys to voice 1/2 impulses 100/101! This patch is
text only to make modifying of already existing multiskin patches more
easy. I can't really test it, because of ids messy GUS classic support
so please email any bugs or comments! If Multivoice works and is fun,
more charakter voices and voices per charakter could easily be added!
Werner Spahl (ui22273@sun1.lrz-muenchen.de) 17.9.1996
"The reason of my life is to make me crazy!"