Sound Curve Asset
The sndcurve asset is used only in Call of Duty 4, Modern Warfare 2 & 3, and Ghosts.
#pragma pack(push, 4)
struct SndCurve
{
const char *filename;
#ifndef COD4
unsigned __int16 knotCount;
vec2_t knots[16];
#else
int knotCount;
vec2_t knots[8];
#endif
};
#pragma pack(pop)Source Format
The source files are located in "raw/soundaliases/" and use the extension ".vfcurve" although after being compiled, the extension is removed. Here is an example sndcurve file named "default.vfcurve" from Call of Duty 4:
SNDCURVE 5 0.0000 1.0000 0.2500 0.6500 0.5000 0.4200 0.7500 0.2000 1.0000 0.0000