Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.90 KB | None | 0 0
  1. class Mode_SemiAuto;
  2. class Mode_Burst;
  3. class Mode_FullAuto;
  4. class MuzzleSlot;
  5. class CowsSlot;
  6. class PointerSlot;
  7. class UnderBarrelSlot;
  8. class CfgWeapons
  9. {
  10. class ML700_LongRifle_Base;
  11. class optic_Aco;
  12. class InventoryOpticsItem_Base_F;
  13.  
  14. //ATTACHMENTS
  15. class ML700_Longlas_Scope: optic_Aco
  16. {
  17. dlc = "ML700";
  18. author = "ML700 Dev Team";
  19. scope = 2;
  20. displayName = "M36 Longlas Optic";
  21. picture = "\ML700_Weapons\LongLas\icons\ScopeLasIcon_ca.paa";
  22. model = "\ML700_Weapons\LongLas\Longlas_scope.p3d";
  23. descriptionShort = "4-12x Scope for M36 LongLas";
  24. weaponInfoType = "RscOptics_Longlas";
  25.  
  26. class ItemInfo: InventoryOpticsItem_Base_F
  27. {
  28. mass = 2;
  29. opticType = 1;
  30. optics = 1;
  31. modelOptics = "\ML700_Weapons\Longlas\Longlas_scope.p3d";
  32. class OpticsModes
  33. {
  34. class ML700_Longlas_Irons
  35. {
  36. opticsID = 1;
  37. useModelOptics = 0;
  38. opticsPPEffects[] = {""};
  39. opticsFlare = 0;
  40. opticsDisablePeripherialVision = 0;
  41. opticsZoomMin = 0.375;
  42. opticsZoomMax = 1.1;
  43. opticsZoomInit = 0.75;
  44. memoryPointCamera = "opticView2";
  45. visionMode[] = {"Normal","NVG"};
  46. discreteDistance[] = {100,300,400,500,600,700,800,900,1000};
  47. discreteDistanceInitIndex = 1;
  48. distanceZoomMin = 100;
  49. distanceZoomMax = 1000;
  50. cameraDir = "";
  51. };
  52. class ML700_Longlas_Scope_View
  53. {
  54. opticsID = 1;
  55. useModelOptics = 1;
  56. opticsZoomMin = 0.01;
  57. opticsZoomMax = 0.25;
  58. opticsZoomInit = 0.25;
  59. discretefov[] = {0.25,0.0625,0.0313,0.025,0.0208};
  60. discreteinitIndex = 0;
  61. discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000};
  62. discreteDistanceInitIndex = 1;
  63. distanceZoomMin = 100;
  64. distanceZoomMax = 2000;
  65. memoryPointCamera = "opticView";
  66. modelOptics[] = {"\ML700_Weapons\LongLas\Longlas_1_Optic"};
  67. opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
  68. visionMode[] = {"Normal","NVG","TI"};
  69. thermalMode[] = {1,3};
  70. opticsFlare = 1;
  71. opticsDisablePeripherialVision = 1;
  72. };
  73. };
  74. };
  75. inertia = 0.1;
  76. };
  77.  
  78. //WEAPONS
  79. class ML700_Longlas_Rifle: ML700_LongRifle_Base
  80. {
  81. dlc = "ML700";
  82. author = "ML700 Dev Team";
  83. scope = 2;
  84. scopeArsenal = 2;
  85. baseWeapon = "ML700_Longlas_Rifle";
  86. handAnim[] = {"OFP2_ManSkeleton", "\ML700_Weapons\LasGun\anim\Handanim_Lasgun.rtm"};
  87. model = "\ML700_Weapons\LongLas\LonglasB.p3d";
  88. displayName = "M36 Kantrael Pattern Longlas";
  89. descriptionShort = "Longlas";
  90. magazines[] = {"ML700_Lasgun_Rifle_B_50_Battery","ML700_Lasgun_Rifle_B_Battery","ML700_Longlas_Rifle_B_Battery","ML700_Longlas_Heavy_Rifle_B_Battery"};
  91. magazineWell[] = {};
  92. reloadAction = "GestureReloadMX";
  93. initspeed = 950;
  94. distanceZoomMin = 300;
  95. distanceZoomMax = 300;
  96. discreteDistance[] = {100};
  97. maxZeroing = 1600;
  98. hiddenSelections[]={"Aquila","SkullAquila","LowResAquila","8star"};
  99. picture = "\ML700_Weapons\Longlas\icons\MainGunIcon_ca.paa";
  100. fireLightDuration = 0.05;
  101. fireLightIntensity = 0.2;
  102. fireLightDiffuse[] = {0.01, 0.01, 1};
  103. fireLightAmbient[] = {0, 0, 0};
  104. class GunParticles
  105. {
  106. class SecondEffect
  107. {
  108. positionName = "Nabojnicestart";
  109. directionName = "Nabojniceend";
  110. effectName = "CaselessAmmoCloud";
  111. };
  112. };
  113. modes[] = {"Single"};
  114. class Single: Mode_SemiAuto
  115. {
  116. sounds[] = {"StandardSound","SilencedSound"};
  117. class BaseSoundModeType
  118. {
  119. weaponSoundEffect = "DefaultRifle";
  120. closure1[] = {};
  121. closure2[] = {};
  122. soundClosure[] = {"closure1",0.5,"closure2",0.5};
  123. };
  124. class StandardSound: BaseSoundModeType
  125. {
  126. begin1[] = {"\ML700_Weapons\LasGun\sounds\lasgun_Shot.wss",5.0,1,3000};
  127. soundBegin[] = {"begin1",0.34};
  128. class SoundTails
  129. {
  130. class TailForest
  131. {
  132. sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_forest",1.0,1,2200};
  133. frequency = 1;
  134. volume = "(1-interior/1.4)*forest";
  135. };
  136. class TailHouses
  137. {
  138. sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_houses",1.0,1,2200};
  139. frequency = 1;
  140. volume = "(1-interior/1.4)*houses";
  141. };
  142. class TailInterior
  143. {
  144. sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_interior",1.9952624,1,2200};
  145. frequency = 1;
  146. volume = "interior";
  147. };
  148. class TailMeadows
  149. {
  150. sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_meadows",1.0,1,2200};
  151. frequency = 1;
  152. volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
  153. };
  154. class TailTrees
  155. {
  156. sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_trees",1.0,1,2200};
  157. frequency = 1;
  158. volume = "(1-interior/1.4)*trees";
  159. };
  160. };
  161. };
  162. class SilencedSound: BaseSoundModeType
  163. {
  164. begin1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_01",1.0,1,300};
  165. begin2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_02",1.0,1,300};
  166. begin3[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_03",1.0,1,300};
  167. soundBegin[] = {"begin1",0.33,"begin2",0.33,"begin3",0.34};
  168. class SoundTails
  169. {
  170. class TailInterior
  171. {
  172. sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_interior",1.0,1,300};
  173. frequency = 1;
  174. volume = "interior";
  175. };
  176. class TailTrees
  177. {
  178. sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_trees",1.0,1,300};
  179. frequency = 1;
  180. volume = "(1-interior/1.4)*trees";
  181. };
  182. class TailForest
  183. {
  184. sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_forest",1.0,1,300};
  185. frequency = 1;
  186. volume = "(1-interior/1.4)*forest";
  187. };
  188. class TailMeadows
  189. {
  190. sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_meadows",1.0,1,300};
  191. frequency = 1;
  192. volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
  193. };
  194. class TailHouses
  195. {
  196. sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_houses",1.0,1,300};
  197. frequency = 1;
  198. volume = "(1-interior/1.4)*houses";
  199. };
  200. };
  201. };
  202. reloadTime = 0.35; //0.6
  203. dispersion = 0.00015;
  204. recoil = "recoil_single_gm6";
  205. recoilProne = "recoil_single_gm6";
  206. minRange = 2;
  207. minRangeProbab = 0.25;
  208. midRange = 800;
  209. midRangeProbab = 0.75;
  210. maxRange = 2000;
  211. maxRangeProbab = 0.25;
  212. };
  213. aiDispersionCoefY = 0.1;
  214. aiDispersionCoefX = 0.1;
  215. class WeaponSlotsInfo //Defines attachment slots
  216. {
  217. class MuzzleSlot
  218. {
  219. compatibleitems[] = {};
  220. displayname = "Muzzle Slot";
  221. linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
  222. scope = 2;
  223. };
  224. class CowsSlot
  225. {
  226. compatibleitems[] = {"ML700_Longlas_Scope"};
  227. displayname = "Optics Slot";
  228. linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";
  229. scope = 2;
  230. };
  231. class PointerSlot
  232. {
  233. compatibleitems[] = {};
  234. displayname = "Pointer Slot";
  235. linkproxy = "\A3\data_f\proxies\weapon_slots\SIDE";
  236. scope = 2;
  237. };
  238. mass = 70;
  239. };
  240. };
  241.  
  242. class ML700_Longlas_AI_Rifle: ML700_Longlas_Rifle
  243. {
  244. dlc = "ML700";
  245. author = "ML700 Dev Team";
  246. scope = 1;
  247. scopeArsenal = 1;
  248. baseWeapon = "ML700_Longlas_AI_Rifle";
  249. descriptionShort = "Longlas";
  250. class LinkedItems
  251. {
  252. class LinkedItemsOptic
  253. {
  254. slot = "CowsSlot";
  255. item = "ML700_Longlas_Scope";
  256. };
  257. };
  258. };
  259. class ML700_Longlas_Aquila_Rifle: ML700_Longlas_Rifle
  260. {
  261. dlc = "ML700";
  262. author = "ML700 Dev Team";
  263. scope = 2;
  264. scopeArsenal = 2;
  265. baseweapon = "ML700_Longlas_Aquila_Rifle";
  266. displayName = "M36 Kantrael Longlas Aqualia";
  267. descriptionShort = "Longlas with Aqualia";
  268. magazineWell[] = {};
  269. hiddenSelections[]={"SkullAquila","LowResAquila","8star"};
  270. };
  271. class ML700_Longlas_Aquila_Gang_Rifle: ML700_Longlas_Rifle
  272. {
  273. dlc = "ML700";
  274. author = "ML700 Dev Team";
  275. scope = 2;
  276. scopeArsenal = 2;
  277. baseweapon = "ML700_Longlas_Aquila_Gang_Rifle";
  278. displayName = "M36 Kantrael Longlas Gang Aqualia";
  279. descriptionShort = "Longlas with Gang Aqualia";
  280. magazineWell[] = {};
  281. hiddenSelections[]={"Aquila","SkullAquila","8star"};
  282. };
  283. class ML700_Longlas_Aquila_Skull_Rifle: ML700_Longlas_Rifle
  284. {
  285. dlc = "ML700";
  286. author = "ML700 Dev Team";
  287. scope = 2;
  288. scopeArsenal = 2;
  289. baseweapon = "ML700_Longlas_Aquila_Skull_Rifle";
  290. displayName = "M36 Kantrael Longlas Skull";
  291. descriptionShort = "Longlas with Skull";
  292. magazineWell[] = {};
  293. hiddenSelections[]={"Aquila","LowResAquila","8star"};
  294. };
  295. class ML700_Longlas_8Star_Rifle: ML700_Longlas_Rifle
  296. {
  297. dlc = "ML700";
  298. author = "ML700 Dev Team";
  299. scope = 2;
  300. scopeArsenal = 2;
  301. model = "\ML700_Weapons\LongLas\LongLas.p3d";
  302. baseweapon = "ML700_Longlas_8Star_Rifle";
  303. displayName = "M36 Kantrael Longlas 8 Star";
  304. descriptionShort = "Longlas with 8 Star";
  305. magazines[] = {"ML700_Lasgun_Rifle_50_Battery","ML700_Lasgun_Rifle_Battery","ML700_Longlas_Rifle_Battery","ML700_Longlas_Heavy_Rifle_Battery"};
  306. magazineWell[] = {};
  307. fireLightDuration = 0.05;
  308. fireLightIntensity = 0.2;
  309. fireLightDiffuse[] = {1, 0.01, 0.01};
  310. fireLightAmbient[] = {0, 0, 0};
  311. hiddenSelections[]={"Aquila","SkullAquila","LowResAquila"};
  312. };
  313.  
  314. class ML700_Longlas_8Star_AI_Rifle: ML700_Longlas_8Star_Rifle
  315. {
  316. dlc = "ML700";
  317. author = "ML700 Dev Team";
  318. scope = 1;
  319. scopeArsenal = 1;
  320. model = "\ML700_Weapons\LongLas\LongLas.p3d";
  321. baseweapon = "ML700_Lasgun_8Star_Rifle";
  322. displayName = "M36 Kantrael LongLas 8 Star";
  323. descriptionShort = "LongLas with 8 Star";
  324. magazines[] = {"ML700_Lasgun_Rifle_50_Battery","ML700_Lasgun_Rifle_Battery","ML700_Longlas_Rifle_Battery","ML700_Longlas_Heavy_Rifle_Battery"};
  325. fireLightDuration = 0.05;
  326. fireLightIntensity = 0.2;
  327. fireLightDiffuse[] = {1, 0.01, 0.01};
  328. fireLightAmbient[] = {0, 0, 0};
  329. hiddenSelections[]={"Aquila","SkullAquila","LowResAquila"};
  330. class LinkedItems
  331. {
  332. class LinkedItemsOptic
  333. {
  334. slot = "CowsSlot";
  335. item = "ML700_Longlas_Scope";
  336. };
  337. };
  338. };
  339. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement