alias *keytry instead of *usefail

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Enjay
 
 
Posts: 26969
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

alias *keytry instead of *usefail

Post by Enjay »

This is just a very minor request. In fact, it's almost the addressing of a benign bug or unimplemented feature I guess. However, it would have helped me untangle stuff when I was trying to figure out a mod this evening (it would also help silence a warning that I get with GZDB about double-defined sounds).

The SNDINFO in gzdoom.pk3 has the following line:

Code: Select all

$alias misc/keytry		*usefail
Which means that when trying a locked door, the game plays whatever player-voice *usefail sound has been set for the gender/voice being played. (By default, this is DSNOWAY in the normal male Doom player setup)

However, there is also a player sound called *keytry that I found quite by accident (it's not used in gzdoom.pk3's SNDINFO files as far as I can tell and it's not in the wiki either - so I was actually about to request one - but I gave it a go and it worked).

Anyway, I feel that it would make more sense for the line to read

Code: Select all

$alias misc/keytry		*keytry
and the following lines be added to SNDINFO.TXT in filter/game-doomchex

Code: Select all

$playersound    player    male      *keytry    dsnoway

$playersound    player    female    *keytry    dsfnoway

$playersound    player    other     *keytry    dscnoway
Which I think matches the lump naming used in the file already (even though the second two lumps are not present unless provided by a mod).

For completion's sake, there probably should also be a neutral voice defined in there. I don't see it in any of the gzdoom.pk3 files (though it works perfectly well if a user defines a SNDINFO in their own mod).

Return to “Feature Suggestions [GZDoom]”