AGM-65 launcher can't handle the 8 round 'Magazine'
Open, NormalPublic

Description

The AGM-65 launcher (CUP_Vmlauncher_AGM65_veh) can handle only 2, 4 and 6 round 'magazines', but not the present 8 round one (CUP_8Rnd_AGM65_Maverick_M)

Copy&paste fix:

class CUP_Vmlauncher_AGM65_veh: MissileLauncher
{

		author = "$STR_CUP_AUTHOR_STRING";
		scope = 1;
		displayName = "AGM-65 Maverick";
		minRange = 50;
		minRangeProbab = 0.5;
		midRange = 8000;
		midRangeProbab = 0.7;
		maxRange = 18000;
		maxRangeProbab = 0.001;
		sounds[] = {"StandardSound"};
		class StandardSound
		{
			weaponSoundEffect = "DefaultRifle";
			begin1[] = {"CUP\Weapons\CUP_Weapons_Ammunition\AGM65\data\sound\Maverick_s1",1.922776,1,1100};
			begin2[] = {"CUP\Weapons\CUP_Weapons_Ammunition\AGM65\data\sound\Maverick_s2",1.922776,1,1100};
			begin3[] = {"CUP\Weapons\CUP_Weapons_Ammunition\AGM65\data\sound\Maverick_s3",1.922776,1,1100};
			begin4[] = {"CUP\Weapons\CUP_Weapons_Ammunition\AGM65\data\sound\Maverick_s4",1.922776,1,1100};
			soundBegin[] = {"begin1",0.25,"begin2",0.25,"begin4",0.25,"begin4",0.25};
		};
		soundFly[] = {"CUP\Weapons\CUP_Weapons_Ammunition\data\sound\Fly",100,0.8,800};
		lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.31622776,1};
		lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.31622776,2.5};
		reloadTime = 1;
		magazines[] = {"CUP_2Rnd_AGM65_Maverick_M","CUP_4Rnd_AGM65_Maverick_M","CUP_6Rnd_AGM65_Maverick_M","CUP_8Rnd_AGM65_Maverick_M"};
		aiRateOfFire = 10;
		aiRateOfFireDistance = 2500;
		weaponLockDelay = 3;
		nameSound = "MissileLauncher";
		cursorAim = "EmptyCursor";
		textureType = "semi";
		cursor = "EmptyCursor";
		cursorSize = 1;
		WeaponLockSystem = 4;
		cmImmunity = 0.8;

};

Details

Affected classnames
CUP_Vmlauncher_AGM65_veh
Branch
Development
Reproducable without other mods?
Yes
W0lle created this task.Sun, Oct 4, 7:49 PM
W0lle updated the task description. (Show Details)
Freddo3000 triaged this task as Normal priority.Wed, Oct 7, 5:11 PM
Freddo3000 added a project: Weapons.