123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593 |
- #define COMPONENT weapons
- #include "../RD501_main/config_macros.hpp"
- #include "_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(weapons)
- {
- author=DANKAUTHORS;
- requiredAddons[]=
- {
- macro_lvl1_req
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(scope,dc_15a_x4),
- macro_new_weapon(scope,dc_15a_acog),
- macro_new_weapon(scope,dc_15a_x4_x8)
- };
- };
- };
- //scopes
- class CfgWeapons
- {
- class JLTS_stun_muzzle;
- class RD501_stun_muzzle: JLTS_stun_muzzle
- {
- magazines[]=
- {
- macro_new_mag(stun,5)
- };
- };
- };
- class CfgMagazineWells
- {
- class macro_new_magwell(GL_Mags)
- {
- macro_new_magwell(GL_flare)[]=
- {
- GL_flare_rounds
- };
-
-
- macro_new_magwell(GL_AP)[]=
- {
- macro_new_mag(AT_GL,2),
- macro_new_mag(UGL_AP,2)
- };
- macro_new_magwell(GL_HE)[]=
- {
- macro_new_mag(HE_GL,3),
- macro_new_mag(UGL_EMP,1),
- macro_new_mag(UGL_HE,3)
- };
-
- macro_new_magwell(smoke)[]=
- {
- "3Rnd_Smoke_Grenade_shell",
- "3Rnd_SmokeRed_Grenade_shell",
- "3Rnd_SmokeGreen_Grenade_shell",
- "3Rnd_SmokeYellow_Grenade_shell",
- "3Rnd_SmokePurple_Grenade_shell",
- "3Rnd_SmokeBlue_Grenade_shell",
- "3Rnd_SmokeOrange_Grenade_shell",
- "ACE_HuntIR_M203"
-
-
-
- };
-
- };
- class macro_new_magwell(DC17_GL_Mags)
- {
- macro_new_magwell(1rnd_GL_flare)[]=
- {
- MACRO_GL_flare_rounds_1rnd
- };
- macro_new_magwell(1rnd_smoke)[]=
- {
- "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",
- "ACE_HuntIR_M203"
- };
- }
-
- class macro_new_magwell(DC15C_Shotgun)
- {
- macro_new_magwell(shotgun)[]=
- {
- macro_new_mag(shotgun_scatter,6),
- macro_new_mag(shotgun_HE,6),
- macro_new_mag(shotgun_EMP,2)
- };
- };
-
- class macro_new_magwell(DC_15a_energy)
- {
- macro_new_magwell(DC_15a_energy)[]=
- {
- macro_new_mag(DC15a_Med,30),
- macro_new_mag(DC15a_High,15),
- macro_new_mag(DC15a_Low,60)
- };
- };
- class macro_new_magwell(rocket_RPS)
- {
- macro_new_magwell(rocket_RPS)[]=
- {
- macro_new_mag(RPS_AT,1),
- macro_new_mag(RPS_AA,1)
- };
- };
- };
- class CfgMagazines
- {
- class CA_Magazine;
- class SWOP_e11_Mag;
- class UGL_FlareWhite_F;
- class macro_new_mag(westar_35,20): CA_Magazine
- {
- scope = 2;
- model = "SW_CloneWarsWeapons\ammo.p3d";
- displayName = "20Rnd WESTAR-35 Magazine";
- picture = "\SWOP_Main\swop_Pistols\ui\M_SB_EnergyCell_CA.paa";
- ammo = macro_new_ammo(westar_35);
- //ammo = "SWOP_DC17_Ammo_low_RD501";
- tracersEvery = 1;
- type = 16;
- count = 20;
- descriptionShort = "20 Round WESTAR-35 Magazine";
- mass = 6;
- initSpeed = 310;
- };
- class 1Rnd_HE_Grenade_shell;
- class macro_new_mag(AT_GL,2): CA_Magazine
- {
- author = "RD501";
- scope = 2;
- type = 16;
- displayName = "2 Rnd LR AP DC-15A Grenades";
- displayNameShort = "2 Rnd LR AP DC-15A";
- picture = "\A3\Weapons_f\Data\ui\gear_UGL_slug_CA.paa";
- ammo = macro_new_ammo(GL_AT)
- initSpeed = 220;//120;
- count = 2;
- nameSound = "";
- descriptionShort = "2Rnd LR AP DC-15A Grenade";
- //mass = 30;
- mass = 15;
- };
- class macro_new_mag(HE_GL,3): macro_new_mag(AT_GL,2)
- {
- displayName = "3 Rnd LR HE DC-15A Grenades";
- displayNameShort = "3 RndLR HE DC-15A";
- count=3;
- ammo = macro_new_ammo(GL_HE)
- descriptionShort = "3Rnd LR HE DC-15A Grenade";
- initSpeed = 120;
- };
- class SWOP_dc15xBlasterRifle_Mag;
- class macro_new_mag(DC15x,6): SWOP_dc15xBlasterRifle_Mag
- {
- author = "RD501";
- scope = 2;
- model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
- picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\powercell_X_ca.paa";
- displayName = "6Rnd DC-15X Magazine";
- ammo =macro_new_ammo(DC15x);
- tracersEvery = 1;
- count = 6;
- descriptionShort = "6Rnd DC15X Magazine";
- mass = 20;
- initSpeed = 4000;
- };
- class macro_new_mag(DC15s,60): CA_Magazine
- {
- author = "RD501";
- scope = 2;
- model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
- picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
- displayName = "60Rnd DC-15S Carbine Magazine";
- ammo = macro_new_ammo(dc15s_carbine);
- tracersEvery = 1;
- type = 16;
- count = 60;
- descriptionShort = "60Rnd DC15 Blaster Magazine";
- //mass = 15;
- mass = 20;
- initSpeed = 310;
- };
- class Titan_AA;
- class CA_LauncherMagazine;
- class Titan_AT;
- class macro_new_mag(RPS_AT,1): Titan_AT
- {
- scope = 2;
- displayName = "RPS 6 AT Rocket";
- ammo = macro_new_ammo(RPS_AT);
- type = "2 * 256";
- count = 1;
- initSpeed = 60;
- maxLeadSpeed = 60;
- mass = 70;
- };
- class macro_new_mag(RPS_AA,1): Titan_AA
- {
- author = "Bohemia Interactive";
- scope = 2;
- displayName = "RPS 6 AA Rocket";
- displayNameShort = "AA";
- ammo = macro_new_ammo(RPS_AA);
- type = "6 * 256";
- picture = "\A3\Weapons_F_beta\Launchers\titan\Data\UI\gear_titan_missile_atl_CA.paa";
- model = "\A3\Weapons_F_beta\Launchers\titan\titan_missile_atl";
- initSpeed = 18;
- maxLeadSpeed = 277.778;
- descriptionShort = "Type: Anti-Air<br />Rounds: 1<br />Used in: Titan MPRL";
- mass = 100;
- };
- /*class SWOP_b2rocket_Mag: CA_Magazine
- {
- scope = 2;
- displayName = "5Rnd B2 Wrist Rockets";
- model = "\SW_ExtraWeapons\PICKUPS\bolts.p3d";
- picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\bolts_X_ca.paa";
- ammo = "R_WristRocket_F";
- tracersEvery = 1;
- type = 16;
- count = 5;
- descriptionShort = "5Rnd Wrist Rockets";
- mass = 3;
- initSpeed = 100;
- soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2", 0.501187, 1.3, 400};
- nameSound = "missiles";
- };*/
- class SW_iondisruptor_BlasterRifle_Mag;
- class macro_new_mag(RAMER,6):SW_iondisruptor_BlasterRifle_Mag
- {
- scope = 2;
- model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
- displayName = "6Rnd ION Magazine";
- picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Mag.paa";
- ammo = "SW_iondisruptor_BlasterRifle_Ammo";
- tracersEvery = 1;
- count = 6;
- descriptionShort = "6Rnd ION Magazine";
- mass = 50;
- initSpeed = 310;
- author = "RD501";
- };
- class SWOP_DC15SAPistol_Mag;
- class macro_new_mag(DC15_razor_blade,9): SWOP_DC15SAPistol_Mag
- {
- scope = 2;
- model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
- picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
- displayName = "9Rnd DC15-SA Magazine";
- ammo =macro_new_ammo(DC15_Razor_Blade);
- tracersEvery = 1;
- type = 16;
- count = 9;
- descriptionShort = "9Rnd DC15SA Magazine";
- mass =4;
- initSpeed = 310;
- };
- class SmokeShell;
- class smoke_meme_mag: SmokeShell
- {
- author = "Bohemia Interactive";
- displayNameShort = "Yeet Smoke";
- ammo = "smoke_meme";
- picture = "\A3\Weapons_f\data\ui\gear_smokegrenade_blue_ca.paa";
- model = "\A3\Weapons_f\ammo\smokegrenade_blue";
- descriptionShort = "Type: Smoke Grenade - Blue<br />Rounds: 1<br />Used in: Hand";
- displayName = "[]M18 Smoke Grenade (Yeet)";
- };
- class 3AS_Chaingun_Drum_Mag;
- class macro_new_mag(z1000,3000) : 3AS_Chaingun_Drum_Mag
- {
- count = 3000;
- tracersEvery=1;
- ammo = macro_new_ammo(z1000)
- displayName="3000Rnd Z1000 Chaingun Drum";
- initSpeed=860;
- weight=1;
- scope=1;
- };
-
- };
- class CfgAmmo
- {
- class GrenadeHand;
- class M_Titan_AT;
- class R_PG32V_F;
- class R_TBG32V_F;
- class LaserAmmo_Minigun;
- class FlareBase;
- class G_40mm_HE;
- class ATMine_Range_Ammo;
- class PipeBombBase;
- class A_RocketHH15Clone_HEAT_FireForget;
- class M_Titan_AA;
- class DH17_Blaster_Ammo;
- class 3AS_Chaingun_Ammo;
- class M_Titan_AT;
-
- class macro_new_ammo(z6):LaserAmmo_Minigun
- {
- hit = mg_hit_high;
- indirectHit = 0.0;
- indirectHitRange = 0.0;
- explosive = 0.0;
- caliber = mg_cali_high;
- ACE_caliber = 0;
- };
- class macro_new_ammo(GL_AT): G_40mm_HE
- {
- hit = 350;
- indirectHit = 0;
- indirectHitRange = .1;
- timeToLive =30;
- model="\3AS\3AS_Equipment\model\3AS_coredetonator.p3d";
- fuseDistance = 3;
- explosive = 0.0001;
- deflecting = 5;
- caliber = 5;
- ace_frag_enabled = 0;
- ace_frag_force = 0;
- ace_frag_classes[] = {""};
- ace_frag_metal = 0;
- ace_frag_charge = 0;
- ace_frag_gurney_c = 0;
- ace_frag_gurney_k = "0";
- ace_rearm_caliber = 0;
- };
- class macro_new_ammo(GL_HE): G_40mm_HE
- {
- hit = 60;
- indirectHit = 50;
- indirectHitRange = 5;
- timeToLive =30;
- model="\3AS\3AS_Equipment\model\3AS_thermaldet.p3d";
- fuseDistance = 3;
-
- };
- class UNSC_Mine_Ammo: ATMine_Range_Ammo
- {
- hit = 2500;
- indirectHit = 2500;
- indirectHitRange = 20;
- };
-
- class TermMineA: PipeBombBase
- {
- hit = 400;
- indirectHit = 400;
- indirectHitRange = 25;
- };
- class TermMineC: PipeBombBase
- {
- hit = 2500;
- indirectHit = 2500;
- indirectHitRange = 15;
- };
-
- class macro_new_ammo(RPS_AT):M_Titan_AT
- {
- aiAmmoUsageFlags = "128 + 256 +512";
- hit = 95;
- thrust = 130;//130;
- thrustTime = 3.5;
- timeToLive = 20;
- indirectHit = 20;
- indirectHitRange = 2;
- };
- class macro_new_ammo(RPS_AA) : M_Titan_AA
- {
- hit = 800;
- indirectHit = 400;
- indirectHitRange = 1;
- };
- //212th stuff
- class SCI_PLX1_R : M_Titan_AT
- {
- hit = 95;
- indirectHit = 20;
- indirectHitRange = 2;
- };
- class SCI_RPS6_HEAA_R : R_PG32V_F
- {
- hit = 800;
- indirectHit = 400;
- indirectHitRange = 1;
- };
- class SCI_RPS6_HEDP_R : R_TBG32V_F
- {
- hit = 50;
- indirectHit = 60;
- indirectHitRange = 8;
- };
-
- class B_127x108_APDS;
- class SmokeShell;
- class smoke_meme: SmokeShell
- {
- model = "\A3\Weapons_f\ammo\smokegrenade_blue_throw";
- smokeColor[] = {0.1183, 0.1867, 1, 1};
- effectsSmoke = "smoke_yeet";
- };
- //LOOK HERE $$$
- class macro_new_ammo(z1000) : 3AS_Chaingun_Ammo
- {
- hit=57.45;
- caliber=3.5999999;
- indirectHit = 3;
- indirectHitRange = 0.5;
- explosive = 0.4;
- ACE_caliber=1;
- typicalSpeed=860;
- model="RD501_Vehicle_Weapons\_ammo\data\laser_small_blue.p3d";
- };
-
- };
- class smoke_yeet
- {
- class SmokeShell
- {
- simulation = "particles";
- type = "SMOKEEFFECT_MEME";
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 1;
- };
- class SmokeShell2
- {
- simulation = "particles";
- type = "SmokeShellWhite2";
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 1;
- };
- class SmokeShellUW
- {
- simulation = "particles";
- type = "SmokeShellWhiteUW";
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 1;
- };
- class SmokeShell2UW
- {
- simulation = "particles";
- type = "SmokeShellWhite2UW";
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 1;
- };
- };
- class CfgCloudlets
- {
- class Default;
-
- class SMOKEEFFECT_MEME: Default
- {
- animationSpeedCoef = 1;
- colorCoef[] = {"colorR", "colorG", "colorB", "colorA"};
- sizeCoef = 1;
- position[] = {0, 0, 0};
- interval = 0.03;
- circleRadius = 0;
- circleVelocity[] = {0, 0, 0};
- particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
- particleFSNtieth = 16;
- particleFSIndex = 7;
- particleFSFrameCount = 48;
- particleFSLoop = 1;
- angleVar = 0.1;
- animationName = "";
- particleType = "Billboard";
- timerPeriod = 1;
- lifeTime = 20;
- moveVelocity[] = {0.0, 0.0, 0.0};//{0.2, 0.1, 0.1};
- rotationVelocity = 1;
- weight = 1.2777;
- volume = 1;
- rubbing = 0.05;
- size[] = {6, 16};//{0.1, 2, 6};
- color[] = {{0.6, 0.6, 0.6, 0.2}, {0.6, 0.6, 0.6, 0.05}, {0.6, 0.6, 0.6, 0}};
- animationSpeed[] = {1.5, 0.5};
- randomDirectionPeriod = 1;
- randomDirectionIntensity = 0.04;
- onTimerScript = "";
- beforeDestroyScript = "";
- destroyOnWaterSurface = 1;
- destroyOnWaterSurfaceOffset = -0.6;
- lifeTimeVar = 2;
- positionVar[] = {0, 0, 0};
- MoveVelocityVar[] = {0.25, 0.25, 0.25};
- rotationVelocityVar = 20;
- sizeVar = 0.5;
- colorVar[] = {0, 0, 0, 0.35};
- randomDirectionPeriodVar = 0;
- randomDirectionIntensityVar = 0;
- };
- };
- class CfgRecoils
- {
- class recoil_default;
- class Default;
- class macro_new_recoil(westar_pistol): recoil_default
- {
- muzzleOuter[] = {"0.05", ".5", "0.1", "0.2"};
- kickBack[] = {"0.04", "0.08"};
- temporary = "0.06";
- };
- class macro_new_recoil(dc15_rb): Default
- {
- muzzleOuter[] = {"0.3*0.2", "6", "0.3*1", ".6"};
- muzzleInner[] = {0, 0, 0.1, 0.1};
- kickBack[] = {"0.03*2", "0.06*2.5"};
- permanent = "0.1*1.8";
- temporary = "0.01*1.2";
- };
- class Valken_Super_auto_recoil: Default
- {
- muzzleOuter[] = {".08*0.25", ".08*0.25", "0.3*0.25", ".1*0.25"};
- muzzleInner[] = {0, 0, 0.1, 0.1};
- kickBack[] = {"0.03*0.25", "0.03*0.25"};
- permanent = "0.1*0.25";
- temporary = "0.01*0.25";
- };
- };
|