Einzelnen Beitrag anzeigen
Alt 21.02.2013, 18:49   #8 (permalink)
burns
10 Jahre hx3
20.000 Beiträge
 
Benutzerbild von burns
 
Registriert seit: 13.04.2003
Ort: Monerica
Alter: 38
Beiträge: 32.525
Standard

Ja zeich doch ma paar Bilder


Motorensounds in ArmA2 sind relativ kompliziert, da blick ich nit durch.
Hier sind die fehlenden Einträge dafür in deiner Config, viel Spaß beim rumprobieren.

Und wie gesagt: AllInOne.cpp laden!!!

Code:
		soundGear[] = {"",0.000562341,1};
		SoundGetIn[] = {"",0.0177828,1};
		SoundGetOut[] = {"",0.0177828,1};
		soundEngineOnInt[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-start-1",0.354813,1};
		soundEngineOnExt[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-start-1",0.354813,1,300};
		soundEngineOffInt[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-stop-1",0.354813,1};
		soundEngineOffExt[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-stop-1",0.354813,1,300};

		class SoundEvents
		{
			class AccelerationIn
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-acce-1",0.562341,1};
				limit = "0.2";
				expression = "(engineOn*(1-camPos))*thrust";
			};
			class AccelerationOut
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-acce-1",0.562341,1,350};
				limit = "0.2";
				expression = "(engineOn*camPos)*thrust";
			};
		};
		class Sounds
		{
			class Engine
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-low-1",0.562341,1,400};
				frequency = "(randomizer*0.05+0.95)*rpm";
				volume = "camPos*engineOn*((rpm factor[0.5, 0.85]) min (rpm factor[0.85, 0.5]))";
			};
			class EngineHighOut
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-low-2",0.562341,1,500};
				frequency = "(randomizer*0.05+1.0)*rpm";
				volume = "camPos*engineOn*(rpm factor[0.7, 1.0])";
			};
			class IdleOut
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\ext\ext-m1030-idle-2",0.316228,1,250};
				frequency = "1";
				volume = "camPos*engineOn*(rpm factor[0.6, 0])";
			};
			class TiresRockOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",0.1,1,30};
				frequency = "1";
				volume = "camPos*rock*(speed factor[2, 20])";
			};
			class TiresSandOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",0.1,1,30};
				frequency = "1";
				volume = "camPos*sand*(speed factor[2, 20])";
			};
			class TiresGrassOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",0.1,1,30};
				frequency = "1";
				volume = "camPos*grass*(speed factor[2, 20])";
			};
			class TiresMudOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",0.1,1,30};
				frequency = "1";
				volume = "camPos*mud*(speed factor[2, 20])";
			};
			class TiresGravelOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",0.1,1,30};
				frequency = "1";
				volume = "camPos*gravel*(speed factor[2, 20])";
			};
			class TiresAsphaltOut
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",0.1,1,30};
				frequency = "1";
				volume = "camPos*asphalt*(speed factor[2, 20])";
			};
			class NoiseOut
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\Noises\ext\noise2",0.562341,1,60};
				frequency = "1";
				volume = "camPos*(damper0 max 0.036)*(speed factor[0, 8])";
			};
			class EngineLowIn
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-low-1",0.794328,1};
				frequency = "(randomizer*0.05+0.95)*rpm";
				volume = "(1-camPos)*engineOn*((rpm factor[0.5, 0.85]) min (rpm factor[0.85, 0.5]))";
			};
			class EngineHighIn
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-low-2",0.794328,1};
				frequency = "(randomizer*0.05+1.0)*rpm";
				volume = "(1-camPos)*engineOn*(rpm factor[0.8, 1.0])";
			};
			class IdleIn
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\motorcycles\int\int-m1030-idle-2",0.316228,1};
				frequency = "1";
				volume = "(1-camPos)*engineOn*(rpm factor[0.6, 0])";
			};
			class TiresRockIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",0.1,1};
				frequency = "1";
				volume = "(1-camPos)*rock*(speed factor[2, 20])";
			};
			class TiresSandIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",0.1,1};
				frequency = "1";
				volume = "(1-camPos)*sand*(speed factor[2, 20])";
			};
			class TiresGrassIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",0.1,1};
				frequency = "1";
				volume = "(1-camPos)*grass*(speed factor[2, 20])";
			};
			class TiresMudIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",0.1,1};
				frequency = "1";
				volume = "(1-camPos)*mud*(speed factor[2, 20])";
			};
			class TiresGravelIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",0.177828,1};
				frequency = "1";
				volume = "(1-camPos)*gravel*(speed factor[2, 20])";
			};
			class TiresAsphaltIn
			{
				sound[] = {"\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",0.1,1};
				frequency = "1";
				volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
			};
			class NoiseIn
			{
				sound[] = {"ca\sounds\Vehicles\Wheeled\Noises\ext\noise2",0.562341,1};
				frequency = "1";
				volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
			};
			class Movement
			{
				sound = "soundEnviron";
				frequency = "1";
				volume = "0";
			};
		};
__________________

burns ist offline   Mit Zitat antworten