Advertisement
TylerB

Untitled

Aug 11th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 KB | None | 0 0
  1. // This is a test jeep type vehicle for the wasteland
  2.  
  3. "vehicle"
  4. {
  5. "wheelsperaxle" "2"
  6. "body"
  7. {
  8. "countertorquefactor" "1"
  9. "massCenterOverride" "0 0 0"
  10. "massoverride" "1200" // kg
  11. "addgravity" "0.33"
  12. }
  13. "engine"
  14. {
  15. "horsepower" "350"
  16. "maxrpm" "3000"
  17. "maxspeed" "35" // mph
  18. "maxReverseSpeed" "20" // mph
  19. "autobrakeSpeedGain" "1.1" // 10% speed gain while coasting, put on the brakes after that
  20. "autobrakeSpeedFactor" "3.0" // Brake is this times the speed gain
  21. "autotransmission" "1"
  22. "axleratio" "4.56"
  23. "gear" "1.86" // 1st gear
  24. "gear" "1.59" // 2nd gear
  25. "gear" "1.17" // 3rd gear
  26. "gear" "1.0" // 4th gear
  27. "gear" "0.84" // 5th gear
  28. "shiftuprpm" "1500"
  29. "shiftdownrpm" "300"
  30.  
  31. "boost"
  32. {
  33. // "force" "1.5" // 1.5 car body mass * gravity * inches / second ^ 2
  34. "duration" "1.0" // 1 second of boost
  35. "delay" "15" // 15 seconds before you can use it again
  36. "torqueboost" "1" // enable "sprint" mode of vehicle, not force type booster
  37. "maxspeed" "50" // maximum turbo speed
  38. }
  39. }
  40. "steering"
  41. {
  42. "degreesSlow" "50" // steering cone at zero to slow speed
  43. "degreesFast" "18" // steering cone at fast speed to max speed
  44. "degreesBoost" "11" // steering cone at max boost speed (blend toward this after max speed)
  45. "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
  46. "slowcarspeed" "14"
  47. "fastcarspeed" "20"
  48. "slowSteeringRate" "4.0"
  49. "fastSteeringRate" "2.0"
  50. "steeringRestRateSlow" "4.0"
  51. "steeringRestRateFast" "2.0"
  52. "turnThrottleReduceSlow" "0.01"
  53. "turnThrottleReduceFast" "2.0"
  54. "brakeSteeringRateFactor" "6"
  55. "throttleSteeringRestRateFactor" "2"
  56. "boostSteeringRestRateFactor" "1.7"
  57. "boostSteeringRateFactor" "1.7"
  58.  
  59. "powerSlideAccel" "250"
  60.  
  61. "skidallowed" "1"
  62. "dustcloud" "1"
  63.  
  64. }
  65.  
  66. // front axle
  67. "axle"
  68. {
  69. "wheel"
  70. {
  71. "radius" "12.5"
  72. "mass" "100"
  73. "inertia" "1.5" // steady the car (fixes the oscillation of the axles about z)
  74. "damping" "0"
  75. "rotdamping" "0.0"
  76. "material" "jeeptire"
  77. "skidmaterial" "slidingrubbertire"
  78. "brakematerial" "brakingrubbertire"
  79. }
  80. "suspension"
  81. {
  82. "springConstant" "80"
  83. "springDamping" "4"
  84. "stabilizerConstant" "110"
  85. "springDampingCompression" "4"
  86. "maxBodyForce" "250"
  87. }
  88.  
  89. "torquefactor" "0.3"
  90. "brakefactor" "0.6"
  91. }
  92.  
  93. // rear axle
  94. "axle"
  95. {
  96. "wheel"
  97. {
  98. "radius" "12.5"
  99. "mass" "100"
  100. "inertia" "1.5" // steady the car (fixes the oscillation of the axles about z)
  101. "damping" "0"
  102. "rotdamping" "0.0"
  103. "material" "jeeptire"
  104. "skidmaterial" "slidingrubbertire"
  105. "brakematerial" "brakingrubbertire"
  106. }
  107. "suspension"
  108. {
  109. "springConstant" "80"
  110. "springDamping" "4"
  111. "stabilizerConstant" "110"
  112. "springDampingCompression" "4"
  113. "maxBodyForce" "250"
  114. }
  115. "torquefactor" "0.7"
  116. "brakefactor" "0.4"
  117. }
  118. }
  119.  
  120. "vehicle_sounds"
  121. {
  122. // List gears in order from lowest speed to highest speed
  123.  
  124. "gear"
  125. {
  126. "max_speed" "0.3"
  127. "speed_approach_factor" "1.0"
  128. }
  129.  
  130. "gear"
  131. {
  132. "max_speed" "0.5"
  133. "speed_approach_factor" "0.07"
  134. }
  135. "gear"
  136. {
  137. "max_speed" "0.75"
  138. "speed_approach_factor" "0.07"
  139. }
  140. "gear"
  141. {
  142. "max_speed" "0.90"
  143. "speed_approach_factor" "0.035"
  144. }
  145. "gear"
  146. {
  147. "max_speed" "0.95"
  148. "speed_approach_factor" "0.015"
  149. }
  150. "gear"
  151. {
  152. "max_speed" "2.0"
  153. "speed_approach_factor" "0.03"
  154. }
  155. "state"
  156. {
  157. "name" "SS_START_WATER"
  158. "sound" "ATV_start_in_water"
  159. }
  160.  
  161. "state"
  162. {
  163. "name" "SS_START_IDLE"
  164. "sound" "ATV_engine_start"
  165. }
  166. "state"
  167. {
  168. "name" "SS_SHUTDOWN_WATER"
  169. "sound" "ATV_stall_in_water"
  170. }
  171. "state"
  172. {
  173. "name" "SS_IDLE"
  174. "sound" "ATV_engine_idle"
  175. }
  176. "state"
  177. {
  178. "name" "SS_REVERSE"
  179. "sound" "ATV_reverse"
  180. "min_time" "0.5"
  181. }
  182. "state"
  183. {
  184. "name" "SS_GEAR_0"
  185. "sound" "ATV_rev"
  186. "min_time" "0.75"
  187. }
  188. "state"
  189. {
  190. "name" "SS_GEAR_0_RESUME"
  191. "sound" "ATV_engine_idle"
  192. "min_time" "0.75"
  193. }
  194. "state"
  195. {
  196. "name" "SS_GEAR_1"
  197. "sound" "ATV_firstgear"
  198. "min_time" "0.5"
  199. }
  200. "state"
  201. {
  202. "name" "SS_GEAR_1_RESUME"
  203. "sound" "ATV_firstgear_noshift"
  204. "min_time" "0.5"
  205. }
  206. "state"
  207. {
  208. "name" "SS_GEAR_2"
  209. "sound" "ATV_secondgear"
  210. "min_time" "0.5"
  211. }
  212. "state"
  213. {
  214. "name" "SS_GEAR_2_RESUME"
  215. "sound" "ATV_secondgear_noshift"
  216. "min_time" "0.5"
  217. }
  218. "state"
  219. {
  220. "name" "SS_GEAR_3"
  221. "sound" "ATV_thirdgear"
  222. "min_time" "0.5"
  223. }
  224. "state"
  225. {
  226. "name" "SS_GEAR_3_RESUME"
  227. "sound" "ATV_thirdgear_noshift"
  228. "min_time" "0.5"
  229. }
  230. "state"
  231. {
  232. "name" "SS_GEAR_4"
  233. "sound" "ATV_fourthgear"
  234. "min_time" "0.5"
  235. }
  236. "state"
  237. {
  238. "name" "SS_GEAR_4_RESUME"
  239. "sound" "ATV_fourthgear_noshift"
  240. "min_time" "0.5"
  241. }
  242. "state"
  243. {
  244. "name" "SS_SLOWDOWN_HIGHSPEED"
  245. "sound" "ATV_throttleoff_fastspeed"
  246. }
  247. "state"
  248. {
  249. "name" "SS_SLOWDOWN"
  250. "sound" "ATV_throttleoff_slowspeed"
  251. }
  252. "state"
  253. {
  254. "name" "SS_TURBO"
  255. "sound" "ATV_turbo_on"
  256. "min_time" "2.5"
  257. }
  258. "state"
  259. {
  260. "name" "SS_SHUTDOWN"
  261. "sound" "ATV_engine_stop"
  262. }
  263. "crashsound"
  264. {
  265. "min_speed" "350"
  266. "min_speed_change" "250"
  267. "sound" "ATV_impact_medium"
  268. "gear_limit" "1"
  269. }
  270. "crashsound"
  271. {
  272. "min_speed" "450"
  273. "min_speed_change" "350"
  274. "sound" "ATV_impact_heavy"
  275. }
  276.  
  277.  
  278. "skid_lowfriction" "ATV_skid_lowfriction"
  279. "skid_normalfriction" "ATV_skid_normalfriction"
  280. "skid_highfriction" "ATV_skid_highfriction"
  281. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement