Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.97 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class MRC
  4. {
  5. units[]={};
  6. weapons[]=
  7. {
  8. "MRC_Black",
  9. "MRC_Green",
  10. "MRC_GL_Black",
  11. "MRC_GL_Green"
  12. };
  13. requiredVersion=0.1;
  14. requiredAddons[]=
  15. {
  16. "A3_Weapons_F",
  17. "KA_Weapon_Functions"
  18. };
  19. };
  20. };
  21. class CfgMods
  22. {
  23. class Mod_Base;
  24. class KICKASS: Mod_Base
  25. {
  26. picture="\tb_arifle_MRC\KA_logo.paa";
  27. logo="\tb_arifle_MRC\KA_logo.paa";
  28. logoOver="\tb_arifle_MRC\KA_logo.paa";
  29. logoSmall="\tb_arifle_MRC\KA_logo.paa";
  30. name="KICKASS MOD";
  31. hideName="true";
  32. actionName="QQ";
  33. action="307752601";
  34. author="KICKASS";
  35. timepacked="1426373691";
  36. dlcColor[]={0.19,0.54000002,0.80000001,1};
  37. dir="KICKASS";
  38. };
  39. author="76561198063512811";
  40. timepacked="1485854607";
  41. };
  42. class CfgCloudlets
  43. {
  44. class Default;
  45. class KA_RifleAmmoCloud: Default
  46. {
  47. interval=0.0049999999;
  48. circleRadius=0;
  49. circleVelocity[]={0,0,0};
  50. particleShape="\A3\data_f\ParticleEffects\Universal\Universal";
  51. particleFSNtieth=16;
  52. particleFSIndex=12;
  53. particleFSFrameCount=8;
  54. particleFSLoop=1;
  55. angleVar=0.5;
  56. animationName="";
  57. particleType="Billboard";
  58. timerPeriod=1;
  59. lifeTime=0.44999999;
  60. moveVelocity[]=
  61. {
  62. "-0.15*directionX",
  63. "-0.15*directionY",
  64. "-0.15*directionZ"
  65. };
  66. rotationVelocity=1;
  67. weight=0.052999999;
  68. volume=0.039999999;
  69. rubbing=0.1;
  70. size[]={0.25,0.5};
  71. color[]=
  72. {
  73. {0.1,0.1,0.1,0.30000001},
  74. {0.1,0.1,0.1,0.15000001},
  75. {0.1,0.1,0.1,0.059999999},
  76. {0.1,0.1,0.1,0.0099999998}
  77. };
  78. animationSpeed[]={1.2};
  79. randomDirectionPeriod=0.1;
  80. randomDirectionIntensity=0.079999998;
  81. onTimerScript="";
  82. beforeDestroyScript="";
  83. destroyOnWaterSurface=1;
  84. blockAIVisibility=0;
  85. sizeCoef=0.2;
  86. colorCoef[]={1,1,1,0.60000002};
  87. animationSpeedCoef=1;
  88. position[]=
  89. {
  90. "positionX",
  91. "positionY",
  92. "positionZ"
  93. };
  94. lifeTimeVar=0;
  95. positionVar[]={0,0,0};
  96. MoveVelocityVar[]={0.029999999,0.029999999,0.029999999};
  97. rotationVelocityVar=20;
  98. sizeVar=0;
  99. colorVar[]={0,0,0,0};
  100. randomDirectionPeriodVar=0;
  101. randomDirectionIntensityVar=0;
  102. };
  103. class KA_RifleSmokeTrail: Default
  104. {
  105. interval=0.059999999;
  106. circleRadius=0;
  107. circleVelocity[]={0,0,0};
  108. particleShape="\A3\data_f\ParticleEffects\Universal\Refract";
  109. particleFSNtieth=1;
  110. particleFSIndex=0;
  111. particleFSFrameCount=1;
  112. particleFSLoop=0;
  113. angleVar=0.5;
  114. animationName="";
  115. particleType="SpaceObject";
  116. timerPeriod=1;
  117. lifeTime=10;
  118. moveVelocity[]=
  119. {
  120. "-directionX/1",
  121. "-directionY/1",
  122. "-directionZ/1"
  123. };
  124. rotationVelocity=1;
  125. weight=6;
  126. volume=1;
  127. rubbing=0;
  128. size[]={1.8};
  129. color[]=
  130. {
  131. {0.89999998,0.89999998,0.89999998,0.039999999},
  132. {0.89999998,0.89999998,0.89999998,0.017999999},
  133. {0.89999998,0.89999998,0.89999998,0.0060000001},
  134. {0.89999998,0.89999998,0.89999998,0.001}
  135. };
  136. animationSpeed[]={1000};
  137. randomDirectionPeriod=0.1;
  138. randomDirectionIntensity=0.050000001;
  139. onTimerScript="";
  140. beforeDestroyScript="";
  141. destroyOnWaterSurface=1;
  142. bounceOnSurface=0.1;
  143. bounceOnSurfaceVar=0.12;
  144. blockAIVisibility=0;
  145. sizeCoef=1;
  146. colorCoef[]={1,1,1,1};
  147. animationSpeedCoef=1;
  148. position[]=
  149. {
  150. "positionX",
  151. "positionY",
  152. "positionZ"
  153. };
  154. lifeTimeVar=0;
  155. positionVar[]={0,0,0};
  156. MoveVelocityVar[]={0.15000001,0.15000001,0.15000001};
  157. rotationVelocityVar=1;
  158. sizeVar=0;
  159. colorVar[]={0,0,0,0};
  160. randomDirectionPeriodVar=0;
  161. randomDirectionIntensityVar=0;
  162. };
  163. class ObjectDestructionFire1Small;
  164. class KA_IncinerateFire: ObjectDestructionFire1Small
  165. {
  166. coreIntensity=3.75;
  167. coreDistance=2;
  168. damageTime=0.1;
  169. constantDistance=1;
  170. damageType="Fire";
  171. size[]=
  172. {
  173. "1.2 * 0.15 + 1",
  174. "0.1 * 0.15 + 0.2"
  175. };
  176. animationSpeedCoef=1;
  177. sizeCoef=1;
  178. animationSpeed[]={1};
  179. beforeDestroyScript="\KA_weapon_functions\incinerateFire_burnAmmoBox_large.sqf";
  180. };
  181. class KA_HeatHaze: Default
  182. {
  183. interval=0.0049999999;
  184. circleRadius=0;
  185. circleVelocity[]={0,0,0};
  186. particleShape="\A3\data_f\ParticleEffects\Universal\Refract";
  187. particleFSNtieth=1;
  188. particleFSIndex=0;
  189. particleFSFrameCount=1;
  190. particleFSLoop=0;
  191. angleVar=1;
  192. animationName="";
  193. particleType="Billboard";
  194. timerPeriod=1.1;
  195. lifeTime=3;
  196. moveVelocity[]=
  197. {
  198. "-0.15*directionX",
  199. "-0.15*directionY",
  200. "-0.15*directionZ"
  201. };
  202. rotationVelocity=1;
  203. weight=1.2;
  204. volume=1;
  205. rubbing=0.1;
  206. size[]={0.1,0.15000001};
  207. color[]=
  208. {
  209. {0.059999999,0.059999999,0.059999999,0.31999999},
  210. {0.30000001,0.30000001,0.30000001,0.28},
  211. {0.30000001,0.30000001,0.30000001,0.25},
  212. {0.30000001,0.30000001,0.30000001,0.22},
  213. {0.30000001,0.30000001,0.30000001,0.1}
  214. };
  215. colorCoef[]={1,1,1,1};
  216. animationSpeed[]={2,1};
  217. randomDirectionPeriod=0.1;
  218. randomDirectionIntensity=0.050000001;
  219. onTimerScript="";
  220. beforeDestroyScript="";
  221. destroyOnWaterSurface=1;
  222. blockAIVisibility=0;
  223. sizeCoef=0.5;
  224. animationSpeedCoef=1;
  225. position[]=
  226. {
  227. "positionX",
  228. "positionY",
  229. "positionZ"
  230. };
  231. lifeTimeVar=0;
  232. positionVar[]={0,0,0};
  233. MoveVelocityVar[]={0,0,0};
  234. rotationVelocityVar=20;
  235. sizeVar=0.050000001;
  236. colorVar[]={0,0,0,0};
  237. randomDirectionPeriodVar=0;
  238. randomDirectionIntensityVar=0;
  239. };
  240. };
  241. class KA_FAE_Explosion
  242. {
  243. class Light1
  244. {
  245. simulation="light";
  246. type="GrenadeExploLight";
  247. position[]={0,0,0};
  248. intensity=0.0099999998;
  249. interval=1;
  250. lifeTime=1;
  251. };
  252. class MortarExp1
  253. {
  254. simulation="particles";
  255. type="MortarExp";
  256. position[]={0,0,0};
  257. intensity=1;
  258. interval=1;
  259. lifeTime=0.5;
  260. };
  261. class FAECloud1
  262. {
  263. simulation="particles";
  264. type="CloudSmallLight";
  265. position[]={0,0,0};
  266. intensity=1;
  267. interval=1;
  268. lifeTime=1;
  269. };
  270. class FAESmoke1
  271. {
  272. simulation="particles";
  273. type="CloudBigDark";
  274. position[]={0,0,0};
  275. intensity=1;
  276. interval=1;
  277. lifeTime=1;
  278. };
  279. };
  280. class KA_IncinerateFire
  281. {
  282. class SmokeShellWhite
  283. {
  284. simulation="particles";
  285. type="SmokeShellWhite";
  286. position[]={0,0,0};
  287. intensity=1;
  288. interval=1;
  289. };
  290. class Fire1
  291. {
  292. simulation="particles";
  293. type="KA_IncinerateFire";
  294. position[]={0,0,0};
  295. intensity=1;
  296. interval=1;
  297. };
  298. };
  299. class KA_RifleAmmoCloud
  300. {
  301. class KA_RifleAmmoCloud
  302. {
  303. simulation="particles";
  304. type="KA_RifleAmmoCloud";
  305. position[]={0,0,0};
  306. intensity=1;
  307. interval=1;
  308. lifeTime=0.050000001;
  309. };
  310. };
  311. class KA_RifleSmokeTrail
  312. {
  313. class KA_RifleSmokeTrail
  314. {
  315. simulation="particles";
  316. type="KA_RifleSmokeTrail";
  317. position[]={0,0,0};
  318. intensity=1;
  319. interval=1;
  320. lifeTime=0.050000001;
  321. };
  322. };
  323. class KA_BarrelRefract
  324. {
  325. class KA_HeatHaze
  326. {
  327. simulation="particles";
  328. type="KA_HeatHaze";
  329. position[]={0,0,0};
  330. intensity=1;
  331. interval=1;
  332. lifeTime=0.5;
  333. qualityLevel=2;
  334. };
  335. };
  336. class CfgMagazines
  337. {
  338. class 30Rnd_556x45_Stanag;
  339. class MRC_492x34_B_skin1: 30Rnd_556x45_Stanag
  340. {
  341. ammo="MRC_492x34_Ball";
  342. count=50;
  343. descriptionshort="Caliber: 4.92x34mm <br />Rounds: 50<br />Simple Round (Ball)<br />Used in: MRC";
  344. displayname="4.92x34mm 50rnd Magazine (Ball)";
  345. displayNameShort="Ball";
  346. initspeed=930;
  347. lastroundstracer=0;
  348. picture="\tb_arifle_MRC\UI\gear_MRC_mag_ca.paa";
  349. author="KICKASS";
  350. dlc="KICKASS";
  351. model="\tb_arifle_MRC\MRC_mag.p3d";
  352. scope=2;
  353. tracersevery=0;
  354. };
  355. class MRC_492x34_RT_skin1: MRC_492x34_B_skin1
  356. {
  357. ammo="MRC_492x34_RTracer";
  358. descriptionshort="Caliber: 4.92x34mm <br />Rounds: 50<br />Tracers (Red)<br />Used in: MRC";
  359. displayname="4.92x34mm 50rnd Magazine (Tracers)";
  360. displayNameShort="Tracers Red";
  361. initspeed=930;
  362. tracersEvery=1;
  363. lastRoundsTracer=75;
  364. picture="\tb_arifle_MRC\UI\gear_MRC_mag2_ca.paa";
  365. author="KICKASS";
  366. dlc="KICKASS";
  367. model="\tb_arifle_MRC\MRC_mag.p3d";
  368. };
  369. class 1Rnd_HE_Grenade_shell;
  370. class 1Rnd_Flechette_Cartridge_Grenade_shell: 1Rnd_HE_Grenade_shell
  371. {
  372. author="KICKASS";
  373. dlc="KICKASS";
  374. scope=2;
  375. displayName="Flechette Cartridge 40mm";
  376. displayNameShort="M1001";
  377. picture="\tb_arifle_MRC\UI\M1001_GL.paa";
  378. ammo="40mm_Flechette_Cartridge";
  379. initSpeed=453;
  380. };
  381. };
  382. class CfgAmmo
  383. {
  384. class BulletBase;
  385. class B_556x45_Ball;
  386. class MRC_492x34_Ball: B_556x45_Ball
  387. {
  388. hit=9.000001;
  389. cartridge="FxCartridge";
  390. visibleFire=4;
  391. audibleFire=6;
  392. cost=1.2;
  393. airLock=1;
  394. typicalSpeed=930;
  395. caliber=2.8769231;
  396. nvgonly=1;
  397. model="\A3\Weapons_f\Data\bullettracer\tracer_white";
  398. tracerScale=1;
  399. tracerStartTime=0.050000001;
  400. tracerEndTime=1;
  401. airFriction=-0.00057849998;
  402. ACE_caliber=4.9229999;
  403. ACE_bulletLength=21.496;
  404. ACE_bulletMass=5.3400002;
  405. ACE_ammoTempMuzzleVelocityShifts[]={-26.549999,-25.469999,-22.85,-20.120001,-16.98,-12.8,-7.6399999,-1.53,5.96,15.17,26.190001};
  406. ACE_ballisticCoefficients[]={0.243};
  407. ACE_velocityBoundaries[]={};
  408. ACE_standardAtmosphere="ICAO";
  409. ACE_dragModel=7;
  410. ACE_muzzleVelocities[]={750,780,790,794};
  411. ACE_barrelLengths[]={406.39999,508,609.59998,660.40002};
  412. class CamShakeFire
  413. {
  414. power=0;
  415. duration=0;
  416. frequency=0;
  417. distance=0;
  418. };
  419. class CamShakePlayerFire
  420. {
  421. power=0;
  422. duration=0;
  423. frequency=0;
  424. distance=0;
  425. };
  426. };
  427. class MRC_492x34_RTracer: MRC_492x34_Ball
  428. {
  429. nvgonly=0;
  430. model="\A3\Weapons_f\Data\bullettracer\tracer_red";
  431. tracerScale=1;
  432. tracerStartTime=0.0059199999;
  433. };
  434. class 40mm_Flechette_Cartridge: BulletBase
  435. {
  436. simulation="shotSpread";
  437. hit=4.5;
  438. indirectHit=0;
  439. indirectHitRange=0;
  440. cartridge="FxCartridge_slug";
  441. cost=2;
  442. typicalSpeed=396;
  443. visibleFire=18;
  444. audibleFire=18;
  445. airFriction=-0.0049999999;
  446. caliber=0.5;
  447. class CamShakeFire
  448. {
  449. power=3;
  450. duration=0.5;
  451. frequency=20;
  452. distance=30;
  453. };
  454. class CamShakePlayerFire
  455. {
  456. power=0.15000001;
  457. duration=0.1;
  458. frequency=20;
  459. };
  460. };
  461. };
  462. class Mode_SemiAuto;
  463. class Mode_Burst;
  464. class Mode_FullAuto;
  465. class MuzzleSlot;
  466. class SlotInfo;
  467. class CowsSlot;
  468. class PointerSlot;
  469. class asdg_OpticRail1913;
  470. class UnderBarrelSlot;
  471. class CfgWeapons
  472. {
  473. class ItemCore;
  474. class InventoryUnderItem_Base_F;
  475. class MRC_GL_Scope: ItemCore
  476. {
  477. scope=2;
  478. displayName="GL_Scope";
  479. model="\tb_arifle_MRC\MRC_GL_Scope.p3d";
  480. picture="\tb_arifle_MRC\UI\GL_Scope.paa";
  481. author="KICKASS";
  482. dlc="KICKASS";
  483. class ItemInfo: InventoryUnderItem_Base_F
  484. {
  485. deployedPivot="bipod";
  486. hasBipod="true";
  487. mass=10;
  488. inertia=0.2;
  489. };
  490. };
  491. class muzzle_snds_H;
  492. class MRC_Silencer: muzzle_snds_H
  493. {
  494. displayName="MRC Silencer";
  495. visibleFire=0.039999999;
  496. audibleFire=0.015;
  497. model="\tb_arifle_MRC\MRC_Silencer.p3d";
  498. picture="\tb_arifle_MRC\UI\MRC_Silencer.paa";
  499. author="KICKASS";
  500. dlc="KICKASS";
  501. };
  502. class InventoryFlashLightItem_Base_F;
  503. class KA_MRC_Laser_IR: ItemCore
  504. {
  505. author="KICKASS";
  506. dlc="KICKASS";
  507. _generalMacro="KA_MRC_Laser_IR";
  508. scope=2;
  509. displayName="MRC Laser IR";
  510. descriptionUse="MRC";
  511. picture="\tb_arifle_MRC\UI\Laser_Flashlight.paa";
  512. model="\tb_arifle_MRC\MRC_laser_flashlight.p3d";
  513. descriptionShort="Laser IR";
  514. class ItemInfo: InventoryFlashLightItem_Base_F
  515. {
  516. mass=6;
  517. class Pointer
  518. {
  519. irLaserPos="laser_pos";
  520. irLaserEnd="laser_dir";
  521. irDistance=5;
  522. };
  523. class FlashLight
  524. {
  525. };
  526. };
  527. inertia=0.1;
  528. MRT_SwitchItemNextClass="KA_MRC_Laser_RED";
  529. MRT_SwitchItemPrevClass="KA_MRC_Flashlight";
  530. MRT_SwitchItemHintText="Laser IR";
  531. };
  532. class KA_ANPEQ15_Black_Red;
  533. class KA_MRC_Laser_RED: KA_ANPEQ15_Black_Red
  534. {
  535. author="KICKASS";
  536. dlc="KICKASS";
  537. _generalMacro="KA_MRC_Laser_RED";
  538. displayName="MRC Laser RED";
  539. descriptionUse="MRC";
  540. picture="\tb_arifle_MRC\UI\Laser_Flashlight.paa";
  541. model="\tb_arifle_MRC\MRC_laser_flashlight.p3d";
  542. descriptionShort="Laser RED";
  543. AGM_SightBearLaser=1;
  544. AGM_LaserPointerType=1;
  545. AGM_LaserPointerRange=100;
  546. MRT_SwitchItemNextClass="KA_MRC_Laser_GREEN";
  547. MRT_SwitchItemPrevClass="KA_MRC_Laser_IR";
  548. MRT_SwitchItemHintText="Laser RED";
  549. };
  550. class KA_ANPEQ15_Black_Green;
  551. class KA_MRC_Laser_GREEN: KA_ANPEQ15_Black_Green
  552. {
  553. author="KICKASS";
  554. dlc="KICKASS";
  555. _generalMacro="KA_MRC_Laser_GREEN";
  556. displayName="MRC Laser GREEN";
  557. descriptionUse="MRC";
  558. picture="\tb_arifle_MRC\UI\Laser_Flashlight.paa";
  559. model="\tb_arifle_MRC\MRC_laser_flashlight.p3d";
  560. descriptionShort="Laser GREEN";
  561. AGM_SightBearLaser=1;
  562. AGM_LaserPointerType=2;
  563. AGM_LaserPointerRange=100;
  564. MRT_SwitchItemNextClass="KA_MRC_Flashlight";
  565. MRT_SwitchItemPrevClass="KA_MRC_Laser_RED";
  566. MRT_SwitchItemHintText="Laser GREEN";
  567. };
  568. class KA_MRC_Flashlight: ItemCore
  569. {
  570. author="KICKASS";
  571. dlc="KICKASS";
  572. _generalMacro="KA_MRC_Flashlight";
  573. scope=2;
  574. displayName="MRC Flashlight";
  575. descriptionUse="MRC";
  576. picture="\tb_arifle_MRC\UI\Laser_Flashlight.paa";
  577. model="\tb_arifle_MRC\MRC_flashlight_laser.p3d";
  578. descriptionShort="Flashlight";
  579. class ItemInfo: InventoryFlashLightItem_Base_F
  580. {
  581. class FlashLight
  582. {
  583. color[]={7000,7500,10000};
  584. ambient[]={6,9,9};
  585. intensity=2.5;
  586. size=1;
  587. innerAngle=20;
  588. outerAngle=80;
  589. coneFadeCoef=10;
  590. position="flash_dir";
  591. direction="flash_pos";
  592. useFlare=1;
  593. flareSize=1.5;
  594. flareMaxDistance="600.0f";
  595. dayLight=1;
  596. class Attenuation
  597. {
  598. start=0.5;
  599. constant=0;
  600. linear=0;
  601. quadratic=1;
  602. hardLimitStart=200;
  603. hardLimitEnd=300;
  604. };
  605. scale[]={0};
  606. };
  607. };
  608. MRT_SwitchItemNextClass="KA_MRC_Laser_IR";
  609. MRT_SwitchItemPrevClass="KA_MRC_Laser_GREEN";
  610. MRT_SwitchItemHintText="Flashlight";
  611. inertia=0.1;
  612. };
  613. class KA_MRC_Laser_IR_single: ItemCore
  614. {
  615. author="KICKASS";
  616. dlc="KICKASS";
  617. _generalMacro="KA_MRC_Laser_IR_single";
  618. scope=2;
  619. displayName="MRC Laser IR single";
  620. descriptionUse="MRC";
  621. picture="\tb_arifle_MRC\UI\Laser.paa";
  622. model="\tb_arifle_MRC\MRC_laser.p3d";
  623. descriptionShort="Laser IR";
  624. class ItemInfo: InventoryFlashLightItem_Base_F
  625. {
  626. mass=6;
  627. class Pointer
  628. {
  629. irLaserPos="laser_pos";
  630. irLaserEnd="laser_dir";
  631. irDistance=5;
  632. };
  633. class FlashLight
  634. {
  635. };
  636. };
  637. inertia=0.1;
  638. MRT_SwitchItemNextClass="KA_MRC_Laser_RED_single";
  639. MRT_SwitchItemPrevClass="KA_MRC_Laser_GREEN_single";
  640. MRT_SwitchItemHintText="Laser IR";
  641. };
  642. class KA_MRC_Laser_RED_single: KA_ANPEQ15_Black_Red
  643. {
  644. author="KICKASS";
  645. dlc="KICKASS";
  646. _generalMacro="KA_MRC_Laser_RED_single";
  647. displayName="MRC Laser RED";
  648. descriptionUse="MRC";
  649. picture="\tb_arifle_MRC\UI\Laser.paa";
  650. model="\tb_arifle_MRC\MRC_laser.p3d";
  651. descriptionShort="Laser RED";
  652. AGM_SightBearLaser=1;
  653. AGM_LaserPointerType=1;
  654. AGM_LaserPointerRange=100;
  655. MRT_SwitchItemNextClass="KA_MRC_Laser_GREEN_single";
  656. MRT_SwitchItemPrevClass="KA_MRC_Laser_IR_single";
  657. MRT_SwitchItemHintText="Laser RED";
  658. };
  659. class KA_MRC_Laser_GREEN_single: KA_ANPEQ15_Black_Green
  660. {
  661. author="KICKASS";
  662. dlc="KICKASS";
  663. _generalMacro="KA_MRC_Laser_GREEN_single";
  664. displayName="MRC Laser GREEN";
  665. descriptionUse="MRC";
  666. picture="\tb_arifle_MRC\UI\Laser.paa";
  667. model="\tb_arifle_MRC\MRC_laser.p3d";
  668. descriptionShort="Laser GREEN";
  669. AGM_SightBearLaser=1;
  670. AGM_LaserPointerType=2;
  671. AGM_LaserPointerRange=100;
  672. MRT_SwitchItemNextClass="KA_MRC_Laser_IR_single";
  673. MRT_SwitchItemPrevClass="KA_MRC_Laser_RED_single";
  674. MRT_SwitchItemHintText="Laser GREEN";
  675. };
  676. class KA_MRC_Flashlight_single: ItemCore
  677. {
  678. author="KICKASS";
  679. dlc="KICKASS";
  680. _generalMacro="KA_MRC_Flashlight_single";
  681. scope=2;
  682. displayName="MRC Flashlight single";
  683. descriptionUse="MRC";
  684. picture="\tb_arifle_MRC\UI\Flashlight.paa";
  685. model="\tb_arifle_MRC\MRC_flashlight.p3d";
  686. descriptionShort="Flashlight";
  687. class ItemInfo: InventoryFlashLightItem_Base_F
  688. {
  689. class FlashLight
  690. {
  691. color[]={7000,7500,10000};
  692. ambient[]={6,9,9};
  693. intensity=2.5;
  694. size=1;
  695. innerAngle=20;
  696. outerAngle=80;
  697. coneFadeCoef=10;
  698. position="flash_dir";
  699. direction="flash_pos";
  700. useFlare=1;
  701. flareSize=1.5;
  702. flareMaxDistance="600.0f";
  703. dayLight=1;
  704. class Attenuation
  705. {
  706. start=0.5;
  707. constant=0;
  708. linear=0;
  709. quadratic=1;
  710. hardLimitStart=200;
  711. hardLimitEnd=300;
  712. };
  713. scale[]={0};
  714. };
  715. };
  716. inertia=0.1;
  717. };
  718. class Rifle;
  719. class Rifle_Base_F: Rifle
  720. {
  721. class WeaponSlotsInfo;
  722. class GunParticles;
  723. };
  724. class UGL_F;
  725. class MRC_base_F: Rifle_Base_F
  726. {
  727. scope=0;
  728. magazines[]=
  729. {
  730. "MRC_492x34_B_skin1",
  731. "MRC_492x34_RT_skin1"
  732. };
  733. reloadAction="GestureReloadDMR";
  734. recoil="recoil_smg_02";
  735. maxZeroing=1000;
  736. dlc="KICKASS";
  737. class GunParticles: GunParticles
  738. {
  739. class SmokeEffect
  740. {
  741. positionName="usti hlavne";
  742. directionName="usti hlavne";
  743. effectName="KA_RifleSmokeTrail";
  744. };
  745. };
  746. class WeaponSlotsInfo: WeaponSlotsInfo
  747. {
  748. class MuzzleSlot: MuzzleSlot
  749. {
  750. linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
  751. compatibleItems[]=
  752. {
  753. "MRC_Silencer"
  754. };
  755. iconPicture="\tb_arifle_MRC\ui\attachment_muzzle.paa";
  756. iconPosition[]={0,0.40000001};
  757. iconPinpoint="Center";
  758. iconScale=0.2;
  759. };
  760. class CowsSlot: asdg_OpticRail1913
  761. {
  762. linkProxy="\A3\data_f\proxies\weapon_slots\TOP";
  763. iconPicture="\tb_arifle_MRC\ui\attachment_top2.paa";
  764. iconPosition[]={0.5,0.30000001};
  765. iconPinpoint="Bottom";
  766. iconScale=0.2;
  767. };
  768. class PointerSlot: PointerSlot
  769. {
  770. linkProxy="\A3\data_f\proxies\weapon_slots\SIDE";
  771. compatibleItems[]=
  772. {
  773. "KA_MRC_Laser_IR",
  774. "KA_MRC_Laser_RED",
  775. "KA_MRC_Laser_GREEN",
  776. "KA_MRC_Flashlight",
  777. "KA_MRC_Laser_IR_single",
  778. "KA_MRC_Laser_RED_single",
  779. "KA_MRC_Laser_GREEN_single",
  780. "KA_MRC_Flashlight_single"
  781. };
  782. iconPicture="\tb_arifle_MRC\ui\attachment_side.paa";
  783. iconPinpoint="Center";
  784. iconPosition[]={0.2,0.40000001};
  785. iconScale=0.2;
  786. };
  787. class UnderBarrelSlot: UnderBarrelSlot
  788. {
  789. linkProxy="\A3\Data_f_Mark\proxies\weapon_slots\UNDERBARREL";
  790. compatibleItems[]=
  791. {
  792. "MRC_GL_Scope"
  793. };
  794. iconPicture="\tb_arifle_MRC\ui\attachment_bipod.paa";
  795. iconPinpoint="Center";
  796. iconPosition[]={0.40000001,0.5};
  797. iconScale=0.2;
  798. };
  799. mass=60;
  800. };
  801. distanceZoomMin=300;
  802. distanceZoomMax=300;
  803. descriptionShort="$STR_A3_CFGWEAPONS_MRC_BASE_F0";
  804. handAnim[]=
  805. {
  806. "OFP2_ManSkeleton",
  807. "\A3\Weapons_F_beta\rifles\mk20\data\Anim\mk20.rtm"
  808. };
  809. bullet1[]=
  810. {
  811. "A3\sounds_f\weapons\shells\7_62\metal_762_01",
  812. 0,
  813. 0,
  814. 0
  815. };
  816. bullet2[]=
  817. {
  818. "A3\sounds_f\weapons\shells\7_62\metal_762_02",
  819. 0,
  820. 0,
  821. 0
  822. };
  823. bullet3[]=
  824. {
  825. "A3\sounds_f\weapons\shells\7_62\metal_762_03",
  826. 0,
  827. 0,
  828. 0
  829. };
  830. bullet4[]=
  831. {
  832. "A3\sounds_f\weapons\shells\7_62\metal_762_04",
  833. 0,
  834. 0,
  835. 0
  836. };
  837. bullet5[]=
  838. {
  839. "A3\sounds_f\weapons\shells\7_62\dirt_762_01",
  840. 0,
  841. 0,
  842. 0
  843. };
  844. bullet6[]=
  845. {
  846. "A3\sounds_f\weapons\shells\7_62\dirt_762_02",
  847. 0,
  848. 0,
  849. 0
  850. };
  851. bullet7[]=
  852. {
  853. "A3\sounds_f\weapons\shells\7_62\dirt_762_03",
  854. 0,
  855. 0,
  856. 0
  857. };
  858. bullet8[]=
  859. {
  860. "A3\sounds_f\weapons\shells\7_62\dirt_762_04",
  861. 0,
  862. 0,
  863. 0
  864. };
  865. bullet9[]=
  866. {
  867. "A3\sounds_f\weapons\shells\7_62\grass_762_01",
  868. 0,
  869. 0,
  870. 0
  871. };
  872. bullet10[]=
  873. {
  874. "A3\sounds_f\weapons\shells\7_62\grass_762_02",
  875. 0,
  876. 0,
  877. 0
  878. };
  879. bullet11[]=
  880. {
  881. "A3\sounds_f\weapons\shells\7_62\grass_762_03",
  882. 0,
  883. 0,
  884. 0
  885. };
  886. bullet12[]=
  887. {
  888. "A3\sounds_f\weapons\shells\7_62\grass_762_04",
  889. 0,
  890. 0,
  891. 0
  892. };
  893. soundBullet[]=
  894. {
  895. "bullet1",
  896. 0,
  897. "bullet2",
  898. 0,
  899. "bullet3",
  900. 0,
  901. "bullet4",
  902. 0,
  903. "bullet5",
  904. 0,
  905. "bullet6",
  906. 0,
  907. "bullet7",
  908. 0,
  909. "bullet8",
  910. 0,
  911. "bullet9",
  912. 0,
  913. "bullet10",
  914. 0,
  915. "bullet11",
  916. 0,
  917. "bullet12",
  918. 0
  919. };
  920. modes[]=
  921. {
  922. "Single",
  923. "Burst",
  924. "FullAuto",
  925. "fullauto_medium",
  926. "single_medium_optics1",
  927. "single_far_optics2"
  928. };
  929. drySound[]=
  930. {
  931. "tb_arifle_MRC\sound\empty2.ogg",
  932. 0.5,
  933. 1,
  934. 10
  935. };
  936. reloadMagazineSound[]=
  937. {
  938. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\DMR_01_Rahim\DMR_01_reload",
  939. 4,
  940. 1,
  941. 10
  942. };
  943. changeFiremodeSound[]=
  944. {
  945. "tb_arifle_MRC\sound\small5mon",
  946. 1,
  947. 1,
  948. 5
  949. };
  950. class Single: Mode_SemiAuto
  951. {
  952. scope=2;
  953. sounds[]=
  954. {
  955. "StandardSound",
  956. "SilencedSound"
  957. };
  958. class BaseSoundModeType
  959. {
  960. weaponSoundEffect="DefaultRifle";
  961. closure1[]=
  962. {
  963. "tb_arifle_MRC\sound\TRIG3.ogg",
  964. 0.5,
  965. 1,
  966. 10
  967. };
  968. closure2[]=
  969. {
  970. "tb_arifle_MRC\sound\TRIG3.ogg",
  971. 0.5,
  972. 1.2,
  973. 10
  974. };
  975. soundClosure[]=
  976. {
  977. "closure1",
  978. 0.69999999,
  979. "closure2",
  980. 0.30000001
  981. };
  982. };
  983. class StandardSound: BaseSoundModeType
  984. {
  985. begin1[]=
  986. {
  987. "tb_arifle_MRC\sound\TAVOR1.wss",
  988. 1.95,
  989. 0.98000002,
  990. 1800
  991. };
  992. begin2[]=
  993. {
  994. "tb_arifle_MRC\sound\TAVOR1.wss",
  995. 1.95,
  996. 0.98000002,
  997. 1800
  998. };
  999. soundBegin[]=
  1000. {
  1001. "begin1",
  1002. 0.5,
  1003. "begin2",
  1004. 0.5
  1005. };
  1006. class SoundTails
  1007. {
  1008. class TailInterior
  1009. {
  1010. sound[]=
  1011. {
  1012. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1013. 0.5,
  1014. 1,
  1015. 800
  1016. };
  1017. frequency=1;
  1018. volume="interior";
  1019. };
  1020. class TailTrees
  1021. {
  1022. sound[]=
  1023. {
  1024. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1025. 0.5,
  1026. 1,
  1027. 800
  1028. };
  1029. frequency=1;
  1030. volume="(1-interior/1.4)*trees";
  1031. };
  1032. class TailForest
  1033. {
  1034. sound[]=
  1035. {
  1036. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1037. 0.5,
  1038. 1,
  1039. 800
  1040. };
  1041. frequency=1;
  1042. volume="(1-interior/1.4)*forest";
  1043. };
  1044. class TailMeadows
  1045. {
  1046. sound[]=
  1047. {
  1048. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1049. 0.5,
  1050. 1,
  1051. 800
  1052. };
  1053. frequency=1;
  1054. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1055. };
  1056. class TailHouses
  1057. {
  1058. sound[]=
  1059. {
  1060. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1061. 0.5,
  1062. 1,
  1063. 800
  1064. };
  1065. frequency=1;
  1066. volume="(1-interior/1.4)*houses";
  1067. };
  1068. };
  1069. };
  1070. class SilencedSound: BaseSoundModeType
  1071. {
  1072. begin1[]=
  1073. {
  1074. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1075. 1.4,
  1076. 1,
  1077. 900
  1078. };
  1079. begin2[]=
  1080. {
  1081. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1082. 1.4,
  1083. 1.15,
  1084. 900
  1085. };
  1086. soundBegin[]=
  1087. {
  1088. "begin1",
  1089. 0.5,
  1090. "begin2",
  1091. 0.5
  1092. };
  1093. class SoundTails
  1094. {
  1095. class TailInterior
  1096. {
  1097. sound[]=
  1098. {
  1099. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1100. 0.2,
  1101. 1,
  1102. 300
  1103. };
  1104. frequency=1;
  1105. volume="interior";
  1106. };
  1107. class TailTrees
  1108. {
  1109. sound[]=
  1110. {
  1111. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1112. 0.2,
  1113. 1,
  1114. 300
  1115. };
  1116. frequency=1;
  1117. volume="(1-interior/1.4)*trees";
  1118. };
  1119. class TailForest
  1120. {
  1121. sound[]=
  1122. {
  1123. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1124. 0.2,
  1125. 1,
  1126. 300
  1127. };
  1128. frequency=1;
  1129. volume="(1-interior/1.4)*forest";
  1130. };
  1131. class TailMeadows
  1132. {
  1133. sound[]=
  1134. {
  1135. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1136. 0.2,
  1137. 1,
  1138. 300
  1139. };
  1140. frequency=1;
  1141. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1142. };
  1143. class TailHouses
  1144. {
  1145. sound[]=
  1146. {
  1147. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1148. 0.2,
  1149. 1,
  1150. 300
  1151. };
  1152. frequency=1;
  1153. volume="(1-interior/1.4)*houses";
  1154. };
  1155. };
  1156. };
  1157. reloadTime=0.1;
  1158. recoil="recoil_single_smg_02";
  1159. recoilProne="recoil_single_prone_smg_02";
  1160. dispersion=9.9999997e-005;
  1161. minRange=2;
  1162. minRangeProbab=0.5;
  1163. midRange=150;
  1164. midRangeProbab=0.69999999;
  1165. maxRange=300;
  1166. maxRangeProbab=0.2;
  1167. };
  1168. class Burst: Mode_Burst
  1169. {
  1170. sounds[]=
  1171. {
  1172. "StandardSound",
  1173. "SilencedSound"
  1174. };
  1175. class BaseSoundModeType
  1176. {
  1177. weaponSoundEffect="DefaultRifle";
  1178. closure1[]=
  1179. {
  1180. "tb_arifle_MRC\sound\TRIG3.ogg",
  1181. 0.5,
  1182. 1,
  1183. 10
  1184. };
  1185. closure2[]=
  1186. {
  1187. "tb_arifle_MRC\sound\TRIG3.ogg",
  1188. 0.5,
  1189. 1.2,
  1190. 10
  1191. };
  1192. soundClosure[]=
  1193. {
  1194. "closure1",
  1195. 0.69999999,
  1196. "closure2",
  1197. 0.30000001
  1198. };
  1199. };
  1200. class StandardSound: BaseSoundModeType
  1201. {
  1202. begin1[]=
  1203. {
  1204. "tb_arifle_MRC\sound\TAVOR1.wss",
  1205. 1.95,
  1206. 0.98000002,
  1207. 1800
  1208. };
  1209. begin2[]=
  1210. {
  1211. "tb_arifle_MRC\sound\TAVOR1.wss",
  1212. 1.95,
  1213. 0.98000002,
  1214. 1800
  1215. };
  1216. soundBegin[]=
  1217. {
  1218. "begin1",
  1219. 0.5,
  1220. "begin2",
  1221. 0.5
  1222. };
  1223. class SoundTails
  1224. {
  1225. class TailInterior
  1226. {
  1227. sound[]=
  1228. {
  1229. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1230. 0.5,
  1231. 1,
  1232. 800
  1233. };
  1234. frequency=1;
  1235. volume="interior";
  1236. };
  1237. class TailTrees
  1238. {
  1239. sound[]=
  1240. {
  1241. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1242. 0.5,
  1243. 1,
  1244. 800
  1245. };
  1246. frequency=1;
  1247. volume="(1-interior/1.4)*trees";
  1248. };
  1249. class TailForest
  1250. {
  1251. sound[]=
  1252. {
  1253. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1254. 0.5,
  1255. 1,
  1256. 800
  1257. };
  1258. frequency=1;
  1259. volume="(1-interior/1.4)*forest";
  1260. };
  1261. class TailMeadows
  1262. {
  1263. sound[]=
  1264. {
  1265. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1266. 0.5,
  1267. 1,
  1268. 800
  1269. };
  1270. frequency=1;
  1271. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1272. };
  1273. class TailHouses
  1274. {
  1275. sound[]=
  1276. {
  1277. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1278. 0.5,
  1279. 1,
  1280. 800
  1281. };
  1282. frequency=1;
  1283. volume="(1-interior/1.4)*houses";
  1284. };
  1285. };
  1286. };
  1287. class SilencedSound: BaseSoundModeType
  1288. {
  1289. begin1[]=
  1290. {
  1291. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1292. 1.4,
  1293. 1,
  1294. 900
  1295. };
  1296. begin2[]=
  1297. {
  1298. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1299. 1.4,
  1300. 1.15,
  1301. 900
  1302. };
  1303. soundBegin[]=
  1304. {
  1305. "begin1",
  1306. 0.5,
  1307. "begin2",
  1308. 0.5
  1309. };
  1310. class SoundTails
  1311. {
  1312. class TailInterior
  1313. {
  1314. sound[]=
  1315. {
  1316. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1317. 0.2,
  1318. 1,
  1319. 300
  1320. };
  1321. frequency=1;
  1322. volume="interior";
  1323. };
  1324. class TailTrees
  1325. {
  1326. sound[]=
  1327. {
  1328. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1329. 0.2,
  1330. 1,
  1331. 300
  1332. };
  1333. frequency=1;
  1334. volume="(1-interior/1.4)*trees";
  1335. };
  1336. class TailForest
  1337. {
  1338. sound[]=
  1339. {
  1340. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1341. 0.2,
  1342. 1,
  1343. 300
  1344. };
  1345. frequency=1;
  1346. volume="(1-interior/1.4)*forest";
  1347. };
  1348. class TailMeadows
  1349. {
  1350. sound[]=
  1351. {
  1352. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1353. 0.2,
  1354. 1,
  1355. 300
  1356. };
  1357. frequency=1;
  1358. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1359. };
  1360. class TailHouses
  1361. {
  1362. sound[]=
  1363. {
  1364. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1365. 0.2,
  1366. 1,
  1367. 300
  1368. };
  1369. frequency=1;
  1370. volume="(1-interior/1.4)*houses";
  1371. };
  1372. };
  1373. };
  1374. soundBurst=0;
  1375. burst=3;
  1376. reloadTime=0.029999999;
  1377. recoil="recoil_single_smg_02";
  1378. recoilProne="recoil_single_prone_smg_02";
  1379. dispersion=9.9999997e-005;
  1380. minRange=2;
  1381. minRangeProbab=0.5;
  1382. midRange=300;
  1383. midRangeProbab=0.69999999;
  1384. maxRange=500;
  1385. maxRangeProbab=0.2;
  1386. aiRateOfFire=1;
  1387. aiRateOfFireDistance=250;
  1388. };
  1389. class FullAuto: Mode_FullAuto
  1390. {
  1391. sounds[]=
  1392. {
  1393. "StandardSound",
  1394. "SilencedSound"
  1395. };
  1396. class BaseSoundModeType
  1397. {
  1398. weaponSoundEffect="DefaultRifle";
  1399. closure1[]=
  1400. {
  1401. "tb_arifle_MRC\sound\TRIG3.ogg",
  1402. 0.5,
  1403. 1,
  1404. 10
  1405. };
  1406. closure2[]=
  1407. {
  1408. "tb_arifle_MRC\sound\TRIG3.ogg",
  1409. 0.5,
  1410. 1.2,
  1411. 10
  1412. };
  1413. soundClosure[]=
  1414. {
  1415. "closure1",
  1416. 0.69999999,
  1417. "closure2",
  1418. 0.30000001
  1419. };
  1420. };
  1421. class StandardSound: BaseSoundModeType
  1422. {
  1423. begin1[]=
  1424. {
  1425. "tb_arifle_MRC\sound\TAVOR1.wss",
  1426. 1.95,
  1427. 0.98000002,
  1428. 1800
  1429. };
  1430. begin2[]=
  1431. {
  1432. "tb_arifle_MRC\sound\TAVOR1.wss",
  1433. 1.95,
  1434. 0.98000002,
  1435. 1800
  1436. };
  1437. soundBegin[]=
  1438. {
  1439. "begin1",
  1440. 0.5,
  1441. "begin2",
  1442. 0.5
  1443. };
  1444. class SoundTails
  1445. {
  1446. class TailInterior
  1447. {
  1448. sound[]=
  1449. {
  1450. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1451. 0.5,
  1452. 1,
  1453. 800
  1454. };
  1455. frequency=1;
  1456. volume="interior";
  1457. };
  1458. class TailTrees
  1459. {
  1460. sound[]=
  1461. {
  1462. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1463. 0.5,
  1464. 1,
  1465. 800
  1466. };
  1467. frequency=1;
  1468. volume="(1-interior/1.4)*trees";
  1469. };
  1470. class TailForest
  1471. {
  1472. sound[]=
  1473. {
  1474. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1475. 0.5,
  1476. 1,
  1477. 800
  1478. };
  1479. frequency=1;
  1480. volume="(1-interior/1.4)*forest";
  1481. };
  1482. class TailMeadows
  1483. {
  1484. sound[]=
  1485. {
  1486. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1487. 0.5,
  1488. 1,
  1489. 800
  1490. };
  1491. frequency=1;
  1492. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1493. };
  1494. class TailHouses
  1495. {
  1496. sound[]=
  1497. {
  1498. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1499. 0.5,
  1500. 1,
  1501. 800
  1502. };
  1503. frequency=1;
  1504. volume="(1-interior/1.4)*houses";
  1505. };
  1506. };
  1507. };
  1508. class SilencedSound: BaseSoundModeType
  1509. {
  1510. begin1[]=
  1511. {
  1512. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1513. 1.4,
  1514. 1,
  1515. 900
  1516. };
  1517. begin2[]=
  1518. {
  1519. "tb_arifle_MRC\sound\SUPRESSOR6.wss",
  1520. 1.4,
  1521. 1.15,
  1522. 900
  1523. };
  1524. soundBegin[]=
  1525. {
  1526. "begin1",
  1527. 0.5,
  1528. "begin2",
  1529. 0.5
  1530. };
  1531. class SoundTails
  1532. {
  1533. class TailInterior
  1534. {
  1535. sound[]=
  1536. {
  1537. "tb_arifle_MRC\sound\ZAM_interior.ogg",
  1538. 0.2,
  1539. 1,
  1540. 300
  1541. };
  1542. frequency=1;
  1543. volume="interior";
  1544. };
  1545. class TailTrees
  1546. {
  1547. sound[]=
  1548. {
  1549. "tb_arifle_MRC\sound\ZAM_trees.ogg",
  1550. 0.2,
  1551. 1,
  1552. 300
  1553. };
  1554. frequency=1;
  1555. volume="(1-interior/1.4)*trees";
  1556. };
  1557. class TailForest
  1558. {
  1559. sound[]=
  1560. {
  1561. "tb_arifle_MRC\sound\ZAM_forest.ogg",
  1562. 0.2,
  1563. 1,
  1564. 300
  1565. };
  1566. frequency=1;
  1567. volume="(1-interior/1.4)*forest";
  1568. };
  1569. class TailMeadows
  1570. {
  1571. sound[]=
  1572. {
  1573. "tb_arifle_MRC\sound\ZAM_medows.ogg",
  1574. 0.2,
  1575. 1,
  1576. 300
  1577. };
  1578. frequency=1;
  1579. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  1580. };
  1581. class TailHouses
  1582. {
  1583. sound[]=
  1584. {
  1585. "tb_arifle_MRC\sound\ZAM_house.ogg",
  1586. 0.2,
  1587. 1,
  1588. 300
  1589. };
  1590. frequency=1;
  1591. volume="(1-interior/1.4)*houses";
  1592. };
  1593. };
  1594. };
  1595. reloadTime=0.1;
  1596. recoil="recoil_single_smg_02";
  1597. recoilProne="recoil_single_prone_smg_02";
  1598. dispersion=9.9999997e-005;
  1599. minRange=2;
  1600. minRangeProbab=0.89999998;
  1601. midRange=15;
  1602. midRangeProbab=0.69999999;
  1603. maxRange=30;
  1604. maxRangeProbab=0.1;
  1605. aiRateOfFire=1e-006;
  1606. };
  1607. class fullauto_medium: FullAuto
  1608. {
  1609. showToPlayer=0;
  1610. burst=3;
  1611. minRange=2;
  1612. minRangeProbab=0.5;
  1613. midRange=75;
  1614. midRangeProbab=0.69999999;
  1615. maxRange=100;
  1616. maxRangeProbab=0.050000001;
  1617. aiRateOfFire=2;
  1618. aiRateOfFireDistance=200;
  1619. };
  1620. class single_medium_optics1: Single
  1621. {
  1622. requiredOpticType=1;
  1623. showToPlayer=0;
  1624. minRange=5;
  1625. minRangeProbab=0.2;
  1626. midRange=350;
  1627. midRangeProbab=0.69999999;
  1628. maxRange=500;
  1629. maxRangeProbab=0.30000001;
  1630. aiRateOfFire=5;
  1631. aiRateOfFireDistance=500;
  1632. };
  1633. class single_far_optics2: single_medium_optics1
  1634. {
  1635. requiredOpticType=2;
  1636. minRange=100;
  1637. minRangeProbab=0.2;
  1638. midRange=550;
  1639. midRangeProbab=0.69999999;
  1640. maxRange=700;
  1641. maxRangeProbab=0.050000001;
  1642. aiRateOfFire=7;
  1643. aiRateOfFireDistance=700;
  1644. };
  1645. class MRC_M203: UGL_F
  1646. {
  1647. displayName="M203 grenade launcher";
  1648. descriptionShort="M203";
  1649. useModelOptics="false";
  1650. useExternalOptic="false";
  1651. muzzleend="konec granatometu";
  1652. muzzlepos="usti granatometu";
  1653. cameraDir="OP_look";
  1654. reloadMagazineSound[]=
  1655. {
  1656. "A3\Sounds_F\arsenal\weapons\Rifles\Mk20\MK20_UGL_reload",
  1657. 0.79432821,
  1658. 1,
  1659. 10
  1660. };
  1661. reloadAction="GestureReloadMk20UGL";
  1662. magazines[]=
  1663. {
  1664. "1Rnd_HE_Grenade_shell",
  1665. "3Rnd_HE_Grenade_shell",
  1666. "KA_40mm_M7A3",
  1667. "KA_40mm_MKnKJ",
  1668. "KA_40mm_M14",
  1669. "KA_40mm_M814",
  1670. "1Rnd_Flechette_Cartridge_Grenade_shell",
  1671. "UGL_FlareWhite_F",
  1672. "UGL_FlareGreen_F",
  1673. "UGL_FlareRed_F",
  1674. "UGL_FlareYellow_F",
  1675. "UGL_FlareCIR_F",
  1676. "1Rnd_Smoke_Grenade_shell",
  1677. "1Rnd_SmokeRed_Grenade_shell",
  1678. "1Rnd_SmokeGreen_Grenade_shell",
  1679. "1Rnd_SmokeYellow_Grenade_shell",
  1680. "1Rnd_SmokePurple_Grenade_shell",
  1681. "1Rnd_SmokeBlue_Grenade_shell",
  1682. "1Rnd_SmokeOrange_Grenade_shell",
  1683. "3Rnd_UGL_FlareWhite_F",
  1684. "3Rnd_UGL_FlareGreen_F",
  1685. "3Rnd_UGL_FlareRed_F",
  1686. "3Rnd_UGL_FlareYellow_F",
  1687. "3Rnd_UGL_FlareCIR_F",
  1688. "3Rnd_Smoke_Grenade_shell",
  1689. "3Rnd_SmokeRed_Grenade_shell",
  1690. "3Rnd_SmokeGreen_Grenade_shell",
  1691. "3Rnd_SmokeYellow_Grenade_shell",
  1692. "3Rnd_SmokePurple_Grenade_shell",
  1693. "3Rnd_SmokeBlue_Grenade_shell",
  1694. "3Rnd_SmokeOrange_Grenade_shell"
  1695. };
  1696. discreteDistance[]={50,100,150,200};
  1697. discreteDistanceCameraPoint[]=
  1698. {
  1699. "OP_eye",
  1700. "OP_eye2",
  1701. "OP_eye3",
  1702. "OP_eye4"
  1703. };
  1704. discreteDistanceInitIndex=1;
  1705. };
  1706. aiDispersionCoefY=6;
  1707. aiDispersionCoefX=4;
  1708. };
  1709. class MRC_GL_Black: MRC_base_F
  1710. {
  1711. author="KICKASS";
  1712. dlc="KICKASS";
  1713. _generalMacro="MRC_GL_Black";
  1714. handAnim[]=
  1715. {
  1716. "OFP2_ManSkeleton",
  1717. "\A3\Weapons_F_beta\Rifles\MK20\Data\Anim\mk20G.rtm"
  1718. };
  1719. scope=2;
  1720. model="\tb_arifle_MRC\MRC_GL_Black.p3d";
  1721. muzzles[]=
  1722. {
  1723. "this",
  1724. "MRC_M203"
  1725. };
  1726. displayName="MRC GL BLK 4.92x34mm Caseless";
  1727. picture="\tb_arifle_MRC\UI\MRC_GL_Black.paa";
  1728. class Library
  1729. {
  1730. libTextDesc="MRC GL BLK 4.92x34mm Caseless";
  1731. };
  1732. descriptionShort="MRC GL BLK";
  1733. inertia=0.5;
  1734. dexterity=5.5;
  1735. recoil="recoil_smg_02";
  1736. };
  1737. class MRC_GL_Green: MRC_GL_Black
  1738. {
  1739. author="KICKASS";
  1740. dlc="KICKASS";
  1741. _generalMacro="MRC_GL_Green";
  1742. scope=2;
  1743. model="\tb_arifle_MRC\MRC_GL_Green.p3d";
  1744. muzzles[]=
  1745. {
  1746. "this",
  1747. "MRC_M203"
  1748. };
  1749. displayName="MRC GL GRN 4.92x34mm Caseless";
  1750. picture="\tb_arifle_MRC\UI\MRC_GL_Green.paa";
  1751. class Library
  1752. {
  1753. libTextDesc="MRC GL GRN 4.92x34mm Caseless";
  1754. };
  1755. descriptionShort="MRC GL GRN";
  1756. };
  1757. class MRC_Black: MRC_GL_Black
  1758. {
  1759. author="KICKASS";
  1760. dlc="KICKASS";
  1761. _generalMacro="MRC_Black";
  1762. scope=2;
  1763. model="\tb_arifle_MRC\MRC_Black.p3d";
  1764. handAnim[]=
  1765. {
  1766. "OFP2_ManSkeleton",
  1767. "\A3\Weapons_F_beta\Rifles\MK20\Data\Anim\mk20.rtm"
  1768. };
  1769. muzzles[]=
  1770. {
  1771. "this"
  1772. };
  1773. displayName="MRC BLK 4.92x34mm Caseless";
  1774. picture="\tb_arifle_MRC\UI\MRC_Black.paa";
  1775. class Library
  1776. {
  1777. libTextDesc="MRC BLK 4.92x34mm Caseless";
  1778. };
  1779. descriptionShort="MRC BLK";
  1780. class WeaponSlotsInfo: WeaponSlotsInfo
  1781. {
  1782. class MuzzleSlot: MuzzleSlot
  1783. {
  1784. linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
  1785. compatibleItems[]=
  1786. {
  1787. "MRC_Silencer"
  1788. };
  1789. iconPicture="\tb_arifle_MRC\ui\attachment_muzzle.paa";
  1790. iconPosition[]={0,0.40000001};
  1791. iconPinpoint="Center";
  1792. iconScale=0.2;
  1793. };
  1794. class CowsSlot: asdg_OpticRail1913
  1795. {
  1796. linkProxy="\A3\data_f\proxies\weapon_slots\TOP";
  1797. iconPicture="\tb_arifle_MRC\ui\attachment_top2.paa";
  1798. iconPosition[]={0.5,0.30000001};
  1799. iconPinpoint="Bottom";
  1800. iconScale=0.2;
  1801. };
  1802. class PointerSlot: PointerSlot
  1803. {
  1804. linkProxy="\A3\data_f\proxies\weapon_slots\SIDE";
  1805. compatibleItems[]=
  1806. {
  1807. "KA_MRC_Laser_IR",
  1808. "KA_MRC_Laser_RED",
  1809. "KA_MRC_Laser_GREEN",
  1810. "KA_MRC_Flashlight",
  1811. "KA_MRC_Laser_IR_single",
  1812. "KA_MRC_Laser_RED_single",
  1813. "KA_MRC_Laser_GREEN_single",
  1814. "KA_MRC_Flashlight_single"
  1815. };
  1816. iconPicture="\tb_arifle_MRC\ui\attachment_side.paa";
  1817. iconPinpoint="Center";
  1818. iconPosition[]={0.2,0.40000001};
  1819. iconScale=0.2;
  1820. };
  1821. class UnderBarrelSlot
  1822. {
  1823. };
  1824. mass=60;
  1825. };
  1826. };
  1827. class MRC_Green: MRC_GL_Black
  1828. {
  1829. author="KICKASS";
  1830. dlc="KICKASS";
  1831. _generalMacro="MRC_Green";
  1832. scope=2;
  1833. model="\tb_arifle_MRC\MRC_Green.p3d";
  1834. muzzles[]=
  1835. {
  1836. "this"
  1837. };
  1838. displayName="MRC GRN 4.92x34mm Caseless";
  1839. picture="\tb_arifle_MRC\UI\MRC_Green.paa";
  1840. handAnim[]=
  1841. {
  1842. "OFP2_ManSkeleton",
  1843. "\A3\Weapons_F_beta\Rifles\MK20\Data\Anim\mk20.rtm"
  1844. };
  1845. class Library
  1846. {
  1847. libTextDesc="MRC GRN 4.92x34mm Caseless";
  1848. };
  1849. descriptionShort="MRC GRN";
  1850. class WeaponSlotsInfo: WeaponSlotsInfo
  1851. {
  1852. class MuzzleSlot: MuzzleSlot
  1853. {
  1854. linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
  1855. compatibleItems[]=
  1856. {
  1857. "MRC_Silencer"
  1858. };
  1859. iconPicture="\tb_arifle_MRC\ui\attachment_muzzle.paa";
  1860. iconPosition[]={0,0.40000001};
  1861. iconPinpoint="Center";
  1862. iconScale=0.2;
  1863. };
  1864. class CowsSlot: asdg_OpticRail1913
  1865. {
  1866. linkProxy="\A3\data_f\proxies\weapon_slots\TOP";
  1867. iconPicture="\tb_arifle_MRC\ui\attachment_top2.paa";
  1868. iconPosition[]={0.5,0.30000001};
  1869. iconPinpoint="Bottom";
  1870. iconScale=0.2;
  1871. };
  1872. class PointerSlot: PointerSlot
  1873. {
  1874. linkProxy="\A3\data_f\proxies\weapon_slots\SIDE";
  1875. compatibleItems[]=
  1876. {
  1877. "KA_MRC_Laser_IR",
  1878. "KA_MRC_Laser_RED",
  1879. "KA_MRC_Laser_GREEN",
  1880. "KA_MRC_Flashlight",
  1881. "KA_MRC_Laser_IR_single",
  1882. "KA_MRC_Laser_RED_single",
  1883. "KA_MRC_Laser_GREEN_single",
  1884. "KA_MRC_Flashlight_single"
  1885. };
  1886. iconPicture="\tb_arifle_MRC\ui\attachment_side.paa";
  1887. iconPinpoint="Center";
  1888. iconPosition[]={0.2,0.40000001};
  1889. iconScale=0.2;
  1890. };
  1891. class UnderBarrelSlot
  1892. {
  1893. };
  1894. mass=60;
  1895. };
  1896. };
  1897. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement