Advertisement
FxUK

ffb_custom_settings.txt

Feb 9th, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. ######################################################
  2. # NAME: J.Spade alt low comp SopDiff (low Tex Roadscale)
  3.  
  4. # Volume ---------------------------------------------
  5. (raw_volume (blend volume 0.0 2.0))
  6.  
  7. # Spindle Scales -------------------------------------
  8. #(Fx_scale raw_volume)
  9. #(Fy_scale raw_volume)
  10. #(Fz_scale raw_volume)
  11. #(Mz_scale raw_volume)
  12.  
  13. (Fx_scale raw_volume)
  14. (Fy_scale (* tone 2.0 raw_volume))
  15. (Fz_scale raw_volume)
  16. (Mz_scale (* (+ (* tone -1.0) 1.0) 2.0 raw_volume))
  17.  
  18. # Low Speed Filter Out -------------------------------
  19. (Fx_scale (* Fx_scale (crossover vel_mag 0.0 1.0)))
  20. (Mz_scale (* Mz_scale (crossover vel_mag 0.0 1.0)))
  21.  
  22. # Spindle Arm ----------------------------------------
  23. (arm_angle 15.0))
  24. (left_scale (linkage 1.0 -1.0))
  25. (right_scale (linkage 1.0 1.0))
  26.  
  27. # Anti Jolt ------------------------------------------
  28. (left_scale (* left_scale (antijolt2 FL_load 0.09 0.22 0.1)))
  29. (right_scale (* right_scale (antijolt2 FR_load 0.09 0.22 0.1)))
  30.  
  31. # Rack -----------------------------------------------
  32. (Fx (+ (* left_scale FL_Fx) (* right_scale FR_Fx)))
  33. #(Fx (smooth Fx 0.00))
  34. (Fx (smooth Fx 0.05))
  35. (Fy (+ (* left_scale FL_Fy) (* right_scale FR_Fy)))
  36. (Fz (+ (* left_scale FL_Fz) (* right_scale FR_Fz)))
  37. (Mz (+ (* left_scale FL_Mz) (* right_scale FR_Mz)))
  38. (output (+ (* Fx_scale Fx) (* Fy_scale Fy) (* Fz_scale Fz) (* Mz_scale Mz) ) )
  39.  
  40. # SoP - Rear tyre forces -----------------------------
  41. (sop_scale 0.5)
  42. #(sop_lat_scale 0.0)
  43. (sop_diff_scale 0.38)
  44.  
  45. (sop_lat (* (+ RL_lat RR_lat) sop_lat_scale))
  46. (sop_diff (* (- RL_load RR_load) sop_diff_scale))
  47. (sop_diff (smooth sop_diff 0.01))
  48. (sop_out (* (+ sop_lat sop_diff) sop_scale))
  49.  
  50. (output (+ output sop_out))
  51.  
  52. #(output (compressor output threshold ratio attack release))
  53. (output (compressor output (* 0.75) (* 2.0) (* 0.04) (* 0.02)))
  54.  
  55. #Scoop as pCARS 1 - Scoop Knee / Scoop Reduction
  56. (output (scoop output 0.79 0.08))
  57.  
  58. (output (* 2.4 volume output))
  59.  
  60. # Jerk Based Road Feel -------------------------------
  61. (FL_road (* FL_load 1.0))
  62. (FL_road (jerk FL_road))
  63. (FL_road (* FL_road (abs FL_angvel)))
  64.  
  65. (FR_road (* FR_load -1.0))
  66. (FR_road (jerk FR_road))
  67. (FR_road (* FR_road (abs FR_angvel)))
  68.  
  69. (FL_brk (* FL_long 1.0))
  70. (FL_brk (jerk FL_brk))
  71. (FL_brk (* FL_brk (abs FL_angvel)))
  72.  
  73. (FR_brk (* FR_long -1.0))
  74. (FR_brk (jerk FR_brk))
  75. (FR_brk (* FR_brk (abs FR_angvel)))
  76.  
  77.  
  78. # Bump -----------------------------------------------
  79. (inv_period (/ 1.0 (+ FL_bump_period 0.001)))
  80. (dphase (* FL_vel_x dt inv_period))
  81. (FL_bump (oscillator dphase))
  82. (FL_bump (scoop FL_bump FL_bump_sharpness 0.95))
  83. (FL_bump (* FL_bump FL_load FL_bump_amplitude FL_angvel))
  84. (FL_bump (split FL_bump 0.0 1.0 0.0 0.4 0.02))
  85.  
  86. (inv_period (/ 1.0 (+ FR_bump_period 0.001)))
  87. (dphase (* FR_vel_x dt inv_period))
  88. (FR_bump (oscillator dphase))
  89. (FR_bump (scoop FR_bump FR_bump_sharpness 0.95))
  90. (FR_bump (* FR_bump FR_load FR_bump_amplitude FR_angvel))
  91. (FR_bump (split FR_bump 0.0 1.0 0.0 0.4 0.02))
  92.  
  93. # Scrub ----------------------------------------------
  94. (FL_scrub (soft_clip FL_scrub 1.6 0.0))
  95. (FL_scrub (scoop FL_scrub 0.8 0.999))
  96. (FL_scrub (* FL_scrub (oscillator 1.2)))
  97. (FR_scrub (soft_clip FR_scrub 1.6 0.0))
  98. (FR_scrub (scoop FR_scrub 0.8 0.999))
  99. (FR_scrub (* FR_scrub (oscillator 1.2)))
  100.  
  101. # Texture --------------------------------------------
  102. (road_scale (* 0.00006 1.0))
  103. (brk_scale 0.0)
  104. (bump_scale (* 0.24 1.0))
  105. (scrub_scale (* 24.0 1.0))
  106. (tex_k 20000.0)
  107. (tex_d 1.0)
  108.  
  109. (FL_tex (+ (* road_scale FL_road) (* brk_scale FL_brk) (* bump_scale FL_bump) (* scrub_scale FL_scrub)))
  110. (FL_tex (split FL_tex 0.0 1.0 1.0 2.0 0.01))
  111. (FL_tex (spring FL_tex tex_k tex_d 1.0))
  112.  
  113. (FR_tex (+ (* road_scale FR_road) (* brk_scale FR_brk) (* bump_scale FR_bump) (* scrub_scale FR_scrub)))
  114. (FR_tex (split FR_tex 0.0 1.0 1.0 2.0 0.01))
  115. (FR_tex (spring FR_tex tex_k tex_d 1.0))
  116.  
  117. (tex (+ FL_tex FR_tex))
  118.  
  119. (tex (soft_clip tex 1.0 0.0))
  120.  
  121. # Engine ---------------------------------------------
  122. (engine (oscillator (* throttle crankshaft 0.0006)))
  123. (engine (split engine 0.0 1.0 0.0 0.1 0.02))
  124.  
  125. # Gearbox --------------------------------------------
  126. (gearbox (oscillator (* (- driveshaft_core clutchshaft_core) 1.0)))
  127. (gearbox (* gearbox gearbox_grind clutch 0.05))
  128. (gearbox (spring gearbox 8000.0 0.2 1.0))
  129. (gearbox (* gearbox 1.0))
  130.  
  131. (feel (+ tex gearbox))
  132. (output (+ output (* feel fx)))
  133.  
  134. # Scaler as informational only, doesnt affect output -
  135. (scale_window_init 10.0)
  136. (scale_window_nominal 2.0)
  137. (scale_soft_clear_t 10.0)
  138. (scale_min 0.2)
  139. (scale_max 2.0)
  140. (scale_blend_t 2.0)
  141. (signal_scale output
  142. 1.0 1.0 1.0 1.0 1.0
  143. 0.0
  144. 0.0 0.0)
  145.  
  146. #Deadzone Removal as pCARS 1 - deadzone/fall off
  147. (output (tighten output 0.10 0.04))
  148.  
  149. (output (relative output 1.3 0.1 0.95))
  150.  
  151. (histogram output)
  152.  
  153. (output (hard_clip (* output gain) 1.0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement