* Quake Medkit Patch 1.1 * This patch changes the super health into a medkit which can be stored and activated when really needed, exactly like the Duke Nukem 3D one! Instructions: 1. search items.qc for "if (self.healtype == 2)", remove the next four lines after the bracket, then add other.healamount = self.healamount; sprint(other, "You get the Medkit\n"); 2. find "other.items = other.items | IT_SUPERHEALTH;" a little below and remove the next tree lines 3. search weapons.qc for "void() ImpulseCommands =" and insert after the bracket if ((self.impulse == "xx") && (self.items & IT_SUPERHEALTH)) { if (self.health >= self.max_health) return; if (self.health + self.healamount <= self.max_health) { T_Heal(self, self.healamount, 1); sprint(self, "You receive "); s = ftos(self.healamount); sprint(self, s); sprint(self, " health\n"); self.healamount = 0; self.items = self.items - (self.items & IT_SUPERHEALTH); } else { self.healamount = self.healamount - (self.max_health - self.health); sprint(self, "You receive "); s = ftos(self.max_health - self.health); sprint(self, s); sprint(self, " health\n"); T_Heal(self, (self.max_health - self.health), 1); } sound(self, CHAN_ITEM, "items/r_item2.wav", 1, ATTN_NORM); stuffcmd (self, "bf\n"); } 4. compile the files according to the QuakeC instructions Choose a free impulse for "xx" and bind a key to it to use the medkit. 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) 26.4.1997 "The reason of my life is to make me crazy!"