* Quake Facemask Patch 1.0 * This patch adds an oxygen facemask that can be activated to breath in water but doesn't help in slime or lava, like the one in Dark Forces! Instructions: 1. add to the end of defs.qc .float mask_on; 2. search weapons.qc for "void() W_Precache =" and add to the others precache_sound ("hknight/idle.wav"); 3. search weapons.qc for "void() ImpulseCommands =" and insert after the bracket if (self.impulse == "xx") if (self.mask_on) { self.mask_on = 0; sound (self, CHAN_VOICE, "hknight/idle.wav", 1, ATTN_NORM); } else { self.mask_on = 1; } 4. find "void() W_WeaponFrame =" a little below and add after the line "ImpulseCommands ();" if (self.mask_on) { self.air_finished = time + 12; if (mask_time==0) mask_time=time; if (time>=mask_time) { sound (self, CHAN_VOICE, "hknight/idle.wav", 1, ATTN_NORM); mask_time = time + 3; } } 5. compile the files according to the QuakeC instructions Choose a free impulse for "xx" and bind a key to it to wear and remove the facemask, replace the sound if you like (Dark Forces wav is fine)! This patch is again text only to make modifying of other mods possible using old cut-and-paste, to get it in a complete Quake conversion test Quake Plus (ftp.cdrom.com://pub/idgames2/quakec/compilations/QPlus*)! Werner Spahl (ui22273@sun1.lrz-muenchen.de) 27.4.1997 "The reason of my life is to make me crazy!"