Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class lyn_mk16_f: Rifle_Base_F
- {
- jsrs_soundeffect = "JSRS2_Distance_Effects_Scar";
- scope = 2;
- displayName = "FN SCAR-L (MK16)";
- descriptionshort = "Assault Rifle<br />Caliber: 5.56x45mm NATO";
- model = "\btc_weapons\BTC_mk16.p3d";
- magazines[] = {"30Rnd_556x45_Stanag","30rnd_556x45_Stanag_Tracer_Red","30rnd_556x45_Stanag_Tracer_Green","30rnd_556x45_Stanag_Tracer_Yellow","RH_30Rnd_556x45_Mk262","RH_20Rnd_556x45","RH_20Rnd_556x45_R","RH_20Rnd_556x45_G","RH_20Rnd_556x45_Y","RH_20Rnd_556x45_Mk262"};
- reloadAction = "GestureReloadMX";
- handanim[] = {"OFP2_ManSkeleton", "\btc_weapons\anim\SCAR.rtm"};
- picture = "\btc_weapons\data\scar\scar_l_gear_x_ca.paa";
- UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- allowedslots[] = {901};
- mass = 40;
- class MuzzleSlot: SlotInfo
- {
- linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
- compatibleItems[] = {"RH_qdss_nt4","RH_saker"};
- };
- class CowsSlot: CowsSlot {};
- class PointerSlot: PointerSlot {};
- };
- class GunClouds: GunClouds {};
- class GunFire: GunFire {};
- class GunParticles: GunParticles
- {
- class SecondEffect
- {
- positionName = "Nabojnicestart";
- directionName = "Nabojniceend";
- effectName = "CaselessAmmoCloud";
- };
- };
- opticsZoomMin = 0.375;
- opticsZoomMax = 1.1;
- opticsZoomInit = 0.75;
- distanceZoomMin = 300;
- distanceZoomMax = 300;
- discreteDistance[] = {100,200,300,400,500,600};
- discreteDistanceInitIndex = 1;
- weaponInfoType = "RscWeaponZeroing";
- modes[] = {"Single","FullAuto","single_medium_optics1","single_far_optics2","fullauto_medium"};
- class Single: Mode_SemiAuto
- {
- begin1[] = {"lyn_weapon_sounds\rifle\mk16_fire1",1.25,1,1500};
- begin2[] = {"lyn_weapon_sounds\rifle\mk16_fire2",1.25,1,1500};
- begin3[] = {"lyn_weapon_sounds\rifle\mk16_fire3",1.25,1,1500};
- soundBegin[] = {"begin1",0.5,"begin2",0.25,"begin3",0.25};
- closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2",1.1220185,1,10};
- closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3",1.1220185,1,10};
- soundClosure[] = {"closure1",0.5,"closure2",0.5};
- weaponSoundEffect = "DefaultRifle";
- reloadTime = 0.065;
- recoil = "RH_M4_Recoil";
- recoilProne = "RH_M4_RecoilProne";
- dispersion = 0.0005;
- minRange = 10;
- minRangeProbab = 0.3;
- midRange = 250;
- midRangeProbab = 0.7;
- maxRange = 500;
- maxRangeProbab = 0.2;
- };
- class FullAuto: Mode_FullAuto
- {
- begin1[] = {"lyn_weapon_sounds\rifle\mk16_fire1",1.25,1,1500};
- begin2[] = {"lyn_weapon_sounds\rifle\mk16_fire2",1.25,1,1500};
- begin3[] = {"lyn_weapon_sounds\rifle\mk16_fire3",1.25,1,1500};
- soundBegin[] = {"begin1",0.5,"begin2",0.25,"begin3",0.25};
- closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2",1.1220185,1,10};
- closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3",1.1220185,1,10};
- soundClosure[] = {"closure1",0.5,"closure2",0.5};
- weaponSoundEffect = "DefaultRifle";
- reloadTime = 0.096;
- recoil = "RH_M4_Recoil_Auto";
- recoilProne = "RH_M4_RecoilProneAuto";
- dispersion = 0.0005;
- minRange = 0;
- minRangeProbab = 0.9;
- midRange = 15;
- midRangeProbab = 0.7;
- maxRange = 30;
- maxRangeProbab = 0.1;
- aiRateOfFire = 1e-006;
- };
- class single_medium_optics1: Single
- {
- requiredOpticType = 1;
- showToPlayer = 0;
- minRange = 2;
- minRangeProbab = 0.2;
- midRange = 550;
- midRangeProbab = 0.7;
- maxRange = 700;
- maxRangeProbab = 0.1;
- aiRateOfFire = 6;
- aiRateOfFireDistance = 600;
- };
- class single_far_optics2: single_medium_optics1
- {
- requiredOpticType = 2;
- };
- class fullauto_medium: FullAuto
- {
- showToPlayer = 0;
- burst = 3;
- minRange = 2;
- minRangeProbab = 0.5;
- midRange = 75;
- midRangeProbab = 0.7;
- maxRange = 150;
- maxRangeProbab = 0.05;
- aiRateOfFire = 2.0;
- };
- class LYN_EGLM: UGL_F
- {
- displayName = "EGLM Grenade Launcher";
- descriptionShort = "EGLM";
- useModelOptics = false;
- useExternalOptic = false;
- cameraDir = "OP_look";
- discreteDistance[] = {100, 200, 300, 400};
- discreteDistanceCameraPoint[] = {"OP_eye", "OP_eye2", "OP_eye3", "OP_eye4"}; /// the angle of gun changes with zeroing
- discreteDistanceInitIndex = 1; /// 200 is the default zero
- };
- aiDispersionCoefY = 10;
- aiDispersionCoefX = 8;
- drySound[] = {"A3\sounds_f\weapons\Other\dry_1",1,1,10};
- changeFiremodeSound[] = {"lyn_weapon_sounds\m4_selector.wav",0.5,1};
- reloadMagazineSound[] = {"lyn_weapon_sounds\rifle\m4_reload",0.5,1,30};
- };
- class lyn_mk16_gl_f: lyn_mk16_f
- {
- model = "\btc_weapons\BTC_mk16_gl.p3d";
- displayName = "FN SCAR-L (MK16) EGLM";
- handanim[] = {"OFP2_ManSkeleton", "\btc_weapons\anim\M16GL.rtm"};
- muzzles[] = {"this", "LYN_EGLM"};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement