cl_movement_edgefriction $edgefriction\r
cl_movement_friction $sv_friction\r
cl_movement_jumpvelocity $sv_jumpvelocity\r
+cl_movement_crouchvelocity $sv_crouchvelocity\r
cl_movement_maxairspeed $sv_maxairspeed\r
cl_movement_maxspeed $sv_maxspeed\r
cl_movement_stepheight $sv_stepheight\r
seta v_kicktime $v_kicktime\r
seta r_subdivisions_tolerance $r_subdivisions_tolerance\r
\r
+// create CSQC physics cvars at normal defaults\r
+set cl_movement_crouchvelocity 0.5\r
+set sv_crouchvelocity 0.5\r
+\r
// ticrate\r
sys_ticrate 0.0166667\r
cl_netfps 60 // should match\r
edgefriction 1\r
sv_stepheight 34\r
sv_jumpvelocity 260\r
+sv_crouchvelocity 0.6\r
sv_wateraccelerate -1\r
sv_waterfriction -1\r
sv_airaccel_sideways_friction 0.35\r
stuffcmd(e, strcat("cl_movement_maxairspeed ", ftos(cvar("sv_maxairspeed")), "\n"));\r
stuffcmd(e, strcat("cl_movement_stopspeed ", ftos(cvar("sv_stopspeed")), "\n"));\r
stuffcmd(e, strcat("cl_movement_jumpvelocity ", ftos(cvar("sv_jumpvelocity")), "\n"));\r
+ stuffcmd(e, strcat("cl_movement_crouchvelocity ", ftos(cvar("sv_crouchvelocity")), "\n"));\r
stuffcmd(e, strcat("cl_movement_stepheight ", ftos(cvar("sv_stepheight")), "\n"));\r
stuffcmd(e, strcat("set cl_movement_friction_on_land ", ftos(cvar("sv_friction_on_land")), "\n"));\r
stuffcmd(e, strcat("set cl_movement_airaccel_qw ", ftos(cvar("sv_airaccel_qw")), "\n"));\r
if (wishspeed > sv_maxspeed*maxspd_mod)\r
wishspeed = sv_maxspeed*maxspd_mod;\r
if (self.crouch)\r
- wishspeed = wishspeed * 0.5;\r
+ wishspeed = wishspeed * cvar("sv_crouchvelocity");\r
if (time >= self.teleport_time)\r
PM_Accelerate(wishdir, wishspeed, wishspeed, sv_accelerate*maxspd_mod, 1, 0);\r
}\r
if (wishspeed > maxairspd)\r
wishspeed = maxairspd;\r
if (self.crouch)\r
- wishspeed = wishspeed * 0.5;\r
+ wishspeed = wishspeed * cvar("sv_crouchvelocity");\r
if (time >= self.teleport_time)\r
{\r
float accelerating;\r
\r
- 0.7: When a player sound has less volume because the player is in a belly, make sure that doesn't apply to neighboring prey, because they are there too\r
\r
-- 0.7: Fix crouch walking speed\r
-\r
- 0.7 BUG: Fix assignment to world.scale when there is no weapon model in hand\r
\r
- 0.7: I set a different horizontal and vertical view bobbing, but the menu sliders adjust both to the same value. Fix this somehow
\ No newline at end of file