Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Rifle; // External class reference
- class Rifle_Base_F : Rifle {
- class WeaponSlotsInfo; // External class reference
- class GunParticles; // External class reference
- dexterity = 1.41;
- };
- class Rifle_Long_Base_F : Rifle_Base_F {
- class WeaponSlotsInfo; // External class reference
- class GunParticles; // External class reference
- };
- class KA_SCAR_H_Base : Rifle_Long_Base_F {
- initSpeed = -0.89;
- ACE_barrelTwist = 178;
- ACE_barrelLength = 406;
- scope = 0;
- dexterity = 1.61;
- UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
- magazines[] = {"KA_SCAR_H_20rnd_Mk319_SOST_mag", "KA_SCAR_H_20rnd_M59_Ball_mag", "KA_SCAR_H_20rnd_M80_Ball_mag", "KA_SCAR_H_20rnd_M80A1_Ball_mag", "KA_SCAR_H_20rnd_M118_SPR_mag", "KA_SCAR_H_20rnd_M118LR_OTM_mag", "KA_SCAR_H_20rnd_Mk316_SPR_mag", "KA_SCAR_H_20rnd_M852_OTM_mag", "KA_SCAR_H_20rnd_M62_Tracer_Red_mag", "KA_SCAR_H_20rnd_M276_Dim_Tracer_mag", "KA_SCAR_H_20rnd_M61_AP_mag", "KA_SCAR_H_20rnd_M993_AP_mag", "KA_SCAR_H_20rnd_M948_SLAP_mag", "KA_SCAR_H_20rnd_Subsonic_mag", "KA_SCAR_H_20rnd_M973_SRTA_mag", "KA_SCAR_H_20rnd_M974_SRTA_T_mag", "KA_SCAR_H_20rnd_M82_Blank_mag", "20Rnd_762x51_Mag"};
- reloadAction = "GestureReloadSCAR";
- recoil = "recoil_ebr";
- maxZeroing = 1600;
- handAnim[] = {"OFP2_ManSkeleton", "\KA_SCAR_H\Anim\SCAR_hand.rtm"};
- cursor = "srifle";
- bullet1[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_01", 0.398107, 1, 15};
- bullet2[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_02", 0.398107, 1, 15};
- bullet3[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_03", 0.398107, 1, 15};
- bullet4[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_04", 0.398107, 1, 15};
- bullet5[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_01", 0.281838, 1, 15};
- bullet6[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_02", 0.281838, 1, 15};
- bullet7[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_03", 0.281838, 1, 15};
- bullet8[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_04", 0.281838, 1, 15};
- bullet9[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_01", 0.281838, 1, 15};
- bullet10[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_02", 0.281838, 1, 15};
- bullet11[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_03", 0.281838, 1, 15};
- bullet12[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_04", 0.281838, 1, 15};
- soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};
- class WeaponSlotsInfo : WeaponSlotsInfo {
- class MuzzleSlot : MuzzleSlot {
- linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
- compatibleItems[] = {"SCAR_13_Inches_Barrel", "SCAR_13_Inches_Barrel_Flash_Hider", "SCAR_13_Inches_Barrel_Silencer", "SCAR_16_Inches_Barrel", "SCAR_16_Inches_Barrel_Flash_Hider", "SCAR_16_Inches_Barrel_Silencer", "SCAR_20_Inches_Barrel", "SCAR_20_Inches_Barrel_Flash_Hider", "SCAR_20_Inches_Barrel_Silencer"};
- iconPicture = "\KA_SCAR_H\ui\attachment_muzzle.paa";
- iconPosition[] = {0.1, 0.43};
- iconPinpoint = "Center";
- iconScale = 0.2;
- };
- class CowsSlot : asdg_OpticRail1913 {
- linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";
- iconPicture = "\KA_SCAR_H\ui\attachment_top2.paa";
- iconPosition[] = {0.5, 0.3};
- iconPinpoint = "Bottom";
- iconScale = 0.2;
- };
- class PointerSlot : PointerSlot {
- linkProxy = "\A3\data_f\proxies\weapon_slots\SIDE";
- compatibleItems[] = {"KA_Rail_Covers_Black", "KA_Rail_Covers_Tan", "KA_Rail_Covers_Black_Single", "KA_Rail_Covers_Tan_Single", "KA_SCAR_H_Flashlight_Black", "KA_SCAR_H_Flashlight_Sand", "KA_SCAR_H_Laser_Black_IR", "KA_SCAR_H_Laser_Black_RED", "KA_SCAR_H_Laser_Black_GREEN", "KA_SCAR_H_Laser_Sand_IR", "KA_SCAR_H_Laser_Sand_RED", "KA_SCAR_H_Laser_Sand_GREEN", "KA_SCAR_H_Laser_Flashlight_Black_IR", "KA_SCAR_H_Laser_Flashlight_Black_RED", "KA_SCAR_H_Laser_Flashlight_Black_GREEN", "KA_SCAR_H_Flashlight_Laser_Black", "KA_SCAR_H_Laser_Flashlight_Sand_IR", "KA_SCAR_H_Laser_Flashlight_Sand_RED", "KA_SCAR_H_Laser_Flashlight_Sand_GREEN", "KA_SCAR_H_Flashlight_Laser_Sand", "KA_SCAR_H_Laser_Flashlight_Black_UP_IR", "KA_SCAR_H_Laser_Flashlight_Black_UP_RED", "KA_SCAR_H_Laser_Flashlight_Black_UP_GREEN", "KA_SCAR_H_Flashlight_Laser_Black_UP", "KA_SCAR_H_Laser_Flashlight_Sand_UP_IR", "KA_SCAR_H_Laser_Flashlight_Sand_UP_RED", "KA_SCAR_H_Laser_Flashlight_Sand_UP_GREEN", "KA_SCAR_H_Flashlight_Laser_Sand_UP"};
- iconPicture = "\KA_SCAR_H\ui\attachment_side.paa";
- iconPinpoint = "Center";
- iconPosition[] = {0.3, 0.4};
- iconScale = 0.2;
- };
- class UnderBarrelSlot : asdg_UnderSlot {
- linkProxy = "\A3\Data_f_Mark\proxies\weapon_slots\UNDERBARREL";
- iconPicture = "\KA_SCAR_H\ui\attachment_bipod.paa";
- iconPinpoint = "Center";
- iconPosition[] = {0.3, 0.54};
- iconScale = 0.2;
- };
- mass = 120;
- allowedSlots[] = {801, 701, 901};
- };
- class GunParticles : GunParticles {
- class RifleAmmoCloud {
- positionName = "Nabojnicestart";
- directionName = "Nabojniceend";
- effectName = "KA_RifleAmmoCloud";
- };
- class SmokeEffect {
- positionName = "usti hlavne";
- directionName = "usti hlavne";
- effectName = "KA_RifleSmokeTrail";
- };
- class BarrelRefract {
- positionName = "usti hlavne";
- directionName = "usti hlavne up";
- effectName = "KA_BarrelRefract";
- };
- };
- class ItemInfo {
- priority = 1;
- };
- distanceZoomMin = 300;
- distanceZoomMax = 300;
- changeFiremodeSound[] = {"KA_SCAR_H\sounds\SCAR_L_selector.wss", 1.4122, 1, 5};
- drySound[] = {"KA_SCAR_H\sounds\SCAR_L_dryfire.wss", 1.55119, 1, 20};
- reloadMagazineSound[] = {"KA_SCAR_H\sounds\reload", 2, 1, 10};
- modes[] = {"Single", "FullAuto", "single_close_optics1", "single_medium_optics1", "single_far_optics1", "fullauto_medium"};
- class Single : Mode_SemiAuto {
- sounds[] = {"StandardSound", "SilencedSound"};
- class BaseSoundModeType {
- closure1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_closure_01", 0.398107, 1, 30};
- closure2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_closure_02", 0.398107, 1, 30};
- soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
- };
- class StandardSound : BaseSoundModeType {
- begin1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_01", 1.77828, 1, 1800};
- begin2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_02", 1.77828, 1, 1800};
- begin3[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_03", 1.77828, 1, 1800};
- soundBegin[] = {"begin1", 0.34, "begin2", 0.33, "begin3", 0.33};
- class SoundTails {
- class TailInterior {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_interior", 1.99526, 1, 1800};
- frequency = 1;
- volume = "interior";
- };
- class TailTrees {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_trees", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- class TailForest {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_forest", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailMeadows {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_meadows", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailHouses {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_houses", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- };
- };
- class SilencedSound : BaseSoundModeType {
- begin1[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- begin2[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- begin3[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34};
- class SoundTails {
- class TailInterior {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_interior", 1.99526, 1, 400};
- frequency = 1;
- volume = "interior";
- };
- class TailTrees {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_trees", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- class TailForest {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_forest", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailMeadows {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_meadows", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailHouses {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_houses", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- };
- };
- reloadTime = 0.1;
- dispersion = 0.00033;
- recoil = "recoil_single_ebr";
- recoilProne = "recoil_single_prone_ebr";
- minRange = 2;
- minRangeProbab = 0.3;
- midRange = 350;
- midRangeProbab = 0.7;
- maxRange = 500;
- maxRangeProbab = 0.05;
- };
- class FullAuto : Mode_FullAuto {
- sounds[] = {"StandardSound", "SilencedSound"};
- class BaseSoundModeType {
- closure1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_closure_01", 0.398107, 1, 30};
- closure2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_closure_02", 0.398107, 1, 30};
- soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
- };
- class StandardSound : BaseSoundModeType {
- begin1[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_01", 1.77828, 1, 1800};
- begin2[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_02", 1.77828, 1, 1800};
- begin3[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_short_03", 1.77828, 1, 1800};
- soundBegin[] = {"begin1", 0.34, "begin2", 0.33, "begin3", 0.33};
- class SoundTails {
- class TailInterior {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_interior", 1.99526, 1, 1800};
- frequency = 1;
- volume = "interior";
- };
- class TailTrees {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_trees", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- class TailForest {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_forest", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailMeadows {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_meadows", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailHouses {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_tail_houses", 1, 1, 1800};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- };
- };
- class SilencedSound : BaseSoundModeType {
- begin1[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- begin2[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- begin3[] = {"\KA_SCAR_H\sounds\fal_silenced", 0.9, 1, 200};
- soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34};
- class SoundTails {
- class TailInterior {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_interior", 1.99526, 1, 400};
- frequency = 1;
- volume = "interior";
- };
- class TailTrees {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_trees", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*trees";
- };
- class TailForest {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_forest", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*forest";
- };
- class TailMeadows {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_meadows", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailHouses {
- sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\silencer_DMR_03_tail_houses", 1, 1, 400};
- frequency = 1;
- volume = "(1-interior/1.4)*houses";
- };
- };
- };
- reloadTime = 0.096;
- dispersion = 0.00033;
- recoil = "recoil_auto_ebr";
- recoilProne = "recoil_auto_prone_ebr";
- minRange = 0;
- minRangeProbab = 0.9;
- midRange = 15;
- midRangeProbab = 0.7;
- maxRange = 30;
- maxRangeProbab = 0.05;
- aiRateOfFire = 1e-006;
- };
- class single_close_optics1 : Single {
- requiredOpticType = 1;
- showToPlayer = 0;
- minRange = 2;
- minRangeProbab = 0.05;
- midRange = 300;
- midRangeProbab = 0.8;
- maxRange = 500;
- maxRangeProbab = 0.01;
- aiRateOfFire = 2;
- aiRateOfFireDistance = 300;
- };
- class single_medium_optics1 : single_close_optics1 {
- minRange = 300;
- minRangeProbab = 0.05;
- midRange = 500;
- midRangeProbab = 0.7;
- maxRange = 700;
- maxRangeProbab = 0.05;
- aiRateOfFire = 2;
- aiRateOfFireDistance = 500;
- };
- class single_far_optics1 : single_medium_optics1 {
- requiredOpticType = 2;
- minRange = 300;
- minRangeProbab = 0.05;
- midRange = 700;
- midRangeProbab = 0.5;
- maxRange = 1000;
- maxRangeProbab = 0.05;
- aiRateOfFire = 4;
- aiRateOfFireDistance = 600;
- };
- class fullauto_medium : FullAuto {
- showToPlayer = 0;
- burst = 3;
- minRange = 2;
- minRangeProbab = 0.5;
- midRange = 50;
- midRangeProbab = 0.7;
- maxRange = 100;
- maxRangeProbab = 0.05;
- aiRateOfFire = 2;
- };
- class MK13_EGLM : UGL_F {
- displayName = "MK13 EGLM grenade launcher";
- descriptionShort = EGLM;
- useModelOptics = 0;
- useExternalOptic = 0;
- magazines[] = {"1Rnd_HE_Grenade_shell", "KA_40mm_M7A3", "KA_40mm_MKnKJ", "KA_40mm_M14", "KA_40mm_M814", "1Rnd_Flechette_Cartridge_Grenade_shell", "UGL_FlareWhite_F", "UGL_FlareGreen_F", "UGL_FlareRed_F", "UGL_FlareYellow_F", "UGL_FlareCIR_F", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeRed_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell"};
- cameraDir = "OP_look";
- discreteDistance[] = {50, 100, 150, 200, 250, 300, 350, 400};
- discreteDistanceCameraPoint[] = {"OP_eye50", "OP_eye100", "OP_eye150", "OP_eye200", "OP_eye250", "OP_eye300", "OP_eye350", "OP_eye400"};
- discreteDistanceInitIndex = 1;
- reloadAction = "GestureReloadMk20UGL";
- reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons\Rifles\Mk20\MK20_UGL_reload", 1.2, 1, 10};
- };
- aiDispersionCoefY = 3;
- aiDispersionCoefX = 2;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement