Advertisement
6677

Hyundai Suspension

May 25th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.74 KB | None | 0 0
  1. {
  2. "hyundai_suspension_R": {
  3. "information":{
  4. "authors":"gabester",
  5. "name":"Hyundai Elantra Rear Suspension",
  6. }
  7. "slotType" : "hyundai_suspension_R",
  8. "slots": [
  9. ["type", "default", "description"]
  10. ["hyundai_brake_R","hyundai_brake_R", "Gavril Grand Marshal Rear Brakes"],
  11. ["hyundai_wheel_R","hyundai_wheel_R", "Gavril Grand Marshal Rear Wheels"],
  12. ["hyundai_spring_R","hyundai_spring_R", "Gavril Grand Marshal Rear Springs"],
  13. ["hyundai_shock_R","hyundai_shock_R", "Gavril Grand Marshal Rear Shocks"],
  14. ["hyundai_swaybar_R","hyundai_swaybar_R", "Gavril Grand Marshal Rear Sway Bar"],
  15. ["hyundai_differential_R","hyundai_differential_F", "Hyundai Elantra Rear Differential"],
  16. ],
  17. "selfCollisionThickness":0.02,
  18. "remoteCollisionThickness":0.06,
  19. "scalenodeWeight":0.95,
  20. "scalebeamSpring":0.75,
  21. "scalebeamDamp":0.73,
  22. "scalebeamDeform":0.36,
  23. "scalebeamStrength":0.65,
  24. "flexbodies": [
  25. ["mesh", "[group]:", "nonFlexMaterials"],
  26. //running gear
  27. ["hyundai_lowerarm_R", ["hyundai_lowermounts_R","hyundai_axle"]],
  28. ["hyundai_upperarm_R", ["hyundai_uppermounts_R","hyundai_axle"]],
  29.  
  30. ["hyundai_axle", ["hyundai_axle","hyundai_engine","hyundai_transmission"]],
  31.  
  32. ],
  33. "nodes": [
  34. ["id", "posX", "posY", "posZ"],
  35. //live axle rear suspension
  36. {"frictionCoef":0.7},
  37. {"nodeMaterial":"|NM_METAL"},
  38. {"selfCollision":false}
  39. {"collision":false}
  40. {"nodeWeight":5.7},
  41. //{"group":"wheelhub_RR"},
  42. //["ax1r", -0.695, 1.51, 0.32],
  43. //{"group":"wheelhub_RL"},
  44. //["ax1l", 0.695, 1.51, 0.32],
  45. {"group":"hyundai_axle"},
  46. ["ax2r", -0.66, 1.53, 0.40],
  47. ["ax2l", 0.66, 1.53, 0.40],
  48. ["ax3r", -0.66, 1.41, 0.32],
  49. ["ax3l", 0.66, 1.41, 0.32],
  50. {"collision":true}
  51. ["ax1", 0.0, 1.61, 0.32],
  52. ["ax2", 0.0, 1.51, 0.47],
  53. ["ax3", 0.0, 1.31, 0.32],
  54. //wheel nodes
  55. {"selfCollision":false}
  56. {"collision":true}
  57. {"frictionCoef":0.7},
  58. {"nodeMaterial":"|NM_METAL"},
  59. //{"group":"wheelhub_RR"},
  60. //["axwr", -0.93, 1.51, 0.32],
  61. //{"group":"wheelhub_RL"},
  62. //["axwl", 0.93, 1.51, 0.32],
  63. //extra axis nodes
  64. ["ax4r", -0.66, 1.56, 0.24],
  65. ["ax4l", 0.66, 1.56, 0.24],
  66.  
  67. {"group":"hyundai_shockbottom_R"},
  68. //shock mounting nodes
  69. {"nodeWeight":5.7},
  70. ["axshr", -0.46, 1.56, 0.24],
  71. ["axshl", 0.46, 1.56, 0.24],
  72. {"group":""},
  73. ],
  74.  
  75. "beams": [
  76. ["id1:", "id2:"],
  77. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  78. //live axle suspension
  79. {"beamSpring":7501000,"beamDamp":80},
  80. {"beamDeform":165000,"beamStrength":460000},
  81. ["ax2r","ax2"],
  82. ["ax2","ax2l"],
  83. ["ax3r","ax3"],
  84. ["ax3","ax3l"],
  85. //
  86. ["ax2l","ax3l"],
  87. ["ax1","ax2"],
  88. ["ax1","ax3"],
  89. ["ax2","ax3"],
  90. ["ax2r","ax3r"],
  91.  
  92. //crossing
  93. ["ax2r","ax1"],
  94. ["ax2l","ax1"],
  95. ["ax3r","ax1"],
  96. ["ax3l","ax1"],
  97.  
  98. ["ax3r","ax2"],
  99. ["ax3l","ax2"],
  100.  
  101. ["ax2r","ax3"],
  102. ["ax2l","ax3"],
  103.  
  104.  
  105. {"optional":true},
  106. {"beamSpring":7501000,"beamDamp":80},
  107. {"beamDeform":215000,"beamStrength":340000},
  108. {"breakGroup":"wheel_RR"},
  109. //["ax1r","axwr"],
  110. ["ax2r","axwr"],
  111. ["ax3r","axwr"],
  112.  
  113. ["ax1r","ax3"],
  114. ["ax1r","ax2"],
  115. ["ax1r","ax1", {"name":"axle_RR"}],
  116. ["ax1r","ax2r"],
  117. ["ax1r","ax3r"],//right rear brake arm
  118.  
  119. {"breakGroup":"wheel_RL"},
  120. //["ax1l","axwl"],
  121. ["ax2l","axwl"],
  122. ["ax3l","axwl"],
  123.  
  124. ["ax1l","ax3"],
  125. ["ax1l","ax2"],
  126. ["ax1l","ax1", {"name":"axle_RL"}],
  127. ["ax1l","ax2l"],
  128. ["ax1l","ax3l"],//left rear brake arm
  129. {"beamSpring":7501000,"beamDamp":80},
  130. {"beamDeform":215000,"beamStrength":340000},
  131. //to wheels
  132. {"breakGroup":"wheel_RR"},
  133. ["axwr","ax1"],
  134. ["axwr","ax2"],
  135. ["axwr","ax3"],
  136. ["axshr","axwr"],
  137. ["ax4r","axwr"],
  138. {"breakGroup":"wheel_RL"},
  139. ["axwl","ax1"],
  140. ["axwl","ax2"],
  141. ["axwl","ax3"],
  142. ["axshl","axwl"],
  143. ["ax4l","axwl"],
  144.  
  145. //shock mounts
  146. {"breakGroup":"wheel_RR"},
  147. ["axshr","ax1r"],
  148. {"breakGroup":"wheel_RL"},
  149. ["axshl","ax1l"],
  150. {"optional":false},
  151. {"breakGroup":""},
  152. {"beamSpring":7501000,"beamDamp":80},
  153. {"beamDeform":215000,"beamStrength":340000},
  154. ["axshr","ax2r"],
  155. ["axshr","ax3r"],
  156. ["axshr","ax1"],
  157. ["axshr","ax2"],
  158. ["axshr","ax3"],
  159.  
  160. ["axshl","ax2l"],
  161. ["axshl","ax3l"],
  162. ["axshl","ax1"],
  163. ["axshl","ax2"],
  164. ["axshl","ax3"],
  165.  
  166. //extra
  167.  
  168. ["ax4r","ax1r"],
  169. ["ax4r","ax2r"],
  170. ["ax4r","ax3r"],
  171. ["ax4l","ax1l"],
  172. ["ax4l","ax2l"],
  173. ["ax4l","ax3l"],
  174. ["ax4r","ax1"],
  175. ["ax4r","ax2"],
  176. ["ax4r","ax3"],
  177. ["ax4l","ax1"],
  178. ["ax4l","ax2"],
  179. ["ax4l","ax3"],
  180.  
  181. ["ax4r","axshr"],
  182. ["ax4l","axshl"],
  183.  
  184.  
  185. {"beamSpring":7501000,"beamDamp":200},
  186. {"beamDeform":115000,"beamStrength":280000},
  187. //locator arms
  188. ["ax4r","rx1r"],
  189. ["ax4l","rx1l"],
  190. ["axshr","rx1r"],
  191. ["axshl","rx1l"],
  192.  
  193. {"optional":true},
  194. {"breakGroupType":1},
  195. {"beamSpring":1001000,"beamDamp":600},
  196. {"breakGroup":"wheel_RR"},
  197. ["axwr","rx1r"],
  198. {"breakGroup":"wheel_RL"},
  199. ["axwl","rx1l"],
  200. {"optional":false},
  201. {"breakGroupType":0},
  202. {"breakGroup":""},
  203. {"beamSpring":6401000,"beamDamp":200},
  204. ["ax2r","rx2r"],
  205. ["ax2l","rx2l"],
  206.  
  207. //driveshaft
  208. {"beamSpring":0,"beamDamp":0,"beamDeform":2500,"beamStrength":3500},
  209. {"beamLimitSpring":5001000,"beamLimitDamp":800},
  210. {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.01, "beamShortBound":0.005},
  211. ["ax3","tra1", {"name":"driveshaft"}],
  212.  
  213. //rear limiters
  214. {"beamSpring":0,"beamDamp":0,"beamDeform":150000,"beamStrength":500000},
  215. {"beamLimitSpring":501000,"beamLimitDamp":800},
  216. {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":0.3, "beamShortBound":0.36},
  217.  
  218. ["ax2r","r2rr"],
  219. ["ax2l","r2ll"],
  220. ["ax3r","r2rr"],
  221. ["ax3l","r2ll"],
  222.  
  223. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  224.  
  225. ],
  226.  
  227. "hubWheels": [
  228. ["name","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
  229. {"propulsed":1}
  230. ],
  231. }
  232. "hyundai_brake_R": {
  233. "information":{
  234. "authors":"gabester",
  235. "name":"Gavril Grand Marshal Rear Brakes",
  236. }
  237. "slotType" : "hyundai_brake_R",
  238. "scalenodeWeight":0.95,
  239. "scalebeamSpring":0.75,
  240. "scalebeamDamp":0.73,
  241. "scalebeamDeform":0.36,
  242. "scalebeamStrength":0.65,
  243. "flexbodies": [
  244. ["mesh", "[group]:", "nonFlexMaterials"],
  245. //brake discs
  246. ["hyundai_brakedisc_RR", ["wheel_RR","wheelhub_RR"], ["hyundai"]],
  247. ["hyundai_brakedisc_RL", ["wheel_RL","wheelhub_RL"], ["hyundai"]],
  248. ],
  249. "hubWheels": [
  250. ["name","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
  251. //brakes
  252. {"enableABS":true}
  253. {"ABSthreshold":4}
  254. {"brakeTorque":1000},
  255. {"parkingTorque":3600},
  256. ],
  257. "engine": {
  258. "ABSrate":15
  259. },
  260. }
  261. "hyundai_spring_R": {
  262. "information":{
  263. "authors":"gabester",
  264. "name":"Gavril Grand Marshal Rear Coil Springs",
  265. }
  266. "slotType" : "hyundai_spring_R",
  267. "scalenodeWeight":0.95,
  268. "scalebeamSpring":0.75,
  269. "scalebeamDamp":0.73,
  270. "scalebeamDeform":0.36,
  271. "scalebeamStrength":0.65,
  272. "flexbodies": [
  273. ["mesh", "[group]:", "nonFlexMaterials"],
  274. ["hyundai_spring_R", ["hyundai_shocktop_R","hyundai_shockbottom_R"]],
  275. ],
  276. "nodes": [
  277. ["id", "posX", "posY", "posZ"],
  278. ],
  279. "beams": [
  280. ["id1:", "id2:"],
  281. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  282.  
  283. //rear springs
  284. {"beamPrecompression":1.395, "beamType":"|BOUNDED", "beamLongBound":0.08, "beamShortBound":0.45},
  285. {"beamSpring":32000,"beamDeform":142000,"beamStrength":228000},
  286. {"beamDamp":0},
  287. {"beamLimitSpring":211000,"beamLimitDamp":3500},
  288. ["axshr","r1rr",{"beamDampRebound":0}],
  289. ["axshl","r1ll",{"beamDampRebound":0}],
  290.  
  291. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  292. ],
  293. }
  294. "hyundai_shock_R": {
  295. "information":{
  296. "authors":"gabester",
  297. "name":"Gavril Grand Marshal Rear Shocks",
  298. }
  299. "slotType" : "hyundai_shock_R",
  300. "scalenodeWeight":0.95,
  301. "scalebeamSpring":0.75,
  302. "scalebeamDamp":0.73,
  303. "scalebeamDeform":0.36,
  304. "scalebeamStrength":0.65,
  305. "flexbodies": [
  306. ["mesh", "[group]:", "nonFlexMaterials"],
  307. ["hyundai_shock_R", ["hyundai_shocktop_R","hyundai_shockbottom_R"]],
  308. ],
  309. "nodes": [
  310. ["id", "posX", "posY", "posZ"],
  311. ],
  312. "beams": [
  313. ["id1:", "id2:"],
  314. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  315.  
  316. //rear shocks
  317. {"beamPrecompression":1.395, "beamType":"|BOUNDED", "beamLongBound":0.08, "beamShortBound":0.45},
  318. {"beamSpring":0,"beamDeform":142000,"beamStrength":228000},
  319. {"beamDamp":3000},
  320. {"beamLimitSpring":211000,"beamLimitDamp":3500},
  321. ["axshr","r1rr",{"beamDampRebound":3600}],
  322. ["axshl","r1ll",{"beamDampRebound":3600}],
  323.  
  324. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  325. ],
  326. }
  327. "hyundai_spring_R_sport": {
  328. "information":{
  329. "authors":"gabester",
  330. "name":"Gavril Grand Marshal Sport Rear Coil Springs",
  331. }
  332. "slotType" : "hyundai_spring_R",
  333. "scalenodeWeight":0.95,
  334. "scalebeamSpring":0.75,
  335. "scalebeamDamp":0.73,
  336. "scalebeamDeform":0.36,
  337. "scalebeamStrength":0.65,
  338. "flexbodies": [
  339. ["mesh", "[group]:", "nonFlexMaterials"],
  340. ["hyundai_spring_R", ["hyundai_shocktop_R","hyundai_shockbottom_R"]],
  341. ],
  342. "nodes": [
  343. ["id", "posX", "posY", "posZ"],
  344. ],
  345. "beams": [
  346. ["id1:", "id2:"],
  347. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  348.  
  349. //rear springs
  350. {"beamPrecompression":1.20, "beamType":"|BOUNDED", "beamLongBound":0.08, "beamShortBound":0.45},
  351. {"beamSpring":45000,"beamDeform":142000,"beamStrength":228000},
  352. {"beamDamp":0},
  353. {"beamLimitSpring":211000,"beamLimitDamp":3500},
  354. ["axshr","r1rr",{"beamDampRebound":0}],
  355. ["axshl","r1ll",{"beamDampRebound":0}],
  356.  
  357. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  358. ],
  359. }
  360. "hyundai_shock_R_sport": {
  361. "information":{
  362. "authors":"gabester",
  363. "name":"Gavril Grand Marshal Sport Rear Shocks",
  364. }
  365. "slotType" : "hyundai_shock_R",
  366. "scalenodeWeight":0.95,
  367. "scalebeamSpring":0.75,
  368. "scalebeamDamp":0.73,
  369. "scalebeamDeform":0.36,
  370. "scalebeamStrength":0.65,
  371. "flexbodies": [
  372. ["mesh", "[group]:", "nonFlexMaterials"],
  373. ["hyundai_shock_R", ["hyundai_shocktop_R","hyundai_shockbottom_R"]],
  374. ],
  375. "nodes": [
  376. ["id", "posX", "posY", "posZ"],
  377. ],
  378. "beams": [
  379. ["id1:", "id2:"],
  380. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  381.  
  382. //rear shocks
  383. {"beamPrecompression":1.20, "beamType":"|BOUNDED", "beamLongBound":0.08, "beamShortBound":0.45},
  384. {"beamSpring":0,"beamDeform":142000,"beamStrength":228000},
  385. {"beamDamp":3700},
  386. {"beamLimitSpring":211000,"beamLimitDamp":3500},
  387. ["axshr","r1rr",{"beamDampRebound":4400}],
  388. ["axshl","r1ll",{"beamDampRebound":4400}],
  389.  
  390. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  391. ],
  392. }
  393. "hyundai_swaybar_R": {
  394. "information":{
  395. "authors":"gabester",
  396. "name":"Gavril Grand Marshal Rear Sway Bar",
  397. }
  398. "slotType" : "hyundai_swaybar_R",
  399. "selfCollisionThickness":0.02,
  400. "remoteCollisionThickness":0.06,
  401. "scalenodeWeight":0.95,
  402. "scalebeamSpring":0.75,
  403. "scalebeamDamp":0.73,
  404. "scalebeamDeform":0.36,
  405. "scalebeamStrength":0.65,
  406. "flexbodies": [
  407. ["mesh", "[group]:", "nonFlexMaterials"],
  408. ["hyundai_swaybar_R", ["hyundai_uppermounts_R","hyundai_axle"]],
  409. ],
  410. "nodes": [
  411. ["id", "posX", "posY", "posZ"],
  412.  
  413. //rear anti-roll
  414. {"frictionCoef":0.7},
  415. {"nodeMaterial":"|NM_METAL"},
  416. {"collision":false}
  417. {"selfCollision":false},
  418. {"group":""},
  419. {"nodeWeight":2.6},
  420. ["arbr", 0.0, 1.51, 0.46],
  421. ],
  422.  
  423. "beams": [
  424. ["id1:", "id2:"],
  425. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  426.  
  427. //--REAR ANTI-ROLL--
  428. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
  429. {"beamSpring":5501000,"beamDamp":200},
  430. {"beamDeform":300000,"beamStrength":1100000},
  431. //rigid beams
  432. {"breakGroupType":1},
  433. {"optional":true},
  434. {"breakGroup":"wheel_RR"},
  435. ["arbr","ax1r"],
  436. {"breakGroup":"wheel_RL"},
  437. ["arbr","ax1l"],
  438. {"optional":false},
  439. {"breakGroup":""},
  440. {"breakGroupType":0},
  441. {"beamSpring":451000,"beamDamp":10},
  442. //rear anti-roll
  443. ["arbr","r1rr"],
  444. ["arbr","r1ll"],
  445.  
  446. //damping
  447. ["arbr","r1",{"beamSpring":0,"beamDamp":800}],
  448.  
  449. {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
  450. ],
  451. "triangles": [
  452. ["id1:","id2:","id3:"],
  453. {"group":""},
  454.  
  455.  
  456. ],
  457. }
  458. "hyundai_differential_F": {
  459. "information":{
  460. "authors":"gabester",
  461. "name":"Hyundai Elantra Differential",
  462. }
  463. "differentials": [
  464. ["wheelName1", "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
  465. ["FL","FR", "open", "open", 0, 1]
  466. ],
  467. "engine":{
  468. "differential":3.27,
  469. "axleFriction":12
  470. },
  471. "slotType" : "hyundai_differential_R",
  472. }
  473. "hyundai_differential_F_LSD": {
  474. "information":{
  475. "authors":"gabester",
  476. "name":"Hyundai Elantra Limited Slip Differential",
  477. }
  478. "differentials": [
  479. ["wheelName1", "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
  480. ["FL","FR", "lsd", "closed", 150, 1]
  481. ],
  482. "engine":{
  483. "differential":3.27,
  484. "axleFriction":12
  485. },
  486. "slotType" : "hyundai_differential_R",
  487. }
  488. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement