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