###################################################### # NAME: Christiaan's Pure FFB v2.3 # User defined variables ------------------------------- # Tighten (Logitech: range 0.14 / falloff 0.06) (Other brands: range 0.0 / falloff 0.0) -------- (tighten_range 0.0) (tighten_falloff 0.0) # User defined variables - THE END ----------------------------------- # Tyre Forces Via Load Balanced Steering Rack ------------------------------- (Fx_scale 1.0) (Fy_scale 1.0) (Fz_scale 1.0) (My_scale -1.0) (Mx_scale -1.0) (Mz_scale 1.0) # Front Tyres ------------------------------- (arm_angle 15.0) (FL_link (linkage 1.0 1.0)) (FR_link (linkage 1.0 1.0)) (front_Fx (+ (* FL_link FL_Fx) (* FR_link FR_Fx))) (front_Fy (+ (* FL_link FL_Fy) (* FR_link FR_Fy))) (front_Fz (+ (* FL_link FL_Fz) (* FR_link FR_Fz))) (front_Mx (+ (* FL_link FL_Mx) (* FR_link FR_Mx))) (front_My (+ (* FL_link FL_My) (* FR_link FR_My))) (front_Mz (+ (* FL_link FL_Mz) (* FR_link FR_Mz))) (front_axle (+ (* Fx_scale front_Fx) (* Fy_scale front_Fy) (* Fz_scale front_Fz) (* Mx_scale front_Mx) (* My_scale front_My) (* Mz_scale front_Mz))) # Signal Processing ------------------------------- (signal_output (* 2.0 volume front_axle)) # Engine FX ------------------------------- (engine_vibration 25) (engine_vibration_while_driving 15) (cvwd (- 100 (* engine_vibration_while_driving (/ 100 engine_vibration)))) (engine (oscillator (* (* crankshaft 0.015) 0.0725))) (engine (* (- 1.0 (* (crossover vel_mag 0.4 1.0) (* cvwd 0.01))) engine)) (engine (* (* engine_vibration 0.002) engine)) # Gearbox FX ------------------------------- (gearbox (oscillator (* (- driveshaft_core clutchshaft_core) 2.0))) (gearbox (* gearbox gearbox_grind clutch 0.05)) (gearbox (spring gearbox 10000.0 0.0 0.1)) (gearbox (* gearbox 1.0)) (FX_engine (* engine (* fx 1.0))) (FX_gearbox (* gearbox (* fx 1.0))) (final_output (+ signal_output FX_engine FX_gearbox)) (stops (bumpstop final_output 0.1 1.0 0.1 0.0)) (bump_output (+ final_output(* stops device_lock_stop))) # Output ------------------------------- (output (* bump_output gain)) # Force Feedback Histogram ------------------------------- (histogram output)