Home   Help Search Login Register  

Author Topic: Config.cpp and Damage sound  (Read 1045 times)

0 Members and 1 Guest are viewing this topic.

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Config.cpp and Damage sound
« 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?
Dinger/Cfit

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:Config.cpp and Damage sound
« Reply #1 on: 16 Oct 2002, 19:53:19 »
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.
Dinger/Cfit