Search the Community
Showing results for tags 'maxzeroing'.
Found 1 result
-
Weapon doesn't want to fire at bigger distances
br_ac_army1 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I am trying to create a weapon based on ADR-97 TR and using 25 mm HE shells (inherited from 40 mm HE). Everything is okay but when I try to put a bigger distance (500m, 1000m, 2000m for example), the weapon just fires without changes. However, it worked for everything else. What should I do? My config.cpp: https://www.dropbox.com/s/ho5aw314uqv6d7s/config.cpp?dl=0 CfgAmmo: class G_40mm_HEDPUC: G_40mm_HE { hit = 630; indirectHit = 30; indirectHitRange = 10; warheadName = "HEDPUC"; explosive = 0.8; caliber = 5; }; class G_25mm_HEDPUC_special: G_40mm_HEDPUC { hit = 720; indirectHit = 25; indirectHitRange = 7; warheadName = "HEDPUC"; explosive = 0.3; caliber = 4; typicalSpeed = 750; maxSpeed = 1000; thrust = 35; thrustTime = 15; tracerScale = 3.0; tracerStartTime = 0.05; tracerEndTime = 12; timeToLive = 60; }; CfgMagazines: class 12Rnd_25mm_SMG_03: 50Rnd_570x28_SMG_03 { displayName = "50rnd 25 mm ADR-97 Magazine (U)"; ammo = "G_25mm_HEDPUC_special"; count = 15; mass = 20; initSpeed = 750; }; CfgWeapons: class SMG_03_TR_cheat: SMG_03_TR_khaki { baseWeapon = "SMG_03_TR_cheat"; displayName = "ADR-97 TR 5.7 mm (Upgraded)"; magazines[] = {"75Rnd_570x28_SMG_03","50Rnd_570x28_SMG_03"}; muzzles[] = {"this"}; modes[] = {"SingleB","FullAutoB"}; recoil = "recoil_empty_c"; class Single; class FullAuto; class SingleB: Single { reloadTime = 0.05; dispersion = 0.00007; }; class FullAutoB: FullAuto { reloadTime = 0.05; dispersion = 0.00007; }; class WeaponSlotsInfo { class CowsSlot: CowsSlot_Rail_Boost { iconPosition[] = {0.4,0.3}; iconScale = 0.2; }; class PointerSlot: PointerSlot_Rail { iconPosition[] = {0.33,0.37}; iconScale = 0.25; }; class MuzzleSlot: MuzzleSlot_57 { iconPosition[] = {0.0,0.5}; iconScale = 0.25; }; mass = 52; allowedSlots[] = {901,801,701}; }; }; class SMG_03_TR_cheat_25mm: SMG_03_TR_cheat { baseWeapon = "SMG_03_TR_cheat_25mm"; displayName = "ADR-97 GL 25 mm (Upgraded)"; magazines[] = {"12Rnd_25mm_SMG_03"}; muzzles[] = {"this"}; modes[] = {"SingleB"}; recoil = "recoil_empty_c"; initSpeed = -0.5; maxZeroing = 2400; class SingleB: SingleB { reloadTime = 0.25; dispersion = 0.00004; }; class WeaponSlotsInfo { class CowsSlot: CowsSlot_Rail_Boost { iconPosition[] = {0.4,0.3}; iconScale = 0.2; }; class PointerSlot: PointerSlot_Rail { iconPosition[] = {0.33,0.37}; iconScale = 0.25; }; class MuzzleSlot{}; mass = 55; allowedSlots[] = {901,801,701}; }; };- 3 replies
-
- maxzeroing
- weapon
-
(and 2 more)
Tagged with: