Vehicle Sounds
by Britt Scott · in Torque Game Engine · 05/17/2007 (8:53 am) · 3 replies
I'm having problems getting an engine idle sound to work in version 1.4.2 The game's racing buggy doesn't have any of the sounds that it uses in its scripts. I'm trying to modify the buggy's script to use my sounds for the time being. Eventually, I want to add impact and brake sounds. I also would like to know what the specifics are for .wav files for vehicles such as, Sample rate, Bit depth, Channel Format, 2d sound or 3d sound. Thanks in Advance!
About the author
Attended Brown College in Mendota Heights, MN for Game Design and Development. Projects include the Mech Starter Kit and the Battle Frog. Currently working toward a game design career.
#2
05/17/2007 (2:59 pm)
Thanks, I'll give it a shot.
#3
05/18/2007 (12:08 pm)
I got the Idle sound at least working now. Now I need help working with volume control. Is there a way to control each individual sounds volume level? Or a way to adjust the .wav file volume? Just messing around with WINDOWS Sound Recorder, I got the volume of the .wav to increase, but it gets heavily disorted. Also, does TGE adjust the engine idle sound(based on speed), to give it more of a "engine revving" sound?
Torque Owner Ronald J Nelson
Code Hammer Games
You are going to have to uncomment what you want to use and make the datablocks for those sounds. There is an example at the top of this file for the enginesound. However, there is no such sound file in that directory (the directory doesn't exist either), you will have to provide it.
As for the Sample rate, Bit depth, Channel Format, 2d sound or 3d sound, I have just been cranking them out and testing what works for me. So far pretty much everything I have tried works.