More pickup SNDINFO options.

Moderator: GZDoom Developers

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

More pickup SNDINFO options.

Post by Enjay »

I'd like this for the powerups, but I'm sure it could be of use with other powerups too.

I'd like more SNDINFO entries for pickable items (especially powerups). To me it's quite limiting to have every powerup make the same sound (whatever is allocated to misc/p_pkup). I'd like to have the blur sphere, soul sphere, etc etc all make different sounds.

Could be done via decorate I suppose, but a SNDINFO modification is neater (especially as a SNDINFO lump would be required as well as a decorate one anyway, if using the decorate method).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

You have quite specific needs. Frankly, I don't think this belongs in the engine. For this DECORATE is the way to go in the future. It doesn't make sense to alter all of this internally.
User avatar
Enjay
 
 
Posts: 27477
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

I just thought it might be a nice option. There is already a differentiation between armour, health, ammo, weapons and powerups but in most modern games, an armour vest will make a different sound to an armour shard (whatever that is), each weapon has its own sound and the various powerups do too.

No matter, the DECORATE idea is easy enough.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Enjay wrote:I just thought it might be a nice option. There is already a differentiation between armour, health, ammo, weapons and powerups but in most modern games, an armour vest will make a different sound to an armour shard (whatever that is), each weapon has its own sound and the various powerups do too.
And you can do all of this with DECORATE. I don't think that outdated editing options are worth investing time in when there are better methods to do it.
User avatar
Enjay
 
 
Posts: 27477
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

I agree, and if it were a brand new feature for an old editing system (say dehacked) then there would be absolutely no point. But is SNDINFO really outdated? Is decorate really better in this instance?

I'm just saying that if the default SNDINFO looked something like this:

misc/soul_pkup dsgetpow
misc/mega_pkup dsgetpow
misc/blur_pkup dsgetpow
misc/invul_pkup dsgetpow
misc/allmap_pkup dsgetpow
misc/infrared_pkup dsgetpow

Instead of just

misc/p_pkup dsgetpow

It'd be easy to tailor a customised SNDINFO rather than having to create a bunch of inherited actors with decorate, allocate the sounds to them and then still have to make a sndinfo as well. There are already extensive options for adding menu sounds, or tailoring monsters in ways they never could be before so this just seemed like a logical extension of that.

However, as I said, no matter - I can easily do the decorate thing myself. I was just making the suggestion as a general usability thing, not so much for me personally.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Enjay's suggestion makes sense to me, except that I'd alias all of them to misc/p_pkup instead of assigning them to a sound. If a mod has already used sndinfo to redefine misc/p_pkup, it won't work anymore if done using Enjay's method.
User avatar
Enjay
 
 
Posts: 27477
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

True. I forgot about that.

Return to “Closed Feature Suggestions [GZDoom]”