Jump to content
The Dark Mod Forums

Environmental Audio Extensions (EAX) in TDM


SneaksieDave

Recommended Posts

How to create a water-zone? I can´t just put a visportal above the water-surface for the obvious reason... I forgot that the visportal has to be closed for the 'obvious reason', but water can´t do that so I got it, should´ve tried first, but I tried as I wrote this... :blush:

 

Also, player-footsteps are affected. I´m currently converting Glenham Tower and with the outside-area from the beginning the grass-footsteps are sounding affected, also for the mid-room and small-room sets you can hear the effect when jumping. For just walking around it´s not that clear, but the effects are more subtle and more effective for sounds 'not so close' for my understanding.

-> Crisis of Capitalism

-> 9/11 Truth

->

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

  • Replies 108
  • Created
  • Last Reply

Top Posters In This Topic

Also, player-footsteps are affected. I´m currently converting Glenham Tower and with the outside-area from the beginning the grass-footsteps are sounding affected, also for the mid-room and small-room sets you can hear the effect when jumping. For just walking around it´s not that clear, but the effects are more subtle and more effective for sounds 'not so close' for my understanding.

 

If you are talking about eax effects, the walk footsteps in my "tappier" set are .ogg's, which don't allow for the reverb for some reason AFAIK. They need to be converted to .wav. I didn't bother with converting them because all the other surfaces are still .ogg anyway and Serpentine says he is going to look into to the best way to handle this. He doesn't seem to have much time though, so maybe someone should just go ahead and convert them all to .wav's for those that want them.

Link to comment
Share on other sites

Yes, jumping makes it very obvious!

 

Ah, wait, I looked into the soundshader and the pk4, the walk-grass-files are wav´s:

 

 

tdm_footstep_grass_walk
{
description "Made by GoldChocobo"
// no_dups
minDistance 1
maxDistance 30
volume -12

sound/sfx/movement/footsteps/player/grass_walk_r01.wav
sound/sfx/movement/footsteps/player/grass_walk_r02.wav
sound/sfx/movement/footsteps/player/grass_walk_r03.wav
sound/sfx/movement/footsteps/player/grass_walk_r04.wav
}

 

but the grass-jump is ogg, hmm...

 

edit: when I change all the ogg´s into wav´s and delete the oggs, the engine should load the wav´s without me changing the shader-references, don´t you think? I´ll try that...

edit2: Of course not. (I thought the engine would look for other sound-files too) Ok, then I´ll change every file inside the movement-folder into wav so I can change every .ogg in the shader with TextCrawler...

Edited by LEGION

-> Crisis of Capitalism

-> 9/11 Truth

->

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

Hey, look what I found, there are no wood-steps for AI?:

 

 

//uses D3 sounds
ai_wood_footsteps {

minDistance	1
maxDistance	30
volume		-10
// no_dups

sound/ed/player/steps/step05.wav
sound/ed/player/steps/step07.wav
sound/ed/player/steps/step09.wav
sound/ed/player/steps/step11.wav

 

These are the same as for stone. Why not use the player´s wood-sounds? Would be better than stone, just increase the volume via shader.

-> Crisis of Capitalism

-> 9/11 Truth

->

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

triple-post:

 

Alright, I made some tests:

 

there is no difference between ogg´s and wav´s! I added EAX into Fidcal´s Sound-trainer and f.e. wood and gravel are the same affected as ogg´s or wav´s! (I made sure that they are oggs)

 

But the voices are not affected. As one builder spotted, äh, heard me I think I heard a voice-set that was affected, can´t be sure though.

 

note: I lost nearly an hour finding out that the wav´s need to be mono... ^_^

-> Crisis of Capitalism

-> 9/11 Truth

->

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

The engine prefers ogg´s over wav´s right? Even if the shader speaks of wav´s only the engine would load the still existing ogg´s, so I might never heard the wav´s I created. After I deleted the oggs (I deleted also the old movement.shader in sfx01.pk4 before) I got ID SOUND ERROR. My files were mono and 16-bit, as the others already existing wav´s.

Are the movement-footsteps somewhere else defined? I let the 'step_human'-ones alone, they are not mentioned in the shader, I only deleted the ones mentioned in movement-shader.

 

Anyway, the oggs are definitely EAX-compatible as any sounds else. Even the AI-voices are affected, I can tell now. It´s just not very obvious, but that must be a problem with the EAX-set itself I think. I tested with the outside-preset, that should´ve the strongest effects.

-> Crisis of Capitalism

-> 9/11 Truth

->

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

It's intensity varies so you can use it for many things, like getting hit with a large projectile. I tried to add it to the run footstep sounds to mimic that split second jolt in vision you get when sprinting, it was so low that you could only detect it 1 out of 3 steps, which was exactly what i wanted. Some bug or error came about so i would jerk the screen around no matter what it was set at, so i took it out.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Tried this out today and it still works with 2.0, so that's good news. I had to track down the EFX file first, but after that, no probs. I did notice that the links at the start of this thread are dead, though. I can re-upload the package if we have somewhere stable/reliable/official to put it? Just ~100kb zipped.

 

Edit: Hm, first I think the map needs to be 2.0'ified...

Link to comment
Share on other sites

Okay, see if this link works. If I didn't forget anything, that should repro the EAX(4) demo on suitably-equipped PCs.

 

https://www.dropbox....i8i/eaxdemo.zip

 

For anyone else downloading, just unzip it to your darkmod folder and bring down the console (ctrl-alt-~), then the command is "map eaxdemo" (no quotes).

Link to comment
Share on other sites

  • 1 year later...

Just a small update: EAX appears to be working again -

  • I am trying to figure out if something has been updated in 2.03 (dont know atm, have made an enquiry)
  • Or the latest driver for my SoundBlaster-Z card (v_13_1_00_28) and/or the latest version of Alchemy (v_1.45.02) and OpenAL (v_2.1.0) is responsible for getting it working.

In the meantime I am testing it on my upcoming wip.

Link to comment
Share on other sites

@Biker

 

Thanks for posting that as I was unaware that new Z drivers were out and wanted a "hopeful" fix for speaker swapping that happens occasionally. I've read its due to IRQ conflicts and to try different slots on the mobo but I check my IRQs and they appear as good as their going to get. GFX and audio on separate IRQs. Hopefully this will address that issue. Its not frequent but does happen occasionally, like alt-tab out of a game and when you tab back in left audio is on the right and right is on the left. Seems like a driver thing to me but who knows.

Edited by Lux
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.

Guest
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

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...