Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. // This is the Ferrari F50 Supercar
  2.  
  3. "vehicle"
  4. {
  5. "wheelsperaxle" "2"
  6. "body"
  7. {
  8. "countertorquefactor" "1.0"
  9. "massCenterOverride" "0 0 0"
  10. "massoverride" "1449" // kg
  11. "addgravity" "1.0"
  12. }
  13. "engine"
  14. {
  15. "horsepower" "850"
  16. "maxrpm" "5000"
  17. "maxspeed" "140" // mph
  18. "maxReverseSpeed" "20" // mph
  19. "autotransmission" "0"
  20. "axleratio" "4.56"
  21. "gear" "1.86" // 1st gear
  22. "gear" "1.59" // 2nd gear
  23. "gear" "1.17" // 3rd gear
  24. "gear" "1.0" // 4th gear
  25. "gear" "0.84" // 5th gear
  26. "shiftuprpm" "3500"
  27. "shiftdownrpm" "1000"
  28.  
  29. "boost"
  30. {
  31. // "force" "0.0" // 1.5 car body mass * gravity * inches / second ^ 2
  32. "duration" "0.0" // 1 second of boost
  33. "delay" "0" // 15 seconds before you can use it again
  34. "torqueboost" "0" // enable "sprint" mode of vehicle, not force type booster
  35. "maxspeed" "0" // maximum turbo speed
  36. "force" "0.0" // use for value as a boost factor
  37. }
  38. }
  39. "steering"
  40. {
  41. "degreesSlow" "30" // steering cone at zero to slow speed
  42. "degreesFast" "10" // steering cone at fast speed to max speed
  43. "degreesBoost" "5" // steering cone at max boost speed (blend toward this after max speed)
  44. "steeringExponent" "1.4" // steering function is linear, then raised to this power to be slower at the beginning of the curve, faster at the end
  45. "slowcarspeed" "15"
  46. "fastcarspeed" "40"
  47. "slowSteeringRate" "4.0"
  48. "fastSteeringRate" "2.0"
  49. "steeringRestRateSlow" "4.0"
  50. "steeringRestRateFast" "2.0"
  51. "turnThrottleReduceSlow" "0.1"
  52. "turnThrottleReduceFast" "1.0"
  53. "brakeSteeringRateFactor" "6"
  54. "throttleSteeringRestRateFactor" "2"
  55. "boostSteeringRestRateFactor" "1.7"
  56. "boostSteeringRateFactor" "1.7"
  57.  
  58. "powerSlideAccel" "250"
  59.  
  60. "skidallowed" "1"
  61. "dustcloud" "1"
  62.  
  63. }
  64.  
  65. // front axle
  66. "axle"
  67. {
  68. "wheel"
  69. {
  70. "radius" "16.5"
  71. "mass" "220"
  72. "inertia" "0.7" // steady the car (fixes the oscillation of the axles about z)
  73. "damping" "0"
  74. "rotdamping" "0.0"
  75. "material" "ubertire"
  76. "skidmaterial" "enzotire"
  77. "brakematerial" "enzotire"
  78. }
  79. "suspension"
  80. {
  81. "springConstant" "200"
  82. "springDamping" "3.14"
  83. "stabilizerConstant" "250"
  84. "springDampingCompression" "4"
  85. "maxBodyForce" "500"
  86. }
  87.  
  88. "torquefactor" "0.3"
  89. "brakefactor" "0.9"
  90. }
  91.  
  92. // rear axle
  93. "axle"
  94. {
  95. "wheel"
  96. {
  97. "radius" "18"
  98. "mass" "220"
  99. "inertia" "1.5" // steady the car (fixes the oscillation of the axles about z)
  100. "damping" "0"
  101. "rotdamping" "0.0"
  102. "material" "ubertire"
  103. "skidmaterial" "rigmtire"
  104. "brakematerial" "rigmtire"
  105. }
  106. "suspension"
  107. {
  108. "springConstant" "200"
  109. "springDamping" "3.14"
  110. "stabilizerConstant" "250"
  111. "springDampingCompression" "4"
  112. "maxBodyForce" "500"
  113. }
  114. "torquefactor" "1.2"
  115. "brakefactor" "0.6"
  116. }
  117. }
  118.  
  119. "vehicle_sounds"
  120. {
  121. // List gears in order from lowest speed to highest speed
  122.  
  123. "gear"
  124. {
  125. "max_speed" "0.3"
  126. "speed_approach_factor" "1.0"
  127. }
  128.  
  129. "gear"
  130. {
  131. "max_speed" "0.5"
  132. "speed_approach_factor" "0.8"
  133. }
  134. "gear"
  135. {
  136. "max_speed" "0.75"
  137. "speed_approach_factor" "0.6"
  138. }
  139. "gear"
  140. {
  141. "max_speed" "0.80"
  142. "speed_approach_factor" "0.55"
  143. }
  144. "gear"
  145. {
  146. "max_speed" "0.90"
  147. "speed_approach_factor" "0.45"
  148. }
  149. "gear"
  150. {
  151. "max_speed" "1.0"
  152. "speed_approach_factor" "0.28"
  153. }
  154. "state"
  155. {
  156. "name" "SS_START_WATER"
  157. "sound" "enzo_start_in_water"
  158. }
  159.  
  160. "state"
  161. {
  162. "name" "SS_START_IDLE"
  163. "sound" "enzo_engine_start"
  164. }
  165. "state"
  166. {
  167. "name" "SS_SHUTDOWN_WATER"
  168. "sound" "enzo_stall_in_water"
  169. }
  170. "state"
  171. {
  172. "name" "SS_IDLE"
  173. "sound" "enzo_engine_idle"
  174. }
  175. "state"
  176. {
  177. "name" "SS_REVERSE"
  178. "sound" "enzo_reverse"
  179. "min_time" "0.5"
  180. }
  181. "state"
  182. {
  183. "name" "SS_GEAR_0"
  184. "sound" "enzo_rev"
  185. "min_time" "0.75"
  186. }
  187. "state"
  188. {
  189. "name" "SS_GEAR_0_RESUME"
  190. "sound" "enzo_engine_idle"
  191. "min_time" "0.75"
  192. }
  193. "state"
  194. {
  195. "name" "SS_GEAR_1"
  196. "sound" "enzo_firstgear"
  197. "min_time" "0.20"
  198. }
  199. "state"
  200. {
  201. "name" "SS_GEAR_1_RESUME"
  202. "sound" "enzo_firstgear_noshift"
  203. "min_time" "0.5"
  204. }
  205. "state"
  206. {
  207. "name" "SS_GEAR_2"
  208. "sound" "enzo_secondgear"
  209. "min_time" "0.20"
  210. }
  211. "state"
  212. {
  213. "name" "SS_GEAR_2_RESUME"
  214. "sound" "enzo_secondgear_noshift"
  215. "min_time" "0.5"
  216. }
  217. "state"
  218. {
  219. "name" "SS_GEAR_3"
  220. "sound" "enzo_thirdgear"
  221. "min_time" "0.25"
  222. }
  223. "state"
  224. {
  225. "name" "SS_GEAR_3_RESUME"
  226. "sound" "enzo_thirdgear_noshift"
  227. "min_time" "0.5"
  228. }
  229. "state"
  230. {
  231. "name" "SS_GEAR_4"
  232. "sound" "enzo_fourthgear"
  233. "min_time" "0.5"
  234. }
  235. "state"
  236. {
  237. "name" "SS_GEAR_4_RESUME"
  238. "sound" "enzo_fourthgear_noshift"
  239. "min_time" "0.5"
  240. }
  241. "state"
  242. {
  243. "name" "SS_SLOWDOWN_HIGHSPEED"
  244. "sound" "enzo_throttleoff_fastspeed"
  245. }
  246. "state"
  247. {
  248. "name" "SS_SLOWDOWN"
  249. "sound" "enzo_throttleoff_slowspeed"
  250. }
  251. "state"
  252. {
  253. "name" "SS_TURBO"
  254. "sound" "enzo_turbo_on"
  255. "min_time" "1.5"
  256. }
  257. "state"
  258. {
  259. "name" "SS_SHUTDOWN"
  260. "sound" "enzo_engine_stop"
  261. }
  262. "crashsound"
  263. {
  264. "min_speed" "350"
  265. "min_speed_change" "250"
  266. "sound" "ATV_impact_medium"
  267. "gear_limit" "1"
  268. }
  269. "crashsound"
  270. {
  271. "min_speed" "450"
  272. "min_speed_change" "350"
  273. "sound" "ATV_impact_heavy"
  274. }
  275.  
  276.  
  277. "skid_lowfriction" "ATV_skid_lowfriction"
  278. "skid_normalfriction" "ATV_skid_normalfriction"
  279. "skid_highfriction" "ATV_skid_highfriction"
  280. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement