Beruflich Dokumente
Kultur Dokumente
###########################################################
# NAME: basic
#
# this file gives you raw & unaltered force as integrated by physics engine
# acting on steering rack of the vehicle physical model
# Summing these two valuee effectievly gives you rackforce.
#
###########################################################
#above left and right rack are axial forces in tierods. To project them to rack,
multiply by respective left right below "rack proj"
#FL_rack_proj
#FR_rack_proj
#arm force is that same thing, already done in game. If left / right need
manipulation, exposed them "un projected" here.
#(rack_force ( + ( * FL_tierod FL_rack_proj ) ( * FR_tierod FR_rack_proj)))
# rack_force = FL_rack_left * FL_rack_proj + FR_rack_righ * FR_rack_proj
###########################################################
#
#
#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)
###########################################################
#####################################################
#####################################################
#PARKING LOT FORCE :)
(output rack)
######################################################
######################################################
##(LOW FORCE BOOST)
################
######################################################
######################################################
####################################################
####################################################
(doom_check output)
#third info container used for output (before lockstops, after clipping and gain)
(info3 (smooth output 0.7))
#(info0 lock_spring)
(output ( blend lock_spring output 0.0))
#(info1 lock_spring)
(histogram output)