of     1   

Roblok1
#168630927Friday, July 24, 2015 6:20 AM GMT

Do you know how some cars have sounds that change its pitch depending on how fast its going? The car's sound pitch is calculated by the current speed divided by the max speed. With that in mind, I would like to know how to change that pitch into a more realistic sound. What I mean is I want to make it sound like its shifting gears like a real car. Does anyone have an idea on how to do that?
PearSprite
#168631329Friday, July 24, 2015 6:26 AM GMT

Search 'realistic car' on free models. Grab a few of the top rated/bought. Test in Play Solo Look at how they implemented the sound part of their script.
Roblok1
#168631907Friday, July 24, 2015 6:35 AM GMT

But I want to know the foundation.
PearSprite
#168632358Friday, July 24, 2015 6:43 AM GMT

This is a very specialized question and I doubt many here have experience with it. If you are competent enough in scripting, you would save a lot of time by just looking at the source of random cars.
Roblok1
#168633691Friday, July 24, 2015 7:06 AM GMT

Yeah I guess so. Then, trying to figure it out is always an option too. It might take me a while though. I even had an idea for realistic steering too. I guess I can do anything if I want it bad enough. I looked at a few car script with the engine shifter, and those scripts look way too complex. When I say complex, I mean VERY complex. I don't even know where it begins. So I guess I want a method as simple as possible.
Roblok1
#168696175Friday, July 24, 2015 10:29 PM GMT

i need help on this
Laakari
#168696723Friday, July 24, 2015 10:36 PM GMT

I think you are looking for something like this: http://www.roblox.com/games/204858633/Drive-Development-DRIFTING-MOBILE contact the creator and go from there
nicemike40
#168699365Friday, July 24, 2015 11:06 PM GMT

It really shouldn't be difficult: First, get yer sound all set up and loopin When the car is "turned on" start playing it, when it's turned off stop it Now the easy way is to figure out the speed of the car by doing CarEngine.velocity.magnitude Now divide that by some number, clip it to 0-1, and use it to keep between a lower/upper volume and pitch, separately. (Slightly) more complex would be to read the Throttle property of the VehicleSeat, and if it's 1/-1 move towards those upper limits, when it =0 move towards the lower limits. Sorry I wasn't very descriptive, PM me and I can help you when I'm on my computer.
nicemike40
#168699521Friday, July 24, 2015 11:08 PM GMT

When I said "keep between" I meant "lerp between" if that helps

    of     1