chore: dump iw5 weapon sound overrides

This commit is contained in:
Jan
2024-04-07 14:08:06 +02:00
parent 8554939c91
commit ea0cb66eae
4 changed files with 78 additions and 4 deletions

View File

@ -117,6 +117,7 @@ namespace IW5
WFT_ANIM_NAME,
WFT_ATTACHMENT,
WFT_ANIM_OVERRIDES,
WFT_SOUND_OVERRIDES,
WFT_NUM_FIELD_TYPES,
};

View File

@ -3923,13 +3923,24 @@ namespace IW5
int altTime;
};
enum SoundOverrideTypes : unsigned int
{
SNDTYPE_NONE = 0x0,
SNDTYPE_FIRE = 0x1,
SNDTYPE_PLAYER_FIRE = 0x2,
SNDTYPE_PLAYER_AKIMBO = 0x3,
SNDTYPE_PLAYER_LASTSHOT = 0x4,
SNDTYPE_PLAYER_COUNT
};
struct SoundOverrideEntry
{
unsigned short attachment1;
unsigned short attachment2;
WeaponAttachmentCombination attachment1;
WeaponAttachmentCombination attachment2;
SndAliasCustom overrideSound;
SndAliasCustom altmodeSound;
unsigned int soundType;
SoundOverrideTypes soundType;
};
struct FXOverrideEntry