Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.45 KB | None | 0 0
  1. class DefaultEventhandlers;
  2. class CfgPatches
  3. {
  4. class DAR_Charger_F
  5. {
  6. units[]=
  7. {
  8. "DAR_Charger2012"
  9. };
  10. weapons[]={};
  11. requiredVersion=0.1;
  12. requiredAddons[]=
  13. {
  14. "A3_Soft_F"
  15. };
  16. };
  17. };
  18. class CfgWeapons
  19. {
  20. class Default
  21. {
  22. };
  23. class CarHorn: Default
  24. {
  25. };
  26. class CHorn: CarHorn
  27. {
  28. displayNameMagazine="CivilianHorn";
  29. shortNameMagazine="CHorn";
  30. scopeWeapon=2;
  31. scopeMagazine=2;
  32. drySound[]=
  33. {
  34. "DAR_Charger\Sound\Horn_civ.ogg",
  35. 0.69999999,
  36. 1
  37. };
  38. soundContinuous=1;
  39. };
  40. };
  41. class WeaponFireGun;
  42. class WeaponCloudsGun;
  43. class WeaponFireMGun;
  44. class WeaponCloudsMGun;
  45. class CfgVehicles
  46. {
  47. class Car;
  48. class Car_F: Car
  49. {
  50. class HitPoints
  51. {
  52. class HitLFWheel;
  53. class HitLF2Wheel;
  54. class HitRFWheel;
  55. class HitRF2Wheel;
  56. class HitBody;
  57. class HitGlass1;
  58. class HitGlass2;
  59. class HitGlass3;
  60. class HitGlass4;
  61. };
  62. };
  63. class Offroad_01_base_F: Car_F
  64. {
  65. };
  66. class C_Offroad_01_F: Offroad_01_base_F
  67. {
  68. };
  69. class TCG_Car_Base: C_Offroad_01_F
  70. {
  71. };
  72. class DAR_ChargerCiv: TCG_Car_Base
  73. {
  74. scope=2;
  75. model="\DAR_Charger\DAR_Charger2012.p3d";
  76. picture="\DAR_Charger\Data\UI\ChargerIcon.paa";
  77. Icon="\DAR_Charger\Data\UI\map_charger.paa";
  78. weapons[]=
  79. {
  80. "CHorn"
  81. };
  82. class eventhandlers
  83. {
  84. init="";
  85. };
  86. displayName="2012 Dodge Charger (Black)";
  87. author="Ported by RichardsD, from Forza 4";
  88. terrainCoef=6.5;
  89. turnCoef=2.5;
  90. precision=10;
  91. brakeDistance=3;
  92. acceleration=15;
  93. fireResistance=5;
  94. armor=32;
  95. cost=50000;
  96. transportMaxBackpacks=10;
  97. transportSoldier=3;
  98. wheelDamageRadiusCoef=0.89999998;
  99. wheelDestroyRadiusCoef=0.40000001;
  100. maxFordingDepth=0.5;
  101. waterResistance=1;
  102. crewCrashProtection=0.2;
  103. driverLeftHandAnimName="drivewheel";
  104. driverRightHandAnimName="drivewheel";
  105. class TransportItems
  106. {
  107. class _xx_FirstAidKit
  108. {
  109. name="FirstAidKit";
  110. count=4;
  111. };
  112. };
  113. class Turrets
  114. {
  115. };
  116. driverAction="driver_offroad01";
  117. cargoAction[]=
  118. {
  119. "passenger_low01",
  120. "passenger_generic01_foldhands",
  121. "passenger_generic01_foldhands"
  122. };
  123. getInAction="GetInLow";
  124. getOutAction="GetOutLow";
  125. cargoGetInAction[]=
  126. {
  127. "GetInLow"
  128. };
  129. cargoGetOutAction[]=
  130. {
  131. "GetOutLow"
  132. };
  133. attenuationEffectType="CarAttenuation";
  134. soundGetIn[]=
  135. {
  136. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",
  137. 0.56234133,
  138. 1
  139. };
  140. soundGetOut[]=
  141. {
  142. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door",
  143. 0.56234133,
  144. 1,
  145. 40
  146. };
  147. soundDammage[]=
  148. {
  149. "",
  150. 0.56234133,
  151. 1
  152. };
  153. soundEngineOnInt[]=
  154. {
  155. "\DAR_Charger\Sound\EngineStartUp_int.ogg",
  156. 1.7782794,
  157. 1
  158. };
  159. soundEngineOnExt[]=
  160. {
  161. "\DAR_Charger\Sound\EngineStartUp.ogg",
  162. 3.1622777,
  163. 1,
  164. 200
  165. };
  166. soundEngineOffInt[]=
  167. {
  168. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_stop",
  169. 0.39810717,
  170. 1
  171. };
  172. soundEngineOffExt[]=
  173. {
  174. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_stop",
  175. 0.44668359,
  176. 1,
  177. 200
  178. };
  179. buildCrash0[]=
  180. {
  181. "A3\Sounds_F\vehicles\soft\noises\crash_building_01",
  182. 0.70794576,
  183. 1,
  184. 200
  185. };
  186. buildCrash1[]=
  187. {
  188. "A3\Sounds_F\vehicles\soft\noises\crash_building_02",
  189. 0.70794576,
  190. 1,
  191. 200
  192. };
  193. buildCrash2[]=
  194. {
  195. "A3\Sounds_F\vehicles\soft\noises\crash_building_03",
  196. 0.70794576,
  197. 1,
  198. 200
  199. };
  200. buildCrash3[]=
  201. {
  202. "A3\Sounds_F\vehicles\soft\noises\crash_building_04",
  203. 0.70794576,
  204. 1,
  205. 200
  206. };
  207. soundBuildingCrash[]=
  208. {
  209. "buildCrash0",
  210. 0.25,
  211. "buildCrash1",
  212. 0.25,
  213. "buildCrash2",
  214. 0.25,
  215. "buildCrash3",
  216. 0.25
  217. };
  218. WoodCrash0[]=
  219. {
  220. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_01",
  221. 0.70794576,
  222. 1,
  223. 200
  224. };
  225. WoodCrash1[]=
  226. {
  227. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_02",
  228. 0.70794576,
  229. 1,
  230. 200
  231. };
  232. WoodCrash2[]=
  233. {
  234. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_03",
  235. 0.70794576,
  236. 1,
  237. 200
  238. };
  239. WoodCrash3[]=
  240. {
  241. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_04",
  242. 0.70794576,
  243. 1,
  244. 200
  245. };
  246. WoodCrash4[]=
  247. {
  248. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_05",
  249. 0.70794576,
  250. 1,
  251. 200
  252. };
  253. WoodCrash5[]=
  254. {
  255. "A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_06",
  256. 0.70794576,
  257. 1,
  258. 200
  259. };
  260. soundWoodCrash[]=
  261. {
  262. "woodCrash0",
  263. 0.16599999,
  264. "woodCrash1",
  265. 0.16599999,
  266. "woodCrash2",
  267. 0.16599999,
  268. "woodCrash3",
  269. 0.16599999,
  270. "woodCrash4",
  271. 0.16599999,
  272. "woodCrash5",
  273. 0.16599999
  274. };
  275. ArmorCrash0[]=
  276. {
  277. "A3\Sounds_F\vehicles\soft\noises\crash_vehicle_01",
  278. 0.70794576,
  279. 1,
  280. 200
  281. };
  282. ArmorCrash1[]=
  283. {
  284. "A3\Sounds_F\vehicles\soft\noises\crash_vehicle_02",
  285. 0.70794576,
  286. 1,
  287. 200
  288. };
  289. ArmorCrash2[]=
  290. {
  291. "A3\Sounds_F\vehicles\soft\noises\crash_vehicle_03",
  292. 0.70794576,
  293. 1,
  294. 200
  295. };
  296. ArmorCrash3[]=
  297. {
  298. "A3\Sounds_F\vehicles\soft\noises\crash_vehicle_04",
  299. 0.70794576,
  300. 1,
  301. 200
  302. };
  303. soundArmorCrash[]=
  304. {
  305. "ArmorCrash0",
  306. 0.25,
  307. "ArmorCrash1",
  308. 0.25,
  309. "ArmorCrash2",
  310. 0.25,
  311. "ArmorCrash3",
  312. 0.25
  313. };
  314. class Sounds
  315. {
  316. class Idle_ext
  317. {
  318. sound[]=
  319. {
  320. "\DAR_Charger\Sound\idle_out.ogg",
  321. 0.2238721,
  322. 1,
  323. 150
  324. };
  325. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  326. volume="engineOn*camPos*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  327. };
  328. class Engine
  329. {
  330. sound[]=
  331. {
  332. "\DAR_Charger\Sound\1000rpm.ogg",
  333. 0.2818383,
  334. 1,
  335. 200
  336. };
  337. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  338. volume="engineOn*camPos*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  339. };
  340. class Engine1_ext
  341. {
  342. sound[]=
  343. {
  344. "\DAR_Charger\Sound\2000rpm.ogg",
  345. 0.35481337,
  346. 1,
  347. 240
  348. };
  349. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  350. volume="engineOn*camPos*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  351. };
  352. class Engine2_ext
  353. {
  354. sound[]=
  355. {
  356. "\DAR_Charger\Sound\4000rpm.ogg",
  357. 0.39810717,
  358. 1,
  359. 280
  360. };
  361. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  362. volume="engineOn*camPos*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  363. };
  364. class Engine3_ext
  365. {
  366. sound[]=
  367. {
  368. "\DAR_Charger\Sound\6000rpm.ogg",
  369. 0.44668359,
  370. 1,
  371. 320
  372. };
  373. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  374. volume="engineOn*camPos*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  375. };
  376. class Engine4_ext
  377. {
  378. sound[]=
  379. {
  380. "\DAR_Charger\Sound\6000rpm.ogg",
  381. 0.50118721,
  382. 1,
  383. 360
  384. };
  385. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
  386. volume="engineOn*camPos*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  387. };
  388. class Engine5_ext
  389. {
  390. sound[]=
  391. {
  392. "\DAR_Charger\Sound\6000rpm.ogg",
  393. 0.56234133,
  394. 1,
  395. 420
  396. };
  397. frequency="0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
  398. volume="engineOn*camPos*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  399. };
  400. class IdleThrust
  401. {
  402. sound[]=
  403. {
  404. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_idle_exhaust",
  405. 0.50118721,
  406. 1,
  407. 200
  408. };
  409. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  410. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  411. };
  412. class EngineThrust
  413. {
  414. sound[]=
  415. {
  416. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_1400rpm_exhaust",
  417. 0.56234133,
  418. 1,
  419. 250
  420. };
  421. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  422. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  423. };
  424. class Engine1_Thrust_ext
  425. {
  426. sound[]=
  427. {
  428. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2000rpm_exhaust",
  429. 0.63095737,
  430. 1,
  431. 280
  432. };
  433. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  434. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  435. };
  436. class Engine2_Thrust_ext
  437. {
  438. sound[]=
  439. {
  440. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2600rpm_exhaust",
  441. 0.70794576,
  442. 1,
  443. 320
  444. };
  445. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  446. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  447. };
  448. class Engine3_Thrust_ext
  449. {
  450. sound[]=
  451. {
  452. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3200rpm_exhaust",
  453. 0.79432821,
  454. 1,
  455. 360
  456. };
  457. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  458. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  459. };
  460. class Engine4_Thrust_ext
  461. {
  462. sound[]=
  463. {
  464. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3600rpm_exhaust",
  465. 1,
  466. 1,
  467. 400
  468. };
  469. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
  470. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  471. };
  472. class Engine5_Thrust_ext
  473. {
  474. sound[]=
  475. {
  476. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_4000rpm_exhaust",
  477. 1.2589254,
  478. 1,
  479. 450
  480. };
  481. frequency="0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
  482. volume="engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  483. };
  484. class Idle_int
  485. {
  486. sound[]=
  487. {
  488. "\DAR_Charger\Sound\idle_int.ogg",
  489. 0.17782794,
  490. 1
  491. };
  492. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  493. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  494. };
  495. class Engine_int
  496. {
  497. sound[]=
  498. {
  499. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm",
  500. 0.19952624,
  501. 1
  502. };
  503. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  504. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  505. };
  506. class Engine1_int
  507. {
  508. sound[]=
  509. {
  510. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm",
  511. 0.25118864,
  512. 1
  513. };
  514. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  515. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  516. };
  517. class Engine2_int
  518. {
  519. sound[]=
  520. {
  521. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm",
  522. 0.2818383,
  523. 1
  524. };
  525. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  526. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  527. };
  528. class Engine3_int
  529. {
  530. sound[]=
  531. {
  532. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm",
  533. 0.31622776,
  534. 1
  535. };
  536. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  537. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  538. };
  539. class Engine4_int
  540. {
  541. sound[]=
  542. {
  543. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm",
  544. 0.35481337,
  545. 1
  546. };
  547. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
  548. volume="engineOn*(1-camPos)*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  549. };
  550. class Engine5_int
  551. {
  552. sound[]=
  553. {
  554. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm",
  555. 0.50118721,
  556. 1
  557. };
  558. frequency="0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
  559. volume="engineOn*(1-camPos)*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  560. };
  561. class IdleThrust_int
  562. {
  563. sound[]=
  564. {
  565. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_idle_exhaust",
  566. 0.31622776,
  567. 1
  568. };
  569. frequency="0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
  570. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
  571. };
  572. class EngineThrust_int
  573. {
  574. sound[]=
  575. {
  576. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm_exhaust",
  577. 0.35481337,
  578. 1
  579. };
  580. frequency="0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
  581. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
  582. };
  583. class Engine1_Thrust_int
  584. {
  585. sound[]=
  586. {
  587. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm_exhaust",
  588. 0.39810717,
  589. 1
  590. };
  591. frequency="0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
  592. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
  593. };
  594. class Engine2_Thrust_int
  595. {
  596. sound[]=
  597. {
  598. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm_exhaust",
  599. 0.44668359,
  600. 1
  601. };
  602. frequency="0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
  603. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
  604. };
  605. class Engine3_Thrust_int
  606. {
  607. sound[]=
  608. {
  609. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm_exhaust",
  610. 0.50118721,
  611. 1
  612. };
  613. frequency="0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
  614. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
  615. };
  616. class Engine4_Thrust_int
  617. {
  618. sound[]=
  619. {
  620. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm_exhaust",
  621. 0.56234133,
  622. 1
  623. };
  624. frequency="0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
  625. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
  626. };
  627. class Engine5_Thrust_int
  628. {
  629. sound[]=
  630. {
  631. "A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm_exhaust",
  632. 0.63095737,
  633. 1
  634. };
  635. frequency="0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
  636. volume="engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
  637. };
  638. class Movement
  639. {
  640. sound="soundEnviron";
  641. frequency="1";
  642. volume="0";
  643. };
  644. class TiresRockOut
  645. {
  646. sound[]=
  647. {
  648. "A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1",
  649. 0.50118721,
  650. 1,
  651. 60
  652. };
  653. frequency="1";
  654. volume="camPos*rock*(speed factor[2, 20])";
  655. };
  656. class TiresSandOut
  657. {
  658. sound[]=
  659. {
  660. "A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1",
  661. 0.50118721,
  662. 1,
  663. 60
  664. };
  665. frequency="1";
  666. volume="camPos*sand*(speed factor[2, 20])";
  667. };
  668. class TiresGrassOut
  669. {
  670. sound[]=
  671. {
  672. "A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2",
  673. 0.50118721,
  674. 1,
  675. 60
  676. };
  677. frequency="1";
  678. volume="camPos*grass*(speed factor[2, 20])";
  679. };
  680. class TiresMudOut
  681. {
  682. sound[]=
  683. {
  684. "A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2",
  685. 0.50118721,
  686. 1,
  687. 60
  688. };
  689. frequency="1";
  690. volume="camPos*mud*(speed factor[2, 20])";
  691. };
  692. class TiresGravelOut
  693. {
  694. sound[]=
  695. {
  696. "A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1",
  697. 0.50118721,
  698. 1,
  699. 60
  700. };
  701. frequency="1";
  702. volume="camPos*gravel*(speed factor[2, 20])";
  703. };
  704. class TiresAsphaltOut
  705. {
  706. sound[]=
  707. {
  708. "A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2",
  709. 0.50118721,
  710. 1,
  711. 60
  712. };
  713. frequency="1";
  714. volume="camPos*asphalt*(speed factor[2, 20])";
  715. };
  716. class NoiseOut
  717. {
  718. sound[]=
  719. {
  720. "A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3",
  721. 0.39810717,
  722. 1,
  723. 90
  724. };
  725. frequency="1";
  726. volume="camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  727. };
  728. class TiresRockIn
  729. {
  730. sound[]=
  731. {
  732. "A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_1",
  733. 0.50118721,
  734. 1
  735. };
  736. frequency="1";
  737. volume="(1-camPos)*rock*(speed factor[2, 20])";
  738. };
  739. class TiresSandIn
  740. {
  741. sound[]=
  742. {
  743. "A3\Sounds_F\vehicles\soft\tires\int-tires-sand2",
  744. 0.50118721,
  745. 1
  746. };
  747. frequency="1";
  748. volume="(1-camPos)*sand*(speed factor[2, 20])";
  749. };
  750. class TiresGrassIn
  751. {
  752. sound[]=
  753. {
  754. "A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_2",
  755. 0.50118721,
  756. 1
  757. };
  758. frequency="1";
  759. volume="(1-camPos)*grass*(speed factor[2, 20])";
  760. };
  761. class TiresMudIn
  762. {
  763. sound[]=
  764. {
  765. "A3\Sounds_F\vehicles\soft\tires\int-tires-mud2",
  766. 0.50118721,
  767. 1
  768. };
  769. frequency="1";
  770. volume="(1-camPos)*mud*(speed factor[2, 20])";
  771. };
  772. class TiresGravelIn
  773. {
  774. sound[]=
  775. {
  776. "A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1",
  777. 0.50118721,
  778. 1
  779. };
  780. frequency="1";
  781. volume="(1-camPos)*gravel*(speed factor[2, 20])";
  782. };
  783. class TiresAsphaltIn
  784. {
  785. sound[]=
  786. {
  787. "A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2",
  788. 0.50118721,
  789. 1
  790. };
  791. frequency="1";
  792. volume="(1-camPos)*asphalt*(speed factor[2, 20])";
  793. };
  794. class NoiseIn
  795. {
  796. sound[]=
  797. {
  798. "A3\Sounds_F\vehicles\soft\noises\noise_int_car_3",
  799. 0.25118864,
  800. 1
  801. };
  802. frequency="1";
  803. volume="(damper0 max 0.1)*(speed factor[0, 8])*(1-camPos)";
  804. };
  805. class breaking_ext_road
  806. {
  807. sound[]=
  808. {
  809. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04",
  810. 0.70794576,
  811. 1,
  812. 80
  813. };
  814. frequency=1;
  815. volume="engineOn*camPos*asphalt*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  816. };
  817. class acceleration_ext_road
  818. {
  819. sound[]=
  820. {
  821. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02",
  822. 0.70794576,
  823. 1,
  824. 80
  825. };
  826. frequency=1;
  827. volume="engineOn*camPos*asphalt*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  828. };
  829. class turn_left_ext_road
  830. {
  831. sound[]=
  832. {
  833. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02",
  834. 0.70794576,
  835. 1,
  836. 80
  837. };
  838. frequency=1;
  839. volume="engineOn*camPos*asphalt*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  840. };
  841. class turn_right_ext_road
  842. {
  843. sound[]=
  844. {
  845. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02",
  846. 0.70794576,
  847. 1,
  848. 80
  849. };
  850. frequency=1;
  851. volume="engineOn*camPos*asphalt*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  852. };
  853. class breaking_ext_dirt
  854. {
  855. sound[]=
  856. {
  857. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking",
  858. 0.70794576,
  859. 1,
  860. 60
  861. };
  862. frequency=1;
  863. volume="engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
  864. };
  865. class acceleration_ext_dirt
  866. {
  867. sound[]=
  868. {
  869. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration",
  870. 0.70794576,
  871. 1,
  872. 60
  873. };
  874. frequency=1;
  875. volume="engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 1])";
  876. };
  877. class turn_left_ext_dirt
  878. {
  879. sound[]=
  880. {
  881. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt",
  882. 0.70794576,
  883. 1,
  884. 60
  885. };
  886. frequency=1;
  887. volume="engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[1, 15])";
  888. };
  889. class turn_right_ext_dirt
  890. {
  891. sound[]=
  892. {
  893. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt",
  894. 0.70794576,
  895. 1,
  896. 60
  897. };
  898. frequency=1;
  899. volume="engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
  900. };
  901. class breaking_int_road
  902. {
  903. sound[]=
  904. {
  905. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int",
  906. 0.31622776,
  907. 1
  908. };
  909. frequency=1;
  910. volume="engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  911. };
  912. class acceleration_int_road
  913. {
  914. sound[]=
  915. {
  916. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int",
  917. 0.31622776,
  918. 1
  919. };
  920. frequency=1;
  921. volume="engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  922. };
  923. class turn_left_int_road
  924. {
  925. sound[]=
  926. {
  927. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int",
  928. 0.31622776,
  929. 1
  930. };
  931. frequency=1;
  932. volume="engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  933. };
  934. class turn_right_int_road
  935. {
  936. sound[]=
  937. {
  938. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int",
  939. 0.31622776,
  940. 1
  941. };
  942. frequency=1;
  943. volume="engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  944. };
  945. class breaking_int_dirt
  946. {
  947. sound[]=
  948. {
  949. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking_int",
  950. 0.31622776,
  951. 1
  952. };
  953. frequency=1;
  954. volume="engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-01, -0.4])*(Speed Factor[2, 15])";
  955. };
  956. class acceleration_int_dirt
  957. {
  958. sound[]=
  959. {
  960. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration_int",
  961. 0.31622776,
  962. 1
  963. };
  964. frequency=1;
  965. volume="engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
  966. };
  967. class turn_left_int_dirt
  968. {
  969. sound[]=
  970. {
  971. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int",
  972. 0.31622776,
  973. 1
  974. };
  975. frequency=1;
  976. volume="engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
  977. };
  978. class turn_right_int_dirt
  979. {
  980. sound[]=
  981. {
  982. "A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int",
  983. 0.31622776,
  984. 1
  985. };
  986. frequency=1;
  987. volume="engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
  988. };
  989. };
  990. class RenderTargets
  991. {
  992. class LeftMirror
  993. {
  994. renderTarget="rendertarget0";
  995. class CameraView1
  996. {
  997. pointPosition="PIP0_pos";
  998. pointDirection="PIP0_dir";
  999. renderQuality=2;
  1000. renderVisionMode=0;
  1001. fov=0.69999999;
  1002. };
  1003. };
  1004. class RearCam
  1005. {
  1006. renderTarget="rendertarget1";
  1007. class CameraView1
  1008. {
  1009. pointPosition="PIP1_pos";
  1010. pointDirection="PIP1_dir";
  1011. renderQuality=2;
  1012. renderVisionMode=0;
  1013. fov=0.69999999;
  1014. };
  1015. };
  1016. class FrontCam
  1017. {
  1018. renderTarget="rendertarget2";
  1019. class CameraView1
  1020. {
  1021. pointPosition="PIP2_pos";
  1022. pointDirection="PIP2_dir";
  1023. renderQuality=2;
  1024. renderVisionMode=0;
  1025. fov=0.69999999;
  1026. };
  1027. };
  1028. };
  1029. thrustDelay=0.2;
  1030. brakeIdleSpeed=1.78;
  1031. maxSpeed=185;
  1032. fuelCapacity=90;
  1033. wheelCircumference=2.3310001;
  1034. antiRollbarForceCoef=12;
  1035. antiRollbarForceLimit=10;
  1036. antiRollbarSpeedMin=20;
  1037. antiRollbarSpeedMax=50;
  1038. class complexGearbox
  1039. {
  1040. GearboxRatios[]=
  1041. {
  1042. "R1",
  1043. -2.575,
  1044. "N",
  1045. 0,
  1046. "D1",
  1047. 4.5,
  1048. "D2",
  1049. 2.5999999,
  1050. "D3",
  1051. 1.3200001,
  1052. "D4",
  1053. 0.95999998,
  1054. "D5",
  1055. 0.64999998
  1056. };
  1057. TransmissionRatios[]=
  1058. {
  1059. "High",
  1060. 5.539
  1061. };
  1062. gearBoxMode="auto";
  1063. moveOffGear=1;
  1064. driveString="D";
  1065. neutralString="N";
  1066. reverseString="R";
  1067. };
  1068. simulation="carx";
  1069. dampersBumpCoef=6;
  1070. differentialType="rear_limited";
  1071. frontRearSplit=0.5;
  1072. frontBias=1.3;
  1073. centreBias=1.3;
  1074. clutchStrength=55;
  1075. enginePower=320;
  1076. maxOmega=671;
  1077. peakTorque=1253;
  1078. idleRpm=800;
  1079. redRpm=6500;
  1080. dampingRateFullThrottle=0.079999998;
  1081. dampingRateZeroThrottleClutchEngaged=0.34999999;
  1082. dampingRateZeroThrottleClutchDisengaged=0.34999999;
  1083. torqueCurve[]=
  1084. {
  1085. {0,0},
  1086. {0.14,0.41},
  1087. {0.28999999,0.76999998},
  1088. {0.43000001,1},
  1089. {0.56999999,1},
  1090. {0.70999998,0.87},
  1091. {0.86000001,0.76999998},
  1092. {1,0.62}
  1093. };
  1094. changeGearMinEffectivity[]={0.94999999,0.15000001,0.94999999,0.94999999,0.94999999,0.94999999,0.94999999};
  1095. switchTime=0.31;
  1096. latency=1;
  1097. class Wheels
  1098. {
  1099. class LF
  1100. {
  1101. boneName="wheel_1_1_damper";
  1102. steering=1;
  1103. side="left";
  1104. center="wheel_1_1_axis";
  1105. boundary="wheel_1_1_bound";
  1106. mass=20;
  1107. MOI=3.3;
  1108. dampingRate=0.5;
  1109. maxBrakeTorque=5500;
  1110. maxHandBrakeTorque=0;
  1111. suspTravelDirection[]={0,-1,0};
  1112. suspForceAppPointOffset="wheel_1_1_axis";
  1113. tireForceAppPointOffset="wheel_1_1_axis";
  1114. maxCompression=0.15000001;
  1115. mMaxDroop=0.15000001;
  1116. sprungMass=450;
  1117. springStrength=50875;
  1118. springDamperRate=12740;
  1119. longitudinalStiffnessPerUnitGravity=8000;
  1120. latStiffX=35;
  1121. latStiffY=180;
  1122. frictionVsSlipGraph[]=
  1123. {
  1124. {0.17,0.85000002},
  1125. {0.40000001,0.64999998},
  1126. {1,0.40000001}
  1127. };
  1128. };
  1129. class LR: LF
  1130. {
  1131. boneName="wheel_1_2_damper";
  1132. steering=0;
  1133. center="wheel_1_2_axis";
  1134. boundary="wheel_1_2_bound";
  1135. suspForceAppPointOffset="wheel_1_2_axis";
  1136. tireForceAppPointOffset="wheel_1_2_axis";
  1137. maxHandBrakeTorque=3000;
  1138. latStiffY=180;
  1139. sprungMass=450;
  1140. springStrength=50875;
  1141. springDamperRate=12740;
  1142. };
  1143. class RF: LF
  1144. {
  1145. boneName="wheel_2_1_damper";
  1146. center="wheel_2_1_axis";
  1147. boundary="wheel_2_1_bound";
  1148. suspForceAppPointOffset="wheel_2_1_axis";
  1149. tireForceAppPointOffset="wheel_2_1_axis";
  1150. steering=1;
  1151. side="right";
  1152. };
  1153. class RR: RF
  1154. {
  1155. boneName="wheel_2_2_damper";
  1156. steering=0;
  1157. center="wheel_2_2_axis";
  1158. boundary="wheel_2_2_bound";
  1159. suspForceAppPointOffset="wheel_2_2_axis";
  1160. tireForceAppPointOffset="wheel_2_2_axis";
  1161. maxHandBrakeTorque=3000;
  1162. latStiffY=180;
  1163. sprungMass=450;
  1164. springStrength=50875;
  1165. springDamperRate=12740;
  1166. };
  1167. };
  1168. memoryPointTrackFLL="TrackFLL";
  1169. memoryPointTrackFLR="TrackFLR";
  1170. memoryPointTrackBLL="TrackBLL";
  1171. memoryPointTrackBLR="TrackBLR";
  1172. memoryPointTrackFRL="TrackFRL";
  1173. memoryPointTrackFRR="TrackFRR";
  1174. memoryPointTrackBRL="TrackBRL";
  1175. memoryPointTrackBRR="TrackBRR";
  1176. class Damage
  1177. {
  1178. tex[]={};
  1179. mat[]=
  1180. {
  1181. "A3\data_f\glass_veh_int.rvmat",
  1182. "A3\data_f\Glass_veh_damage.rvmat",
  1183. "A3\data_f\Glass_veh_damage.rvmat",
  1184. "A3\data_f\glass_veh.rvmat",
  1185. "A3\data_f\Glass_veh_damage.rvmat",
  1186. "A3\data_f\Glass_veh_damage.rvmat"
  1187. };
  1188. };
  1189. class Exhausts
  1190. {
  1191. class Exhaust1
  1192. {
  1193. position="exhaust";
  1194. direction="exhaust_dir";
  1195. effect="ExhaustsEffect";
  1196. };
  1197. class Exhaust2
  1198. {
  1199. position="exhaust2_pos";
  1200. direction="exhaust2_dir";
  1201. effect="ExhaustsEffect";
  1202. };
  1203. };
  1204. class Reflectors
  1205. {
  1206. class LightCarHeadL01
  1207. {
  1208. color[]={1900,1800,1700};
  1209. ambient[]={5,5,5};
  1210. position="LightCarHeadL01";
  1211. direction="LightCarHeadL01_end";
  1212. hitpoint="Light_L";
  1213. selection="Light_L";
  1214. size=1;
  1215. innerAngle=100;
  1216. outerAngle=179;
  1217. coneFadeCoef=10;
  1218. intensity=1;
  1219. useFlare=1;
  1220. dayLight=0;
  1221. flareSize=1;
  1222. class Attenuation
  1223. {
  1224. start=1;
  1225. constant=0;
  1226. linear=0;
  1227. quadratic=0.25;
  1228. hardLimitStart=30;
  1229. hardLimitEnd=60;
  1230. };
  1231. };
  1232. class LightCarHeadL02: LightCarHeadL01
  1233. {
  1234. position="LightCarHeadL02";
  1235. direction="LightCarHeadL02_end";
  1236. FlareSize=0.5;
  1237. };
  1238. class LightCarHeadR01: LightCarHeadL01
  1239. {
  1240. position="LightCarHeadR01";
  1241. direction="LightCarHeadR01_end";
  1242. hitpoint="Light_R";
  1243. selection="Light_R";
  1244. };
  1245. class LightCarHeadR02: LightCarHeadR01
  1246. {
  1247. position="LightCarHeadR02";
  1248. direction="LightCarHeadR02_end";
  1249. FlareSize=0.5;
  1250. };
  1251. };
  1252. aggregateReflectors[]=
  1253. {
  1254.  
  1255. {
  1256. "LightCarHeadL01",
  1257. "LightCarHeadL02"
  1258. },
  1259.  
  1260. {
  1261. "LightCarHeadR01",
  1262. "LightCarHeadR02"
  1263. }
  1264. };
  1265. };
  1266. class DAR_Charger_Blue: DAR_ChargerCiv
  1267. {
  1268. scope=2;
  1269. crew="C_man_1";
  1270. side=3;
  1271. faction="CIV_F";
  1272. displayName="2012 Dodge Charger (Blue)";
  1273. hiddenSelectionsTextures[]=
  1274. {
  1275. "\DAR_Charger\Data\body_blue.paa"
  1276. };
  1277. };
  1278. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement