OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Dinger on 14 Oct 2002, 02:36:54
-
What's the line to use in a config.cpp vehicle class to set the sound effect created when dammage goes to 1? Is there one? Or are we stucked with the same "Crunching" sound for all objects?
-
answering my own question:
DestrType
// destruction types
enum
{
DestructNo,
DestructBuilding,
DestructEngine,
DestructTree,
DestructTent,
DestructMan,
DestructDefault,
};
No - takes no damage
Building -- deforms and that raunchy sound
Engine -- smokes, may deform, no sound
Tree -- untested, probably knocks model on side and makes a cracking sound
Tent -- flattens model, no sound that I heard
Man -- does not deform, does no make a sound.
Default -- I didn't test.