nzdfcrash 33 Posted October 17, 2010 whenever i pbo up the artillery pieces (m101 first/other pieces still work) in game i get a error about m16 and semi_auto and also when placed in editor none of the ammo shows up at all when it used to. the template ive used is almost identical to the bis cfgweapons and was working before i tried adding the modes as shown below. class cfgWeapons { class Default; // External class reference class PistolCore; // External class reference class RifleCore; // External class reference class MGunCore; // External class reference class LauncherCore; // External class reference class GrenadeCore; // External class reference class GrenadeLauncher; // External class reference class CannonCore; // External class reference class Launcher; // External class reference class MissileLauncher; // External class reference class BombLauncher; class MaverickLauncher; class SidewinderLaucher; class M119; class Mode_SemiAuto; // External class reference class Mode_Burst; // External class reference class PRACS_152mm_Gun : CannonCore { scope = 2; displayName = "D20 152mm Gun"; sound[] = {"\ca\Weapons\Data\Sound\gun120", 316.228, 1}; reloadSound[] = {"\ca\Weapons\Data\Sound\gun120reload", 1.0, 1}; magazines[] = {"PRACS_152mm_HEx30","PRACS_152mm_Fragx30","PRACS_152mm_GPx30"}; minRange = 1; minRangeProbab = 0.1; midRange = 1000; midRangeProbab = 1; maxRange = 2000; maxRangeProbab = 0.1; reloadTime = 2; magazineReloadTime = 7.5; maxLeadSpeed = 100; }; class PRACS_155mm_Gun : M119 { scope = 2; displayName = "G4M1 155mm Gun"; sound[] = {"\ca\Weapons\Data\Sound\gun120", 316.228, 1}; reloadSound[] = {"\ca\Weapons\Data\Sound\gun120reload", 1.0, 1}; magazines[] = {"PRACS_155mm_HEx30","PRACS_155mm_Fragx30","PRACS_155mm_GPx30","PRACS_155mm_WPx30"}; minRange = 50; minRangeProbab = 0.1; midRange = 7525; midRangeProbab = 1; maxRange = 18620; maxRangeProbab = 0.1; reloadTime = 2; magazineReloadTime = 7.5; maxLeadSpeed = 100; artilleryCharge = 1; artilleryDispersion = 0.200000; autoReload = true; }; class Single1; class Burst1; class PRACS_M101 : CannonCore { scope = 2; magazines[] = {"30Rnd_105mmHE_M119", "30Rnd_105mmWP_M119", "30Rnd_105mmSADARM_M119", "30Rnd_105mmLASER_M119", "30Rnd_105mmSMOKE_M119", "30Rnd_105mmILLUM_M119", "ARTY_30Rnd_105mmHE_M119", "ARTY_30Rnd_105mmWP_M119", "ARTY_30Rnd_105mmSADARM_M119", "ARTY_30Rnd_105mmLASER_M119", "ARTY_30Rnd_105mmSMOKE_M119", "ARTY_30Rnd_105mmILLUM_M119"}; modes[] = {"modeSingle1", "modeSingle2", "modeSingle3", "modeBurst1", "modeBurst2", "modeBurst3"}; class modeSingle1: Single1 { displayName = "Semi (close)"; sound[] = {"\ca\Sounds\weapons\cannon\gun120", 316.227753, 1, 1500}; reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload", 1.000000, 1, 20}; reloadTime = 8; multiplier = 0; minRange = 0; midRange = 0; maxRange = 0; artilleryDispersion = 0.200000; artilleryCharge = 0.670000; }; class modeSingle2: modeSingle1 { displayName = "Semi (medium)"; artilleryCharge = 0.810000; }; class modeSingle3: modeSingle1 { displayName = "Semi (far)"; artilleryCharge = 1; }; class modeBurst1: Burst1 { showToPlayer = 0; displayName = "Burst (close)"; burst = 6; sound[] = {"\ca\Sounds\weapons\cannon\gun120", 316.227753, 1, 1500}; reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload", 1.000000, 1, 20}; soundBurst = 0; reloadTime = 6; minRange = 200; minRangeProbab = 0.500000; midRange = 3225; midRangeProbab = 0.700000; maxRange = 8312; maxRangeProbab = 0.500000; artilleryDispersion = 0.300000; artilleryCharge = 0.670000; }; class modeBurst2: modeBurst1 { showToPlayer = 0; displayName = "Burst (medium)"; minRange = 4543; minRangeProbab = 0.400000; midRange = 7525; midRangeProbab = 0.600000; maxRange = 12170; maxRangeProbab = 0.400000; artilleryCharge = 0.810000; }; class modeBurst3: modeBurst1 { showToPlayer = 0; displayName = "Burst (far)"; minRange = 6930; minRangeProbab = 0.300000; midRange = 11500; midRangeProbab = 0.400000; maxRange = 18620; maxRangeProbab = 0.300000; artilleryCharge = 1; }; }; ive tried changing various things but nothing has worked thus far. any ideas? Share this post Link to post Share on other sites