Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches{
- class arch_srifle_ax308_c{
- requiredaddons[] = {};
- requiredversion = 0.1;
- units[] = {};
- weapons[] = {"arch_srifle_ax308","arch_srifle_ax308_op","arch_srifle_ax308_ops"};
- magazines[] = {"arch_10rnd_762x51_Mag", "arch_10rnd_762x51_Tracer_Mag"};
- };
- };
- class Mode_SemiAuto;
- class CfgWeapons{
- class Rifle_Base_F {};
- class Rifle_Long_Base_F : Rifle_Base_F {};
- class arch_srifle_ax308_base : Rifle_Long_Base_F {
- access=3;
- afmax=0;
- aidispersioncoefx=3;
- aidispersioncoefy=4;
- airateoffire=0.1;
- airateoffiredistance=500;
- ammo="";
- autofire = 0;
- autoreload = 0;
- backgroundreload = 0;
- //ballisticscomputer = 0;
- 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};
- candrop = 1;
- canlock = 0;
- canshootinwater = 0;
- cartridgepos="nabojnicestart";
- cartridgevel="nabojniceend";
- count = 0;
- cursor="srifle";
- cursoraim = "CursorAim";
- cursoraimon = "";
- cursorsize = 1;
- cmimmunity = 1;
- descriptionshort="Bolt action rifle <br />Caliber:.308 Winchester/7.62x51 NATO";
- detectrange = 0;
- dexterity= 0.9;
- discretedistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200};
- discretedistanceinitindex = 1;
- dispersion = 0.0001;
- displayname = "AX 308 Sniper Rifle";
- disposableweapon = 0;
- distancezoommax = 1000;
- distancezoommin = 300;
- drySound[] = {"ax308\sounds\dry.ogg", 0.630957, 1, 30};
- emptysound[] = {""};
- enableattack = 1;
- fireanims[] = {};
- firelightduration = 0.01;
- firelightintensity = 0.03;
- firespreadangle = "3.0f";
- fireLightDiffuse[] = {0.937,0.631,0.259};
- fireLightAmbient[] = {0,0,0};
- flash = "gunfire";
- flashsize = 0.5;
- forceoptics = 0;
- handanim[] = {"OFP2_ManSkeleton", "ax308\anim\handanim.rtm"};
- hiddenselections[] = {};
- hiddenselectionstextures[] = {};
- htmax = 600;
- htmin = 1;
- // initspeed = 1000; //Muzzle Velocity
- /* Add IR Laser To Weapon Currenlty se to FALSE
- irdistance = 0;
- irdotintensity = 0.001;
- irlaserend = "laser dir"; //named selection on the .p3d
- irlaserpos = "laser pos"; //same as above
- laser = 0;
- */
- /*
- lockacquire = 0; //Used in launchers to manualy (1 RMB) or automatically(0) lock targets for missiles
- lockedtargetsound[] = {"\A3\sounds_f\dummysound", 0.000316228, 6};
- lockingtargetsound[] = {"\A3\sounds_f\dummysound", 0.000316228, 2};
- */
- magazinereloadtime = 0;
- magazines[] = {"arch_10rnd_762x51_Mag"};
- maxleadspeed = 50;
- maxrange = 700;//Max Range Ai Can shoot with this weapon (same for mid and min)
- maxrangeprobab = 0.5;
- maxrecoilsway = 0.01;
- memorypointcamera = "eye";
- midrange = 500;
- midrangeprobab = 1;
- minrange = 1;
- minrangeprobab = 1;
- model = "ax308\ax_308_model";
- modelmagazine = "ax308\ax_308_mag";
- modes[] = {"Single"};
- multiplier = 1; //Ammo used per shot ( strange o.O )
- muzzleend = "konec hlavne";
- muzzlepos = "usti hlavne";
- muzzles[] ={"this"};
- namesound = "rifle";
- optics = 0;
- opticsdisableperipherialvision = 0.67;
- opticsflare = 0;
- opticsid = 0;
- opticsppeffects[] = {};
- opticszoominit = 0.75;//Optics FOV at default zoom in rad
- opticszoommax = 0.75;//at max
- opticszoommin = 0.75;//at min
- picture = "ax308\UI\gear_arch_ax308_x_ca";
- primary=10;
- recoil = "recoil_single_gm6";
- recoilProne = "recoil_single_prone_gm6";
- reloadAction = "GestureReloadLRR";
- reloadMagazineSound[] = {"A3\Sounds_F\weapons\M320\M320_reload", 0.501187, 1, 10};
- reloadtime = 1.5;
- scope = 2;//Change if you want the class to be available externally
- selectionfireanim = "zasleh";
- showaimcursorinternal = 1;
- showempty = 1;
- shownunderwaterselections[] = {};
- showswitchaction = 0;
- showtoplayer = 1;
- simulation = "Weapon";
- sound[] = {};
- soundbegin[] = {"sound", 1};
- soundbeginwater[] = {"sound", 1};
- soundclosure[] = {"sound", 1};
- soundcontinuous = 0;
- soundend[] = {"sound", 1};
- swaydecayspeed = 2;
- tbody = 100;
- texturetype = "default";
- type = 1;
- uipicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
- weaponinfotype = "RscWeaponZeroing";
- weaponlockdelay = 0;
- weaponlocksystem = 0;
- weaponpoolavailable = 1;
- weight = 5;
- class Library {
- libtextdesc = "The Acuracy International AX 308 is the lighter and more accurate succesor of the AW 308 also known as L96A1 which is used by the British army up to this day";
- };
- class WeaponSlotsInfo{
- allowedslots[] = {904};
- mass = 4;
- class MuzzleSlot{
- access =1;
- compatibleitems[] = {"muzzle_snds_B"};
- displayName = "Muzzle Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
- scope = 0;
- };
- class CowsSlot{
- access = 1;
- compatibleitems[] = {"optic_SOS", "optic_DMS", "optic_Arco", "optic_aco", "optic_ACO_grn", "optic_hamr", "optic_Holosight", "optic_SOS", "FHQ_optic_ACOG", "FHQ_optic_AIM", "FHQ_optic_AIM_tan", "FHQ_optic_TWS3050", "FHQ_optic_HWS_G33", "FHQ_optic_HWS", "FHQ_optic_HWS_tan", "FHQ_optic_HWS_G33_tan", "FHQ_optic_ACOG_tan", "FHQ_optic_MicroCCO", "FHQ_optic_MicroCCO_tan", "FHQ_optic_MicroCCO_low", "FHQ_optic_MicroCCO_low_tan", "FHQ_optic_LeupoldERT", "FHQ_optic_LeupoldERT_tan"};
- displayname = "Optics Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";
- scope = 0;
- };
- class PointerSlot {};
- };
- class GunParticles {
- class FirstEffect {
- effectname = "SniperCloud";
- directionname = "Konec hlavne";
- positionname = "Usti hlavne";
- };
- };
- class Single: Mode_SemiAuto {
- //aidispersioncoefx = 1.4;
- //aidispersioncoefy = 1.7;
- airateoffire = 3;
- airateoffiredistance = 500;
- //artillerycharge = 1;
- //artillerydispersion = 1;
- //autofire = 0;
- begin1[] = {"ax308\sounds\wss\ax308_begin1.wss"};
- begin2[] = {"ax308\sounds\wss\ax308_begin1.wss"};
- begin3[] = {"ax308\sounds\wss\ax308_begin1.wss"};
- /*
- EBR Sounds
- begin1[] = {"A3\sounds_f\weapons\EBR\EBR_st_4", 1.12202, 1, 1200};
- begin2[] = {"A3\sounds_f\weapons\EBR\EBR_st_5", 1.12202, 1, 1200};
- begin3[] = {"A3\sounds_f\weapons\EBR\EBR_st_6", 1.12202, 1, 1200};
- */
- soundBegin[] = {"begin1", 0.34, "begin2", 0.33, "begin3", 0.33};
- //burst = 1;
- //canshootinwater = 0;
- closure1[] = {"ax308\sounds\wss\chamber.wss", 1.77828, 1, 10};
- //closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_2", 1.77828, 1, 10};
- //closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_3", 1.77828, 1, 10};
- soundclosure[] = {"closure1", 0.5};//, "closure2", 0.5};
- dispersion = 0.00018;
- //displayname = "Semi";
- //ffcount = 1;
- //fffrequency = 11;
- //ffmagnitude = 0.5;
- //flash = "gunfire";
- //flashsize = 0.1;
- maxrange = 350;
- maxrangeprobab = 0.05;
- midrange = 250;
- midrangeprobab = 0.7;
- minrange = 2;
- minrangeprobab = 0.1;
- //multiplier = 1;
- recoil = "recoil_single_gm6";
- recoilprone = "recoil_single_prone_gm6";
- reloadtime = 1.5;// Time Between next round being able to fire(bolt rotation)
- //requiredoptictype = -1;
- //showtoplayer = 1;
- //sound[] = {"", 10, 1};
- //soundbeginwater[] = {"sound", 1};
- //soundburst = 0;
- soundcontinuous = 0;
- //soundend[] = {};
- //soundloop[] = {};
- texturetype = "semi";
- useaction = 0;
- useactiontitle = "";
- weaponsoundeffect = "DefaultRifle";
- };
- };
- class arch_srifle_ax308 : arch_srifle_ax308_base {
- scope = 2;
- class LinkedItems{
- class LinkedItemsOptic{
- item = "optic_DMS";
- slot = "CowsSlot";
- };
- };
- };
- class arch_srifle_ax308_op : arch_srifle_ax308 {
- scope = 2;
- class LinkedItems {
- class LinkedItemsOptic{
- item = "optic_hamr";
- slot = "CowsSlot";
- };
- };
- };
- class arch_srifle_ax308_ops : arch_srifle_ax308_op {
- class LinkedItems{
- class LinkedItemsMuzzle{
- item = "muzzle_snds_B";
- slot = "MuzzleSlot";
- };
- };
- };
- };
- class CfgMagazines{
- class 20Rnd_762x51_Mag;
- class arch_10rnd_762x51_Mag : 20Rnd_762x51_Mag {
- ammo = "arch_762x51_Ball";
- count = 10;
- descriptionshort = "Caliber: .308 Winchester (7.62x51)<br />Rounds: 10<br />Used in: AX308";
- displayname = ".308 Winchester 10Rnd AX308 Mag";
- initspeed = 980;
- lastroundstracer = 0;
- picture = "ax308\UI\gear_arch_ax308_x_ca"; //Not in use atm
- model = "ax308\ax_308_mag";
- scope = 2;
- tracersevery = 0;
- mass = 6.5;
- };
- class arch_10rnd_762x51_Tracer_Mag : arch_10rnd_762x51_Mag{
- ammo = "arch_762x51_Tracer_Red";
- descriptionshort = "Caliber: .308 Winchester TRACER (7.62x51)<br />Rounds: 10<br />Used in: AX308";
- displayname = ".308 Winchester 10Rnd AX308 Mag (Tracer)";
- lastroundstracer = 0;
- scope = 2;
- tracersevery = 1;
- };
- };
- class CfgAmmo {
- class B_762x51_Ball; //External
- class B_762x51_Tracer_Red; //External may not need to inherit
- class arch_762x51_Ball : B_762x51_Ball {//my .308 ammo
- model = "\A3\Weapons_f\Data\bullettracer\tracer_white";
- };
- class arch_762x51_Tracer_Red : B_762x51_Tracer_Red{//my .308 ammo tracer red
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement