#Moving Object definition file for Ultimate Stunts
#This file describes the Aston Martin DB4 GT

#All values are in SI units

[description]
fullname = Maserati 5000 GT



[body]

#Geometry definition file
geometry = cars/maserati5000gt/body.glb

#body mass in kg
mass = 1200

#Center of mass relative to the body origin in m
centerofmass = 0,0.3,-0.15

#size (defines the moments of inertia) in m
size = 1.70, 1.3, 4.70

#Camera position relative to CM
camerapos = 0, 0.95, 0.5

#Air resistance cw times front area
#according to formula F = cwA * v^2
cwa = 0.55

#Rotation damping constant
rotationdamping = 100.0




[frontwheels]

#Geometry definition file
geometry = cars/maserati5000gt/wheel.glb

#static friction coefficient
mu = 1.5

#roll friction coefficient
roll = 0.01

#wheel mass in kg
mass = 45.0

#position relative to body origin in m
position = -0.72, 0.17, -1.40

#spring constant for the suspension
suspk = 70000.0
suspd = 20000.0

#Normalised stiffness of the tyre
#The longitudinal and lateral velocities
# of the tyre surfaceare multiplied with
# these values before they are used in
# the tyre force curve
tractionstiffness = 5
cornerstiffness = 50

#The maximum brake torque in Nm
#At low velocities the brake force depends
#on the axis' angular velocity
brakemax = 200.0

#max steering angle in rad
steermax = 0.2

#Fraction of traction torque supplied
traction = 0

#Aerodynamic downforce coefficient
#F = coeficient * v^2
downforce = 0.08



[rearwheels]

#Geometry definition file
geometry = cars/maserati5000gt/wheel.glb

#static friction coefficient
mu = 1.5

#roll friction coefficient
roll = 0.01

#wheel mass in kg
mass = 55.0

#position relative to body origin in m
position = -0.71, 0.17, 1.32

#spring constant for the suspension
suspk = 80000.0
suspd = 50000.0

#Normalised stiffness of the tyre
#The longitudinal and lateral velocities
# of the tyre surfaceare multiplied with
# these values before they are used in
# the tyre force curve
tractionstiffness = 5
cornerstiffness = 50

#The maximum brake torque in Nm
#At low velocities the brake force depends
#on the axis' angular velocity
brakemax = 400.0

#max steering angle in rad
steermax = 0.0

#Fraction of traction torque supplied
traction = 1

#Aerodynamic downforce coefficient
#F = coeficient * v^2
downforce = 0.15



[engine]

#Torque in Nm of a non-rotating engine (@ 0 RPM)
zerotorque = 247

#Max torque point. Torque in Nm, engine speed in rad/s
maxtorque = 420
w_maxtorque = 523

#Max power point. Power in W, engine speed in rad/s
maxpower = 257000
w_maxpower = 650

#Engine speed in rad/s where the engine doesn't generate torque anymore
w_zero = 753

#Gear ratios
gear0 = -3
gear1 = 3
gear2 = 1.84
gear3 = 1.3
gear4 = 1.0
gear5 = 0
gear6 = 0

#The differential ratio
differentialratio = 3.55

[sound]
engine = cars/generic/engine.wav

#Base engine rad/s of the sound sample
enginerps = 388

[skin]
texture = cars/generic/license.jpg
defaultcolor = 0,0.2,0.7

[dashboard]
#The dashboard background texture and its height
#The height is a fraction of the width
background_tex = cars/maserati5000gt/interior.png
background_hth = 0.5

crash_tex = cars/generic/crash.png

#The steer texture, position, radius and its maximum angle (degrees)
steer_tex = cars/maserati5000gt/wheel.png
steer_pos = 0.33,0.16
steer_rad = 0.29
steer_ang = 145.0

#An analog velocity gauge. texture, position, radius, and gauge settings.
#an0,an1 = min. + max. angle of the needle
#max = velocity (m/s) where the maximum angle is reached
analog_vel_tex = cars/maserati5000gt/tacho.png
analog_vel_pos = 0.195,0.24
analog_vel_rad = 0.068
analog_vel_an0 = -160
analog_vel_an1 = 140
analog_vel_max = 83

#An analog RPM gauge. texture, position, radius, and gauge settings.
#an0,an1 = min. + max. angle of the needle
#max = engine speed (rad/s) where the maximum angle is reached
analog_rpm_tex = cars/maserati5000gt/rpm.png
analog_rpm_pos = 0.46,0.24
analog_rpm_rad = 0.068
analog_rpm_an0 = -160
analog_rpm_an1 = 130
analog_rpm_max = 847

[controls]

#Steering speed (fraction/s) when steering away from neutral
steerspeed_out = 0.5

#Steering speed (fraction/s) when steering towards neutral
steerspeed_in  = 2.5

#Dependency of steering speed on car speed
#formula: dsdt = {steerspeed_in | steerspeed_out} / (1.0 + steerspeed_v_factor * |v|)
steerspeed_v_factor = 0.02


