Advertisement
Guest User

Untitled

a guest
Dec 26th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.29 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class yourmod
  4. {
  5. units[]={};
  6. weapons[]={};
  7. requiredVersion=0.1;
  8. requiredAddons[]=
  9. {
  10. "DZ_Data",
  11. "DZ_Vehicles_Parts",
  12. "DZ_Vehicles_Wheeled",
  13.  
  14. };
  15. };
  16. };
  17.  
  18. class cfgVehicles
  19. {
  20. class Inventory_Base;
  21. class CarWheel: Inventory_Base
  22. {
  23. scope=1;
  24. itemBehaviour=0;
  25. physLayer="item_large";
  26. itemSize[]={6,6};
  27. weight=12000;
  28. repairableWithKits[]={6};
  29. repairCosts[]={25};
  30. simulation="carwheel";
  31. lockType=3;
  32. class DamageSystem
  33. {
  34. class GlobalHealth
  35. {
  36. class Health
  37. {
  38. hitpoints=200;
  39. healthLevels[]=
  40. {
  41.  
  42. {
  43. 1,
  44. {}
  45. },
  46.  
  47. {
  48. 0.69999999,
  49. {}
  50. },
  51.  
  52. {
  53. 0.5,
  54. {}
  55. },
  56.  
  57. {
  58. 0.30000001,
  59. {}
  60. },
  61.  
  62. {
  63. 0,
  64. {}
  65. }
  66. };
  67. };
  68. };
  69. };
  70. class AnimEvents
  71. {
  72. class SoundWeapon
  73. {
  74. class drop
  75. {
  76. soundset="hatchbackwheel_drop_SoundSet";
  77. id=898;
  78. };
  79. };
  80. };
  81. };
  82. class Hatchback_02_Wheel: CarWheel
  83. {
  84. scope=2;
  85. displayName="$STR_CivHatchbackWheel0";
  86. descriptionShort="$STR_CivHatchbackWheel1";
  87. model="\DZ\vehicles\wheeled\Hatchback_02\proxy\Hatchback_02_Wheel.p3d";
  88. rotationFlags=8;
  89. inventorySlot[]=
  90. {
  91. "Hatchback_02_Wheel_1_1",
  92. "Hatchback_02_Wheel_1_2",
  93. "Hatchback_02_Wheel_2_1",
  94. "Hatchback_02_Wheel_2_2",
  95. "Hatchback_02_Wheel_Spare_1"
  96. };
  97. radiusByDamage[]={0,0.34,0.30000001,0.30000001,0.99980003,0.25,0.99989998,0.2};
  98. radius=0.30399999;
  99. width=0.16;
  100. tyreOffroadResistance=0.2;
  101. tyreGrip=0.88999999;
  102. tyreRollResistance=0.0099999998;
  103. };
  104. class Car;
  105. class CarScript: Car
  106. {
  107. rotationFlags=64;
  108. storageCategory=4;
  109. debug_ItemCategory=8;
  110. displayWeight=0;
  111. insideSoundCoef=0.89999998;
  112. fuelCapacity=50;
  113. brakeFluidCapacity=1;
  114. oilCapacity=4;
  115. coolantCapacity=6;
  116. brakeFluidLeakDebit[]={0,0};
  117. oilLeakDebit[]={0,0};
  118. coolantLeakDebit[]={0,0};
  119. brakeFluidForceCoef[]={0,1,1,1};
  120. damageFromOil[]={0,0,1,0};
  121. damageFromCoolant[]={0,0,1,0};
  122. engineBeltSlot="EngineBelt";
  123. batterySlot="CarBattery";
  124. electricPowerResName="power";
  125. electricConsumptionIgnition=3001;
  126. electricConsumptionEngine=0;
  127. electricConsumptionLights=0;
  128. electricOutputEngine=5;
  129. selectionDashboard="light_dashboard";
  130. selectionLightFrontL="light_left";
  131. selectionLightFrontR="light_right";
  132. selectionBrakeLights="light_break";
  133. class Crew
  134. {
  135. class Driver
  136. {
  137. actionSel="seat_driver";
  138. proxyPos="crewDriver";
  139. getInPos="pos_driver";
  140. getInDir="pos_driver_dir";
  141. isDriver=1;
  142. };
  143. class CoDriver
  144. {
  145. actionSel="seat_coDriver";
  146. proxyPos="crewCoDriver";
  147. getInPos="pos_coDriver";
  148. getInDir="pos_coDriver_dir";
  149. };
  150. };
  151. class SimulationModule
  152. {
  153. class Axles
  154. {
  155. class Front
  156. {
  157. class Wheels
  158. {
  159. class Left
  160. {
  161. inventorySlot="";
  162. animTurn="turnfrontleft";
  163. animRotation="wheelfrontleft";
  164. animDamper="damperfrontleft";
  165. wheelHub="wheel_1_1_damper_land";
  166. };
  167. class Right
  168. {
  169. inventorySlot="";
  170. animTurn="turnfrontright";
  171. animRotation="wheelfrontright";
  172. animDamper="damperfrontright";
  173. wheelHub="wheel_2_1_damper_land";
  174. };
  175. };
  176. };
  177. class Rear
  178. {
  179. class Wheels
  180. {
  181. class Left
  182. {
  183. inventorySlot="";
  184. animTurn="turnbackleft";
  185. animRotation="wheelbackleft";
  186. animDamper="damperbackleft";
  187. wheelHub="wheel_1_2_damper_land";
  188. };
  189. class Right
  190. {
  191. inventorySlot="";
  192. animTurn="turnbackright";
  193. animRotation="wheelbackright";
  194. animDamper="damperbackright";
  195. wheelHub="wheel_2_2_damper_land";
  196. };
  197. };
  198. };
  199. };
  200. };
  201. attachments[]=
  202. {
  203. "CarBattery",
  204. "Reflector_1_1",
  205. "Reflector_2_1"
  206. };
  207. hiddenSelections[]=
  208. {
  209. ""
  210. };
  211. hiddenSelectionsTextures[]=
  212. {
  213. ""
  214. };
  215. hiddenSelectionsMaterials[]=
  216. {
  217. ""
  218. };
  219. class AnimationSources
  220. {
  221. class DoorsDriver
  222. {
  223. source="user";
  224. initPhase=0;
  225. animPeriod=0.5;
  226. };
  227. class DoorsCoDriver: DoorsDriver
  228. {
  229. };
  230. class DoorsHood: DoorsDriver
  231. {
  232. };
  233. class DoorsTrunk: DoorsDriver
  234. {
  235. };
  236. class HideDestroyed_1_1
  237. {
  238. source="user";
  239. initPhase=0;
  240. animPeriod=0.001;
  241. };
  242. class HideDestroyed_1_2
  243. {
  244. source="user";
  245. initPhase=0;
  246. animPeriod=0.001;
  247. };
  248. class HideDestroyed_2_1
  249. {
  250. source="user";
  251. initPhase=0;
  252. animPeriod=0.001;
  253. };
  254. class HideDestroyed_2_2
  255. {
  256. source="user";
  257. initPhase=0;
  258. animPeriod=0.001;
  259. };
  260. class AnimHitWheel_1_1
  261. {
  262. source="Hit";
  263. hitpoint="HitWheel_1_1";
  264. raw=1;
  265. };
  266. class AnimHitWheel_1_2: AnimHitWheel_1_1
  267. {
  268. hitpoint="HitWheel_1_2";
  269. };
  270. class AnimHitWheel_2_1: AnimHitWheel_1_1
  271. {
  272. hitpoint="HitWheel_2_1";
  273. };
  274. class AnimHitWheel_2_2: AnimHitWheel_1_1
  275. {
  276. hitpoint="HitWheel_2_2";
  277. };
  278. class HitDoorsHood: AnimHitWheel_1_1
  279. {
  280. hitpoint="HitDoorsHood";
  281. };
  282. class HitDoorsTrunk: AnimHitWheel_1_1
  283. {
  284. hitpoint="HitDoorsTrunk";
  285. };
  286. class HitDoorsDrivers: AnimHitWheel_1_1
  287. {
  288. hitpoint="HitDoorsDriver";
  289. };
  290. class HitDoorsCoDrivers: AnimHitWheel_1_1
  291. {
  292. hitpoint="HitDoorsCoDriver";
  293. };
  294. class HitDoorsCargo: AnimHitWheel_1_1
  295. {
  296. hitpoint="HitDoorsCargo";
  297. };
  298. };
  299. class NoiseCarHorn
  300. {
  301. strength=30;
  302. type="sound";
  303. };
  304. };
  305. class Hatchback_02: CarScript
  306. {
  307. scope=2;
  308. displayName="$STR_CivHatchback0";
  309. descriptionShort="$STR_CivHatchback1";
  310. model="\dz\vehicles\wheeled\Hatchback_02\Hatchback_02.p3d";
  311. frontReflectorMatDamaged="";
  312. frontReflectorMatRuined="";
  313. fuelCapacity=55;
  314. fuelConsumption=6.5;
  315. attachments[]=
  316. {
  317. "CarBattery",
  318. "Reflector_1_1",
  319. "Reflector_2_1",
  320. "CarRadiator",
  321. "SparkPlug",
  322. "Hatchback_02_Door_1_1",
  323. "Hatchback_02_Door_1_2",
  324. "Hatchback_02_Door_2_1",
  325. "Hatchback_02_Door_2_2",
  326. "Hatchback_02_Trunk",
  327. "Hatchback_02_Hood",
  328. "Hatchback_02_Wheel_1_1",
  329. "Hatchback_02_Wheel_1_2",
  330. "Hatchback_02_Wheel_2_1",
  331. "Hatchback_02_Wheel_2_2",
  332. "Hatchback_02_Wheel_Spare_1"
  333. };
  334. hiddenSelections[]=
  335. {
  336. "light_1_1",
  337. "light_2_1",
  338. "light_brake_1_2",
  339. "light_brake_2_2",
  340. "light_reverse_1_2",
  341. "light_reverse_2_2",
  342. "light_1_2",
  343. "light_2_2",
  344. "light_dashboard",
  345. "camo_chassi"
  346. };
  347. hiddenSelectionsTextures[]=
  348. {
  349. "",
  350. "",
  351. "",
  352. "",
  353. "",
  354. "",
  355. "",
  356. "",
  357. "",
  358. ""
  359. };
  360. hiddenSelectionsMaterials[]=
  361. {
  362. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  363. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  364. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  365. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  366. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  367. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  368. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  369. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  370. "dz\vehicles\wheeled\offroadhatchback\data\offroadhatchback_lights.rvmat",
  371. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  372. };
  373. dashboardMatOn="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_gauges_e.rvmat";
  374. dashboardMatOff="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_gauges.rvmat";
  375. frontReflectorMatOn="dz\vehicles\wheeled\hatchback_02\data\Hatchback_02_headlights_e.rvmat";
  376. frontReflectorMatOff="dz\vehicles\wheeled\hatchback_02\data\Hatchback_02_headlights.rvmat";
  377. brakeReflectorMatOn="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights_e.rvmat";
  378. brakeReflectorMatOff="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights.rvmat";
  379. tailReflectorMatOn="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights_e.rvmat";
  380. tailReflectorMatOff="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights.rvmat";
  381. reverseReflectorMatOn="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights_e.rvmat";
  382. reverseReflectorMatOff="dz\vehicles\wheeled\Hatchback_02\data\Hatchback_02_TailLights.rvmat";
  383. class Crew: Crew
  384. {
  385. class Driver: Driver
  386. {
  387. };
  388. class CoDriver: CoDriver
  389. {
  390. };
  391. class Cargo1
  392. {
  393. actionSel="seat_cargo1";
  394. proxyPos="crewCargo1";
  395. getInPos="pos_driver";
  396. getInDir="pos_driver_dir";
  397. };
  398. class Cargo2
  399. {
  400. actionSel="seat_cargo2";
  401. proxyPos="crewCargo2";
  402. getInPos="pos_coDriver";
  403. getInDir="pos_coDriver_dir";
  404. };
  405. };
  406. class SimulationModule: SimulationModule
  407. {
  408. class Steering
  409. {
  410. maxSteeringAngle=35;
  411. increaseSpeed[]={0,50,60,30,100,15};
  412. decreaseSpeed[]={0,90,60,45,100,20};
  413. centeringSpeed[]={0,0,15,27,60,45,100,63};
  414. };
  415. class Throttle
  416. {
  417. reactionTime=0.85000002;
  418. defaultThrust=0.69999999;
  419. gentleThrust=0.40000001;
  420. turboCoef=2.2;
  421. gentleCoef=0.5;
  422. };
  423. class Brake
  424. {
  425. pressureBySpeed[]={0,0.5,10,0.40000001,20,0.30000001,40,0.28,60,0.30000001,80,0.38,100,0.41999999,120,0.47999999,150,0.60000002};
  426. reactionTime=0.2;
  427. driverless=0.1;
  428. };
  429. class Aerodynamics
  430. {
  431. frontalArea=2.1500001;
  432. dragCoefficient=0.51999998;
  433. downforceCoefficient=0.0099999998;
  434. downforceOffset[]={0,0.80000001,-0.69999999};
  435. };
  436. drive="DRIVE_FWD";
  437. class Engine
  438. {
  439. torqueCurve[]={850,0,1150,90,2000,130,4400,186,5800,165,7500,0};
  440. inertia=0.20999999;
  441. frictionTorque=150;
  442. rollingFriction=0.2;
  443. viscousFriction=0.5;
  444. rpmIdle=1250;
  445. rpmMin=1500;
  446. rpmClutch=2000;
  447. rpmRedline=6250;
  448. };
  449. class Clutch
  450. {
  451. maxTorqueTransfer=360;
  452. uncoupleTime=0.25;
  453. coupleTime=0.34999999;
  454. };
  455. class Gearbox
  456. {
  457. type="GEARBOX_MANUAL";
  458. reverse=3.1670001;
  459. ratios[]={3.4549999,2.118,1.444,1.1289999,0.912};
  460. };
  461. class Axles: Axles
  462. {
  463. class Front: Front
  464. {
  465. maxBrakeTorque=1800;
  466. wheelHubMass=5;
  467. wheelHubRadius=0.125;
  468. class Differential
  469. {
  470. ratio=3.6670001;
  471. type="DIFFERENTIAL_OPEN";
  472. };
  473. class Suspension
  474. {
  475. stiffness=27000;
  476. compression=2000;
  477. damping=7500;
  478. travelMaxUp=0.16;
  479. travelMaxDown=0.16;
  480. };
  481. class Wheels: Wheels
  482. {
  483. class Left: Left
  484. {
  485. animDamper="damper_1_1";
  486. inventorySlot="Hatchback_02_Wheel_1_1";
  487. };
  488. class Right: Right
  489. {
  490. animDamper="damper_2_1";
  491. inventorySlot="Hatchback_02_Wheel_2_1";
  492. };
  493. };
  494. };
  495. class Rear: Rear
  496. {
  497. maxBrakeTorque=800;
  498. maxHandbrakeTorque=2000;
  499. wheelHubMass=5;
  500. wheelHubRadius=0.125;
  501. class Suspension
  502. {
  503. stiffness=27500;
  504. compression=2100;
  505. damping=8000;
  506. travelMaxUp=0.16;
  507. travelMaxDown=0.16;
  508. };
  509. class Wheels: Wheels
  510. {
  511. class Left: Left
  512. {
  513. animDamper="damper_1_2";
  514. inventorySlot="Hatchback_02_Wheel_1_2";
  515. };
  516. class Right: Right
  517. {
  518. animDamper="damper_2_2";
  519. inventorySlot="Hatchback_02_Wheel_2_2";
  520. };
  521. };
  522. };
  523. };
  524. };
  525. class Cargo
  526. {
  527. itemsCargoSize[]={10,30};
  528. allowOwnedCargoManipulation=1;
  529. openable=0;
  530. };
  531. class AnimationSources: AnimationSources
  532. {
  533. class DoorsCargo1
  534. {
  535. source="user";
  536. initPhase=0;
  537. animPeriod=0.5;
  538. };
  539. class DoorsCargo2
  540. {
  541. source="user";
  542. initPhase=0;
  543. animPeriod=0.5;
  544. };
  545. class damper_1_1
  546. {
  547. source="user";
  548. initPhase=0.5;
  549. animPeriod=1;
  550. };
  551. class damper_2_1: damper_1_1
  552. {
  553. };
  554. class damper_1_2: damper_1_1
  555. {
  556. };
  557. class damper_2_2: damper_1_2
  558. {
  559. };
  560. };
  561. class DamageSystem
  562. {
  563. class GlobalHealth
  564. {
  565. class Health
  566. {
  567. hitpoints=1000;
  568. healthLevels[]=
  569. {
  570.  
  571. {
  572. 1,
  573. {}
  574. },
  575.  
  576. {
  577. 0.69999999,
  578. {}
  579. },
  580.  
  581. {
  582. 0.5,
  583. {}
  584. },
  585.  
  586. {
  587. 0.30000001,
  588. {}
  589. },
  590.  
  591. {
  592. 0,
  593. {}
  594. }
  595. };
  596. };
  597. };
  598. class DamageZones
  599. {
  600. class Chassis
  601. {
  602. displayName="$STR_CfgVehicleDmg_Chassis0";
  603. fatalInjuryCoef=-1;
  604. componentNames[]=
  605. {
  606. "dmgZone_chassis"
  607. };
  608. class Health
  609. {
  610. hitpoints=3000;
  611. transferToGlobalCoef=0;
  612. };
  613. inventorySlots[]={};
  614. };
  615. class Front
  616. {
  617. displayName="$STR_CfgVehicleDmg_Bumper0";
  618. fatalInjuryCoef=-1;
  619. memoryPoints[]=
  620. {
  621. "dmgZone_front"
  622. };
  623. componentNames[]=
  624. {
  625. "dmgZone_front",
  626. "dmgZone_bumper_1"
  627. };
  628. class Health
  629. {
  630. hitpoints=700;
  631. transferToGlobalCoef=0;
  632. healthLevels[]=
  633. {
  634.  
  635. {
  636. 1,
  637.  
  638. {
  639. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  640. }
  641. },
  642.  
  643. {
  644. 0.69999999,
  645.  
  646. {
  647. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  648. }
  649. },
  650.  
  651. {
  652. 0.5,
  653.  
  654. {
  655. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  656. }
  657. },
  658.  
  659. {
  660. 0.30000001,
  661.  
  662. {
  663. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  664. }
  665. },
  666.  
  667. {
  668. 0,
  669.  
  670. {
  671. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_destruct.rvmat"
  672. }
  673. }
  674. };
  675. };
  676. transferToZonesNames[]=
  677. {
  678. "Fender_1_1",
  679. "Fender_2_1",
  680. "Engine"
  681. };
  682. transferToZonesCoefs[]={0.2,0.2,0.15000001};
  683. inventorySlots[]=
  684. {
  685. "Hatchback_02_Hood",
  686. "CarRadiator",
  687. "Hatchback_02_Wheel_1_1",
  688. "Hatchback_02_Wheel_2_1"
  689. };
  690. inventorySlotsCoefs[]={0.30000001,0.30000001,0.1,0.1};
  691. };
  692. class Reflector_1_1
  693. {
  694. displayName="$STR_CfgVehicleDmg_Reflector0";
  695. fatalInjuryCoef=-1;
  696. componentNames[]=
  697. {
  698. "dmgZone_lights_1_1"
  699. };
  700. memoryPoints[]=
  701. {
  702. "dmgZone_lights_1_1"
  703. };
  704. class Health
  705. {
  706. hitpoints=20;
  707. transferToGlobalCoef=0;
  708. healthLevels[]=
  709. {
  710.  
  711. {
  712. 1,
  713.  
  714. {
  715. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_windows.rvmat"
  716. }
  717. },
  718.  
  719. {
  720. 0.69999999,
  721. {}
  722. },
  723.  
  724. {
  725. 0.5,
  726.  
  727. {
  728. "dz\vehicles\wheeled\hatchback_02\data\glass_i_damage.rvmat"
  729. }
  730. },
  731.  
  732. {
  733. 0.30000001,
  734. {}
  735. },
  736.  
  737. {
  738. 0,
  739.  
  740. {
  741. "dz\vehicles\wheeled\hatchback_02\data\glass_i_destruct.rvmat"
  742. }
  743. }
  744. };
  745. };
  746. transferToZonesNames[]=
  747. {
  748. "Front",
  749. "Fender_1_1"
  750. };
  751. transferToZonesCoefs[]={1,1};
  752. inventorySlots[]=
  753. {
  754. "Reflector_1_1",
  755. "Hatchback_02_Wheel_1_1"
  756. };
  757. inventorySlotsCoefs[]={1,0.1};
  758. };
  759. class Reflector_2_1: Reflector_1_1
  760. {
  761. memoryPoints[]=
  762. {
  763. "dmgZone_lights_2_1"
  764. };
  765. componentNames[]=
  766. {
  767. "dmgZone_lights_2_1"
  768. };
  769. transferToZonesNames[]=
  770. {
  771. "Front",
  772. "Fender_2_1"
  773. };
  774. inventorySlots[]=
  775. {
  776. "Reflector_2_1",
  777. "Hatchback_02_Wheel_2_1"
  778. };
  779. };
  780. class Back
  781. {
  782. displayName="$STR_CfgVehicleDmg_Bumper0";
  783. fatalInjuryCoef=-1;
  784. memoryPoints[]=
  785. {
  786. "dmgZone_back"
  787. };
  788. componentNames[]=
  789. {
  790. "dmgZone_back",
  791. "dmgZone_bumper_2"
  792. };
  793. class Health
  794. {
  795. hitpoints=500;
  796. transferToGlobalCoef=0;
  797. healthLevels[]=
  798. {
  799.  
  800. {
  801. 1,
  802.  
  803. {
  804. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_body.rvmat"
  805. }
  806. },
  807.  
  808. {
  809. 0.69999999,
  810.  
  811. {
  812. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_body.rvmat"
  813. }
  814. },
  815.  
  816. {
  817. 0.5,
  818.  
  819. {
  820. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_body_damage.rvmat"
  821. }
  822. },
  823.  
  824. {
  825. 0.30000001,
  826.  
  827. {
  828. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_body_damage.rvmat"
  829. }
  830. },
  831.  
  832. {
  833. 0,
  834.  
  835. {
  836. "dz\vehicles\wheeled\hatchback_02\data\hatchback_02_body_destruct.rvmat"
  837. }
  838. }
  839. };
  840. };
  841. transferToZonesNames[]=
  842. {
  843. "Fender_1_2",
  844. "Fender_2_2"
  845. };
  846. transferToZonesCoefs[]={0.15000001,0.15000001};
  847. inventorySlots[]=
  848. {
  849. "Hatchback_02_Trunk",
  850. "Hatchback_02_Wheel_1_2",
  851. "Hatchback_02_Wheel_2_2"
  852. };
  853. inventorySlotsCoefs[]={0.34999999,0.1,0.1};
  854. };
  855. class Roof
  856. {
  857. displayName="$STR_CfgVehicleDmg_Roof0";
  858. fatalInjuryCoef=-1;
  859. componentNames[]=
  860. {
  861. "dmgZone_roof"
  862. };
  863. memoryPoints[]=
  864. {
  865. "dmgZone_roof"
  866. };
  867. class Health
  868. {
  869. hitpoints=400;
  870. transferToGlobalCoef=0;
  871. healthLevels[]=
  872. {
  873.  
  874. {
  875. 1,
  876.  
  877. {
  878. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  879. }
  880. },
  881.  
  882. {
  883. 0.69999999,
  884.  
  885. {
  886. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  887. }
  888. },
  889.  
  890. {
  891. 0.5,
  892.  
  893. {
  894. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  895. }
  896. },
  897.  
  898. {
  899. 0.30000001,
  900.  
  901. {
  902. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  903. }
  904. },
  905.  
  906. {
  907. 0,
  908.  
  909. {
  910. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_destruct.rvmat"
  911. }
  912. }
  913. };
  914. };
  915. inventorySlots[]={};
  916. };
  917. class Fender_1_1
  918. {
  919. displayName="$STR_CfgVehicleDmg_Fender0";
  920. fatalInjuryCoef=-1;
  921. componentNames[]=
  922. {
  923. "dmgZone_fender_1_1"
  924. };
  925. memoryPoints[]=
  926. {
  927. "dmgZone_fender_1_1"
  928. };
  929. class Health
  930. {
  931. hitpoints=700;
  932. transferToGlobalCoef=0;
  933. healthLevels[]=
  934. {
  935.  
  936. {
  937. 1,
  938.  
  939. {
  940. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  941. }
  942. },
  943.  
  944. {
  945. 0.69999999,
  946.  
  947. {
  948. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body.rvmat"
  949. }
  950. },
  951.  
  952. {
  953. 0.5,
  954.  
  955. {
  956. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  957. }
  958. },
  959.  
  960. {
  961. 0.30000001,
  962.  
  963. {
  964. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_damage.rvmat"
  965. }
  966. },
  967.  
  968. {
  969. 0,
  970.  
  971. {
  972. "dz\vehicles\wheeled\hatchback_02\data\red\hatchback_02_body_destruct.rvmat"
  973. }
  974. }
  975. };
  976. };
  977. transferToZonesNames[]=
  978. {
  979. "Front",
  980. "Reflector_1_1",
  981. "Engine"
  982. };
  983. transferToZonesCoefs[]={0.2,0.050000001,0.079999998};
  984. inventorySlots[]=
  985. {
  986. "Hatchback_02_Hood",
  987. "Hatchback_02_Wheel_1_1",
  988. "Hatchback_02_Door_1_1"
  989. };
  990. inventorySlotsCoefs[]={0.2,0.1,0.1};
  991. };
  992. class Fender_2_1: Fender_1_1
  993. {
  994. memoryPoints[]=
  995. {
  996. "dmgZone_fender_2_1"
  997. };
  998. componentNames[]=
  999. {
  1000. "dmgZone_fender_2_1"
  1001. };
  1002. transferToZonesNames[]=
  1003. {
  1004. "Front",
  1005. "Reflector_2_1",
  1006. "Engine"
  1007. };
  1008. inventorySlots[]=
  1009. {
  1010. "Hatchback_02_Hood",
  1011. "Hatchback_02_Wheel_2_1",
  1012. "Hatchback_02_Door_2_1"
  1013. };
  1014. };
  1015. class Fender_1_2: Fender_1_1
  1016. {
  1017. memoryPoints[]=
  1018. {
  1019. "dmgZone_fender_1_2"
  1020. };
  1021. componentNames[]=
  1022. {
  1023. "dmgZone_fender_1_2"
  1024. };
  1025. transferToZonesNames[]=
  1026. {
  1027. "Back",
  1028. "FuelTank"
  1029. };
  1030. transferToZonesCoefs[]={0.15000001,0.40000001};
  1031. inventorySlots[]=
  1032. {
  1033. "Hatchback_02_Trunk",
  1034. "Hatchback_02_Wheel_1_2",
  1035. "Hatchback_02_Door_1_2"
  1036. };
  1037. inventorySlotsCoefs[]={0.2,0.1,0.1};
  1038. };
  1039. class Fender_2_2: Fender_1_1
  1040. {
  1041. memoryPoints[]=
  1042. {
  1043. "dmgZone_fender_2_2"
  1044. };
  1045. componentNames[]=
  1046. {
  1047. "dmgZone_fender_2_2"
  1048. };
  1049. transferToZonesNames[]=
  1050. {
  1051. "Back",
  1052. "FuelTank"
  1053. };
  1054. transferToZonesCoefs[]={0.15000001,0.40000001};
  1055. inventorySlots[]=
  1056. {
  1057. "Hatchback_02_Trunk",
  1058. "Hatchback_02_Wheel_2_2",
  1059. "Hatchback_02_Door_2_2"
  1060. };
  1061. inventorySlotsCoefs[]={0.2,0.1,0.1};
  1062. };
  1063. class WindowFront
  1064. {
  1065. displayName="$STR_CfgVehicleDmg_Window0";
  1066. fatalInjuryCoef=-1;
  1067. memoryPoints[]=
  1068. {
  1069. "dmgZone_windowFront"
  1070. };
  1071. componentNames[]=
  1072. {
  1073. "dmgZone_windowFront"
  1074. };
  1075. class Health
  1076. {
  1077. hitpoints=100;
  1078. transferToGlobalCoef=0;
  1079. healthLevels[]=
  1080. {
  1081.  
  1082. {
  1083. 1,
  1084.  
  1085. {
  1086. "dz\vehicles\wheeled\hatchback_02\data\Hatchback_02_Windows.rvmat",
  1087. "dz\vehicles\wheeled\hatchback_02\data\glass_i.rvmat"
  1088. }
  1089. },
  1090.  
  1091. {
  1092. 0.69999999,
  1093.  
  1094. {
  1095. "dz\vehicles\wheeled\hatchback_02\data\Hatchback_02_Windows.rvmat",
  1096. "dz\vehicles\wheeled\hatchback_02\data\glass_i_damage.rvmat"
  1097. }
  1098. },
  1099.  
  1100. {
  1101. 0.5,
  1102.  
  1103. {
  1104. "hidden",
  1105. "dz\vehicles\wheeled\hatchback_02\data\glass_i_damage.rvmat"
  1106. }
  1107. },
  1108.  
  1109. {
  1110. 0.30000001,
  1111.  
  1112. {
  1113. "hidden",
  1114. "dz\vehicles\wheeled\hatchback_02\data\glass_i_destruct.rvmat"
  1115. }
  1116. },
  1117.  
  1118. {
  1119. 0,
  1120. "hidden",
  1121. "hidden"
  1122. }
  1123. };
  1124. };
  1125. inventorySlots[]={};
  1126. inventorySlotsCoefs[]={};
  1127. };
  1128. class Engine
  1129. {
  1130. displayName="$STR_CfgVehicleDmg_Engine0";
  1131. fatalInjuryCoef=0.001;
  1132. memoryPoints[]=
  1133. {
  1134. "dmgZone_engine"
  1135. };
  1136. componentNames[]=
  1137. {
  1138. "dmgZone_engine"
  1139. };
  1140. class Health
  1141. {
  1142. hitpoints=1000;
  1143. transferToGlobalCoef=1;
  1144. healthLevels[]=
  1145. {
  1146.  
  1147. {
  1148. 1,
  1149. {}
  1150. },
  1151.  
  1152. {
  1153. 0.69999999,
  1154. {}
  1155. },
  1156.  
  1157. {
  1158. 0.5,
  1159. {}
  1160. },
  1161.  
  1162. {
  1163. 0.30000001,
  1164. {}
  1165. },
  1166. {0}
  1167. };
  1168. };
  1169. inventorySlots[]=
  1170. {
  1171. "CarBattery",
  1172. "SparkPlug"
  1173. };
  1174. inventorySlotsCoefs[]={0.1,0.050000001};
  1175. };
  1176. class FuelTank
  1177. {
  1178. displayName="$STR_CfgVehicleDmg_FuelTank0";
  1179. fatalInjuryCoef=-1;
  1180. componentNames[]=
  1181. {
  1182. "dmgZone_fuelTank"
  1183. };
  1184. class Health
  1185. {
  1186. hitpoints=600;
  1187. transferToGlobalCoef=0;
  1188. healthLevels[]=
  1189. {
  1190.  
  1191. {
  1192. 1,
  1193. {}
  1194. },
  1195.  
  1196. {
  1197. 0.69999999,
  1198. {}
  1199. },
  1200.  
  1201. {
  1202. 0.5,
  1203. {}
  1204. },
  1205.  
  1206. {
  1207. 0.30000001,
  1208. {}
  1209. },
  1210.  
  1211. {
  1212. 0,
  1213. {}
  1214. }
  1215. };
  1216. };
  1217. inventorySlots[]={};
  1218. inventorySlotsCoefs[]={};
  1219. };
  1220. };
  1221. };
  1222. class ObstacleGenerator
  1223. {
  1224. carve=1;
  1225. timeToStationary=5;
  1226. moveThreshold=0.5;
  1227. class Shapes
  1228. {
  1229. class Cylindric
  1230. {
  1231. class Cyl1
  1232. {
  1233. radius=1;
  1234. height=1.5;
  1235. center[]={0,0,0.69999999};
  1236. };
  1237. class Cyl3
  1238. {
  1239. radius=1;
  1240. height=1.5;
  1241. center[]={0,0,-0.69999999};
  1242. };
  1243. };
  1244. };
  1245. };
  1246. class GUIInventoryAttachmentsProps
  1247. {
  1248. class Engine
  1249. {
  1250. name="$STR_attachment_Engine0";
  1251. description="";
  1252. icon="set:dayz_inventory image:cat_vehicle_engine";
  1253. attachmentSlots[]=
  1254. {
  1255. "CarBattery",
  1256. "CarRadiator",
  1257. "SparkPlug"
  1258. };
  1259. };
  1260. class Body
  1261. {
  1262. name="$STR_attachment_Body0";
  1263. description="";
  1264. icon="set:dayz_inventory image:cat_vehicle_body";
  1265. attachmentSlots[]=
  1266. {
  1267. "Reflector_1_1",
  1268. "Reflector_2_1",
  1269. "Hatchback_02_Door_1_1",
  1270. "Hatchback_02_Door_1_2",
  1271. "Hatchback_02_Door_2_1",
  1272. "Hatchback_02_Door_2_2",
  1273. "Hatchback_02_Hood",
  1274. "Hatchback_02_Trunk",
  1275. "Hatchback_02_Wheel_Spare_1"
  1276. };
  1277. };
  1278. class Chassis
  1279. {
  1280. name="$STR_attachment_Chassis0";
  1281. description="";
  1282. icon="set:dayz_inventory image:cat_vehicle_chassis";
  1283. attachmentSlots[]=
  1284. {
  1285. "Hatchback_02_Wheel_1_1",
  1286. "Hatchback_02_Wheel_1_2",
  1287. "Hatchback_02_Wheel_2_1",
  1288. "Hatchback_02_Wheel_2_2"
  1289. };
  1290. };
  1291. };
  1292. };
  1293. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement