0% found this document useful (0 votes)
50 views

FFB Custom Settings

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

FFB Custom Settings

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

###arm_force -- equivialent of "max force at steering rack" in ams1

###lockstop, overall strangth, stiffness, damping


(custom_lock_stop 1.0)

(lever_mode 0)
(smooth_level 0)
(max_change 1.0)

(min_force 0.00)

(scrub_rack 1.0)
(scrub_rear 0.0)

(engine_scale 0.1)
(scrub_scale 0.0)

#scaled rack damping, based on actual "virtual" rack velocity.


(rack_damping_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))))
(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))

(scrub_vibe ( * scrub_rack fx))


############################################################################
###########################################################################

(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)
################

(output ( lfb output 0.15))

######################################################
######################################################

#light damping

#pass thru same smoothing level as rackForce


(damping_smooth (smooth rack_damping M_force_smoothing))
(rack_damping (if M_force_smoothing damping_smooth rack_damping))

(output (+ output (* rack_damping_scale rack_damping)))

####################################################
####################################################

#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))

#lock stops. not advised to edit stiffness or espcially damping


##decrease lockstop stiffness when standstill
(park_lockStop ( + 0.5 ( * 0.5 (crossover vel_mag 0.0 3.0))))

(stiffness 3.0)
(damping 5.0)

#adjust stifness based on overall ffb gain from game.


(gain_scale ( - 1.3 gain))

#adjust stiffness and damping separate, based on vehicle steer ratio (1:10 taken as
"nominal" ratio, downscale below, above leave intact)
(ratio_scale ( / steer_ratio 10.0))
(ratio_scale ( min ratio_scale 1.0))
(stiffness ( * stiffness 0.5 ratio_scale))
(damping ( * damping ratio_scale))

(custom_lock_stop ( * park_lockStop custom_lock_stop gain_scale))

(stops (bumpstop output 0.1 stiffness 0.14 damping))


(output (+ output (* stops custom_lock_stop )))

(histogram output)

(info2 output)

You might also like