Water impact sound
by Roi Hojgaard · in Torque Game Engine · 08/03/2007 (8:28 am) · 2 replies
Tried searching the forums for this, but found nothing.
I am trying to enable the sounds for entering and exiting water. I have uncommented the
impactWaterEasy = ImpactLightWaterEasySound;
impactWaterMedium = ImpactLightWaterMediumSound;
impactWaterHard = ImpactLightWaterHardSound;
in player.cs, and provided wav's for the sounds (and updated the relevant Audio Profiles). But no sounds is played, even if I drop my player in to the water from 100 meters altitude.
Am I missing something here? Is there something else, that needs to be set, before this will work?
Thanks
I am trying to enable the sounds for entering and exiting water. I have uncommented the
impactWaterEasy = ImpactLightWaterEasySound;
impactWaterMedium = ImpactLightWaterMediumSound;
impactWaterHard = ImpactLightWaterHardSound;
in player.cs, and provided wav's for the sounds (and updated the relevant Audio Profiles). But no sounds is played, even if I drop my player in to the water from 100 meters altitude.
Am I missing something here? Is there something else, that needs to be set, before this will work?
Thanks
#2
So now it works. Sweeet!
Thanks
08/03/2007 (9:26 am)
Thanks for the input! It got me thinking about, that I had copied the player.cs, and made a second file, monster.cs. The Audio Profiles in monster.cs were overwriting the ones from player.cs.So now it works. Sweeet!
Thanks
Torque Owner Tim Heldna