###arm_force -- equivialent of "max force at steering rack" in ams1 (custom_lock_stop 0.5) (min_force 0.01) (scrub_vibe 1.0) (engine_scale 0.1) (scrub_scale 0.0) ########################################################### # #Some constants # ##general multipliers (from ams1) (max_overall_force 11500.0) (recip_force ( / 1.0 max_overall_force)) #mfasr scaler (rack_scaled ( * arm_force ( / max_overall_force M_max_force_at_rack))) (rack_scaled ( * rack_scaled recip_force)) (rack rack_scaled) (rack_smooth (smooth rack M_force_smoothing)) (rack (if M_force_smoothing rack_smooth rack)) ########################################################### ##################################################### ##################################################### #PARKING LOT FORCE :) (parkingForce (* parkingForceMult rack)) (parkingForce (* parkingForce (crossover et 0.0 5.0))) (parkingForce (* parkingForce (- 1.0 (crossover vel_mag 0.0 7.0)))) (parkingForce (* parkingForce )) (rack (* rack (crossover vel_mag 0.0 5.0))) (rack (+ rack parkingForce)) ###################################################### ###################################################### #FX_AMS2- scrub effect (gives subtle vibrtions on braking / understeer) # and engine vibrations on wheel (so like ams1 "fx" -curbs) ############# # Scrub ---------------------------------------------- (FL_scrub (soft_clip FL_scrub 2.0 0.0)) (FL_scrub (scoop FL_scrub 0.8 0.999)) (FL_scrub (* FL_scrub (oscillator 1.2))) (FR_scrub (soft_clip FR_scrub 2.0 0.0)) (FR_scrub (scoop FR_scrub 0.8 0.999)) (FR_scrub (* FR_scrub (oscillator 1.2))) (tex_k 20000.0) (tex_d 1.0) (FL_tex (* scrub_scale FL_scrub)) (FL_tex (split FL_tex 0.0 1.0 1.0 2.0 0.01)) (FL_tex (spring FL_tex tex_k tex_d 1.0)) (FR_tex (* scrub_scale FR_scrub)) (FR_tex (split FR_tex 0.0 1.0 1.0 2.0 0.01)) (FR_tex (spring FR_tex tex_k tex_d 1.0)) (tex (+ FL_tex FR_tex)) (tex (soft_clip tex 1.0 0.0)) # Engine --------------------------------------------- (max_rps 8000.0) (rps_scale ( / crankshaft max_rps)) (rps_scale ( power rps_scale 0.8)) (rps_scale (min rps_scale 0.02)) (rps_scale (max rps_scale 0.14)) (load_mult (+ 0.8 throttle)) (load_mult (max load_mult 1.0)) (engine_vibe (sin crankPos)) (engine_vibe ( * load_mult engine_vibe rps_scale engine_scale)) (feel ( + tex engine_vibe)) ############################################################################ ########################################################################### ##(LOW FORCE BOOST) needs to be here, not down below as that affects rack force, which is NOT good. Now LFB can be adjusted without changing sense of centering. (feel ( lfb feel 0.15)) (rack ( + rack ( * feel fx 0.8))) (output rack) # Scaler as informational only, doesnt affect output - (scale_window_init 10.0) (scale_window_nominal 2.0) (scale_soft_clear_t 10.0) (scale_min 0.2) (scale_max 2.0) (scale_blend_t 2.0) (signal_scale output 1.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0) ###################################################### ###################################################### ##(LOW FORCE BOOST) ################ #NO THANKS, this is just plain bad. Will make the wheel "fight for center" #(output ( lfb output 0.15)) ###################################################### ###################################################### ##lock_stops (stops (bumpstop output 0.05 0.5 0.05 0.1)) (output (+ output (* stops custom_lock_stop))) #################################################### #allow 30% headroom (headroom ( - 0.7 gain)) (clipTo ( + 1.3 headroom)) (clipTo ( if headroom 1.3 clipTo)) (output (hard_clip output clipTo)) (output (* output gain)) (histogram output)