Advertisement
Guest User

Untitled

a guest
Apr 29th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.97 KB | None | 0 0
  1. class DefaultEventhandlers;
  2. class CfgPatches
  3. {
  4. class RVE_dmax
  5. {
  6. units[] = {"C_Offroad_Rally_F","C_Offroad_01_F_RWD","C_Offroad_01_F"};
  7. weapons[] = {};
  8. requiredVersion = 0.1;
  9. requiredAddons[] = {"A3_Soft_F_Offroad_01"};
  10. };
  11. };
  12. class CfgVehicles
  13. {
  14. class Car;
  15. class Car_F: Car
  16. {
  17. class EventHandlers;
  18. };
  19. class Offroad_01_base_F: Car_F
  20. {
  21. displayName = "Isuzu D-Max AWD";
  22. precision = 10;
  23. brakeDistance = 50;
  24. maxSpeed = 180;
  25. fuelCapacity = 25;
  26. fuelConsumptionRate = 52;
  27. simulation = "carx";
  28. wheelCircumference = 2.805;
  29. brakeIdleSpeed = 0;
  30. slowSpeedForwardCoef = 0.001;
  31. normalSpeedForwardCoef = 1;
  32. turnCoef = 3.5;
  33. terrainCoef = 0;
  34. author = "BI; edited by RP";
  35. class EventHandlers: EventHandlers{};
  36. class complexGearbox
  37. {
  38. GearboxRatios[] = {"R1",-2.575,"N",0,"D1",4.5,"D2",2.6,"D3",1.32,"D4",0.96,"D5",0.65};
  39. TransmissionRatios[] = {"High",5.539};
  40. gearBoxMode = "auto";
  41. moveOffGear = 1;
  42. driveString = "D";
  43. neutralString = "N";
  44. reverseString = "R";
  45. transmissionDelay = 1;
  46. };
  47. changeGearMinEffectivity[] = {0.65,0.15,0.75,0.4,0.6,0.7,0.8};
  48. switchTime = 0.34;
  49. latency = 2.0;
  50. dampersBumpCoef = 3.0;
  51. differentialType = "all_limited";
  52. frontRearSplit = 0.45;
  53. frontBias = 1.9;
  54. rearBias = 1.5;
  55. centreBias = 1.3;
  56. clutchStrength = 35.0;
  57. dampingRateFullThrottle = 0.08;
  58. dampingRateZeroThrottleClutchEngaged = 0.55;
  59. dampingRateZeroThrottleClutchDisengaged = 0.55;
  60. transmissionLosses = 4;
  61. torqueCurve[] = {{ 0.18,0.43 },{ 0.31,0.81 },{ 0.36,0.96 },{ 0.4,1 },{ 0.44,0.86 },{ 0.56,0.63 },{ 0.78,0.39 },{ 1,0.14 }};
  62. maxOmega = 471.24;
  63. enginePower = 130;
  64. peakTorque = 380;
  65. idleRPM = 800;
  66. redRPM = 4500;
  67. thrustDelay = 0.2;
  68. antiRollbarForceCoef = 6;
  69. antiRollbarForceLimit = 8;
  70. antiRollbarSpeedMin = 20;
  71. antiRollbarSpeedMax = 130;
  72. class Wheels
  73. {
  74. class LF
  75. {
  76. boneName = "wheel_1_1_damper";
  77. steering = 1;
  78. side = "left";
  79. center = "wheel_1_1_axis";
  80. boundary = "wheel_1_1_bound";
  81. width = "0.2";
  82. mass = 30;
  83. MOI = 3.35;
  84. dampingRate = 0.4;
  85. dampingRateDamaged = 5.0;
  86. dampingRateDestroyed = 5000.0;
  87. maxBrakeTorque = 3800;
  88. maxHandBrakeTorque = 0;
  89. suspTravelDirection[] = {0,-1,0};
  90. suspForceAppPointOffset = "wheel_1_1_axis";
  91. tireForceAppPointOffset = "wheel_1_1_axis";
  92. maxCompression = 0.05;
  93. mMaxDroop = 0.15;
  94. sprungMass = 404;
  95. springStrength = 60563;
  96. springDamperRate = 3957;
  97. longitudinalStiffnessPerUnitGravity = 4800;
  98. latStiffX = 25;
  99. latStiffY = 220;
  100. frictionVsSlipGraph[] = {{ 0.17,0.95 },{ 0.4,0.85 },{ 1,0.75 }};
  101. };
  102. class LR: LF
  103. {
  104. boneName = "wheel_1_2_damper";
  105. steering = 0;
  106. center = "wheel_1_2_axis";
  107. boundary = "wheel_1_2_bound";
  108. maxBrakeTorque = 2400;
  109. suspForceAppPointOffset = "wheel_1_2_axis";
  110. tireForceAppPointOffset = "wheel_1_2_axis";
  111. maxHandBrakeTorque = 8000;
  112. };
  113. class RF: LF
  114. {
  115. boneName = "wheel_2_1_damper";
  116. center = "wheel_2_1_axis";
  117. boundary = "wheel_2_1_bound";
  118. maxBrakeTorque = 3800;
  119. suspForceAppPointOffset = "wheel_2_1_axis";
  120. tireForceAppPointOffset = "wheel_2_1_axis";
  121. steering = 1;
  122. side = "right";
  123. };
  124. class RR: RF
  125. {
  126. boneName = "wheel_2_2_damper";
  127. steering = 0;
  128. center = "wheel_2_2_axis";
  129. boundary = "wheel_2_2_bound";
  130. maxBrakeTorque = 2400;
  131. suspForceAppPointOffset = "wheel_2_2_axis";
  132. tireForceAppPointOffset = "wheel_2_2_axis";
  133. maxHandBrakeTorque = 800;
  134. };
  135. };
  136. };
  137. class Offroad_01_unarmed_base_F: Offroad_01_base_F
  138. {
  139. };
  140. class Offroad_01_civil_base_F: Offroad_01_unarmed_base_F
  141. {
  142. };
  143. class C_Offroad_01_F: Offroad_01_civil_base_F
  144. {
  145. author = "BI; edited by RP";
  146. scope = 2;
  147. crew = "C_man_1";
  148. side = 3;
  149. faction = "CIV_F";
  150. };
  151. class C_Offroad_01_F_RWD: C_Offroad_01_F
  152. {
  153. author = "BI; edited by RP";
  154. scope = 2;
  155. crew = "C_man_1";
  156. side = 3;
  157. faction = "CIV_F";
  158. differentialType = "rear_limited";
  159. displayName = "Isuzu D-Max 2WD";
  160. terrainCoef = 1.5;
  161. };
  162. class Offroad_01_military_base_F: Offroad_01_base_F
  163. {
  164. };
  165. class Offroad_01_armed_base_F: Offroad_01_military_base_F
  166. {
  167. displayName = "Isuzu D-Max (.cal 50 HMG)";
  168. author = "BI; edited by RP";
  169. };
  170. class C_Offroad_Rally_F: C_Offroad_01_F
  171. {
  172. maxSpeed = 190;
  173. fuelCapacity = 35;
  174. hiddenSelectionsTextures[] = {"\RPA_Refined_Vehicles_v3\rpa_rve_civ\dmax_refined\data\dmax_rally_co.paa","\RPA_Refined_Vehicles_v3\rpa_rve_civ\dmax_refined\data\dmax_rally_co.paa"};
  175. hiddenSelectionsMaterials[] = {"\RPA_Refined_Vehicles_v3\rpa_rve_civ\dmax_refined\data\dmax_rally_ext.rvmat","\RPA_Refined_Vehicles_v3\rpa_rve_civ\dmax_refined\data\dmax_rally_ext.rvmat"};
  176. fuelConsumptionRate = 25;
  177. simulation = "carx";
  178. scope = 2;
  179. wheelCircumference = 2.805;
  180. brakeIdleSpeed = 0;
  181. displayName = "Isuzu D-Max Rally";
  182. turnCoef = 3.5;
  183. author = "BI; edited by RP";
  184. crew = "C_Driver_2_F";
  185. side = 3;
  186. faction = "CIV_F";
  187. terrainCoef = 0;
  188. class EventHandlers: EventHandlers
  189. {
  190. init = "(_this select 0) animate ['HideConstruction', 0]; (_this select 0) animate ['HideBumper2', 0];";
  191. };
  192. class complexGearbox
  193. {
  194. GearboxRatios[] = {"R1",-5.873,"N",0,"D1",3.157,"D2",2.312,"D3",1.675,"D4",1.289,"D5",0.919};
  195. TransmissionRatios[] = {"High",4.256};
  196. gearBoxMode = "auto";
  197. moveOffGear = 1;
  198. driveString = "D";
  199. neutralString = "N";
  200. reverseString = "R";
  201. gearUpMaxCoef = 0.9;
  202. gearDownMaxCoef = 0.75;
  203. gearUpMinCoef = 0.7;
  204. gearDownMinCoef = 0.7;
  205. transmissionDelay = 1;
  206. };
  207. changeGearMinEffectivity[] = {0.65,0.0,0.5,0.5,0.5,0.5,0.5};
  208. switchTime = 0.33;
  209. latency = 1.0;
  210. dampersBumpCoef = 9.0;
  211. differentialType = "all_limited";
  212. frontRearSplit = 0.2;
  213. frontBias = 2.0;
  214. rearBias = 1.2;
  215. centreBias = 1.0;
  216. clutchStrength = 70.0;
  217. dampingRateFullThrottle = 0.08;
  218. dampingRateZeroThrottleClutchEngaged = 0.55;
  219. dampingRateZeroThrottleClutchDisengaged = 0.55;
  220. transmissionLosses = 20;
  221. torqueCurve[] = {{ "(800/5500)","(324/589)" },{ "(1000/5500)","(485/589)" },{ "(1500/5500)","(574/589)" },{ "(2000/5500)","(589/589)" },{ "(2900/5500)","(546/589)" },{ "(3800/5500)","(498/589)" },{ "(4800/5500)","(355/589)" },{ "(6202/5500)","(0/589)" }};
  222. maxOmega = 575.96;
  223. enginePower = 180;
  224. peakTorque = 589;
  225. idleRPM = 650;
  226. redRPM = 5500;
  227. thrustDelay = 0.2;
  228. antiRollbarForceCoef = 8;
  229. antiRollbarForceLimit = 10;
  230. antiRollbarSpeedMin = 20;
  231. antiRollbarSpeedMax = 130;
  232. class Wheels
  233. {
  234. class LF
  235. {
  236. boneName = "wheel_1_1_damper";
  237. steering = 1;
  238. side = "left";
  239. center = "wheel_1_1_axis";
  240. boundary = "wheel_1_1_bound";
  241. width = "0.2";
  242. mass = 40;
  243. MOI = 18;
  244. dampingRate = 0.4;
  245. dampingRateDamaged = 5.0;
  246. dampingRateDestroyed = 5000.0;
  247. maxBrakeTorque = 4200;
  248. maxHandBrakeTorque = 0;
  249. suspTravelDirection[] = {0,-1,0};
  250. suspForceAppPointOffset = "wheel_1_1_axis";
  251. tireForceAppPointOffset = "wheel_1_1_axis";
  252. maxCompression = 0.05;
  253. mMaxDroop = 0.15;
  254. sprungMass = 404;
  255. springStrength = 40375;
  256. springDamperRate = 3957;
  257. longitudinalStiffnessPerUnitGravity = "(808*3)";
  258. latStiffX = 10;
  259. latStiffY = 100;
  260. frictionVsSlipGraph[] = {{ 0.17,3.0 },{ 0.4,2.55 },{ 1,1.55 }};
  261. };
  262. class LR: LF
  263. {
  264. boneName = "wheel_1_2_damper";
  265. steering = 0;
  266. center = "wheel_1_2_axis";
  267. boundary = "wheel_1_2_bound";
  268. maxBrakeTorque = 2600;
  269. suspForceAppPointOffset = "wheel_1_2_axis";
  270. tireForceAppPointOffset = "wheel_1_2_axis";
  271. maxHandBrakeTorque = 16000;
  272. latStiffX = 10;
  273. latStiffY = 100;
  274. };
  275. class RF: LF
  276. {
  277. boneName = "wheel_2_1_damper";
  278. center = "wheel_2_1_axis";
  279. boundary = "wheel_2_1_bound";
  280. maxBrakeTorque = 4200;
  281. suspForceAppPointOffset = "wheel_2_1_axis";
  282. tireForceAppPointOffset = "wheel_2_1_axis";
  283. steering = 1;
  284. side = "right";
  285. };
  286. class RR: LR
  287. {
  288. boneName = "wheel_2_2_damper";
  289. steering = 0;
  290. center = "wheel_2_2_axis";
  291. boundary = "wheel_2_2_bound";
  292. maxBrakeTorque = 2600;
  293. suspForceAppPointOffset = "wheel_2_2_axis";
  294. tireForceAppPointOffset = "wheel_2_2_axis";
  295. maxHandBrakeTorque = 16000;
  296. latStiffX = 10;
  297. latStiffY = 100;
  298. };
  299. };
  300. };
  301. class Offroad_01_repair_base_F: Offroad_01_base_F
  302. {
  303. displayName = "Isuzu D-Max Camo (Repair)";
  304. supplyRadius = 3;
  305. };
  306. class C_Offroad_01_repair_F: Offroad_01_repair_base_F
  307. {
  308. displayName = "Isuzu D-Max (Repair)";
  309. supplyRadius = 3;
  310. };
  311. class Offroad_01_repair_military_base_F: Offroad_01_repair_base_F
  312. {
  313. };
  314. class B_G_Offroad_01_repair_F: Offroad_01_repair_military_base_F
  315. {
  316. displayName = "Isuzu D-Max Camo (Repair)";
  317. supplyRadius = 3;
  318. };
  319. class O_G_Offroad_01_repair_F: Offroad_01_repair_military_base_F
  320. {
  321. displayName = "Isuzu D-Max Camo (Repair)";
  322. side = 0;
  323. faction = "OPF_G_F";
  324. crew = "O_G_Soldier_F";
  325. supplyRadius = 3;
  326. };
  327. class I_G_Offroad_01_repair_F: Offroad_01_repair_military_base_F
  328. {
  329. displayName = "Isuzu D-Max Camo (Repair)";
  330. side = 2;
  331. faction = "IND_G_F";
  332. crew = "I_G_Soldier_F";
  333. supplyRadius = 3;
  334. };
  335. class I_G_Offroad_01_F: Offroad_01_military_base_F
  336. {
  337. displayName = "Isuzu D-Max Camo";
  338. side = 2;
  339. faction = "IND_G_F";
  340. crew = "I_G_Soldier_F";
  341. typicalCargo[] = {"I_G_Soldier_F"};
  342. };
  343. class B_G_Offroad_01_F: I_G_Offroad_01_F
  344. {
  345. side = 1;
  346. faction = "BLU_G_F";
  347. crew = "B_G_Soldier_F";
  348. };
  349. class I_G_Offroad_01_armed_F: Offroad_01_armed_base_F
  350. {
  351. displayName = "Isuzu D-Max Camo (.cal 50 HMG)";
  352. side = 2;
  353. faction = "IND_G_F";
  354. crew = "I_G_Soldier_F";
  355. typicalCargo[] = {"I_G_Soldier_F"};
  356. };
  357. class B_G_Offroad_01_armed_F: I_G_Offroad_01_armed_F
  358. {
  359. side = 1;
  360. faction = "BLU_G_F";
  361. crew = "B_G_Soldier_F";
  362. };
  363. class O_G_Offroad_01_armed_F: I_G_Offroad_01_armed_F
  364. {
  365. side = 0;
  366. faction = "OPF_G_F";
  367. crew = "O_G_Soldier_F";
  368. };
  369. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement