Each sound script defines how to play one or many audio files in the context of the vehicle where it is used (using the soundsources section ).A sound script is defined by a line with his name (which is the name you use in the soundsource section of your vehicle description file), then a set of curly braces enclosing parameters.
Rigs Of Rods Cars Mac Parkingbrake ParkingValid values are: Source Description alwayson the sound will always play engine the sound will play as long as the cartruckboat engine is running aeroengine1 to aeroengine8 the sound will play as long as the numbered propeller or jet engine is running afterburner1 to afterburner8 same for afterburners horn the horn brake the brake pedal pump the hydraulic pump starter the engine starter ignition the ignition switch repair when the truck is repaired air active air suspension activation airpurge compressed air purge shift shifting gears gearslide gearbox torture creak structural creaking break beam breaking screetch wheel screetching on tarmac parkingbrake parking brake aoahorn Stall horn (AOA above 18 degree) gpwsapdisconnect Autopilot disconnect gpws10 10 feet warning gpws20 20 feet warning gpws30 30 feet warning gpws40 40 feet warning gpws50 50 feet warning gpws100 100 feet warning gpwspullup woop woop pull up gpwsminimums Minimums pitchsource A pitch source will alter the pitch of the played sounds (if they are pitchable).
Rigs Of Rods Cars How To Play OneValid pitch sources are: Name Description none this is the default, no pitch modulation, with a reference value of 1.0 enginerpm engine revolutions per minute turborpm turbo revolutions per minute aeroengine1rpm to aeroengine8rpm propeller revolutions per minute, or jet engine speed in percent aeroengine1throttle to aeroengine8throttle throttle setting of the propeller or jet engine wheelspeedkmph wheel speed in kilometer per hour airspeedknots air speed in knots angleofattackdegree absolute value of the angle of attack in degree (for airplanes only) injectorratio how much fuel is injected into the engine (from 0.0 to 1.0) torquenm output torque of engine in Newton.Meter gearboxrpm gearbox output speed in RPM creak structural creaking effort break beam breaking effort screetch wheel screetch intensity pumprpm hydraulic pump RPM gainsource A gain source will alter the gain of the played sounds (how loud it is heard). Modifiers Modifiers will take output value from the pitch or gain sources, and apply to it a polynomial equation (up to degree 2) to alter the value to match the intended effect. Both modifiers take two or three parameter values (they can be negative value): An offset (default 0.0) A multiplicative factor (default 1.0) An optional square factor (default 0.0) The equation is: output offset multfactor x source squarefactor x source x source pitchfactors The parameter pitchfactors alters the pitch source. It is optional. gainfactors The parameter gainfactors alters the gain source. It is optional. The output value of the gain modifier is clamped to the interval from 0.0 to 1.0 before being applied to the sounds. Sounds These parameters define the WAV sound files used by the soundscript. All sounds parameters takes two parameters: a reference pitch value: this is the true pitch value corresponding to the recorded sound. For example, if you record an engine at 100 RPM, the resulting sound will have a reference pitch value of 100, and will be correctly pitched by the source engine RPM (as long as the units match, if not, use the modifiers). You can also use the keyword unpitched to say that this sound shall never be pitched. ![]() This allows the texture of sound to change depending on pitch. Examples Note that you can compose sound scripts by playing several scripts at the same time (with the same trigger). Rigs Of Rods Cars Full Diesel EngineIn the following, the full diesel engine sound is composed of the 3 first sound scripts played together. Last update: June 9, 2020 Previous Truck file format Next Alternate skins (skinzips) Copyright 2020 Rigs of Rods Community Made with Material for MkDocs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |