Game Development Community

Buggy Sound ? engine_idle.wav?

by Lenin V. Ilici · in Technical Issues · 11/21/2004 (7:43 am) · 4 replies

I saw this in a script and could not figure why this wav ain't playin. realised then the wav is missing so I added one, still no luck. Any idea? Thank you. the buggy just lacks the sound of an engine really..

About the author

Recent Threads


#1
12/22/2004 (12:34 pm)
Same problem here only i can't get the brakes or the impact noises >.<
#2
12/22/2004 (12:47 pm)
I use this:

datablock AudioProfile(MyEngineSound)
{
fileName = "~/data/sound/engine.wav";
description = AudioDefaultLooping3d;
preload = true;
};

then in the vehicle's datablock:

engineSound = MyEngineSound;
#3
12/22/2004 (6:33 pm)
Same here! All I had was 3..2..1.. beep, and after that - silence!

Solution: look for /server/scripts/car.cs and make the changes suggested above.
Most of the sound handles are there already, just take the comment signs ('//') away, and define a corresponding datablock. For single-shot sounds take AudioClosest3d as description. Mono sounds work best here.

So far I managed to get engine sound, soft/hard impact sounds, and ingame music (there are a couple of threads on this topic) up and running. All together with my modified dune scenery this makes quite a nice experience already :-))

However, I can't get wheelImpactSound to work? I just had a quick glance at the C++ code, but I couldn't find any alPlay location for this. Any ideas?
#4
12/23/2004 (8:07 am)
Thanks the info helped a lot!~~