View Issue Details

IDProjectCategoryView StatusLast Update
0005554The Dark ModSoundpublic23.04.2022 15:08
ReporterAluminumHaste Assigned ToAluminumHaste  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.09 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
Summary0005554: Strafing left sounds very quiet, while strafing right sounds normal, like moving forward or backward
DescriptionStrafing left sounds very quiet, while strafing right sounds normal, like moving forward or backward
This happens in 2.09 and on SVN, I don't know why I never noticed. I guess I'm not usually just strafing, but strafing + forward or back.
This seems to only happen on wood surfaces. I check on carpet and grass, but it's already quiet so difficult to hear.
The grass sounds might be doing the same thing.

Steps To ReproduceLoad up any map with wood texture and walk left and right by strafing only.
Additional Informationhttps://www.youtube.com/watch?v=C5xCfGkFQ5Y
TagsNo tags attached.

Activities

kingsal

kingsal

03.03.2021 19:19

reporter   ~0013759

Along with this we also have an issue where the jump landing sounds are louder when sprint is held down. This might make sense if the player is running forward and has momentum while landing, but doesn't make sense when the player is standing still.
AluminumHaste

AluminumHaste

13.01.2022 18:28

developer   ~0014674

So upon further investigation, it looks like walking left plays the creepwalk animation and sound, but the speed is walking speed.

https://www.youtube.com/watch?v=zvMRVEbJHEE

I have no idea where this comes from, it was present in 2.09 but not 2.08, so some time in between those releases this bug happened.
HMart

HMart

21.04.2022 22:01

reporter   ~0014807

I found the code with bug, changing it solved the bug on my end

See here https://forums.thedarkmod.com/index.php?/topic/21376-footstep-sound-bug-in-version-210/&do=findComment&comment=472922
HMart

HMart

21.04.2022 23:22

reporter   ~0014808

"Along with this we also have an issue where the jump landing sounds are louder when sprint is held down. This might make sense if the player is running forward and has momentum while landing, but doesn't make sense when the player is standing still."

Changed this code bellow to use creep sound and that now IMO feels better

float idPlayer::GetMovementVolMod( void )
{
    float returnval = 0.0f;

    bool isCrouched = AI_CROUCH != 0;

    // figure out which of the 6 possible cases we have:
    // NOTE: running always has priority over creeping
    if( AI_RUN )
    {
        if (physicsObj.HasRunningVelocity()) {
            returnval = (isCrouched) ? m_stepvol_crouch_run : m_stepvol_run;
        }
        else
        {
            returnval = (isCrouched) ? m_stepvol_crouch_creep : m_stepvol_creep;
            //returnval = (isCrouched) ? m_stepvol_crouch_walk : m_stepvol_walk;
        }
    }
    else if(AI_CREEP)
    {
        returnval = (isCrouched) ? m_stepvol_crouch_creep : m_stepvol_creep;
    }
     // else it is not: AI_RUN or AI_CREEP
    else
    {
        returnval = (isCrouched) ? m_stepvol_crouch_walk : m_stepvol_walk;
    }
    //gameRenderWorld->DebugText(idStr(returnval), GetEyePosition() + viewAngles.ToForward()*20, 0.15f, colorWhite, viewAngles.ToMat3(), 1, 500);

    return returnval;
}
AluminumHaste

AluminumHaste

23.04.2022 14:11

developer   ~0014811

Confirmed that code change seems to have fixed the strafing left sound issue.
AluminumHaste

AluminumHaste

23.04.2022 14:20

developer   ~0014812

Please make a new bug tracker for the other issue with jump sound being too loud, as the fix is different.

Issue History

Date Modified Username Field Change
01.03.2021 13:40 AluminumHaste New Issue
03.03.2021 19:19 kingsal Note Added: 0013759
13.01.2022 18:28 AluminumHaste Note Added: 0014674
21.04.2022 22:01 HMart Note Added: 0014807
21.04.2022 23:22 HMart Note Added: 0014808
23.04.2022 14:11 AluminumHaste Note Added: 0014811
23.04.2022 14:20 AluminumHaste Note Added: 0014812
23.04.2022 14:20 AluminumHaste Assigned To => AluminumHaste
23.04.2022 14:20 AluminumHaste Status new => closed
23.04.2022 14:20 AluminumHaste Resolution open => fixed
23.04.2022 14:20 AluminumHaste Fixed in Version => TDM 2.11
23.04.2022 15:08 nbohr1more Status closed => resolved
23.04.2022 15:08 nbohr1more Target Version => TDM 2.11