Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.80 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class NBCTest
  4. {
  5. units[]=
  6. {
  7. "NBCPantsGreen",
  8. "NBCBootsGreen",
  9. "NBCHoodGreen",
  10. "NBCGlovesGreen"
  11. };
  12. weapons[]={};
  13. requiredVersion=0.1;
  14. requiredAddons[]=
  15. {
  16. "DZ_Characters"
  17. };
  18. };
  19. };
  20. class CfgVehicles
  21. {
  22. class Clothing_Base;
  23. class Clothing: Clothing_Base
  24. {
  25. };
  26. class NBCJacketBase: Clothing
  27. {
  28. scope=0;
  29. displayName="$STR_CfgVehicles_NBCJacketBase0";
  30. descriptionShort="$STR_CfgVehicles_NBCJacketBase1";
  31. model="\DZ\characters\tops\NBC_Jacket_g.p3d";
  32. ContinuousActions[]={190};
  33. inventorySlot="Body";
  34. itemInfo[]=
  35. {
  36. "Clothing",
  37. "Body"
  38. };
  39. weight=1500;
  40. itemSize[]={4,3};
  41. itemsCargoSize[]={4,3};
  42. quickBarBonus=3;
  43. heatIsolation=0.80000001;
  44. absorbency=0.1;
  45. soundAttType="HeavyJacket";
  46. hiddenSelections[]=
  47. {
  48. "camoGround",
  49. "camoMale",
  50. "camoFemale",
  51. };
  52. class DamageSystem
  53. {
  54. class GlobalHealth
  55. {
  56. class Health
  57. {
  58. hitpoints=100;
  59. healthLevels[]=
  60. {
  61.  
  62. {
  63. 1,
  64.  
  65. {
  66. "DZ\characters\tops\Data\NBC_Jacket.rvmat",
  67. "DZ\characters\tops\Data\NBC_Jacket_g.rvmat"
  68. }
  69. },
  70.  
  71. {
  72. 0.69999999,
  73.  
  74. {
  75. "DZ\characters\tops\Data\NBC_Jacket.rvmat",
  76. "DZ\characters\tops\Data\NBC_Jacket_g.rvmat"
  77. }
  78. },
  79.  
  80. {
  81. 0.5,
  82.  
  83. {
  84. "DZ\characters\tops\Data\NBC_Jacket_damage.rvmat",
  85. "DZ\characters\tops\Data\NBC_Jacket_g_damage.rvmat"
  86. }
  87. },
  88.  
  89. {
  90. 0.30000001,
  91.  
  92. {
  93. "DZ\characters\tops\Data\NBC_Jacket_damage.rvmat",
  94. "DZ\characters\tops\Data\NBC_Jacket_g_damage.rvmat"
  95. }
  96. },
  97.  
  98. {
  99. 0,
  100.  
  101. {
  102. "DZ\characters\tops\Data\NBC_Jacket_destruct.rvmat",
  103. "DZ\characters\tops\Data\NBC_Jacket_g_destruct.rvmat"
  104. }
  105. }
  106. };
  107. };
  108. };
  109. class GlobalArmor
  110. {
  111. class Melee
  112. {
  113. class Health
  114. {
  115. damage=0.89999998;
  116. };
  117. class Blood
  118. {
  119. damage=0.89999998;
  120. };
  121. class Shock
  122. {
  123. damage=0.89999998;
  124. };
  125. };
  126. class Infected
  127. {
  128. class Health
  129. {
  130. damage=0.89999998;
  131. };
  132. class Blood
  133. {
  134. damage=0.89999998;
  135. };
  136. class Shock
  137. {
  138. damage=0.89999998;
  139. };
  140. };
  141. };
  142. };
  143. class ClothingTypes
  144. {
  145. male="\DZ\characters\tops\NBC_Jacket_m.p3d";
  146. female="\DZ\characters\tops\NBC_Jacket_f.p3d";
  147. };
  148. class AnimEvents
  149. {
  150. class SoundWeapon
  151. {
  152. class pickUpItem
  153. {
  154. soundSet="Shirt_pickup_SoundSet";
  155. id=797;
  156. };
  157. class drop
  158. {
  159. soundset="Shirt_drop_SoundSet";
  160. id=898;
  161. };
  162. };
  163. };
  164. };
  165. class NBCJacketGreen: NBCJacketBase
  166. {
  167. scope=2;
  168. visibilityModifier=0.69999999;
  169. hiddenSelectionsTextures[]=
  170. {
  171. "\NBCTest\data\NBCTest\nbc_jacket_green_co.paa",
  172. "\NBCTest\data\NBCTest\nbc_jacket_green_co.paa",
  173. "\NBCTest\data\NBCTest\nbc_jacket_green_co.paa"
  174. };
  175. };
  176. class NBCJacketBlue: NBCJacketBase
  177. {
  178. scope=2;
  179. visibilityModifier=0.69999999;
  180. hiddenSelectionsTextures[]=
  181. {
  182. "\NBCTest\data\NBCTest\nbc_jacket_blue_co.paa",
  183. "\NBCTest\data\NBCTest\nbc_jacket_blue_co.paa",
  184. "\NBCTest\data\NBCTest\nbc_jacket_blue_co.paa"
  185. };
  186. };
  187. class NBCPantsBase: Clothing
  188. {
  189. scope=0;
  190. displayName="$STR_CfgVehicles_NBCPantsBase0";
  191. descriptionShort="$STR_CfgVehicles_NBCPantsBase1";
  192. model="\DZ\characters\pants\NBC_Pants_g.p3d";
  193. ContinuouActions[]={190};
  194. inventorySlot="Legs";
  195. simulation="clothing";
  196. itemInfo[]=
  197. {
  198. "Clothing",
  199. "Legs"
  200. };
  201. itemSize[]={3,2};
  202. itemsCargoSize[]={5,4};
  203. weight=520;
  204. absorbency=0.1;
  205. heatIsolation=0.69999999;
  206. hiddenSelections[]=
  207. {
  208. "camoGround",
  209. "camoMale",
  210. "camoFemale"
  211. };
  212. class ClothingTypes
  213. {
  214. male="\DZ\characters\pants\NBC_Pants_m.p3d";
  215. female="\DZ\characters\pants\NBC_Pants_f.p3d";
  216. };
  217. class DamageSystem
  218. {
  219. class GlobalHealth
  220. {
  221. class Health
  222. {
  223. hitpoints=100;
  224. healthLevels[]=
  225. {
  226.  
  227. {
  228. 1,
  229.  
  230. {
  231. "DZ\characters\pants\Data\NBC_Pants.rvmat"
  232. }
  233. },
  234.  
  235. {
  236. 0.69999999,
  237.  
  238. {
  239. "DZ\characters\pants\Data\NBC_Pants.rvmat"
  240. }
  241. },
  242.  
  243. {
  244. 0.5,
  245.  
  246. {
  247. "DZ\characters\pants\Data\NBC_Pants_damage.rvmat"
  248. }
  249. },
  250.  
  251. {
  252. 0.30000001,
  253.  
  254. {
  255. "DZ\characters\pants\Data\NBC_Pants_damage.rvmat"
  256. }
  257. },
  258.  
  259. {
  260. 0,
  261.  
  262. {
  263. "DZ\characters\pants\Data\NBC_Pants_destruct.rvmat"
  264. }
  265. }
  266. };
  267. };
  268. };
  269. };
  270. class AnimEvents
  271. {
  272. class SoundWeapon
  273. {
  274. class pickUpItem
  275. {
  276. soundSet="Shirt_pickup_SoundSet";
  277. id=797;
  278. };
  279. class drop
  280. {
  281. soundset="Shirt_drop_SoundSet";
  282. id=898;
  283. };
  284. };
  285. };
  286. };
  287. class NBCPantsGreen: NBCPantsBase
  288. {
  289. scope=2;
  290. visibilityModifier=0.69999999;
  291. hiddenSelectionsTextures[]=
  292. {
  293. "\NBCTest\data\NBCTest\NBC_Pants_green_co.paa",
  294. "\NBCTest\data\NBCTest\NBC_Pants_green_co.paa",
  295. "\NBCTest\data\NBCTest\NBC_Pants_green_co.paa"
  296. };
  297. };
  298. class NBCPantsBlue: NBCPantsBase
  299. {
  300. scope=2;
  301. visibilityModifier=0.69999999;
  302. hiddenSelectionsTextures[]=
  303. {
  304. "\NBCTest\data\NBCTest\NBC_Pants_blue_co.paa",
  305. "\NBCTest\data\NBCTest\NBC_Pants_blue_co.paa",
  306. "\NBCTest\data\NBCTest\NBC_Pants_blue_co.paa"
  307. };
  308. };
  309. class NBCBootsBase: Clothing
  310. {
  311. scope=0;
  312. displayName="$STR_CfgVehicles_NBCBootsBase0";
  313. descriptionShort="$STR_CfgVehicles_NBCBootsBase1";
  314. model="\DZ\characters\shoes\NBC_Boots_g.p3d";
  315. inventorySlot="Feet";
  316. itemInfo[]=
  317. {
  318. "Clothing",
  319. "Feet"
  320. };
  321. itemSize[]={3,2};
  322. weight=300;
  323. durability=0.5;
  324. absorbency=0.44999999;
  325. heatIsolation=0.69999999;
  326. soundAttType="Boots";
  327. hiddenSelections[]=
  328. {
  329. "camoGround",
  330. "camoMale",
  331. "camoFemale"
  332. };
  333. class ClothingTypes
  334. {
  335. male="\DZ\characters\shoes\NBC_Boots_m.p3d";
  336. female="\DZ\characters\shoes\NBC_Boots_f.p3d";
  337. };
  338. class DamageSystem
  339. {
  340. class GlobalHealth
  341. {
  342. class Health
  343. {
  344. hitpoints=100;
  345. healthLevels[]=
  346. {
  347.  
  348. {
  349. 1,
  350.  
  351. {
  352. "DZ\characters\shoes\Data\NBC_Boots.rvmat"
  353. }
  354. },
  355.  
  356. {
  357. 0.69999999,
  358.  
  359. {
  360. "DZ\characters\shoes\Data\NBC_Boots.rvmat"
  361. }
  362. },
  363.  
  364. {
  365. 0.5,
  366.  
  367. {
  368. "DZ\characters\shoes\Data\NBC_Boots_damage.rvmat"
  369. }
  370. },
  371.  
  372. {
  373. 0.30000001,
  374.  
  375. {
  376. "DZ\characters\shoes\Data\NBC_Boots_damage.rvmat"
  377. }
  378. },
  379.  
  380. {
  381. 0,
  382.  
  383. {
  384. "DZ\characters\shoes\Data\NBC_Boots_destruct.rvmat"
  385. }
  386. }
  387. };
  388. };
  389. };
  390. class GlobalArmor
  391. {
  392. class Melee
  393. {
  394. class Health
  395. {
  396. damage=0.89999998;
  397. };
  398. class Blood
  399. {
  400. damage=0.89999998;
  401. };
  402. class Shock
  403. {
  404. damage=0.89999998;
  405. };
  406. };
  407. class Infected
  408. {
  409. class Health
  410. {
  411. damage=0.89999998;
  412. };
  413. class Blood
  414. {
  415. damage=0.89999998;
  416. };
  417. class Shock
  418. {
  419. damage=0.89999998;
  420. };
  421. };
  422. };
  423. };
  424. };
  425. class NBCBootsGreen: NBCBootsBase
  426. {
  427. scope=2;
  428. visibilityModifier=0.69999999;
  429. hiddenSelectionsTextures[]=
  430. {
  431. "\NBCTest\data\NBCTest\NBC_Boots_green_co.paa",
  432. "\NBCTest\data\NBCTest\NBC_Boots_green_co.paa",
  433. "\NBCTest\data\NBCTest\NBC_Boots_green_co.paa"
  434.  
  435. };
  436. };
  437. class NBCBootsBlue: NBCBootsBase
  438. {
  439. scope=2;
  440. visibilityModifier=0.69999999;
  441. hiddenSelectionsTextures[]=
  442. {
  443. "\NBCTest\data\NBCTest\NBC_Boots_blue_co.paa",
  444. "\NBCTest\data\NBCTest\NBC_Boots_blue_co.paa",
  445. "\NBCTest\data\NBCTest\NBC_Boots_blue_co.paa"
  446.  
  447. };
  448. };
  449. class NBCHoodBase: Clothing
  450. {
  451. scope=0;
  452. displayName="$STR_CfgVehicles_NBCHoodBase0";
  453. descriptionShort="$STR_CfgVehicles_NBCHoodBase1";
  454. model="\DZ\characters\headgear\NBC_Hood_g.p3d";
  455. inventorySlot="Headgear";
  456. simulation="clothing";
  457. vehicleClass="Clothing";
  458. itemInfo[]=
  459. {
  460. "Clothing",
  461. "Headgear"
  462. };
  463. weight=460;
  464. itemSize[]={3,2};
  465. absorbency=0;
  466. heatIsolation=0.5;
  467. headSelectionsToHide[]=
  468. {
  469. "Clipping_NBC_Hood"
  470. };
  471. hiddenSelections[]=
  472. {
  473. "camoGround",
  474. "camoMale",
  475. "camoFemale"
  476. };
  477. class ClothingTypes
  478. {
  479. male="\DZ\characters\headgear\NBC_Hood_m.p3d";
  480. female="\DZ\characters\headgear\NBC_Hood_f.p3d";
  481. };
  482. class AnimEvents
  483. {
  484. class SoundWeapon
  485. {
  486. class pickUpItem
  487. {
  488. soundSet="DarkMotoHelmet_pickup_SoundSet";
  489. id=797;
  490. };
  491. class drop
  492. {
  493. soundset="DarkMotoHelmet_drop_SoundSet";
  494. id=898;
  495. };
  496. };
  497. };
  498. };
  499. class NBCHoodGreen: NBCHoodBase
  500. {
  501. scope=2;
  502. hiddenSelectionsTextures[]=
  503. {
  504. "\NBCTest\data\NBCTest\NBC_Hood_green_co.paa",
  505. "\NBCTest\data\NBCTest\NBC_Hood_green_co.paa",
  506. "\NBCTest\data\NBCTest\NBC_Hood_green_co.paa"
  507. };
  508. };
  509. class NBCHoodGreen: NBCHoodBase
  510. {
  511. scope=2;
  512. hiddenSelectionsTextures[]=
  513. {
  514. "\NBCTest\data\NBCTest\NBC_Hood_blue_co.paa",
  515. "\NBCTest\data\NBCTest\NBC_Hood_blue_co.paa",
  516. "\NBCTest\data\NBCTest\NBC_Hood_blue_co.paa"
  517. };
  518. };
  519. class NBCGloves_ColorBase: Clothing
  520. {
  521. scope=0;
  522. displayName="$STR_cfgvehicles_nbcglovesbase0";
  523. descriptionShort="$STR_cfgvehicles_nbcglovesbase1";
  524. model="\DZ\characters\gloves\NBC_Gloves_g.p3d";
  525. inventorySlot="Gloves";
  526. simulation="clothing";
  527. itemInfo[]=
  528. {
  529. "Clothing",
  530. "Gloves"
  531. };
  532. weight=454;
  533. itemSize[]={3,2};
  534. absorbency=0.40000001;
  535. heatIsolation=0.25;
  536. repairableWithKits[]={5,2};
  537. repairCosts[]={30,25};
  538. class ClothingTypes
  539. {
  540. male="\DZ\characters\gloves\NBC_Gloves_m.p3d";
  541. female="\DZ\characters\gloves\NBC_Gloves_f.p3d";
  542. };
  543. class DamageSystem
  544. {
  545. class GlobalHealth
  546. {
  547. class Health
  548. {
  549. hitpoints=100;
  550. healthLevels[]=
  551. {
  552.  
  553. {
  554. 1,
  555.  
  556. {
  557. "DZ\Characters\gloves\data\NBC_Gloves.rvmat"
  558. }
  559. },
  560.  
  561. {
  562. 0.69999999,
  563.  
  564. {
  565. "DZ\Characters\gloves\data\NBC_Gloves.rvmat"
  566. }
  567. },
  568.  
  569. {
  570. 0.5,
  571.  
  572. {
  573. "DZ\Characters\gloves\data\NBC_Gloves_damage.rvmat"
  574. }
  575. },
  576.  
  577. {
  578. 0.30000001,
  579.  
  580. {
  581. "DZ\Characters\gloves\data\NBC_Gloves_damage.rvmat"
  582. }
  583. },
  584.  
  585. {
  586. 0,
  587.  
  588. {
  589. "DZ\Characters\gloves\data\NBC_Gloves_destruct.rvmat"
  590. }
  591. }
  592. };
  593. };
  594. };
  595. };
  596. hiddenSelections[]=
  597. {
  598. "camoGround",
  599. "camoMale",
  600. "camoFemale",
  601. "personality"
  602. };
  603. class AnimEvents
  604. {
  605. class SoundWeapon
  606. {
  607. class pickUpItem
  608. {
  609. soundSet="WorkingGloves_pickup_SoundSet";
  610. id=797;
  611. };
  612. class drop
  613. {
  614. soundset="WorkingGloves_drop_SoundSet";
  615. id=898;
  616. };
  617. };
  618. };
  619. };
  620. class NBCGlovesGreen: NBCGloves_ColorBase
  621. {
  622. scope=2;
  623. visibilityModifier=0.80000001;
  624. hiddenSelectionsTextures[]=
  625. {
  626. "\NBCTest\data\NBCTest\NBC_Gloves_green_co.paa",
  627. "\NBCTest\data\NBCTest\Data\NBC_Gloves_green_co.paa",
  628. "\NBCTest\data\NBCTest\NBC_Gloves_green_co.paa"
  629. };
  630. };
  631. class NBCGlovesBlue: NBCGloves_ColorBase
  632. {
  633. scope=2;
  634. visibilityModifier=0.80000001;
  635. hiddenSelectionsTextures[]=
  636. {
  637. "\NBCTest\data\NBCTest\NBC_Gloves_blue_co.paa",
  638. "\NBCTest\data\NBCTest\Data\NBC_Gloves_blue_co.paa",
  639. "\NBCTest\data\NBCTest\NBC_Gloves_blue_co.paa"
  640. };
  641. };
  642. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement