1
0

config.cpp 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  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 macro_patch_name(accxxx)
  7. {
  8. author="RD501";
  9. addonRootClass= macro_patch_name(weapons)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(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 ItemCore;
  177. class optic_DMS:ItemCore
  178. {
  179. class ItemInfo;
  180. }
  181. class JLTS_DC15X_scope;
  182. class optic_Hamr:ItemCore
  183. {
  184. class ItemInfo;
  185. };
  186. class RD501_RCO: optic_Hamr
  187. {
  188. author="RD501";
  189. scope=2;
  190. displayName="Short Range Scope A";
  191. picture="\RD501_weapons\_acc\data\rd501_ico_sr_01_ca.paa";
  192. model="\RD501_weapons\_acc\data\rd501_hamr_1.p3d";
  193. descriptionShort="HAMR SR 2-4x Scope";
  194. weaponInfoType="RscOptics_sos";
  195. class ItemInfo: ItemInfo
  196. {
  197. mass=8;
  198. opticType=1;
  199. optics=1;
  200. modelOptics="\RD501_weapons\_acc\data\rd501_hamr_scope_1";
  201. class OpticsModes
  202. {
  203. class Hamr2Collimator
  204. {
  205. opticsID=1;
  206. useModelOptics=0;
  207. opticsPPEffects[]=
  208. {
  209. "Default"
  210. };
  211. opticsFlare=0;
  212. opticsDisablePeripherialVision=0;
  213. opticsZoomMin=0.25;
  214. opticsZoomMax=1.25;
  215. opticsZoomInit=0.75;
  216. memoryPointCamera="eye";
  217. visionMode[]={};
  218. distanceZoomMin=200;
  219. distanceZoomMax=200;
  220. };
  221. class Hamr2Scope
  222. {
  223. opticsID=2;
  224. useModelOptics=0;//0
  225. opticsPPEffects[]=
  226. {
  227. "OpticsCHAbera5",
  228. "OpticsBlur5"
  229. };
  230. opticsFlare=1;
  231. opticsDisablePeripherialVision=1;//1
  232. opticsZoomMin=scope_magnification(2);
  233. opticsZoomMax=scope_magnification(4);
  234. opticsZoomInit=scope_magnification(2);
  235. discreteinitIndex = 0;
  236. discretefov[] = {scope_magnification(2),scope_magnification(4)};
  237. discreteDistanceInitIndex = 1;
  238. memoryPointCamera="opticView";
  239. visionMode[]={};
  240. distanceZoomMin=300;
  241. distanceZoomMax=300;
  242. };
  243. };
  244. };
  245. inertia=0.1;
  246. };
  247. class RD501_RCO_2: RD501_RCO
  248. {
  249. picture="\RD501_weapons\_acc\data\rd501_ico_sr_02_ca.paa";
  250. model="\RD501_weapons\_acc\data\rd501_hamr_2.p3d";
  251. displayName="Short Range Scope B";
  252. class ItemInfo: ItemInfo
  253. {
  254. modelOptics="\RD501_weapons\_acc\data\RD501_hamr_scope_2";
  255. };
  256. };
  257. class RD501_RCO_3: RD501_RCO
  258. {
  259. picture="\RD501_weapons\_acc\data\rd501_ico_sr_03_ca.paa";
  260. model="\RD501_weapons\_acc\data\rd501_hamr_3.p3d";
  261. displayName="Short Range Scope C";
  262. class ItemInfo: ItemInfo
  263. {
  264. modelOptics="\RD501_weapons\_acc\data\RD501_hamr_scope_3";
  265. };
  266. };
  267. class optic_MRCO: ItemCore
  268. {
  269. class ItemInfo;
  270. };
  271. class RD501_MRCO: optic_MRCO
  272. {
  273. author="RD501";
  274. scope=2;
  275. displayName="Medium Range Scope A";
  276. picture="\RD501_weapons\_acc\data\rd501_ico_mr_01_ca.paa";
  277. model="\RD501_weapons\_acc\data\rd501_mrco_1.p3d";
  278. descriptionShort="MRCO MR 2-6x Scope";
  279. weaponInfoType="RscOptics_sos";
  280. class ItemInfo: ItemInfo
  281. {
  282. mass=8;
  283. opticType=1;
  284. optics=1;
  285. modelOptics="\RD501_weapons\_acc\data\rd501_mrco_scope_1.p3d";
  286. class OpticsModes
  287. {
  288. class MRCOcq
  289. {
  290. opticsID=1;
  291. useModelOptics=0;
  292. opticsPPEffects[]=
  293. {
  294. "Default"
  295. };
  296. opticsFlare=0;
  297. opticsDisablePeripherialVision=0;
  298. opticsZoomMin=0.25;
  299. opticsZoomMax=1.25;
  300. opticsZoomInit=0.75;
  301. memoryPointCamera="eye";
  302. visionMode[]={};
  303. distanceZoomMin=300;
  304. distanceZoomMax=300;
  305. };
  306. class MRCOscope
  307. {
  308. opticsID=2;
  309. useModelOptics=0;
  310. opticsPPEffects[]=
  311. {
  312. "OpticsCHAbera5",
  313. "OpticsBlur5"
  314. };
  315. opticsFlare=1;
  316. opticsDisablePeripherialVision=1;
  317. opticsZoomMin = scope_magnification(6);
  318. opticsZoomMax = scope_magnification(2);
  319. opticsZoomInit = scope_magnification(2);
  320. discreteinitIndex = 0;
  321. discretefov[] = {scope_magnification(2),scope_magnification(6)};
  322. discreteDistanceInitIndex = 1;
  323. memoryPointCamera="opticView";
  324. visionMode[]={};
  325. distanceZoomMin=300;
  326. distanceZoomMax=300;
  327. };
  328. };
  329. };
  330. inertia=0.1;
  331. };
  332. class RD501_MRCO_2: RD501_MRCO
  333. {
  334. picture="\RD501_weapons\_acc\data\rd501_ico_mr_02_ca.paa";
  335. model="\RD501_weapons\_acc\data\rd501_mrco_2.p3d";
  336. displayName="Medium Range Scope B";
  337. class ItemInfo: ItemInfo
  338. {
  339. modelOptics="\RD501_weapons\_acc\data\RD501_MRCO_scope_2";
  340. };
  341. };
  342. class RD501_MRCO_3: RD501_MRCO
  343. {
  344. picture="\RD501_weapons\_acc\data\rd501_ico_mr_03_ca.paa";
  345. model="\RD501_weapons\_acc\data\rd501_mrco_3.p3d";
  346. displayName="Medium Range Scope C";
  347. class ItemInfo: ItemInfo
  348. {
  349. modelOptics="\RD501_weapons\_acc\data\RD501_MRCO_scope_3";
  350. };
  351. };
  352. class optic_Holosight:ItemCore
  353. {
  354. class ItemInfo;
  355. };
  356. class RD501_Holosight: optic_Holosight
  357. {
  358. author="RD501";
  359. scope=2;
  360. displayName="Holo Sight A";
  361. picture="\RD501_weapons\_acc\data\rd501_ico_holo_01_ca.paa";
  362. model="\RD501_weapons\_acc\data\rd501_holo_1.p3d";
  363. descriptionShort="Holo 1x Scope";
  364. weaponInfoType="RscWeaponZeroing";
  365. class ItemInfo: ItemInfo
  366. {
  367. mass=6;
  368. modelOptics="\A3\Weapons_F\empty";
  369. optics=1;
  370. class OpticsModes
  371. {
  372. class ACO
  373. {
  374. opticsID=1;
  375. useModelOptics=0;
  376. opticsZoomMin=0.25;
  377. opticsZoomMax=1.25;
  378. opticsZoomInit=0.75;
  379. memoryPointCamera="eye";
  380. opticsFlare=0;
  381. opticsDisablePeripherialVision=0;
  382. distanceZoomMin=200;
  383. distanceZoomMax=200;
  384. cameraDir="";
  385. visionMode[]={};
  386. opticsPPEffects[]=
  387. {
  388. "OpticsBlur1"
  389. };
  390. };
  391. };
  392. };
  393. inertia=0;
  394. };
  395. class RD501_Holosight_2: RD501_Holosight
  396. {
  397. picture="\RD501_weapons\_acc\data\rd501_ico_holo_02_ca.paa";
  398. model="\RD501_weapons\_acc\data\rd501_holo_2.p3d";
  399. displayName="Holo Sight B";
  400. };
  401. class RD501_Holosight_3: RD501_Holosight
  402. {
  403. picture="\RD501_weapons\_acc\data\rd501_ico_holo_03_ca.paa";
  404. model="\RD501_weapons\_acc\data\rd501_holo_3.p3d";
  405. displayName="Holo Sight C";
  406. };
  407. class optic_DMS:ItemCore
  408. {
  409. class ItemInfo;
  410. };
  411. class RD501_DMS: optic_DMS
  412. {
  413. author="RD501";
  414. _generalMacro="optic_DMS";
  415. scope=2;
  416. displayName="DMS LR 6-12x Scope A";
  417. picture="\RD501_weapons\_acc\data\rd501_ico_lr_01_ca.paa";
  418. model="\RD501_weapons\_acc\data\rd501_dms.p3d";
  419. descriptionShort="Long Range Scope";
  420. class ItemInfo: ItemInfo
  421. {
  422. mass=12;
  423. opticType=2;
  424. optics=1;
  425. modelOptics="\RD501_weapons\_acc\data\RD501_scope_DMS";
  426. class OpticsModes
  427. {
  428. class Snip
  429. {
  430. opticsID=1;
  431. useModelOptics=1;
  432. opticsPPEffects[]=
  433. {
  434. "OpticsCHAbera2",
  435. "OpticsBlur3"
  436. };
  437. opticsZoomMin = scope_magnification(12);
  438. opticsZoomMax = scope_magnification(6);
  439. opticsZoomInit = scope_magnification(6);
  440. discreteinitIndex = 0;
  441. discretefov[] = {scope_magnification(6),scope_magnification(12)};
  442. discreteDistanceInitIndex = 1;
  443. distanceZoomMin=300;
  444. distanceZoomMax=1200;
  445. memoryPointCamera="opticView";
  446. visionMode[]=
  447. {
  448. "Normal",
  449. "NVG"
  450. };
  451. thermalMode[]={5,6};
  452. opticsFlare=1;
  453. opticsDisablePeripherialVision=0;
  454. cameraDir="";
  455. };
  456. class Iron: Snip
  457. {
  458. opticsID=2;
  459. useModelOptics=0;
  460. opticsPPEffects[]=
  461. {
  462. "",
  463. ""
  464. };
  465. opticsFlare=0;
  466. opticsDisablePeripherialVision=0;
  467. opticsZoomMin=0.25;
  468. opticsZoomMax=1.25;
  469. opticsZoomInit=0.75;
  470. memoryPointCamera="opticView";
  471. visionMode[]={};
  472. discretefov[]={};
  473. distanceZoomMin=200;
  474. distanceZoomMax=200;
  475. discreteDistance[]={200};
  476. discreteDistanceInitIndex=0;
  477. };
  478. };
  479. };
  480. inertia=0.2;
  481. };
  482. class RD501_DMS_2: RD501_DMS
  483. {
  484. picture="\RD501_weapons\_acc\data\rd501_ico_lr_02_ca.paa";
  485. model="\RD501_weapons\_acc\data\rd501_dms_2.p3d";
  486. displayName="DMS LR 6-12x Scope B";
  487. class ItemInfo: ItemInfo
  488. {
  489. modelOptics="\RD501_weapons\_acc\data\RD501_scope2_DMS";
  490. };
  491. };
  492. class RD501_DMS_3: RD501_DMS
  493. {
  494. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  495. model="\RD501_weapons\_acc\data\rd501_dms_3.p3d";
  496. displayName="DMS LR 6-12x Scope C";
  497. class ItemInfo: ItemInfo
  498. {
  499. modelOptics="\RD501_weapons\_acc\data\RD501_scope3_DMS";
  500. };
  501. };
  502. class RD501_DMS_4: RD501_DMS
  503. {
  504. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  505. model="\RD501_weapons\_acc\data\rd501_dms_4.p3d";
  506. displayName="DMS LR 6-12x Scope D";
  507. class ItemInfo: ItemInfo
  508. {
  509. modelOptics="\RD501_weapons\_acc\data\RD501_scope4_DMS";
  510. };
  511. };
  512. class RD501_DMS_TI: optic_DMS
  513. {
  514. author="RD501";
  515. _generalMacro="optic_DMS";
  516. scope=2;
  517. displayName="DMS LR 6-12x Scope A";
  518. picture="\RD501_weapons\_acc\data\rd501_ico_lr_01_ca.paa";
  519. model="\RD501_weapons\_acc\data\rd501_dms.p3d";
  520. descriptionShort="Long Range Scope";
  521. class ItemInfo: ItemInfo
  522. {
  523. mass=12;
  524. opticType=2;
  525. optics=1;
  526. modelOptics="\RD501_weapons\_acc\data\RD501_scope_DMS";
  527. class OpticsModes
  528. {
  529. class Snip
  530. {
  531. opticsID=1;
  532. useModelOptics=1;
  533. opticsPPEffects[]=
  534. {
  535. "OpticsCHAbera2",
  536. "OpticsBlur3"
  537. };
  538. opticsZoomMin = scope_magnification(12);
  539. opticsZoomMax = scope_magnification(6);
  540. opticsZoomInit = scope_magnification(6);
  541. discreteinitIndex = 0;
  542. discretefov[] = {scope_magnification(6),scope_magnification(12)};
  543. discreteDistanceInitIndex = 1;
  544. distanceZoomMin=300;
  545. distanceZoomMax=1200;
  546. memoryPointCamera="opticView";
  547. visionMode[]=
  548. {
  549. "Normal",
  550. "NVG",
  551. "Ti"
  552. };
  553. thermalMode[]={5,6};
  554. opticsFlare=1;
  555. opticsDisablePeripherialVision=0;
  556. cameraDir="";
  557. };
  558. class Iron: Snip
  559. {
  560. opticsID=2;
  561. useModelOptics=0;
  562. opticsPPEffects[]=
  563. {
  564. "",
  565. ""
  566. };
  567. opticsFlare=0;
  568. opticsDisablePeripherialVision=0;
  569. opticsZoomMin=0.25;
  570. opticsZoomMax=1.25;
  571. opticsZoomInit=0.75;
  572. memoryPointCamera="opticView";
  573. visionMode[]={};
  574. discretefov[]={};
  575. distanceZoomMin=200;
  576. distanceZoomMax=200;
  577. discreteDistance[]={200};
  578. discreteDistanceInitIndex=0;
  579. };
  580. };
  581. };
  582. inertia=0.2;
  583. };
  584. class RD501_DMS_2_TI: RD501_DMS_TI
  585. {
  586. picture="\RD501_weapons\_acc\data\rd501_ico_lr_02_ca.paa";
  587. model="\RD501_weapons\_acc\data\rd501_dms_2.p3d";
  588. displayName="DMS LR 6-12x Scope B";
  589. class ItemInfo: ItemInfo
  590. {
  591. modelOptics="\RD501_weapons\_acc\data\RD501_scope2_DMS";
  592. };
  593. };
  594. class RD501_DMS_3_TI: RD501_DMS_TI
  595. {
  596. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  597. model="\RD501_weapons\_acc\data\rd501_dms_3.p3d";
  598. displayName="DMS LR 6-12x Scope C";
  599. class ItemInfo: ItemInfo
  600. {
  601. modelOptics="\RD501_weapons\_acc\data\RD501_scope3_DMS";
  602. };
  603. };
  604. class RD501_DMS_4_TI: RD501_DMS_TI
  605. {
  606. picture="\RD501_weapons\_acc\data\rd501_ico_lr_03_ca.paa";
  607. model="\RD501_weapons\_acc\data\rd501_dms_4.p3d";
  608. displayName="DMS LR 6-12x Scope D";
  609. class ItemInfo: ItemInfo
  610. {
  611. modelOptics="\RD501_weapons\_acc\data\RD501_scope4_DMS";
  612. };
  613. };
  614. class optic_MRD:ItemCore
  615. {
  616. class ItemInfo;
  617. }
  618. class RD501_pistol: optic_MRD
  619. {
  620. author="RD501";
  621. scope=2;
  622. displayName="Pistol Holo A";
  623. picture="\RD501_weapons\_acc\data\rd501_ico_pistol_01_ca.paa";
  624. model="\RD501_weapons\_acc\data\rd501_pistol_1.p3d";
  625. descriptionShort="Pistol Scope";
  626. class ItemInfo: ItemInfo
  627. {
  628. mass=2;
  629. modelOptics="\A3\Weapons_F\empty";
  630. optics=1;
  631. class OpticsModes
  632. {
  633. class ACO
  634. {
  635. opticsID=1;
  636. useModelOptics=0;
  637. opticsZoomMin=0.25;
  638. opticsZoomMax=1.25;
  639. opticsZoomInit=0.75;
  640. memoryPointCamera="eye";
  641. opticsFlare=0;
  642. opticsDisablePeripherialVision=0;
  643. distanceZoomMin=50;
  644. distanceZoomMax=50;
  645. cameraDir="";
  646. visionMode[]={};
  647. opticsPPEffects[]=
  648. {
  649. "Default"
  650. };
  651. };
  652. };
  653. };
  654. inertia=0;
  655. };
  656. class RD501_pistol_2: RD501_pistol
  657. {
  658. picture="\RD501_weapons\_acc\data\rd501_ico_pistol_03_ca.paa";
  659. model="\RD501_weapons\_acc\data\rd501_pistol_3.p3d";
  660. displayName="Pistol Holo B";
  661. };
  662. class RD501_LRPS : optic_DMS
  663. {
  664. author="RD501";
  665. scope=2;
  666. displayName="LRPS LR 12-20x Scope";
  667. class ItemInfo:ItemInfo
  668. {
  669. mass=16;
  670. opticType=2;
  671. weaponInfoType="RscWeaponRangeZeroingFOV";
  672. optics=1;
  673. modelOptics="\A3\Weapons_F\acc\reticle_sniper_F";
  674. class OpticsModes
  675. {
  676. class Snip
  677. {
  678. opticsID=1;
  679. opticsDisplayName="WFOV";
  680. useModelOptics=1;
  681. opticsPPEffects[]=
  682. {
  683. "OpticsCHAbera1",
  684. "OpticsBlur1"
  685. };
  686. opticsZoomMin=0.0099999998;
  687. opticsZoomMax=0.041999999;
  688. opticsZoomInit=0.041999999;
  689. discreteDistance[]={300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400};
  690. discreteDistanceInitIndex=2;
  691. distanceZoomMin=300;
  692. distanceZoomMax=2400;
  693. discretefov[]={0.041999999,0.0099999998};
  694. discreteInitIndex=0;
  695. memoryPointCamera="opticView";
  696. modelOptics[]=
  697. {
  698. "\A3\Weapons_F\acc\reticle_lrps_F",
  699. "\A3\Weapons_F\acc\reticle_lrps_z_F"
  700. };
  701. visionMode[]=
  702. {
  703. "Normal",
  704. "NVG",
  705. "Ti"
  706. };
  707. thermalMode[]={4};
  708. opticsFlare=1;
  709. opticsDisablePeripherialVision=1;
  710. cameraDir="";
  711. };
  712. class Iron: Snip
  713. {
  714. opticsID=2;
  715. useModelOptics=0;
  716. opticsPPEffects[]=
  717. {
  718. "",
  719. ""
  720. };
  721. opticsFlare=0;
  722. opticsDisablePeripherialVision=0;
  723. opticsZoomMin=0.25;
  724. opticsZoomMax=1.25;
  725. opticsZoomInit=0.75;
  726. memoryPointCamera="eye";
  727. visionMode[]={};
  728. discretefov[]={};
  729. distanceZoomMin=200;
  730. distanceZoomMax=200;
  731. discreteDistance[]={200};
  732. discreteDistanceInitIndex=0;
  733. };
  734. };
  735. };
  736. };
  737. ////////////////////////////////////////////////////////////////////////////
  738. ///////////////////////////Lights///////////////////////////////////////////
  739. ////////////////////////////////////////////////////////////////////////////
  740. };