Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Mode_SemiAuto;
- class Mode_Burst;
- class Mode_FullAuto;
- class MuzzleSlot;
- class CowsSlot;
- class PointerSlot;
- class UnderBarrelSlot;
- class CfgWeapons
- {
- class ML700_LongRifle_Base;
- class optic_Aco;
- class InventoryOpticsItem_Base_F;
- //ATTACHMENTS
- class ML700_Longlas_Scope: optic_Aco
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- displayName = "M36 Longlas Optic";
- picture = "\ML700_Weapons\LongLas\icons\ScopeLasIcon_ca.paa";
- model = "\ML700_Weapons\LongLas\Longlas_scope.p3d";
- descriptionShort = "4-12x Scope for M36 LongLas";
- weaponInfoType = "RscOptics_Longlas";
- class ItemInfo: InventoryOpticsItem_Base_F
- {
- mass = 2;
- opticType = 1;
- optics = 1;
- modelOptics = "\ML700_Weapons\Longlas\Longlas_scope.p3d";
- class OpticsModes
- {
- class ML700_Longlas_Irons
- {
- opticsID = 1;
- useModelOptics = 0;
- opticsPPEffects[] = {""};
- opticsFlare = 0;
- opticsDisablePeripherialVision = 0;
- opticsZoomMin = 0.375;
- opticsZoomMax = 1.1;
- opticsZoomInit = 0.75;
- memoryPointCamera = "opticView2";
- visionMode[] = {"Normal","NVG"};
- discreteDistance[] = {100,300,400,500,600,700,800,900,1000};
- discreteDistanceInitIndex = 1;
- distanceZoomMin = 100;
- distanceZoomMax = 1000;
- cameraDir = "";
- };
- class ML700_Longlas_Scope_View
- {
- opticsID = 1;
- useModelOptics = 1;
- opticsZoomMin = 0.01;
- opticsZoomMax = 0.25;
- opticsZoomInit = 0.25;
- discretefov[] = {0.25,0.0625,0.0313,0.025,0.0208};
- discreteinitIndex = 0;
- discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000};
- discreteDistanceInitIndex = 1;
- distanceZoomMin = 100;
- distanceZoomMax = 2000;
- memoryPointCamera = "opticView";
- modelOptics[] = {"\ML700_Weapons\LongLas\Longlas_1_Optic"};
- opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
- visionMode[] = {"Normal","NVG","TI"};
- thermalMode[] = {1,3};
- opticsFlare = 1;
- opticsDisablePeripherialVision = 1;
- };
- };
- };
- inertia = 0.1;
- };
- //WEAPONS
- class ML700_Longlas_Rifle: ML700_LongRifle_Base
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- scopeArsenal = 2;
- baseWeapon = "ML700_Longlas_Rifle";
- handAnim[] = {"OFP2_ManSkeleton", "\ML700_Weapons\LasGun\anim\Handanim_Lasgun.rtm"};
- model = "\ML700_Weapons\LongLas\LonglasB.p3d";
- displayName = "M36 Kantrael Pattern Longlas";
- descriptionShort = "Longlas";
- magazines[] = {"ML700_Lasgun_Rifle_B_50_Battery","ML700_Lasgun_Rifle_B_Battery","ML700_Longlas_Rifle_B_Battery","ML700_Longlas_Heavy_Rifle_B_Battery"};
- magazineWell[] = {};
- reloadAction = "GestureReloadMX";
- initspeed = 950;
- distanceZoomMin = 300;
- distanceZoomMax = 300;
- discreteDistance[] = {100};
- maxZeroing = 1600;
- hiddenSelections[]={"Aquila","SkullAquila","LowResAquila","8star"};
- picture = "\ML700_Weapons\Longlas\icons\MainGunIcon_ca.paa";
- fireLightDuration = 0.05;
- fireLightIntensity = 0.2;
- fireLightDiffuse[] = {0.01, 0.01, 1};
- fireLightAmbient[] = {0, 0, 0};
- class GunParticles
- {
- class SecondEffect
- {
- positionName = "Nabojnicestart";
- directionName = "Nabojniceend";
- effectName = "CaselessAmmoCloud";
- };
- };
- modes[] = {"Single"};
- class Single: Mode_SemiAuto
- {
- sounds[] = {"StandardSound","SilencedSound"};
- class BaseSoundModeType
- {
- weaponSoundEffect = "DefaultRifle";
- closure1[] = {};
- closure2[] = {};
- soundClosure[] = {"closure1",0.5,"closure2",0.5};
- };
- class StandardSound: BaseSoundModeType
- {
- begin1[] = {"\ML700_Weapons\LasGun\sounds\lasgun_Shot.wss",5.0,1,3000};
- soundBegin[] = {"begin1",0.34};
- class SoundTails
- {
- class TailForest
- {
- sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_forest",1.0,1,2200};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailHouses
- {
- sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_houses",1.0,1,2200};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- class TailInterior
- {
- sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_interior",1.9952624,1,2200};
- frequency = 1;
- volume = "interior";
- };
- class TailMeadows
- {
- sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_meadows",1.0,1,2200};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailTrees
- {
- sound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_trees",1.0,1,2200};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- };
- };
- class SilencedSound: BaseSoundModeType
- {
- begin1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_01",1.0,1,300};
- begin2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_02",1.0,1,300};
- begin3[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_short_03",1.0,1,300};
- soundBegin[] = {"begin1",0.33,"begin2",0.33,"begin3",0.34};
- class SoundTails
- {
- class TailInterior
- {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_interior",1.0,1,300};
- frequency = 1;
- volume = "interior";
- };
- class TailTrees
- {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_trees",1.0,1,300};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- class TailForest
- {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_forest",1.0,1,300};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailMeadows
- {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_meadows",1.0,1,300};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailHouses
- {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_05_Cyrus\silencer_DMR_05_tail_houses",1.0,1,300};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- };
- };
- reloadTime = 0.35; //0.6
- dispersion = 0.00015;
- recoil = "recoil_single_gm6";
- recoilProne = "recoil_single_gm6";
- minRange = 2;
- minRangeProbab = 0.25;
- midRange = 800;
- midRangeProbab = 0.75;
- maxRange = 2000;
- maxRangeProbab = 0.25;
- };
- aiDispersionCoefY = 0.1;
- aiDispersionCoefX = 0.1;
- class WeaponSlotsInfo //Defines attachment slots
- {
- class MuzzleSlot
- {
- compatibleitems[] = {};
- displayname = "Muzzle Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
- scope = 2;
- };
- class CowsSlot
- {
- compatibleitems[] = {"ML700_Longlas_Scope"};
- displayname = "Optics Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";
- scope = 2;
- };
- class PointerSlot
- {
- compatibleitems[] = {};
- displayname = "Pointer Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\SIDE";
- scope = 2;
- };
- mass = 70;
- };
- };
- class ML700_Longlas_AI_Rifle: ML700_Longlas_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 1;
- scopeArsenal = 1;
- baseWeapon = "ML700_Longlas_AI_Rifle";
- descriptionShort = "Longlas";
- class LinkedItems
- {
- class LinkedItemsOptic
- {
- slot = "CowsSlot";
- item = "ML700_Longlas_Scope";
- };
- };
- };
- class ML700_Longlas_Aquila_Rifle: ML700_Longlas_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- scopeArsenal = 2;
- baseweapon = "ML700_Longlas_Aquila_Rifle";
- displayName = "M36 Kantrael Longlas Aqualia";
- descriptionShort = "Longlas with Aqualia";
- magazineWell[] = {};
- hiddenSelections[]={"SkullAquila","LowResAquila","8star"};
- };
- class ML700_Longlas_Aquila_Gang_Rifle: ML700_Longlas_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- scopeArsenal = 2;
- baseweapon = "ML700_Longlas_Aquila_Gang_Rifle";
- displayName = "M36 Kantrael Longlas Gang Aqualia";
- descriptionShort = "Longlas with Gang Aqualia";
- magazineWell[] = {};
- hiddenSelections[]={"Aquila","SkullAquila","8star"};
- };
- class ML700_Longlas_Aquila_Skull_Rifle: ML700_Longlas_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- scopeArsenal = 2;
- baseweapon = "ML700_Longlas_Aquila_Skull_Rifle";
- displayName = "M36 Kantrael Longlas Skull";
- descriptionShort = "Longlas with Skull";
- magazineWell[] = {};
- hiddenSelections[]={"Aquila","LowResAquila","8star"};
- };
- class ML700_Longlas_8Star_Rifle: ML700_Longlas_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 2;
- scopeArsenal = 2;
- model = "\ML700_Weapons\LongLas\LongLas.p3d";
- baseweapon = "ML700_Longlas_8Star_Rifle";
- displayName = "M36 Kantrael Longlas 8 Star";
- descriptionShort = "Longlas with 8 Star";
- magazines[] = {"ML700_Lasgun_Rifle_50_Battery","ML700_Lasgun_Rifle_Battery","ML700_Longlas_Rifle_Battery","ML700_Longlas_Heavy_Rifle_Battery"};
- magazineWell[] = {};
- fireLightDuration = 0.05;
- fireLightIntensity = 0.2;
- fireLightDiffuse[] = {1, 0.01, 0.01};
- fireLightAmbient[] = {0, 0, 0};
- hiddenSelections[]={"Aquila","SkullAquila","LowResAquila"};
- };
- class ML700_Longlas_8Star_AI_Rifle: ML700_Longlas_8Star_Rifle
- {
- dlc = "ML700";
- author = "ML700 Dev Team";
- scope = 1;
- scopeArsenal = 1;
- model = "\ML700_Weapons\LongLas\LongLas.p3d";
- baseweapon = "ML700_Lasgun_8Star_Rifle";
- displayName = "M36 Kantrael LongLas 8 Star";
- descriptionShort = "LongLas with 8 Star";
- magazines[] = {"ML700_Lasgun_Rifle_50_Battery","ML700_Lasgun_Rifle_Battery","ML700_Longlas_Rifle_Battery","ML700_Longlas_Heavy_Rifle_Battery"};
- fireLightDuration = 0.05;
- fireLightIntensity = 0.2;
- fireLightDiffuse[] = {1, 0.01, 0.01};
- fireLightAmbient[] = {0, 0, 0};
- hiddenSelections[]={"Aquila","SkullAquila","LowResAquila"};
- class LinkedItems
- {
- class LinkedItemsOptic
- {
- slot = "CowsSlot";
- item = "ML700_Longlas_Scope";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement