Blockland Forums > Help

Need help making a jeep vehicle with sound

Pages: << < (2/3) > >>

Tango:


--- Quote from: Arekan on August 09, 2012, 12:48:18 AM ---But I want it to only play a sound when the vehicles moving, if I use a helicopter script it will keep playing even when idle.

--- End quote ---
maybe have the vehicle empty sound files when its not moving?

Dezcaban:



I've always wondered what this does. What would happen if you uncommented it and gave it a sound?

Arekan:

I revised it up a bit, since I cannot edit my post above here is the new server.cs if anyone can figure out these syntax errors (Or just fix up the code entirely?)  I don't know if it works because the vehicle is not in the wrench menu.


Kalphiter:


--- Quote from: Dezcaban on August 09, 2012, 11:23:07 AM ---

I've always wondered what this does. What would happen if you uncommented it and gave it a sound?

--- End quote ---
engineSound sucks, it only makes the sound louder or quieter as the vehicle changes speed.

Arekan:

Well, I decided to scrap everything (save it somewhere else) and use just EngineSound for a backup since it doesn't sound that bad, like a temp.

Wellll my game crashes when I spawn the vehicle. Is that supposed to happen?

Pages: << < (2/3) > >>

Go to full version