Search the Community
Showing results for tags 'shotgun'.
Found 4 results
-
Why does my shotgun destroy buildings?
doc. caliban posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm working on a shotgun mod that has custom buckshot and an explosive round that emulates the FRAG12. The problem I'm seeing is that they both destroy destructible buildings, which makes no sense. The frag round only does a tiny fraction of what a vanilla 40mm does and shouldn't be destroying buildings either. Something in my config must be wrong, and I was trying to keep the damage toned down to realistic levels as well. One factor I have a hard time with is "caliber" where 1 is supposedly the penetration of a 7.62mm round. I'm not so much worried about my specs in general though. I really need to end up with double-ought that doesn't take a control tower down after a couple dozen shots. lol Any feedback about the config at all is welcome though. Here's what I've got: class CfgAmmo { class SubmunitionBase; class ShotgunBase; class BulletBase; class B_12Gauge_00Buck: ShotgunBase { simulation="shotSpread"; hit=2; indirectHit=0; indirectHitRange=0; cartridge="FxCartridge_65_caseless"; cost=2; typicalSpeed=404; visibleFire=4; audibleFire=8; airFriction=-0.008; caliber=0.3; }; class B_12Gauge_FRAG12: BulletBase { hit=42; indirectHit=1; indirectHitRange=1; suppressionRadiusHit=5; explosive=0.02; caliber=0.3; typicalSpeed=274.3; airFriction=-0.008; cartridge="FxCartridge_65_caseless"; deflecting=3; }; }; -
Hi, I had several situations when the 2 shots shotgun did not want to fire and did not even reload.
-
I'm currently using the CUP weapons pack and the RHS weapons. Each have a shotgun, the CUP has the AA12 and the RHS has some pump shotgun. I'm trying to make a neat training area that has a clay skeet shooting area but only bullets can break them. I checked to see if it was only addon ammo but that's not the case. The slugs break them but not the pellets. Any ideas why this is happening?
-
Hi all, I'm developing a Shotgun addon, after the last ArmA3 update, I have this error: and this other error only if You use also my Life Pack: this is my config: class cfgpatches { class shootgun { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_weapons_f","A3_Weapons_F_Acc"}; }; }; #include "CfgAmmo.hpp" #include "CfgMagazines.hpp" #include "CfgWeapons.hpp" enum { destructengine=2, destructdefault=6, destructwreck=7, destructtree=3, destructtent=4, stabilizedinaxisx=1, stabilizedinaxesxyz=4, stabilizedinaxisy=2, stabilizedinaxesboth=3, destructno=0, stabilizedinaxesnone=0, destructman=5, destructbuilding=1 }; //CfgWeapons.hpp class Single; //class Mode_SemiAuto; //class Mode_Burst; //class Mode_FullAuto; //class FullAuto; class SlotInfo; class CowsSlot; class PointerSlot; class CfgWeapons { class WeaponSlotsInfo { allowedslots[] = {901}; mass = 4; class MuzzleSlot: SlotInfo { displayname = "$str_a3_cfgweapons_abr_base_f_weaponslotsinfo_muzzleslot0"; linkproxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; }; class CowsSlot: CowsSlot { }; class PointerSlot: PointerSlot { }; }; class mk20_base_F; class Max_Shotgun_classic: mk20_base_F { scope = 2; model = "\shootgun\shootgun.p3d"; displayName = "Shotgun (Classic)"; author = "Maxjoiner"; descriptionshort = "Classic Shotgun<br />Caliber: 12mm"; picture = "\shootgun\data\shootgun_ca.paa"; handanim[] = {"OFP2_ManSkeleton", "\shootgun\anim\M24.rtm"}; magazines[] = {"MAX_6Rnd_Cal12"}; reloadaction = "GestureReloadEBR"; dexterity = 1.8; class WeaponSlotsInfo: WeaponSlotsInfo { mass = 120; class MuzzleSlot: SlotInfo { linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE"; compatibleItems[] = {"muzzle_snds_M"}; }; class CowsSlot: CowsSlot { access = 1; compatibleitems[] = {"optic_Arco", "optic_aco", "optic_ACO_grn", "optic_hamr", "optic_Holosight", "optic_MRCO"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 0; }; class PointerSlot: PointerSlot { compatibleItems[] = {}; }; }; modes[] = {"Single"}; //reloadmagazinesound[] = {"\shootgun\sound\M1014-reload", 0.0562341, 1, 20}; //value = 2; class Single: Single { begin1[] = {"shootgun\sound\sniper_single_03", 1.77828, 1, 1000}; begin2[] = {"shootgun\sound\sniper_single_03", 1.77828, 1, 1000}; dispersion = 0.00175; maxrange = 300; maxrangeprobab = 0.05; midrange = 150; midrangeprobab = 0.7; minrange = 2; minrangeprobab = 0.3; reloadtime = 1; soundbegin[] = {"begin1", 0.5, "begin2", 0.5}; recoil = "recoil_single_primary_3outof10"; recoilprone = "recoil_single_primary_prone_3outof10"; }; }; class Max_Shotgun_police: max_shotgun_classic { scope = 2; model = "\shootgun\shootgun1.p3d"; displayName = "Shotgun (Police)"; author = "Maxjoiner"; descriptionshort = "Police Shotgun<br />Caliber: 12mm"; picture = "\shootgun\data\shootgun_ca.paa"; }; class Max_Shotgun_SB: max_shotgun_classic { scope = 2; model = "\shootgun\shootgun2.p3d"; displayName = "Shotgun (Short Barrel)"; author = "Maxjoiner"; descriptionshort = "Short Barrel Shotgun<br />Caliber: 12mm"; picture = "\shootgun\data\shootgun_ca.paa"; handAnim[]={}; }; }; However despite the errors messages the shotgun works fine... Any Idea?