From 397f8c6f86aa68eeef6a94cc33473c0ffd69372d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 11 Apr 2015 21:17:39 +0200 Subject: Revert the removal of stamina and sprinting. --- src/game/tremulous.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/game/tremulous.h') diff --git a/src/game/tremulous.h b/src/game/tremulous.h index 3db55f9..229e4ea 100644 --- a/src/game/tremulous.h +++ b/src/game/tremulous.h @@ -324,7 +324,21 @@ TREMULOUS EDGE MOD SRC FILE * HUMAN */ +#define HUMAN_SPRINT_MODIFIER 1.28f +#define HUMAN_JOG_MODIFIER 1.1f +#define HUMAN_BACK_MODIFIER 0.8f +#define HUMAN_SIDE_MODIFIER 0.9f #define HUMAN_LAND_FRICTION 3.0f +#define STAMINA_STOP_RESTORE 20 +#define STAMINA_WALK_RESTORE 15 +#define STAMINA_MEDISTAT_RESTORE 30 +#define STAMINA_SPRINT_TAKE 8 +#define STAMINA_JUMP_TAKE 250 +#define STAMINA_DODGE_TAKE 250 +#define STAMINA_MAX 1200 +#define STAMINA_BREATHING_LEVEL 0 +#define STAMINA_SLOW_LEVEL -500 +#define STAMINA_BLACKOUT_LEVEL -800 #define HUMAN_SPAWN_REPEAT_TIME 11000 #define HUMAN_REGEN_DAMAGE_TIME 2000 //msec since damage before dcc repairs #define HUMAN_MAX_CREDITS 2000 -- cgit