* Quake Speed Patch 1.0 * This patch changes the players speed depending on his health condition and carried weight, so wounded and overloaded player will slow down! Instructions: (just change client.qc) 1. search for "void() PlayerPreThink=" and add "local float addspeed;" 2. search for the next "// intermission or finale" and add addspeed = (self.health - 100); addspeed = addspeed - 5*(self.items == IT_ARMOR1) - 7*(self.items == IT_ARMOR2) - 10*(self.items == IT_ARMOR3); addspeed = addspeed - (self.ammo_shells * 0.2) - (self.ammo_nails * 0.1) - (self.ammo_rockets * 0.5) - (self.ammo_cells * 0.3) ; addspeed = addspeed - 5*(self.weapon == IT_SUPER_SHOTGUN) - 5*(self.weapon == IT_NAILGUN); addspeed = addspeed - 7*(self.weapon == IT_SUPER_NAILGUN) - 7*(self.weapon == IT_GRENADE_LAUNCHER); addspeed = addspeed - 10*(self.weapon == IT_ROCKET_LAUNCHER) - 10*(self.weapon == IT_LIGHTNING); addspeed = 1 + 0.003*addspeed; self.velocity_x = self.velocity_x * addspeed; self.velocity_y = self.velocity_y * addspeed; 3. compile the files according to the QuakeC instructions This patch is again text only to make modifying of other mods possible using old cut-and-paste, to get a complete conversion including "use", to "get", "drop" and "kick" and lots of other features just go and get my Quake Plus patch (ftp.cdrom.com://pub/idgames2/quakec/misc/QPlus*)! Werner Spahl (ui22273@sun1.lrz-muenchen.de) 14.9.1996 "The reason of my life is to make me crazy!"