FootstepFxTable Asset: Difference between revisions

From COD Engine Research
No edit summary
No edit summary
 
Line 4: Line 4:
The footstepfxtable only exists on Black Ops 2 and contains definitions for the effects that footsteps make on the ground. Refer to the surfaceNames_t on the [[:Weapon_Asset_(BO2)|weapon page]] for a list of the surface names. There is one FxEffectDef for each entry in the enum.
The footstepfxtable only exists on Black Ops 2 and contains definitions for the effects that footsteps make on the ground. Refer to the surfaceNames_t on the [[:Weapon_Asset_(BO2)|weapon page]] for a list of the surface names. There is one FxEffectDef for each entry in the enum.
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
struct FootstepFxTable
struct FootstepFXTableDef
{
{
   const char * name;
   const char *name;
   FxEffectDef * surfaces[0x20];
   FxEffectDef *footstepFX[0x20];
};
};
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 01:22, 21 December 2014

The footstepfxtable only exists on Black Ops 2 and contains definitions for the effects that footsteps make on the ground. Refer to the surfaceNames_t on the weapon page for a list of the surface names. There is one FxEffectDef for each entry in the enum.

struct FootstepFXTableDef
{
  const char *name;
  FxEffectDef *footstepFX[0x20];
};