1#Moving Object definition file for Ultimate Stunts 2#This file describes the Lamborghini Diablo car 3 4#All values are in SI units 5 6[description] 7fullname = Lamborghini Diablo 8 9 10[body] 11 12#Geometry definition file 13geometry = cars/diablo/body.glb 14 15#body mass in kg 16mass = 1476.0 17 18#Center of mass relative to the body origin in m 19centerofmass = 0,-0.2,0.0 20 21#size (defines the moments of inertia) in m 22size = 1.5, 0.8, 3.0 23 24#Camera position relative to CM 25camerapos = 0, 0.9, 0 26 27#Air resistance cw times front area 28#according to formula F = cwA * v^2 29cwa = 0.44 30 31#Rotation damping constant 32rotationdamping = 100.0 33 34 35 36 37[frontwheels] 38 39#Geometry definition file 40geometry = cars/diablo/wheel.glb 41 42#static friction coefficient 43mu = 1.7 44 45#roll friction coefficient 46roll = 0.01 47 48#wheel mass in kg 49mass = 40.0 50 51#position relative to body origin in m 52position = 0.5, 0.05, -1.7 53 54#spring constant for the suspension 55suspk = 100000.0 56suspd = 20000.0 57 58#Normalised stiffness of the tyre 59#The longitudinal and lateral velocities 60# of the tyre surfaceare multiplied with 61# these values before they are used in 62# the tyre force curve 63tractionstiffness = 5 64cornerstiffness = 100 65 66#The maximum brake torque in Nm 67#At low velocities the brake force depends 68#on the axis' angular velocity 69brakemax = 1000.0 70 71#max steering angle in rad 72steermax = 0.24 73 74#Fraction of traction torque supplied 75traction = 0.0 76 77#Aerodynamic downforce coefficient 78#F = coeficient * v^2 79downforce = 0.13 80 81 82[rearwheels] 83 84#Geometry definition file 85geometry = cars/diablo/wheel.glb 86 87#static friction coefficient 88mu = 1.7 89 90#roll friction coefficient 91roll = 0.01 92 93#wheel mass in kg 94mass = 40.0 95 96#position relative to body origin in m 97position = 0.7, 0.05, 1.0 98 99#spring constant for the suspension 100suspk = 100000.0 101suspd = 20000.0 102 103#Normalised stiffness of the tyre 104#The longitudinal and lateral velocities 105# of the tyre surfaceare multiplied with 106# these values before they are used in 107# the tyre force curve 108tractionstiffness = 5 109cornerstiffness = 100 110 111#The maximum brake torque in Nm 112#At low velocities the brake force depends 113#on the axis' angular velocity 114brakemax = 1000.0 115 116#max steering angle in rad 117steermax = 0.0 118 119#Fraction of traction torque supplied 120traction = 1.0 121 122#Aerodynamic downforce coefficient 123#F = coeficient * v^2 124downforce = 0.2 125 126 127 128[engine] 129#Torque in Nm of a non-rotating engine (@ 0 RPM) 130zerotorque = 430 131 132#Max torque point. Torque in Nm, engine speed in rad/s 133maxtorque = 580 134w_maxtorque = 613 135 136#Max power point. Power in W, engine speed in rad/s 137maxpower = 433000 138w_maxpower = 818 139 140#Engine speed in rad/s where the engine doesn't generate torque anymore 141w_zero = 935 142 143#Gear ratios 144gear0 = -2.12 145gear1 = 2.31 146gear2 = 1.52 147gear3 = 1.12 148gear4 = 0.88 149gear5 = 0.68 150gear6 = 0 151 152#The differential ratio 153differentialratio = 3.83 154 155[sound] 156#Engine sound 157engine = cars/diablo/engine.wav 158 159#Base engine rad/s of the sound sample 160enginerps = 450 161 162[skin] 163texture = cars/diablo/textures.jpg 164defaultcolor = 1,0.8,0 165 166[dashboard] 167 168crash_tex = cars/generic/crash.png 169 170#The dashboard background texture and its height 171#The height is a fraction of the width 172background_tex = cars/diablo/dashboard.png 173background_hth = 0.35 174 175#The steer texture, position, radius and its maximum angle (degrees) 176steer_tex = cars/diablo/steer.png 177steer_pos = 0.52,-0.5 178steer_rad = 0.66 179steer_ang = 100.0 180 181#An analog velocity gauge. texture, position, radius, and gauge settings. 182#an0,an1 = min. + max. angle of the needle 183#max = velocity (m/s) where the maximum angle is reached 184analog_vel_tex = cars/diablo/vel.png 185analog_vel_pos = 0.255,0.195 186analog_vel_rad = 0.092 187analog_vel_an0 = -145 188analog_vel_an1 = 133 189analog_vel_max = 94 190 191#An analog RPM gauge. texture, position, radius, and gauge settings. 192#an0,an1 = min. + max. angle of the needle 193#max = engine speed (rad/s) where the maximum angle is reached 194analog_rpm_tex = cars/diablo/rpm.png 195analog_rpm_pos = 0.755,0.195 196analog_rpm_rad = 0.092 197analog_rpm_an0 = -121 198analog_rpm_an1 = 126 199analog_rpm_max = 942 200 201[controls] 202 203#Steering speed (fraction/s) when steering away from neutral 204steerspeed_out = 0.5 205 206#Steering speed (fraction/s) when steering towards neutral 207steerspeed_in = 2.5 208 209#Dependency of steering speed on car speed 210#formula: dsdt = {steerspeed_in | steerspeed_out} / (1.0 + steerspeed_v_factor * |v|) 211steerspeed_v_factor = 0.01 212 213 214