* Quake Speed Patch 1.1 * This patch changes the players speed depending on his health condition and carried weight, so wounded or overloaded player will slow down! It also slows your fall when sliding down walls and gives you the ability to climb up by jumping at any suitable wall yielding the axe. This can help you to reach places you can't jump to any more because of weight! Instructions: (just change client.qc) 1. search for "void() PlayerPreThink =" and add local float addspeed; local vector spot; 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.0005*addspeed; self.velocity_x = self.velocity_x * addspeed; self.velocity_y = self.velocity_y * addspeed; if (self.velocity_z > 0) self.velocity_z = self.velocity_z * addspeed; else self.velocity_z = self.velocity_z / addspeed; makevectors (self.v_angle); normalize(v_forward); spot=self.origin+v_forward*24+'0 0 16'; if(pointcontents(spot)==CONTENT_SOLID) self.velocity_z = self.velocity_z * 0.5; 3. search for "void() PlayerJump =" and add local vector spot; 4. add after the next "return;" makevectors (self.v_angle); normalize(v_forward); spot=self.origin+v_forward*24+'0 0 16'; if((pointcontents(spot)==CONTENT_SOLID) && (self.weapon == IT_AXE)) { self.velocity_z = 100; self.velocity_x = self.velocity_x * 0.5; self.velocity_y = self.velocity_y * 0.5; } 5. compile the files according to the QuakeC instructions Regards go to Michael Gummelt for the initial climb idea and the spot! 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) 31.5.1997 "The reason of my life is to make me crazy!"