Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

Yeah, what I mean is that the mapper shouldn't need to define a sound for every loot item he places. That would be stupid. :)

 

But then, who has defined the default setting, and where do we do that?

Posted

Problem is that these objects are created by the modelers, and I don't think that they really took care about all the gameplay relevant settings right now. We will have to go through our props and check them to make sure that they are properly setup.

Gerhard

Posted

Yeah we still need to go through and arrange them into classes and give them default sounds and physical properties. I think right now they're all of the same class (item for items, static for chairs and barrels and stuff, which should be idMovable).

Posted

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.

Posted
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?

Posted

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

}

Posted

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.

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

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
×
×
  • Create New...