Custom Ladder Sound?


Woj
07-10-2007, 02:20 PM
I asked this on the forums some time ago, and got no answer, and I ended up abandonning what I was working on, but I want to try again.

Is there a way to get a ladder in dod:s to use a sound other than the default metal one? I have googled the crap out of this one and searched everywhere and can't find an answer. I know how to make a functioning ladder, but I see no option to change the sound.

I'd really like to use a wooden sound. Possibly the ladder sound from 1.3?

I'd settle for some complicated thing with other entities and triggers or something that "fakes" a ladder, so that I could use a sound with that, if that's possible.

Appreciate any help.

QDM
07-10-2007, 06:44 PM
Wood ladder sound included in your .bsp, with path and filename of the original metal ladder sound ?

Woj
07-10-2007, 08:32 PM
That's an idea.

Now forgive the ignorant question, but when a person downloads my map with it included, would this new sound file with the same name as the metal one be installed on their computer? So that it would permanently replace it? Or would it only apply to my map, because I embedded it in the bsp?

Sly Assassin
07-10-2007, 09:47 PM
it would only apply to your map as it's embedded in the bsp

ultranew_b
07-10-2007, 09:47 PM
In my experience with textures anyway, they stay until the memory cache is emptied or DoD:S is restarted. It will not be permanent.

ie. Your map plays on the server and the next map has a metal ladder, you will hear your ladder sound as opposed to the default metal sound.

This is the case for model textures embedded in a map anyway.

:)

Woj
07-10-2007, 10:55 PM
Thanks ultra.

Ok, so the renaming of a sound file's an interesting idea. So thanks for that. But I really would prefer something that only applies to my map and my map alone, no matter what.

If anyone has any other ideas on this, I'd appreciate it.

Sly Assassin
07-11-2007, 04:41 AM
maybe find the sound file script that controls what sound is played for the ladder and alter that and embed it in your bsp

Woj
07-11-2007, 09:52 AM
That sounds like it would have the same drawback as renaming the file, no?

l3eeron
07-24-2007, 09:43 PM
This might be an obvious question, but, you do know theres a wood ladder texture right?


You can modify somethings in the texture's .vmt file but I dont you can tell it to play a custom sound with out changing the coding in the game's engine. You can change the prop type to wood on a metal ladder, but then why not use the wood/woodladder_001 texture?


If you dont have wood ladder in your hammer textures then I think you need the dods custom .fgd. Find it at www.editlife.net

Woj
07-26-2007, 05:28 PM
I know about the wooden texture, but the sound is played by the func_ladder entity if I'm not mistaken, and not the actual ladder texture or prop.

l3eeron
07-30-2007, 10:06 AM
ya you're prolly right...

have you read this yet?

http://developer.valvesoftware.com/wiki/Soundscripts

it says you can introduce new soundscript entries into third party maps. Sounds like what you wanna do =)

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.