Jump to content
The Dark Mod Forums

Loot Sound


sparhawk

Recommended Posts

Can we get a loot sound before we release to the beta mappers? We already can grab loot and in Drams Mansion it still uses this weird "PHUMP" sound, which is not very attractive. Pak, you said that doing such a sound, or a similar one, should not be that hard to make, and this would definitely be something recognizable for our mappers.

Gerhard

Link to comment
Share on other sites

Hm, I thought we had one on CVS.. I'll check it out

 

Edit -

 

Yes, it's there. I'm not sure if the code has been changed to reflect this but the sound is:

sound\sfx\world\frob_loot.ogg

 

You can always check these things for yourself in THIS THREAD. That's a list of all the sounds on CVS and so on. When the sound is added to the game, please tell me so and I'll mark it as such on that list.

Link to comment
Share on other sites

Wouldn't it be a lot better if things worked like other games/editors where objects has predefined settings and such. Like all loot objects are of the "loot-class" which shares properties. (Like when you frob them they are added to the lootcount, the proper sound is played etc etc)

 

And all things you can pickup (arrows, potions, scrolls) will also need to share some properties, like when you frob them they should go to the inventory, and play a sound etc.

Link to comment
Share on other sites

Okay, to get footsteps in, most of the code is already in vanilla D3. All I have to do is:

 

1. Modify game_local.cpp where the surfaces are defined (Id choose to do it this way, not me :( ) to put in our list of surfaces (I think I'll put them after the existing ones in the enum so that the D3 maps don't break).

 

2. Modify the appropriate soundshader (which one would this be now that it's changed?) to put in footstep_wood, etc.

 

3. Modify the player.def file, propagated sounds section to include the numerical volume offsets for walking on different surfaces

 

Right now I'm still working on adding the damn jiggling to the rope arrow though, ran into some problems.

Link to comment
Share on other sites

2. Modify the appropriate soundshader (which one would this be now that it's changed?) to put in footstep_wood, etc.

I'm not sure. I made a thread about it here

 

Would it work for you if I just wrote these shaders:

- tdm_sfx_game

- tdm_sfx_movement (the one with the footsteps, among other things)

- tdm_sfx_tools

- tdm_sfx_world

 

Or do you need a special shader file just for the footsteps?

 

Oh, another thing, am I right in saying that tdm_player.sndshd is no longer needed when we add this code?

Link to comment
Share on other sites

Ishtvan, I have made some of the shader files now, is this what you wanted? (Attached the movement shader)

Edit - Hm, seems I can't attach shaders or txt files. What kind of files can you attach?

 

Oh well, here's a snipped out of the shader:

human_carpet

{

description "Made by Theo"

sound/sfx/movement/human_carpet01.ogg

sound/sfx/movement/human_carpet02.ogg

sound/sfx/movement/human_carpet03.ogg

sound/sfx/movement/human_carpet04.ogg

}

 

human_grass

{

description "Made by Theo"

sound/sfx/movement/human_grass01.ogg

sound/sfx/movement/human_grass02.ogg

sound/sfx/movement/human_grass03.ogg

sound/sfx/movement/human_grass04.ogg

}

Link to comment
Share on other sites

Yeah that's exactly what needs to happen, now it should just be a matter of me changing the player.def file to play those footsteps, and if we make a human base class for the AI, it should also go in there. I think we'd have to reorganize the AI class heirarchy a little for that though. I wasn't thinking about it and I just started doing the heirarchy in terms of the "factions," but it might make more sense to have a humanoid base class and a beast base class, etc.

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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • 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
×
×
  • Create New...