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

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...