Jump to content
Sign in to follow this  
Jesters

Engine Sounds & Vehicle speeds.

Recommended Posts

Alright.. So I have a Formula 1 Car in A3 and I want to add a engine sound, I have attempted to do this with the following:

I have changed it to this..

class Sounds 
	{
		class Engine {
			sound[] = {"<modname>\idle.ogg", 0.398107, 1.0, 300};
			frequency = "(randomizer*0.05+1.25)*rpm";
			volume = "camPos*engineOn*((rpm factor[0.25, 0.4]) min (rpm factor[0.6, 0.45]))";
		};
	};

Anyway that doesn't work.. I have changed the starting to <Modname> For private reasons of you guys :P

Edited by Jesters
Changed Code

Share this post


Link to post
Share on other sites

sound[] = {"<modname>\idle.ogg", 0.398107, 1.0, 300};

Probably just too quiet your sound file volume is basically playing at 0.3%

try this instead

sound[] = {"<modname>\idle.ogg", 2, 1.0, 300};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×