Page 1 of 1

Engine sound

PostPosted: Sun Feb 14, 2010 12:11 pm
by Camper1995
Hello. I want to know how to make engine sound like in game GE Rally. That scripts are too complicated for me.
Can anyone explain me it easier? You know, to make, when are you driving faster, the sound of engine will be louder.
Exactly like in GE rally, but little bit easier way.

Is that possible?

Thanks,

CAmPeR :)

Re: Engine sound

PostPosted: Sun Feb 14, 2010 4:46 pm
by Bee-Ant
You know how to use variable right?and set it to your car speed?

1. Rally-CreateActor:
CreateTimer("Event Actor","sound", 50); //unlimited timer

2. Rally-Timer-sound:
PlaySound2("data/sound.wav", speed/10,1,1);
//speed/10 replace the volume

Re: Engine sound

PostPosted: Sun Feb 14, 2010 7:12 pm
by Camper1995
Hey good idea! ;) Thanks man. :idea: