First two steps of fuel regen don't click, for easier feedback.

This commit is contained in:
Mari the Deer 2022-04-19 19:52:23 +02:00
commit d5f4c18d28
4 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.11 r1 \cu(Wed 20 Apr 17:24:41 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.2.11 r1 \cu(2022-04-20 17:24:41)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.11 r2 \cu(Wed 20 Apr 17:25:04 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.2.11 r2 \cu(2022-04-20 17:25:04)\c-";

View file

@ -785,6 +785,7 @@ demolitionist/knockout sounds/demolitionist/demoknockout.ogg
demolitionist/dashregen sounds/demolitionist/demodashregen.ogg
demolitionist/fuelregen sounds/demolitionist/demofuelregen.ogg
demolitionist/fuelrgend sounds/demolitionist/demofuelregenend.ogg
demolitionist/fuelrgstp sounds/demolitionist/demofuelregenstep.ogg
$playersound demolitionist neutral *grunt DSEMPTY
$playeralias demolitionist neutral *pain100 demolitionist/lopain

Binary file not shown.

View file

@ -1256,12 +1256,12 @@ Class Demolitionist : PlayerPawn
if ( (oldfuel < (default.dashfuel/24)) && (dashfuel >= default.dashfuel/24) )
{
fuelcooldown = 20;
A_StartSound("demolitionist/fuelrgend",CHAN_BODY,CHANF_OVERLAP,.6,4.,.8);
A_StartSound("demolitionist/fuelrgstp",CHAN_BODY,CHANF_OVERLAP,.6,4.,.6);
}
else if ( (oldfuel < (default.dashfuel/12)) && (dashfuel >= default.dashfuel/12) )
{
fuelcooldown = 10;
A_StartSound("demolitionist/fuelrgend",CHAN_BODY,CHANF_OVERLAP,.6,4.,.9);
A_StartSound("demolitionist/fuelrgstp",CHAN_BODY,CHANF_OVERLAP,.6,4.,.7);
}
if ( (oldfuel < dashfuel) && (dashfuel == default.dashfuel) )
{