Reverted step height.
Made double tap dodge toggleable (and its sensibility configurable). Fixed some long standing bugs with dual enforcers.
This commit is contained in:
parent
459f526e60
commit
793fc320f4
5 changed files with 30 additions and 19 deletions
|
|
@ -43,8 +43,6 @@ Class UTPlayer : DoomPlayer
|
|||
Player.DamageScreenColor "FF 00 00";
|
||||
Player.ViewHeight 46;
|
||||
Player.GruntSpeed 20;
|
||||
MaxDropoffHeight 18;
|
||||
MaxStepHeight 18;
|
||||
+NOMENU;
|
||||
UTPlayer.DollType DOLL_Male;
|
||||
}
|
||||
|
|
@ -286,7 +284,7 @@ Class UTPlayer : DoomPlayer
|
|||
if ( fm )
|
||||
{
|
||||
int clk = abs(gametic-last_fm_tap);
|
||||
if ( (clk < 8) && (last_fm*fm == 0) && (last_tap_fm*fm>0) )
|
||||
if ( (clk < flak_taptics) && (last_fm*fm == 0) && (last_tap_fm*fm>0) )
|
||||
dodge += RotateVector((fm,0),angle).unit();
|
||||
if ( !last_fm && (last_jump_held < gametic-1) )
|
||||
{
|
||||
|
|
@ -298,7 +296,7 @@ Class UTPlayer : DoomPlayer
|
|||
if ( sm )
|
||||
{
|
||||
int clk = abs(gametic-last_sm_tap);
|
||||
if ( (clk < 8) && (last_sm*sm == 0) && (last_tap_sm*sm>0) )
|
||||
if ( (clk < flak_taptics) && (last_sm*sm == 0) && (last_tap_sm*sm>0) )
|
||||
dodge += RotateVector((0,-sm),angle).unit();
|
||||
if ( !last_sm && (last_jump_held < gametic-1) )
|
||||
{
|
||||
|
|
@ -309,7 +307,7 @@ Class UTPlayer : DoomPlayer
|
|||
last_sm = sm;
|
||||
if ( !bNoGravity && player.onground && (waterlevel < 2) )
|
||||
{
|
||||
if ( dodge.length() > 0 )
|
||||
if ( flak_tapdodge && (dodge.length() > 0) )
|
||||
{
|
||||
if ( flak_doomspeed ) vel += dodge.unit()*(groundspeed_doomish*1.5)/TICRATE;
|
||||
else vel += dodge.unit()*(groundspeed*1.5)/TICRATE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue