EquipSndTable Asset

From COD Engine Research
Jump to: navigation, search

The equipsndtable asset contains sound information pertaining to equipment.

struct EquipmentClothData
{
  char *szName;
};
 
struct __declspec(align(8)) EquipmentWeaponRattleData
{
  char *szName;
  float priority;
};
 
struct EquipmentSndChance
{
  float rattleChance;
  float accentChance;
  float silentChance;
};
 
struct EquipmentChanceMoveTypes
{
  EquipmentSndChance *chances;
};
 
struct EquipmentChanceRattleTypes
{
  EquipmentChanceMoveTypes *chances;
};
 
struct EquipmentSoundSet
{
  snd_alias_list_name soundPLR;
  snd_alias_list_name soundNPC;
};
 
struct EquipSoundSetMoveTypes
{
  EquipmentSoundSet *soundSets;
};
 
struct EquipSoundSetMantleTypes
{
  EquipmentSoundSet soundSets[14];
};
 
struct EquipmentSoundTable
{
  const char *szName;
  unsigned int numClothTypes;
  unsigned int numWeaponRattleTypes;
  unsigned int numMoveTypes;
  EquipmentClothData *clothTypes;
  EquipmentWeaponRattleData *weaponRattleTypes;
  EquipmentChanceRattleTypes *chancesPLR;
  EquipmentChanceRattleTypes *chancesNPC;
  EquipSoundSetMoveTypes *mvmtClothSoundSets;
  EquipSoundSetMoveTypes *mvmtRattleSoundSets;
  EquipSoundSetMoveTypes mvmtAccentSoundSets;
  EquipSoundSetMantleTypes *mvmtMantleSoundSets;
};