[not a bug] 2 sounds when landing

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

[not a bug] 2 sounds when landing

Post by Enjay »

I thought this had been fixed a long time ago in Zdoom, but I'm experiencing it with GZDoom in Heretic. I can't test it ATM in ZDoom, but when I get a chance, I will. I'm getting 2 different sounds played when landing from a height.

I've defined 2 different sounds for "player male *land" and "player male *grunt"

I did this by altering the sound lump PLROOF (the grunt sound) to something more useful to me and also adding the following

Code: Select all

$playersound   player   male   *land    DSLAND
to my soundinfo to replace the $playersounddup entry for the land sound in the default sndinfo.

Now, it seems to work to a certain extent. When I use a wall, I get my PLROOF sound. When I jump off a low step (say maybe 8 units tall), by pressing the jump button, and landing on the lower floor, I hear my DSLAND sound. However, if I jump off anything much taller than that (64 units was enough) I hear PLROOF and DSLAND at the same time - which sounds stupid because my PLROOF is not the sort of noise you make when falling from a height.


[offtopic]
Also, how do I randomise a player sound? I want

Code: Select all

$playersounddup	player	male	*usefail
to use any one from a number of different sounds but I can't figure it out. Every time I want to mess with player sounds, Zdoom tells me off for doing it. ATM, I've used this (which seems to work):

Code: Select all

$alias keytry	*usefail
$random keytry { lock1 lock2... }

lock1			DSlock1
lock2			DSlock2 
...
Is that right or is there a better way?
[/offtopic]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

This is fully intentional and not a bug. What was fixed was the situation when both sounds are the same.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Oh well, it looks like I'll have to find something a little more suitable for my wall-using noise if it's going to be used when landing hard too. It seems "overkill" to use the grunt sound and the landing sound at the same time. Surely that negates one of the main reasons for being able to separate these two into different sounds. :? If it was really felt necessary to make the heavy landing sound heavy, a grunt sound, a land sound and a heavy land sound would have been a better way of setting it up IMO.


Any ideas on the other thing, or should I re-ask over at Zdoom Editing?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

These two sounds serve different purposes.

The landing sound is the noise the player's feet make, the grunt sound is what comes out of his mouth. ;)
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Heh, I guess that explanation makes sense. :)
Locked

Return to “Closed Bugs”