Jump to content
The Dark Mod Forums

Missing footstep (and other?) sounds


Recommended Posts

I tried troubleshooting this a little today and found someone had put forth a theory about the same channel not being able to load another sound until it was finished playing the current sound. When i set maxsoundspershader (in both instances in the doomconfig.cfg to be safe) to 1, only 1 of the four footstep sounds will play for a given speed of movement. It plays over and over, and i don't get any missing steps either, or at least that seems to be the case. There is a small amount of variation in frequency, but im guessing thats because the step trigger is tied to the bob settings? Can someone point me in another direction to look at? Or is this a dead end with no solution except to shorten the sound file?

Link to comment
Share on other sites

Each footstep shader has at least 4 different sounds that are selected from randomly. When you change "maxsoundspershader" to 1, you're just telling the code to always pick the first sound in the list.

Link to comment
Share on other sites

Right, i noticed that, i thought it might at least be a clue as to what it was not. Yet certainly more then one sound at a time usually comes through your speakers right? You can have an ambient track playing in all channels, then swing a sword and the ambient track doesn't stop, then start again. Normally you'll have a good 20 or so sounds coming through you speakers at heavy load.. I remember the "Fall of Berlin" map on Battlefield 2142, there was a sort of choke point there that one side always had to get through. There would be 30 guys on each side next to each other, all fighting or moving and I remember thinking, what a cluster F of sound. I also remember the Xf-I card could support up to 128 voices, which i thought to mean, 128 sounds at a time. I wonder if its a limitation of .oggs?

Link to comment
Share on other sites

Not sure if there's a limit of how many oggs can be playing at once. My uneducated guess would be that sounds are trying to play on the same channel, and are cutting off other sounds on that channel. I know that a new sound playing on the "voice" channel (or whatever it's called) will cut off a bark that has already started.

Link to comment
Share on other sites

I know that a new sound playing on the "voice" channel (or whatever it's called) will cut off a bark that has already started.


Ironiously this is one thing I like about Thief; The AI's speech is stopped instantly if the AI sees you or notice anything strange. In some games the talking can go on as the sound file will play to the end no matter what :blink:

Link to comment
Share on other sites

It's certainly desirable, otherwise the AI could be saying two things simultaneously. But it could result in something getting cut off if it's on an unexpected channel. For instance, are footsteps played on the Body channel?

Link to comment
Share on other sites

Must be worth substituting some ultra short sounds (any) to see if the length of the sound is the problem to test your theory NC.


I can pretty much confirm that already since i decided to finish something i started, which was the quiet (er) footstep set i was working on. I inserted some sounds which took into account the entire planting of the foot from heel to toe, which is longer (x3 on some of the crouch_walk's) than the current sounds. The crouch and the run clip quite a bit more. Hopefully its not some global parameter that is causing this which can't be switched off for the guard vocals.

Link to comment
Share on other sites

Yes, footsteps are played on the body channel.


So are the zone ambient tracks. Yet I've never noticed footsteps cutting off the ambient, or vice versa. Maybe the voice track is a special case?

Link to comment
Share on other sites

So are the zone ambient tracks. Yet I've never noticed footsteps cutting off the ambient, or vice versa. Maybe the voice track is a special case?


That's something quite interesting... I'm not sure if it's the same channel in regards to AI and such but :


I seem to remember running into an issue where when ambient is used by location info, that quicksave/load sometimes breaks either footsteps(usually only of certain npcs) or the ambient. I'm sure I can dig around and find some other reports and make a bugreport if I can reproduce it.

Link to comment
Share on other sites

This issue with ambients disappearing after quicksave (never after quickload I got that) I got very, very often during Doom3!! Only once in a TDM-FM, but I can´t remember what mission it was. The interesting part:

To prevent the bug I only saved then in Doom3 in the main menu, and really some times after the save the menu-music disappeared!! And it wouldn´t come back, but this way I could keep the game-ambients. I had the impression that this was caused by massive use of ambients, though it doesn´t makes sense then for the menu-music, does it?

Edited by LEGION

-> Crisis of Capitalism

-> 9/11 Truth


(hard stuff), more
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 3 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
      You guys did not know that, did you?
      · 2 replies
  • Create New...