Page MenuHomeFeedback Tracker

[Feature Request] soundTypeIndex for magazines
New, NormalPublic

Description

soundTypeIndex is used in muzzle devices class ItemInfo to select a weapon soundset to be played when said muzzle device is attached to the weapon.
This how for example suppressors get suppressed sounds when weapon is fired.

However, there is no way to make subsonic ammo sound different from regular ammo unless you resort to very convoluted scripted stuff with fake muzzle device, which then gets more convoluted ad nauseam the more different muzzle devices a weapon supports, etc.

So, would it be possible to have at least magazine class support soundTypeIndex?

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Feature Request

Event Timeline

h- created this task.Dec 10 2023, 9:34 AM
TRAGER added a subscriber: TRAGER.Jun 8 2025, 4:29 PM
dedmen added a subscriber: dedmen.Tue, Jun 17, 12:03 PM

But what if both muzzle and magazine have different soundTypeIndex, how do we choose?

h- added a comment.Sat, Jun 21, 7:15 AM

Right, as usual didn't even think of that.. Obviously we'd need a way to use another soundset for subsonic ammo when suppressed.
How about additional config token into the mag class, something like onConflictSoundTypeIndex, which you could use to define soundTypeIndex used in case of magazine and muzzle device conflicting. 🤔