Tremulous Forum

Mods => Modding Center => Topic started by: Her3tic on April 23, 2008, 03:19:35 pm

Title: Wound Sound
Post by: Her3tic on April 23, 2008, 03:19:35 pm
I know that humans and aliens "cry" for every wound taken, but i would to know what are the limits for all these different sound.

Example : (False)
They just say Humps when 100 to 75
They say argh around 74 and 25
They say URGH around 24 to 1)

I thank you in advance  :laugh:
Title: Re: Wound Sound
Post by: kevlarman on April 23, 2008, 05:46:30 pm
i believe that there is no pain sound for > 75% hp, the sound changes at 75%, 50%, and 25%, but i can't quite be sure because i'm not reading something right in the code (weird factoid: fall damage doesn't care about your hp, the height of the fall is the only factor in determining the pain sound)
Title: Re: Wound Sound
Post by: Her3tic on April 23, 2008, 06:28:49 pm
It's odd for the Fall damage!! I expected your hp was determining the sound...

But in fact, how many different noise Human have for Pain?
Title: Re: Wound Sound
Post by: Diluke on April 23, 2008, 07:54:29 pm
 If you look closer into data pk3 you will see Everything .. like :
human_base (normal)
-fall1   -pain25_1    -pain50_1    -pain75_1    -pain100_1
human_bsuit (battlesuit)
-fall1   -pain25_1    -pain50_1    -pain75_1    -pain100_1


So... player can have falling sound and 20-50-75-100 (its health i gues) sound -.-
Is it clear for you now ? :)
Title: Re: Wound Sound
Post by: Her3tic on April 24, 2008, 06:23:08 pm
I wonder if we can extract these sound from the pk3 files and knows what are the sound of each damage/healt situation
Title: Re: Wound Sound
Post by: Diluke on April 24, 2008, 07:21:27 pm
Sure you can ^^ Look at my mod its all made from files that are in data pk3 :P nearly all things can be changed :P
just open that pk3 and unpack 'sound/player/_char_you_want_' :)
Title: Re: Wound Sound
Post by: Her3tic on April 24, 2008, 07:26:57 pm
I'll look at this, I've heard the Pk3 Files were zip or rar folder with name changed isn't?

Will be easy to extract with 7z ! (I hope)
Title: Re: Wound Sound
Post by: Rocinante on April 24, 2008, 07:33:14 pm
I'll look at this, I've heard the Pk3 Files were zip or rar folder with name changed isn't?
Will be easy to extract with 7z ! (I hope)

Yes, a .pk3 is a .zip file renamed - with a specific directory structure based on what is supposed to be in it.  But if you simply want to get stuff out of it, I'd imagine any program capable of opening zip files will do.

If your goal is to change the sounds, however, you will have a harder time of that.  While you can simply change the files and zip it up again, you won't be able to get on servers which are set sv_pure 1 unless they too have the changed files (which is how some mods work, by not only having the changed pk3s on their end but then requiring you to get them as well).
Title: Re: Wound Sound
Post by: NiTRoX on April 24, 2008, 07:34:02 pm
Theres a free PK3 Extractor I a quick google search and you can find it.

I doubt it can be opened with a normal compression tool that doesn't specifically support PK3

Edit: Nvm what I said, too late

I also found this program:
Dragon unPACKer - It supports PK3 as well as other game formats

[link to Download (http://prdownloads.sourceforge.net/dragonunpacker/dup520bcinthia-setup.exe?download)
[link to site] (http://www.elberethzone.net/index.php?page=dup5&language=en#download)

Its only for windows but I guess it could be ported to linux via Lazarus (http://lazarus.freepascal.org)
Title: Re: Wound Sound
Post by: Diluke on April 24, 2008, 09:27:37 pm
NiTRoX you are wrong :P if you set up 'open with' to your archiver it will work (should ^^ for me work on all archiving tools)
and its not so hard that you need third-party tool to pack and unpack it ^^ its like making txt file in pdf and saving it in 'txt' -.-
Title: Re: Wound Sound
Post by: Lava Croft on April 25, 2008, 07:32:07 am
Theres a free PK3 Extractor I a quick google search and you can find it.

I doubt it can be opened with a normal compression tool that doesn't specifically support PK3

Edit: Nvm what I said, too late

I also found this program:
Dragon unPACKer - It supports PK3 as well as other game formats

[link to Download (http://prdownloads.sourceforge.net/dragonunpacker/dup520bcinthia-setup.exe?download)
[link to site] (http://www.elberethzone.net/index.php?page=dup5&language=en#download)

Its only for windows but I guess it could be ported to linux via Lazarus (http://lazarus.freepascal.org)
Any program that can handle zip files, can also handle pk3 files. No need to download any new program spefically designed for gameformats, as the chances that you alreay have a zip-capable program installed are rather high.
Title: Re: Wound Sound
Post by: Taiyo.uk on April 25, 2008, 11:58:28 am
Aye, remembering that .pk3 files are .zip files with a different extension. Most linux distros include the zip/unzip utilities that handle zip files regardless of any filename extensions they may have.
Title: Re: Wound Sound
Post by: NiTRoX on April 25, 2008, 11:59:20 am
I'm pretty sure that once I tried to open a PK3 (or was it a PAK) with an archiver and it didn't open.

Anyways, use a normal archiver then ^^
Title: Re: Wound Sound
Post by: Her3tic on April 25, 2008, 04:28:27 pm
Well, for the pure thing, it's sad :(

I imagined a way to put a stupid voice sound saying, "Beyond 25" For specific Pain/HP setting :laugh:

But it would be a hack, and it's a bit stupid.
Title: Re: Wound Sound
Post by: techhead on April 26, 2008, 04:07:34 pm
Humans have 10 pain sounds, and I can tell them all apart.
75-99, 50-74, 25-49, 1-24, 0 (dead), and 5 more for bsuit.

If you want to hear them, use basi to grab a ckit and then gnaw on his legs.
Title: Re: Wound Sound
Post by: Amtie on April 26, 2008, 08:17:08 pm
Or just open them with winrar, pakscape, or the like and run each sound file. Note that i think humans, and all aliens have 3 different sounds for death.
Title: Re: Wound Sound
Post by: Tremulant on April 28, 2008, 02:26:13 pm
If you want to hear them, use basi to grab a ckit and then gnaw on his legs.

That method gets my vote :)
Title: Re: Wound Sound
Post by: Eeeew Spiders on April 29, 2008, 10:20:19 pm
Mh, i should really pay more attention to sound, the only pain sound I hear is the sound of a mouse hitting a wall.
Title: Re: Wound Sound
Post by: Diluke on April 29, 2008, 11:04:52 pm
heh i got realy nice sound when human die -,- so i dont need to say anything
[something like 'WTF was that' or 'WTF JUST HAPEND !?' ^^]
i think you need speakers... ^^
Title: Re: Wound Sound
Post by: Le Compilateur on May 26, 2008, 03:05:54 pm
I think they discuss overriding the files in the data PK3 here. Well, the textures at least. But I think the same process would apply to sounds.

[how can i change the textures that i see only on unpure servers (http://tremulous.net/forum/index.php?topic=8014.msg123956#msg123956)]