Possibility to add a sound effects to HUDMSG_TYPEON

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

Moderator: GZDoom Developers

Possibility to add a sound effects to HUDMSG_TYPEON

Postby Ribo Zurai » Sat Apr 13, 2019 12:54 am

Something that I'd find convenient would be to add a variable to the HudMessage command which plays a sound effect to each character that is input during a HUDMSG_TYPEON variant. An example below of how the syntax could be:

HudMessage (text; HUDMSG_TYPEON, int id, int color, str soundlump, int volume, fixed x, fixed y, fixed holdTime, fixed typetime, fixed fadetime [, fixed alpha]);

If that's possible, it could be compatible with SNDINFO as well.
User avatar
Ribo Zurai
Joined: 03 Jul 2009

Re: Possibility to add a sound effects to HUDMSG_TYPEON

Postby Enjay » Sat Apr 13, 2019 4:00 am

It would never be done as soundlump but rather SNDINFO friendlyname anyway (like everything else that uses sounds in GZDoom) so SNDINFO compatibility would be part of it if it was added.

In the past, I have hand-cranked something like this by using ACS to either play a typing sound while the message is appearing, or even tried to time the playing of short "tick" or "beep" sounds with every new letter (less successfully) so it would be something that would be nice to have.
User avatar
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
Joined: 15 Jul 2003
Location: Scotland

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests