config.cpp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. #define COMPONENT muzzleacc
  2. #define scope_magnification(zoom) 0.25/zoom
  3. #include "../../RD501_main/config_macros.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_accxxx
  7. {
  8. author="RD501";
  9. addonRootClass = MACRO_QUOTE(RD501_patch_weapons);
  10. requiredAddons[]=
  11. {
  12. RD501_patch_weapons
  13. };
  14. requiredVersion=0.1;
  15. units[]={};
  16. weapons[]={
  17. "RD501_muzzle_flash"
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class InventoryMuzzleItem_Base_F;
  24. class ItemCore;
  25. class RD501_muzzle_flash:ItemCore
  26. {
  27. scope=2;
  28. scopeInArsenal=2;
  29. author="RD501";
  30. displayName="Flash Hider Chip";
  31. model="";
  32. picture="\RD501_weapons\_acc\data\icon_flashhider.paa";
  33. class ItemInfo: InventoryMuzzleItem_Base_F
  34. {
  35. mass=10;
  36. class MagazineCoef
  37. {
  38. initSpeed=1.0;
  39. };
  40. class AmmoCoef
  41. {
  42. hit=1;
  43. typicalSpeed=1;
  44. airFriction=1;
  45. visibleFire=1;
  46. audibleFire=1;
  47. visibleFireTime=1;
  48. audibleFireTime=1;
  49. cost = 1.0;
  50. };
  51. soundTypeIndex=0;
  52. muzzleEnd="zaslehPoint";
  53. alternativeFire="Zasleh2";
  54. class MuzzleCoef
  55. {
  56. dispersionCoef=1.0;
  57. artilleryDispersionCoef=1.0;
  58. fireLightCoef=0.1;
  59. recoilCoef=1.0;
  60. recoilProneCoef=1.0;
  61. minRangeCoef=1.0;
  62. minRangeProbabCoef=1.0;
  63. midRangeCoef=1.0;
  64. midRangeProbabCoef=1.0;
  65. maxRangeCoef=1.0;
  66. maxRangeProbabCoef=1.0;
  67. };
  68. };
  69. inertia=0.1;
  70. };
  71. class RD501_acc_particle_condenser: ItemCore
  72. {
  73. author="RD501";
  74. htMin=1;
  75. htMax=600;
  76. afMax=0;
  77. mfMax=0;
  78. mFact=1;
  79. tBody=100;
  80. scope=2;
  81. displayName="Particle Condenser Chip";
  82. picture="\RD501_weapons\_acc\data\icon_yellow_chip_64.paa";
  83. model="";
  84. class ItemInfo: InventoryMuzzleItem_Base_F
  85. {
  86. mass=10;
  87. class MagazineCoef
  88. {
  89. initSpeed=0.75;
  90. };
  91. class AmmoCoef
  92. {
  93. hit=1;
  94. typicalSpeed=0.75;
  95. airFriction=1;
  96. visibleFire=1;
  97. audibleFire=1;
  98. visibleFireTime=1;
  99. audibleFireTime=1;
  100. cost=1;
  101. };
  102. soundTypeIndex=0;
  103. muzzleEnd="zaslehPoint";
  104. alternativeFire="Zasleh2";
  105. class MuzzleCoef
  106. {
  107. dispersionCoef="0.5f";
  108. artilleryDispersionCoef="1.0f";
  109. fireLightCoef="1.0f";
  110. recoilCoef="1.0f";
  111. recoilProneCoef="1.0f";
  112. minRangeCoef="1.0f";
  113. minRangeProbabCoef="1.0f";
  114. midRangeCoef="1.0f";
  115. midRangeProbabCoef="1.0f";
  116. maxRangeCoef="1.0f";
  117. maxRangeProbabCoef="1.0f";
  118. };
  119. };
  120. inertia=0.2;
  121. };
  122. class RD501_acc_particle_accelerator: ItemCore
  123. {
  124. author="RD501";
  125. htMin=1;
  126. htMax=600;
  127. afMax=0;
  128. mfMax=0;
  129. mFact=1;
  130. tBody=100;
  131. scope=2;
  132. displayName="Particle Accelerator Chip";
  133. picture="\RD501_weapons\_acc\data\icon_red_chip_64.paa";
  134. model="";
  135. class ItemInfo: InventoryMuzzleItem_Base_F
  136. {
  137. mass=10;
  138. class MagazineCoef
  139. {
  140. initSpeed=1.5;
  141. };
  142. class AmmoCoef
  143. {
  144. hit=1;
  145. typicalSpeed=1.5;
  146. airFriction=1;
  147. visibleFire=1;
  148. audibleFire=1;
  149. visibleFireTime=1;
  150. audibleFireTime=1;
  151. cost=1;
  152. };
  153. soundTypeIndex=0;
  154. muzzleEnd="zaslehPoint";
  155. alternativeFire="Zasleh2";
  156. class MuzzleCoef
  157. {
  158. dispersionCoef="2.0f";
  159. artilleryDispersionCoef="1.0f";
  160. fireLightCoef="1.0f";
  161. recoilCoef="1.0f";
  162. recoilProneCoef="1.0f";
  163. minRangeCoef="1.0f";
  164. minRangeProbabCoef="1.0f";
  165. midRangeCoef="1.0f";
  166. midRangeProbabCoef="1.0f";
  167. maxRangeCoef="1.0f";
  168. maxRangeProbabCoef="1.0f";
  169. };
  170. };
  171. inertia=0.2;
  172. };
  173. /////////////////////////////////////////////////////////////////
  174. ////////////////////////////Optics///////////////////////////////
  175. /////////////////////////////////////////////////////////////////
  176. class optic_DMS:ItemCore
  177. {
  178. class ItemInfo;
  179. };
  180. class optic_Hamr:ItemCore
  181. {
  182. class ItemInfo;
  183. };
  184. class RD501_RCO: optic_Hamr
  185. {
  186. author="RD501";
  187. scope=2;
  188. displayName="Short Range Scope A";
  189. picture="\RD501_weapons\_acc\data\rd501_ico_sr_01_ca.paa";
  190. model="\RD501_weapons\_acc\data\rd501_hamr_1.p3d";
  191. descriptionShort="HAMR SR 2-4x Scope";
  192. weaponInfoType="RscOptics_sos";
  193. class ItemInfo: ItemInfo
  194. {
  195. mass=8;
  196. opticType=1;
  197. optics=1;
  198. modelOptics="\RD501_weapons\_acc\data\rd501_hamr_scope_1";
  199. class OpticsModes
  200. {
  201. class Hamr2Collimator
  202. {
  203. opticsID=1;
  204. useModelOptics=0;
  205. opticsPPEffects[]=
  206. {
  207. "Default"
  208. };
  209. opticsFlare=0;
  210. opticsDisablePeripherialVision=0;
  211. opticsZoomMin=0.25;
  212. opticsZoomMax=1.25;
  213. opticsZoomInit=0.75;
  214. memoryPointCamera="eye";
  215. visionMode[]={};
  216. distanceZoomMin=200;
  217. distanceZoomMax=200;
  218. };
  219. class Hamr2Scope
  220. {
  221. opticsID=2;
  222. useModelOptics=0;//0
  223. opticsPPEffects[]=
  224. {
  225. "OpticsCHAbera5",
  226. "OpticsBlur5"
  227. };
  228. opticsFlare=1;
  229. opticsDisablePeripherialVision=1;//1
  230. opticsZoomMin=scope_magnification(2);
  231. opticsZoomMax=scope_magnification(4);
  232. opticsZoomInit=scope_magnification(2);
  233. discreteinitIndex = 0;
  234. discretefov[] = {scope_magnification(2),scope_magnification(4)};
  235. discreteDistanceInitIndex = 1;
  236. memoryPointCamera="opticView";
  237. visionMode[]={};
  238. distanceZoomMin=300;
  239. distanceZoomMax=300;
  240. };
  241. };
  242. };
  243. inertia=0.1;
  244. };
  245. class RD501_RCO_2: RD501_RCO
  246. {
  247. picture="\RD501_weapons\_acc\data\rd501_ico_sr_02_ca.paa";
  248. model="\RD501_weapons\_acc\data\rd501_hamr_2.p3d";
  249. displayName="Short Range Scope B";
  250. class ItemInfo: ItemInfo
  251. {
  252. modelOptics="\RD501_weapons\_acc\data\RD501_hamr_scope_2";
  253. };
  254. };
  255. class RD501_RCO_3: RD501_RCO
  256. {
  257. picture="\RD501_weapons\_acc\data\rd501_ico_sr_03_ca.paa";
  258. model="\RD501_weapons\_acc\data\rd501_hamr_3.p3d";
  259. displayName="Short Range Scope C";
  260. class ItemInfo: ItemInfo
  261. {
  262. modelOptics="\RD501_weapons\_acc\data\RD501_hamr_scope_3";
  263. };
  264. };
  265. class optic_MRCO: ItemCore
  266. {
  267. class ItemInfo;
  268. };
  269. class RD501_MRCO: optic_MRCO
  270. {
  271. author="RD501";
  272. scope=2;
  273. displayName="Medium Range Scope A";
  274. picture="\RD501_weapons\_acc\data\rd501_ico_mr_01_ca.paa";
  275. model="\RD501_weapons\_acc\data\rd501_mrco_1.p3d";
  276. descriptionShort="MRCO MR 2-6x Scope";
  277. weaponInfoType="RscOptics_sos";
  278. class ItemInfo: ItemInfo
  279. {
  280. mass=8;
  281. opticType=1;
  282. optics=1;
  283. modelOptics="\RD501_weapons\_acc\data\rd501_mrco_scope_1.p3d";
  284. class OpticsModes
  285. {
  286. class MRCOcq
  287. {
  288. opticsID=1;
  289. useModelOptics=0;
  290. opticsPPEffects[]=
  291. {
  292. "Default"
  293. };
  294. opticsFlare=0;
  295. opticsDisablePeripherialVision=0;
  296. opticsZoomMin=0.25;
  297. opticsZoomMax=1.25;
  298. opticsZoomInit=0.75;
  299. memoryPointCamera="eye";
  300. visionMode[]={};
  301. distanceZoomMin=300;
  302. distanceZoomMax=300;
  303. };
  304. class MRCOscope
  305. {
  306. opticsID=2;
  307. useModelOptics=0;
  308. opticsPPEffects[]=
  309. {
  310. "OpticsCHAbera5",
  311. "OpticsBlur5"
  312. };
  313. opticsFlare=1;
  314. opticsDisablePeripherialVision=1;
  315. opticsZoomMin = scope_magnification(6);
  316. opticsZoomMax = scope_magnification(2);
  317. opticsZoomInit = scope_magnification(2);
  318. discreteinitIndex = 0;
  319. discretefov[] = {scope_magnification(2),scope_magnification(6)};
  320. discreteDistanceInitIndex = 1;
  321. memoryPointCamera="opticView";
  322. visionMode[]={};
  323. distanceZoomMin=300;
  324. distanceZoomMax=300;
  325. };
  326. };
  327. };
  328. inertia=0.1;
  329. };
  330. class RD501_MRCO_2: RD501_MRCO
  331. {
  332. picture="\RD501_weapons\_acc\data\rd501_ico_mr_02_ca.paa";
  333. model="\RD501_weapons\_acc\data\rd501_mrco_2.p3d";
  334. displayName="Medium Range Scope B";
  335. class ItemInfo: ItemInfo
  336. {
  337. modelOptics="\RD501_weapons\_acc\data\RD501_MRCO_scope_2";
  338. };
  339. };
  340. class RD501_MRCO_3: RD501_MRCO
  341. {
  342. picture="\RD501_weapons\_acc\data\rd501_ico_mr_03_ca.paa";
  343. model="\RD501_weapons\_acc\data\rd501_mrco_3.p3d";
  344. displayName="Medium Range Scope C";
  345. class ItemInfo: ItemInfo
  346. {
  347. modelOptics="\RD501_weapons\_acc\data\RD501_MRCO_scope_3";
  348. };
  349. };
  350. class optic_Holosight:ItemCore
  351. {
  352. class ItemInfo;
  353. };
  354. class RD501_Holosight: optic_Holosight
  355. {
  356. author="RD501";
  357. scope=2;
  358. displayName="Holo Sight A";
  359. picture="\RD501_weapons\_acc\data\rd501_ico_holo_01_ca.paa";
  360. model="\RD501_weapons\_acc\data\rd501_holo_1.p3d";
  361. descriptionShort="Holo 1x Scope";
  362. weaponInfoType="RscWeaponZeroing";
  363. class ItemInfo: ItemInfo
  364. {
  365. mass=6;
  366. modelOptics="\A3\Weapons_F\empty";
  367. optics=1;
  368. class OpticsModes
  369. {
  370. class ACO
  371. {
  372. opticsID=1;
  373. useModelOptics=0;
  374. opticsZoomMin=0.25;
  375. opticsZoomMax=1.25;
  376. opticsZoomInit=0.75;
  377. memoryPointCamera="eye";
  378. opticsFlare=0;
  379. opticsDisablePeripherialVision=0;
  380. distanceZoomMin=200;
  381. distanceZoomMax=200;
  382. cameraDir="";
  383. visionMode[]={};
  384. opticsPPEffects[]=
  385. {
  386. "OpticsBlur1"
  387. };
  388. };
  389. };
  390. };
  391. inertia=0;
  392. };
  393. class RD501_Holosight_2: RD501_Holosight
  394. {
  395. picture="\RD501_weapons\_acc\data\rd501_ico_holo_02_ca.paa";
  396. model="\RD501_weapons\_acc\data\rd501_holo_2.p3d";
  397. displayName="Holo Sight B";
  398. };
  399. class RD501_Holosight_3: RD501_Holosight
  400. {
  401. picture="\RD501_weapons\_acc\data\rd501_ico_holo_03_ca.paa";
  402. model="\RD501_weapons\_acc\data\rd501_holo_3.p3d";
  403. displayName="Holo Sight C";
  404. };
  405. class RD501_DMS: optic_DMS
  406. {
  407. author="RD501";
  408. _generalMacro="optic_DMS";
  409. scope=2;
  410. displayName="DMS LR 6-12x Scope A";
  411. picture="\RD501_weapons\_acc\data\rd501_ico_lr_01_ca.paa";
  412. model="\RD501_weapons\_acc\data\rd501_dms.p3d";
  413. descriptionShort="Long Range Scope";
  414. class ItemInfo: ItemInfo
  415. {
  416. mass=12;
  417. opticType=2;
  418. optics=1;
  419. modelOptics="\RD501_weapons\_acc\data\RD501_scope_DMS";
  420. class OpticsModes
  421. {
  422. class Snip
  423. {
  424. opticsID=1;
  425. useModelOptics=1;
  426. opticsPPEffects[]=
  427. {
  428. "OpticsCHAbera2",
  429. "OpticsBlur3"
  430. };
  431. opticsZoomMin = scope_magnification(12);
  432. opticsZoomMax = scope_magnification(6);
  433. opticsZoomInit = scope_magnification(6);
  434. discreteinitIndex = 0;
  435. discretefov[] = {scope_magnification(6),scope_magnification(12)};
  436. discreteDistanceInitIndex = 1;
  437. distanceZoomMin=300;
  438. distanceZoomMax=1200;
  439. memoryPointCamera="opticView";
  440. visionMode[]=
  441. {
  442. "Normal",
  443. "NVG"
  444. };
  445. thermalMode[]={5,6};
  446. opticsFlare=1;
  447. opticsDisablePeripherialVision=0;
  448. cameraDir="";
  449. };
  450. class Iron: Snip
  451. {
  452. opticsID=2;
  453. useModelOptics=0;
  454. opticsPPEffects[]=
  455. {
  456. "",
  457. ""
  458. };
  459. opticsFlare=0;
  460. opticsDisablePeripherialVision=0;
  461. opticsZoomMin=0.25;
  462. opticsZoomMax=1.25;
  463. opticsZoomInit=0.75;
  464. memoryPointCamera="opticView";
  465. visionMode[]={};
  466. discretefov[]={};
  467. distanceZoomMin=200;
  468. distanceZoomMax=200;
  469. discreteDistance[]={200};
  470. discreteDistanceInitIndex=0;
  471. };
  472. };
  473. };
  474. inertia=0.2;
  475. };
  476. class RD501_DMS_2: RD501_DMS
  477. {
  478. picture="\RD501_weapons\_acc\data\rd501_ico_lr_02_ca.paa";
  479. model="\RD501_weapons\_acc\data\rd501_dms_2.p3d";
  480. displayName="DMS LR 6-12x Scope B";
  481. class ItemInfo: ItemInfo
  482. {
  483. modelOptics="\RD501_weapons\_acc\data\RD501_scope2_DMS";
  484. };
  485. };
  486. class RD501_DMS_3: RD501_DMS
  487. {
  488. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  489. model="\RD501_weapons\_acc\data\rd501_dms_3.p3d";
  490. displayName="DMS LR 6-12x Scope C";
  491. class ItemInfo: ItemInfo
  492. {
  493. modelOptics="\RD501_weapons\_acc\data\RD501_scope3_DMS";
  494. };
  495. };
  496. class RD501_DMS_4: RD501_DMS
  497. {
  498. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  499. model="\RD501_weapons\_acc\data\rd501_dms_4.p3d";
  500. displayName="DMS LR 6-12x Scope D";
  501. class ItemInfo: ItemInfo
  502. {
  503. modelOptics="\RD501_weapons\_acc\data\RD501_scope4_DMS";
  504. };
  505. };
  506. class RD501_DMS_TI: optic_DMS
  507. {
  508. author="RD501";
  509. _generalMacro="optic_DMS";
  510. scope=2;
  511. displayName="DMS LR 6-12x Scope A";
  512. picture="\RD501_weapons\_acc\data\rd501_ico_lr_01_ca.paa";
  513. model="\RD501_weapons\_acc\data\rd501_dms.p3d";
  514. descriptionShort="Long Range Scope";
  515. class ItemInfo: ItemInfo
  516. {
  517. mass=12;
  518. opticType=2;
  519. optics=1;
  520. modelOptics="\RD501_weapons\_acc\data\RD501_scope_DMS";
  521. class OpticsModes
  522. {
  523. class Snip
  524. {
  525. opticsID=1;
  526. useModelOptics=1;
  527. opticsPPEffects[]=
  528. {
  529. "OpticsCHAbera2",
  530. "OpticsBlur3"
  531. };
  532. opticsZoomMin = scope_magnification(12);
  533. opticsZoomMax = scope_magnification(6);
  534. opticsZoomInit = scope_magnification(6);
  535. discreteinitIndex = 0;
  536. discretefov[] = {scope_magnification(6),scope_magnification(12)};
  537. discreteDistanceInitIndex = 1;
  538. distanceZoomMin=300;
  539. distanceZoomMax=1200;
  540. memoryPointCamera="opticView";
  541. visionMode[]=
  542. {
  543. "Normal",
  544. "NVG",
  545. "Ti"
  546. };
  547. thermalMode[]={5,6};
  548. opticsFlare=1;
  549. opticsDisablePeripherialVision=0;
  550. cameraDir="";
  551. };
  552. class Iron: Snip
  553. {
  554. opticsID=2;
  555. useModelOptics=0;
  556. opticsPPEffects[]=
  557. {
  558. "",
  559. ""
  560. };
  561. opticsFlare=0;
  562. opticsDisablePeripherialVision=0;
  563. opticsZoomMin=0.25;
  564. opticsZoomMax=1.25;
  565. opticsZoomInit=0.75;
  566. memoryPointCamera="opticView";
  567. visionMode[]={};
  568. discretefov[]={};
  569. distanceZoomMin=200;
  570. distanceZoomMax=200;
  571. discreteDistance[]={200};
  572. discreteDistanceInitIndex=0;
  573. };
  574. };
  575. };
  576. inertia=0.2;
  577. };
  578. class RD501_DMS_2_TI: RD501_DMS_TI
  579. {
  580. picture="\RD501_weapons\_acc\data\rd501_ico_lr_02_ca.paa";
  581. model="\RD501_weapons\_acc\data\rd501_dms_2.p3d";
  582. displayName="DMS LR 6-12x Scope B";
  583. class ItemInfo: ItemInfo
  584. {
  585. modelOptics="\RD501_weapons\_acc\data\RD501_scope2_DMS";
  586. };
  587. };
  588. class RD501_DMS_3_TI: RD501_DMS_TI
  589. {
  590. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  591. model="\RD501_weapons\_acc\data\rd501_dms_3.p3d";
  592. displayName="DMS LR 6-12x Scope C";
  593. class ItemInfo: ItemInfo
  594. {
  595. modelOptics="\RD501_weapons\_acc\data\RD501_scope3_DMS";
  596. };
  597. };
  598. class RD501_DMS_4_TI: RD501_DMS_TI
  599. {
  600. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  601. model="\RD501_weapons\_acc\data\rd501_dms_4.p3d";
  602. displayName="DMS LR 6-12x Scope D";
  603. class ItemInfo: ItemInfo
  604. {
  605. modelOptics="\RD501_weapons\_acc\data\RD501_scope4_DMS";
  606. };
  607. };
  608. class optic_MRD:ItemCore
  609. {
  610. class ItemInfo;
  611. };
  612. class RD501_pistol: optic_MRD
  613. {
  614. author="RD501";
  615. scope=2;
  616. displayName="Pistol Holo A";
  617. picture="\RD501_weapons\_acc\data\rd501_ico_pistol_01_ca.paa";
  618. model="\RD501_weapons\_acc\data\rd501_pistol_1.p3d";
  619. descriptionShort="Pistol Scope";
  620. class ItemInfo: ItemInfo
  621. {
  622. mass=2;
  623. modelOptics="\A3\Weapons_F\empty";
  624. optics=1;
  625. class OpticsModes
  626. {
  627. class ACO
  628. {
  629. opticsID=1;
  630. useModelOptics=0;
  631. opticsZoomMin=0.25;
  632. opticsZoomMax=1.25;
  633. opticsZoomInit=0.75;
  634. memoryPointCamera="eye";
  635. opticsFlare=0;
  636. opticsDisablePeripherialVision=0;
  637. distanceZoomMin=50;
  638. distanceZoomMax=50;
  639. cameraDir="";
  640. visionMode[]={};
  641. opticsPPEffects[]=
  642. {
  643. "Default"
  644. };
  645. };
  646. };
  647. };
  648. inertia=0;
  649. };
  650. class RD501_pistol_2: RD501_pistol
  651. {
  652. picture="\RD501_weapons\_acc\data\rd501_ico_pistol_03_ca.paa";
  653. model="\RD501_weapons\_acc\data\rd501_pistol_3.p3d";
  654. displayName="Pistol Holo B";
  655. };
  656. class RD501_LRPS : optic_DMS
  657. {
  658. author="RD501";
  659. scope=2;
  660. displayName="LRPS LR 12-20x Scope";
  661. class ItemInfo:ItemInfo
  662. {
  663. mass=16;
  664. opticType=2;
  665. weaponInfoType="RscWeaponRangeZeroingFOV";
  666. optics=1;
  667. modelOptics="\A3\Weapons_F\acc\reticle_sniper_F";
  668. class OpticsModes
  669. {
  670. class Snip
  671. {
  672. opticsID=1;
  673. opticsDisplayName="WFOV";
  674. useModelOptics=1;
  675. opticsPPEffects[]=
  676. {
  677. "OpticsCHAbera1",
  678. "OpticsBlur1"
  679. };
  680. opticsZoomMin=0.0099999998;
  681. opticsZoomMax=0.041999999;
  682. opticsZoomInit=0.041999999;
  683. discreteDistance[]={300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400};
  684. discreteDistanceInitIndex=2;
  685. distanceZoomMin=300;
  686. distanceZoomMax=2400;
  687. discretefov[]={0.041999999,0.0099999998};
  688. discreteInitIndex=0;
  689. memoryPointCamera="opticView";
  690. modelOptics[]=
  691. {
  692. "\A3\Weapons_F\acc\reticle_lrps_F",
  693. "\A3\Weapons_F\acc\reticle_lrps_z_F"
  694. };
  695. visionMode[]=
  696. {
  697. "Normal",
  698. "NVG",
  699. "Ti"
  700. };
  701. thermalMode[]={4};
  702. opticsFlare=1;
  703. opticsDisablePeripherialVision=1;
  704. cameraDir="";
  705. };
  706. class Iron: Snip
  707. {
  708. opticsID=2;
  709. useModelOptics=0;
  710. opticsPPEffects[]=
  711. {
  712. "",
  713. ""
  714. };
  715. opticsFlare=0;
  716. opticsDisablePeripherialVision=0;
  717. opticsZoomMin=0.25;
  718. opticsZoomMax=1.25;
  719. opticsZoomInit=0.75;
  720. memoryPointCamera="eye";
  721. visionMode[]={};
  722. discretefov[]={};
  723. distanceZoomMin=200;
  724. distanceZoomMax=200;
  725. discreteDistance[]={200};
  726. discreteDistanceInitIndex=0;
  727. };
  728. };
  729. };
  730. };
  731. ////////////////////////////////////////////////////////////////////////////
  732. ///////////////////////////Lights///////////////////////////////////////////
  733. ////////////////////////////////////////////////////////////////////////////
  734. };