Jump to content
Sign in to follow this  
rstratton

i need turret config help please

Recommended Posts

now that the game supports working turrets on planes ive decided to change my ac130 addon. im trying to make the turrets part of the plane, instead of scripted/attachto solution. my problem is that no matter what the turrets will not move. yes i know ai will not move them. only one turret fires , and all 3 will not move. iv'e followed gnat's multi-turret example to the t, yet no dice. here is my config/model.cfg.

here is a link with part of my model http://www.sendspace.com/file/ovumgm

// config.bin - 00:46:09 01/26/10, generated in 0.08 seconds
// Generated by unRap v1.06 by Kegetys
// Separate rootclasses: Disabled, Automatic comments: Enabled
#define TEast 0 
#define TWest 1 
#define TGuerrila 2 
#define TCivilian 3 
#define TSideUnknown 4 
#define TEnemy 5 
#define TFriendly 6 
#define TLogic 7 

#define true 1 
#define false 0 

// type scope 
#define private 0 
#define protected 1 
#define public 2 

#define WeaponNoSlot 0// dummy weapons 
#define WeaponSlotPrimary 1// primary weapons 
#define WeaponSlotSecondary 16// secondary weapons 
#define WeaponSlotItem 256// items 
#define WeaponSlotBinocular 4096// binocular 
#define WeaponHardMounted 65536 


#define CanSeeRadar 1
#define CanSeeEye 2
#define CanSeeOptics 4
#define CanSeeEar 8
#define CanSeeCompass 16
#define CanSeeAll 31
class CfgPatches  {

class AC130  {
	units[] = {"AC130" };
	weapons[] = {};
	requiredVersion = 0.100000;
	requiredAddons[] = {"CAWeapons", "CACharacters2","CAAir2_C130J","CAAir_E" };
};
};



class CfgFactionClasses  {

class USAF  {
	displayName = "USAF";
	priority = 100;
	side = 1;
};
};

	class WeaponFireGun;	// External class reference
	class WeaponCloudsGun;	// External class reference
	class WeaponFireMGun;	// External class reference
	class WeaponCloudsMGun;	// External class reference
	class NewTurret;	// External class reference
	class ViewOptics;	// External class reference
	class ViewPilot;	// External class reference
	class HeadLimits;	// External class reference
	class Sounds;	        // External class reference
	class HitPoints;        // External class reference
	class Turrets;	        // External class reference
	class mainTurret;	// External class reference
	class CommanderOptics;  // External class reference
	class DefaultEventhandlers;
class CfgVehicles  {
class Plane;
class ac130_base : Plane
{
	class NewTurret;
	class Turrets;
	irScanRangeMin=500;
	irScanRangeMax=200000;
	class viewpilot;
	class viewgunner;
	class AnimationSources;
	driverCanSee = 31;
	gunnerCanSee = 31;
	commanderCanSee = 31;
	radarType = 4;
	LockDetectionSystem = 8 + 4;
	IncommingMisslieDetectionSystem = 16;
	driverhasflares =true;
	soundLocked[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316228, 2};
	soundIncommingMissile[] = {"\ca\Tracked\Data\Sound\alarm_loop1", 0.000316228, 4};		
};
class AC130 : ac130_base {
	destrType = "DestructWreck";
	scope = 2;
	side = 1;
	displayname = "AC-130U Spooky II";

	class Library  {
		libTextDesc = "AC-130U Spooky II";
	};


	vehicleClass = "Air";
	faction = "USAF";
	model = "\AC_130\AC130.p3d";
	picture = "\AC_130\data\UI\picture_AC130_CA.paa";
	icon = "\AC_130\data\UI\icon_AC130_CA.paa";
	mapSize = 25;
	maxSpeed = 648;
	accuracy = 1.0;
	cost = 20;
	armor = 195;
	driverAction = "C130_Pilot";
 		weapons[] = {"CMFlareLauncher"};
 		magazines[] = {"120Rnd_CMFlareMagazine","120Rnd_CMFlareMagazine","120Rnd_CMFlareMagazine","120Rnd_CMFlareMagazine","120Rnd_CMFlareMagazine","120Rnd_CMFlareMagazine"};
 		memoryPointCM[] = {"flare_launcher1","flare_launcher2","flare_launcher3","flare_launcher4","flare_launcher5","flare_launcher6","flare_launcher7","flare_launcher8"};
 		memoryPointCMDir[] = {"flare_launcher1_dir","flare_launcher2_dir","flare_launcher3_dir","flare_launcher4_dir","flare_launcher5_dir","flare_launcher6_dir","flare_launcher7_dir","flare_launcher8_dir"};
 		radarType = 4;
 		lockDetectionSystem = "8 + 4";
 		incommingMisslieDetectionSystem = 16;
	cargoAction[] = {"C130_Cargo","Mi17_Cargo02" };
	crew = "USMC_Soldier_Pilot";
	typicalCargo[] = {"USMC_Soldier_Pilot","USMC_Soldier" };
	transportSoldier = 8;
	driverCompartments = "Compartment1";
	cargoCompartments[] = {"Compartment1" };
	enableManualFire = 0;
	driverisCommander=0;
	driverisGunner=0;
	gunneriscommander = true;

	class Reflectors  {

		class Left  {
			color[] = {0.800000,0.800000,1.000000,1.000000 };
			ambient[] = {0.070000,0.070000,0.070000,1.000000 };
			position = "L svetlo";
			direction = "konec L svetla";
			hitpoint = "L svetlo";
			selection = "L svetlo";
			size = 1;
			brightness = 1.000000;
		};

		class Right  {
			color[] = {0.800000,0.800000,1.000000,1.000000 };
			ambient[] = {0.070000,0.070000,0.070000,1.000000 };
			position = "P svetlo";
			direction = "konec P svetla";
			hitpoint = "P svetlo";
			selection = "P svetlo";
			size = 1;
			brightness = 1.000000;
		};

		class Left2  {
			color[] = {0.800000,0.800000,1.000000,1.000000 };
			ambient[] = {0.070000,0.070000,0.070000,1.000000 };
			position = "L2 svetlo";
			direction = "konec L2 svetla";
			hitpoint = "L2 svetlo";
			selection = "L2 svetlo";
			size = 1;
			brightness = 1.000000;
		};

		class Right2  {
			color[] = {0.800000,0.800000,1.000000,1.000000 };
			ambient[] = {0.070000,0.070000,0.070000,1.000000 };
			position = "P2 svetlo";
			direction = "konec P2 svetla";
			hitpoint = "P2 svetlo";
			selection = "P2 svetlo";
			size = 1;
			brightness = 1.000000;
		};
	};

	threat[] = {1.000000,1.000000,1.000000 };
	ejectSpeed[] = {0,0,0 };
	landingAoa = "rad 7";
	landingSpeed = 200;
	extCameraPosition[] = {0,5,-40 };
	envelope[] = {0.000000,0.300000,0.500000,1.500000,3.100000,4.300000,4.900000,5,4.400000,2.800000,1.600000,0.800000,0 };
	flapsFrictionCoef = 3;
	wheelSteeringSensitivity = 5.000000;
	aileronSensitivity = 1.100000;
	elevatorSensitivity = 1.200000;
	rudderSensitivity = 2;
	noseDownCoef = 0;
	gearUpTime = 4.500000;
	gearDownTime = 3;

	class Turrets  {
	class MainTurret : NewTurret {
			body = "Main1Turret";
			gun = "Main1Gun";
			animationSourceBody = "Main1Turret";
			animationSourceGun = "Main1Gun";
			selectionFireAnim = "zasleh";
			proxyIndex = 1;
			gunnerName = Gunner Gau 12;
			minTurn = -40;
			maxTurn = 40;
			initTurn = 0;
			minElev = -40;
			maxElev = 40;
			initElev = -15;
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			stabilizedInAxes = "StabilizedInAxesBoth";
			weapons[] = {"GAU_12"};
			gunBeg = "muzzle_GAU_12";	// endpoint of the gun
			gunEnd = "chamber_GAU_12";	// chamber of the gun
			memoryPointGun = "machinegun_GAU_12";
			memoryPointGunnerOptics = "gunnerview_GAU_12";
			hasgunner=true;
			commanding = -1;
			startEngine = 0;
			forceHideGunner = 1;
			castGunnerShadow = 0;
			ejectDeadGunner = 0;
			proxyType="CPGunner";
			soundServo[] = {"", db-40, 1.0};
			animationSourceHatch = "";
			magazines[] = {"2000Rnd_PGU_25_HEI", "2000Rnd_PGU_25_HEI", "2000Rnd_PGU_25_HEI", "2000Rnd_PGU_25_API", "2000Rnd_PGU_25_API", "2000Rnd_PGU_25_API"};
			primarygunner = 1;
			primaryobserver = 1;
			gunnerOutOpticsShowCursor = 1;
			gunnerOpticsShowCursor = 0;
			gunnerForceOptics = 1;
			gunnerAction = "NestMG_Gunner";
			gunnerInAction = "NestMG_Gunner";

			gunnerCanSee = 2+8+32+1+4;
			getInRadius = 5.5;
			turretInfoType = "RscWeaponRangeZeroing";
   				discreteDistance[] = {800,900,1000,1100,1200,1500,1800,2250,2500,2750,3000};
   				discreteDistanceInitIndex = 2;
			gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
			class OpticsIn
   				{
    					class Wide
    					{
     						opticsDisplayName = "W";
     						initAngleX = 0;
     						minAngleX = -30;
     						maxAngleX = 30;
     						initAngleY = 0;
     						minAngleY = -100;
     						maxAngleY = 100;
     						initFov = 0.466;
     						minFov = 0.466;
     						maxFov = 0.466;
     						visionMode[] = {"Normal","NVG","Ti"};
     						thermalMode[] = {0,1};
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
    					};
    					class Medium: Wide
    					{
     						opticsDisplayName = "M";
     						initFov = 0.093;
     						minFov = 0.093;
     						maxFov = 0.093;
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_2";
    					};
    					class Narrow: Wide
    					{
     						opticsDisplayName = "N";
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_3";
     						initFov = 0.029;
     						minFov = 0.029;
     						maxFov = 0.029;
    					};
   				};
		};
		class Main2Turret : NewTurret {
			weapons[] = {L60};
			magazines[] ={"10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE","10Rnd_40mm_HE"};
			gunnerAction = "M119_Gunner";
			proxyIndex = 2;
			gunnerName = Gunner l60;
			gunnerForceOptics = 1;
			gunnerCanSee = 2+8+32+1+4;
			body = "Main2Turret";
			gun = "Main2Gun";
                               stabilizedInAxes = "StabilizedInAxesBoth";
			animationSourceBody = "Main2Turret";
			animationSourceGun = "Main2Gun";
			gunBeg = "muzzle_l60";	// endpoint of the gun
			gunEnd = "chamber_l60";	// chamber of the gun
			memoryPointGun = "machinegun_l60";
			memoryPointGunnerOptics = "gunnerview_l60";
			gunnerOutOpticsShowCursor = 1;
			gunnerOpticsShowCursor = 0;
			primarygunner = 0;
			proxyType="CPGunner";
	                minElev = -35;
	                maxElev = 35;
	                minTurn = -35;
	                maxTurn = 35;
	                initTurn = 0;
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			getInRadius = 5.5;
			turretInfoType = "RscWeaponRangeZeroing";
   				discreteDistance[] = {800,900,1000,1100,1200,1500,1800,2250,2500,2750,3000};
   				discreteDistanceInitIndex = 2;
			gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
			class OpticsIn
   				{
    					class Wide
    					{
     						opticsDisplayName = "W";
     						initAngleX = 0;
     						minAngleX = -30;
     						maxAngleX = 30;
     						initAngleY = 0;
     						minAngleY = -100;
     						maxAngleY = 100;
     						initFov = 0.466;
     						minFov = 0.466;
     						maxFov = 0.466;
     						visionMode[] = {"Normal","NVG","Ti"};
     						thermalMode[] = {0,1};
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
    					};
    					class Medium: Wide
    					{
     						opticsDisplayName = "M";
     						initFov = 0.093;
     						minFov = 0.093;
     						maxFov = 0.093;
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_2";
    					};
    					class Narrow: Wide
    					{
     						opticsDisplayName = "N";
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_3";
     						initFov = 0.029;
     						minFov = 0.029;
     						maxFov = 0.029;
    					};
   				};
		};
		class Main3Turret : Main2Turret {
			weapons[] = {M102};
			magazines[] = {"100Rnd_105HE"};
			gunnerAction = "M119_Gunner";
			proxyIndex = 3;
			gunnerName = Gunner m102;
			gunnerForceOptics = 1;
			gunnerCanSee = 2+8+32+1+4;
			body = "Main3Turret";
			gun = "Main3Gun";
                               stabilizedInAxes = "StabilizedInAxesBoth";
			animationSourceBody = "Main3Turret";
			animationSourceGun = "Main3Gun";
			gunBeg = "muzzle_m102";	// endpoint of the gun
			gunEnd = "chamber_m102";	// chamber of the gun
			memoryPointGun = "machinegun_m102";
			memoryPointGunnerOptics = "gunnerview_m102";
			gunnerOutOpticsShowCursor = 1;
			gunnerOpticsShowCursor = 0;
			primarygunner = 0;
			proxyType="CPGunner";
	                minElev = -35;
	                maxElev = 35;
	                minTurn = -35;
	                maxTurn = 35;
	                initTurn = 0;
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			getInRadius = 5.5;
			turretInfoType = "RscWeaponRangeZeroing";
   				discreteDistance[] = {800,900,1000,1100,1200,1500,1800,2250,2500,2750,3000};
   				discreteDistanceInitIndex = 2;
			gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
			class OpticsIn
   				{
    					class Wide
    					{
     						opticsDisplayName = "W";
     						initAngleX = 0;
     						minAngleX = -30;
     						maxAngleX = 30;
     						initAngleY = 0;
     						minAngleY = -100;
     						maxAngleY = 100;
     						initFov = 0.466;
     						minFov = 0.466;
     						maxFov = 0.466;
     						visionMode[] = {"Normal","NVG","Ti"};
     						thermalMode[] = {0,1};
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64";
    					};
    					class Medium: Wide
    					{
     						opticsDisplayName = "M";
     						initFov = 0.093;
     						minFov = 0.093;
     						maxFov = 0.093;
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_2";
    					};
    					class Narrow: Wide
    					{
     						opticsDisplayName = "N";
     						gunnerOpticsModel = "\ca\air_e\gunnerOptics_ah64_3";
     						initFov = 0.029;
     						minFov = 0.029;
     						maxFov = 0.029;
    					};
   				};
		};

	};
	class AnimationSources  {

		class door_2_2  {
			source = "user";
			animPeriod = 2.500000;
		};

		class door_2_1  : door_2_2 {
		};

		class door_1  : door_2_2 {
		};

		class ramp_top  : door_2_2 {
		};

		class ramp_bottom  : door_2_2 {
		};
		class recoil_source_M102 {
			source = "reload";
			weapon = M102;
			animPeriod = 0.01;
		};

		class recoil_source_L60 {
			source = "reload";
			weapon = L60;
			animPeriod = 0.01;
		};

		class Gatling_GAU_12 {
			source = "revolving";
			weapon = "GAU_12";
			animPeriod = 0.01;
		};

	};


	class UserActions  {

		class OpenRamp  {
			displayName = "OPEN RAMP";
			position = "ramp_bottom";
			radius = 5;
			onlyForPlayer = 0;
			condition = "((this animationPhase 'ramp_top' < 0.5) || (this animationPhase 'ramp_bottom' < 0.5)) && alive(this)";
			statement = "this animate ['ramp_top',1]; this animate ['ramp_bottom',1]";
		};

		class CloseRamp  : OpenRamp {
			displayName = "CLOSE RAMP";
			condition = "((this animationPhase 'ramp_top' >= 0.5) || (this animationPhase 'ramp_bottom' >= 0.5)) && alive(this)";
			statement = "this animate ['ramp_top',0]; this animate ['ramp_bottom',0]";
		};
	};
 		class Damage
 		{
  			tex[] = {};
  			mat[] = {"Ca\Air_E\C130J\DATA\c130j_sklo.rvmat","Ca\Air_E\C130J\DATA\c130j_sklo_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_sklo_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_sklo_in.rvmat","Ca\Air_E\C130J\DATA\c130j_sklo_in_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_sklo_in_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_body.rvmat","Ca\Air_E\C130J\DATA\c130j_body_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_body_destruct.rvmat","Ca\Air_E\C130J\DATA\c130j_interior.rvmat","Ca\Air_E\C130J\DATA\c130j_interior_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_interior_destruct.rvmat","Ca\Air_E\C130J\DATA\c130j_wings.rvmat","Ca\Air_E\C130J\DATA\c130j_wings_damage.rvmat","Ca\Air_E\C130J\DATA\c130j_wings_destruct.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default_destruct.rvmat"};
 		};
};
};
class cfgWeapons {
class CannonCore;	// External class reference

class M102 : CannonCore {
	scope = protected;
	displayName = M102;
	nameSound = "cannon";
	cursor = "Cannon";
	cursorAim = "\ca\Weapons\Data\clear_empty";
	cursorSize = 0.5;

	sound[] = {"\ca\Sounds\weapons\cannon\gun120", db50, 1, 1500};
	reloadSound[] = {"\ca\Sounds\weapons\cannon\gun120reload", 1.0, 1, 20};
	magazines[] = {"100Rnd_105HE"};
	ballisticsComputer = 1;
	weaponLockSystem = 4;
	aiRateOfFire = 0.01;	// delay between shots at given distance
	aiRateOfFireDistance = 1500;
	minRange = 10;
	minRangeProbab = 1.0;
	midRange = 1500;
	midRangeProbab = 1.0;
	maxRange = 3000;
	maxRangeProbab = 1.0;
	reloadTime = 3;
	magazineReloadTime = 2;
	autoReload = true;
	canLock = "Lockyes";
};
class GAU_12 : CannonCore {
	scope = protected;
	cursor = "Vehicle_W_MG";
	cursorAim = "\ca\Weapons\Data\clear_empty";
	cursorSize = 0.5;
	flashSize = 0.25;
	displayName = "GAU-12/U";
	nameSound = "cannon";
	ballisticsComputer = 1;
	magazines[] = {"2000Rnd_PGU_25_HEI","2000Rnd_PGU_25_API"};
	canLock = LockYes;
	modes[] = {"manual"};
	laserLock = true;
	irLock = true;
	class manual : CannonCore {
		displayName = Auto;
		autoFire = true;
		sound[] = {"\AC_130\sounds\gau12.wav", db20, 1, 1200};
		reloadTime = 0.00770614;
		dispersion = 0.0009;
		initSpeed = 1590;
		multiplier = 6;
		showToPlayer = true;
		burst = 1;
		aiRateOfFire = 0.001;	// delay between shots at given distance
		aiRateOfFireDistance = 2000;
		minRange = 10;
		minRangeProbab = 1.0;
		midRange = 1500;
		midRangeProbab = 1.0;
		maxRange = 4000;
		maxRangeProbab = 1.0;
	};
};

class L60 : CannonCore {
	scope = protected;
	displayName = "Bofors 40 mm L/60";
	nameSound = "cannon";
	cursor = "Cannon";
	cursorAim = "\ca\Weapons\Data\clear_empty";
	cursorSize = 0.5;

	ballisticsComputer = 1;
	weaponLockSystem = 4;
	magazines[] = {"10Rnd_40mm_HE"};
	magazineReloadTime = 5;
	autoReload = true;
	canLock = "Lockyes";
	modes[] = {"manual"};

	class manual : CannonCore {
		displayName = "Auto";
		autoFire = true;
		sound[] = {"\AC_130\sounds\l60.wss", 3.16228e+009, 1, 1800};
		reloadTime = 0.5;
		dispersion = 0.0009;
		initSpeed = 1590;
		showToPlayer = true;
		burst = 1;
		aiRateOfFire = 0.001;	// delay between shots at given distance
		aiRateOfFireDistance = 1500;
		minRange = 10;
		minRangeProbab = 1.0;
		midRange = 1500;
		midRangeProbab = 1.0;
		maxRange = 3000;
		maxRangeProbab = 1.0;
	};
};
};

class CfgAmmo {
class ShellBase;	// External class reference

class 105_HE : ShellBase {
	hit = 310;
	indirectHit = 50;
	indirectHitRange = 30;
	typicalSpeed = 1500;
	explosive = 1.0;
	airLock = false;
	laserLock = true;
	irLock = true;
	cost = 100;
	model = "\ca\Weapons\shell";
	airFriction = -8.7e-006;
	CraterEffects = "ArtyShellCrater";
	ExplosionEffects = "ArtyShellExplosion";
	caliber = 6;
	whistleDist = 80;
};
class BulletBase;	// External class reference
class PGU_25_HEI : BulletBase {
	hit = 55;
	indirectHit = 25;
	indirectHitRange = 2.5;
	visibleFire = 32;	// how much is visible when this weapon is fired
	audibleFire = 32;
	visibleFireTime = 4;	// how long is it visible
	soundHit[] = {"Ca\sounds\Weapons\explosions\AZP85_explosion1", db25, 1, 1500};
	explosive = 1.0;
	airLock = false;
	laserLock = true;
	irLock = true;
	nvgOnly = 0;
	typicalSpeed = 1590;
	cost = 0;

	CraterEffects = "GrenadeCrater";
	explosionEffects = "GrenadeExplosion";
	model = "\ca\Weapons\Data\bullettracer\tracer_red";
	tracerScale = 3.0;
	tracerStartTime = 0.15;
	tracerEndTime = 2.5;
	airFriction = -8.7e-006;
	muzzleEffect = "BIS_Effects_HeavyCaliber";
	caliber = 2.33;
};
class PGU_25_API : BulletBase {
	hit = 55;
	indirectHit = 5;
	indirectHitRange = 0.5;
	visibleFire = 32;	// how much is visible when this weapon is fired
	audibleFire = 32;
	visibleFireTime = 4;	// how long is it visible
	soundHit[] = {"Ca\sounds\Weapons\explosions\AZP85_explosion1", db25, 1, 1500};
	explosive = 0.1;
	airLock = false;
	laserLock = true;
	irLock = true;
	nvgOnly = 0;
	typicalSpeed = 1590;
	cost = 0;

	CraterEffects = "GrenadeCrater";
	explosionEffects = "GrenadeExplosion";
	model = "\ca\Weapons\Data\bullettracer\tracer_red";
	tracerScale = 3.0;
	tracerStartTime = 0.15;
	tracerEndTime = 2.5;
	airFriction = -8.7e-006;
	muzzleEffect = "BIS_Effects_HeavyCaliber";
	caliber = 2.33;
};

class 40mm_HE : ShellBase {
	hit = 180;
	indirectHit = 20;
	indirectHitRange = 20;
	typicalSpeed = 1500;
	explosive = 1.0;
	airLock = false;
	laserLock = true;
	irLock = true;
	cost = 100;
	model = "\ca\Weapons\shell";
	airFriction = -8.7e-006;
	CraterEffects = "ExploAmmoCrater";
	explosionEffects = "ExploAmmoExplosion";
	caliber = 3;
	whistleDist = 80;
};
};

class CfgMagazines {
class VehicleMagazine;	// External class reference

class 100Rnd_105HE : VehicleMagazine {
	scope = public;
	displayName = "100Rnd_105HE";
	ammo = 105_HE;
	count = 100;
	initSpeed = 1500;
	nameSound = "heat";
	maxLeadSpeed = 600;	// max estimated speed km/h
};

class 2000Rnd_PGU_25_HEI : VehicleMagazine {
	scope = public;
	displayName = "25mm HEI";
	ammo = "PGU_25_HEI";
	count = 2000;
	initSpeed = 1050;
	maxLeadSpeed = 600;	// max estimated speed km/h
	tracersEvery = 5;
	nameSound = "cannon";
};
class 2000Rnd_PGU_25_API : VehicleMagazine {
	scope = public;
	displayName = "25mm API";
	ammo = "PGU_25_API";
	count = 2000;
	initSpeed = 1050;
	maxLeadSpeed = 600;	// max estimated speed km/h
	tracersEvery = 5;
	nameSound = "cannon";
};
class 10Rnd_40mm_HE : VehicleMagazine {
	scope = public;
	displayName = "10Rnd_40mm_HE";
	ammo = "40mm_HE";
	count = 10;
	initSpeed = 1500;
	nameSound = "heat";
	maxLeadSpeed = 600;	// max estimated speed km/h
};
};

---------- Post added at 20:52 ---------- Previous post was at 20:49 ----------

model.cfg

class cfgSkeletons
{
class Default
{
 isDiscrete = 1;
 skeletonInherit = "";
 skeletonBones[] = {};
};
class ac130 : default
{
 SkeletonBones[]=
 {
  "alt","",
  "alt2","",
  "mph","",
  "mph2","",
  "vert_speed","",
  "vert_speed2","",
  "nm_alt","",
  "hud_alt","",
  "hud_speed","",
  "rpm","",
  "kompas","",
  "kompas2","",
  "hodinova","",
  "hodinova2","",
  "minutova","",
  "minutova2","",
  "horizont_dive","",
  "horizont","horizont_dive",
  "horizont_dive2","",
  "horizont2","horizont_dive2",
  "lkh klapka","",
  "pkh klapka","",
  "lkd klapka","",
  "pkd klapka","",
  "leva smerovka","",
  "leva vejskovka","",
  "prava smerovka","",
  "prava vejskovka","",
  "ls klapka","",
  "ps klapka","",
  "predni kolo","",
  "levy kolo","",
  "pravy kolo","",
  "vrtule 1","",
  "vrtule","",
  "damagehide","",
  "kompas3","",
  "ind_engine","",
  "ind_gear","",
  "ind_rudder","",
  "ind_flaps","",
  "ind_ail_left","",
  "ind_ail_right","",
  "ind_elevator","",
  "display_off","",
  "gear_handle","",
  "flap_1_1","",
  "flap_1_2","",
  "flap_1_3","",
  "flap_1_4","",
  "elevator_l","",
  "elevator_r","",
  "aileron_l","",
  "aileron_r","",
  "rudder","",
  "engine_1_prop","",
  "engine_2_prop","",
  "engine_3_prop","",
  "engine_4_prop","",
  "gear_1_1","",
  	"gear_1_1_stabil2","gear_1_1",
  	"gear_1_1_steering","gear_1_1",
  	"gear_1_1_damper","gear_1_1_steering",
  	"gear_1_1_stabil","gear_1_1_damper",
  	"wheel_1_1","gear_1_1_damper",
  	"gear_2_1","",
  	"gear_2_1_damper","gear_2_1",
  	"wheel_2_1","gear_2_1_damper",
  	"wheel_3_1","gear_2_1_damper",
  	"gear_2_2","",
  	"gear_2_2_damper","gear_2_2",
  	"wheel_2_2","gear_2_2_damper",
  	"wheel_3_2","gear_2_2_damper",
  	"hatch_1_1_f","",
  	"hatch_1_1_b_joint","",
  	"hatch_1_1_b","hatch_1_1_b_joint",
  	"hatch_2_1_t","",
  	"hatch_2_1_t_damagehide","hatch_2_1_t",
  	"hatch_2_1_b","",
  	"hatch_2_2_t","",
  	"hatch_2_2_t_damagehide","hatch_2_2_t",
  	"hatch_2_2_b","",
  	"ramp_bottom","",
  	"ramp_top","",
  	"door_1","",
  	"door_2_1","",
  	"door_2_1_damagehide","door_2_1",
  	"door_2_2","",
  	"door_2_2_damagehide","door_2_2",
   	"main1turret","",
       "main1gun","main1turret",
"main1gun","",
  	"gatling_GAU_12","main1gun",
       "","",
   	"main3turret","",
       "main3gun","main3turret",
"main3gun","",
  	"recoil_m102","main3gun",
       "","",
   	"magazine_l60","main2gun",
"main2turret","",
       "main2gun","main2turret",
"main2gun","",
  	"recoil_l60","main2gun"


 };
};
};
class CfgModels
{
class Default
{
 sections[] = {};
 sectionsInherit="";
 skeletonName = "";
};
class ac130:default
{
 skeletonName="ac130";
 sections[]=
 {
  "l2 svetlo",
  "p2 svetlo",
  "l svetlo",
  "p svetlo",
  "zbytek",
  "vrtule blur",
  "vrtule staticka",
  "clan",
  "clan_sign", 
  "zasleh"
 };
 class Animations
 {
  class IndicatorAltBaro
  {
   type="rotation";
   source="altBaro";
   selection="alt";
   axis="alt_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 304;

   sourceAddress = 1;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class IndicatorCompass
  {
   type="rotationZ";
   source="direction";
   selection="kompas";
   axis="kompas_axis";
   animPeriod = 0;
   minValue = -3.14159;
   maxValue = 3.14159;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class IndicatorCompass2
  {
   type="rotationZ";
   source="direction";
   selection="kompas2";
   axis="kompas2_axis";
   animPeriod = 0;
   minValue = -3.14159;
   maxValue = 3.14159;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class IndicatorCompass3
  {
   type="rotationZ";
   source="direction";
   selection="kompas3";
   axis="kompas3_axis";
   animPeriod = 0;
   minValue = -3.14159;
   maxValue = 3.14159;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class HorizonBank
  {
   type="rotationZ";
   source="horizonBank";
   selection="horizont";
   axis="horizont_axis";
   animPeriod = 0;
   minValue = -6.28319;
   maxValue = 6.28319;

   sourceAddress = 0;
   angle0 = -6.283185;
   angle1 = 6.283185;
   memory = 1;
  };
  class HorizonDive
  {
   type="rotationX";
   source="horizonDive";
   selection="horizont";
   axis="horizont_axis";
   animPeriod = 0;
   minValue = -6.28319;
   maxValue = 6.28319;

   sourceAddress = 0;
   angle0 = -0.314159;
   angle1 = 0.314159;
   memory = 1;
  };
  class Horizon2Bank
  {
   type="rotationZ";
   source="horizonBank";
   selection="horizont2";
   axis="horizont2_axis";
   animPeriod = 0;
   minValue = -6.28319;
   maxValue = 6.28319;

   sourceAddress = 0;
   angle0 = -6.283185;
   angle1 = 6.283185;
   memory = 1;
  };
  class horizon2Dive
  {
   type="translation";
   source="horizonDive";
   selection="horizont2";
   axis="horizont2dive_axis";
   animPeriod = 0;
   minValue = -0.55;
   maxValue = 0.55;

   sourceAddress = 0;
   offset0 = -0.610000;
   offset1 = 0.610000;
   memory = 1;
  };
  class ind_flap
  {
   type="rotation";
   source="flap";
   selection="ind_flaps";
   axis="ind_flaps_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 3.141593;
   memory = 1;
  };
  class ind_ail_left
  {
   type="rotation";
   source="aileron";
   selection="ind_ail_left";
   axis="ind_ail_left_axis";
   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 0;
   angle0 = -1.047198;
   angle1 = 1.047198;
   memory = 1;
  };
  class ind_ail_right
  {
   type="rotation";
   source="aileron";
   selection="ind_ail_right";
   axis="ind_ail_right_axis";
   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 0;
   angle0 = -1.047198;
   angle1 = 1.047198;
   memory = 1;
  };
  class ind_elevator
  {
   type="rotation";
   source="elevator";
   selection="ind_elevator";
   axis="ind_elevator_axis";
   animPeriod = 0;
   minValue = -1;
   maxValue = 0.3;


   sourceAddress = 0;
   angle0 = 1.570796;
   angle1 = -0.523599;
   memory = 1;
  };
  class ind_rudder
  {
   type="rotation";
   source="rudder";
   selection="ind_rudder";
   axis="ind_rudder_axis";
   animPeriod = 0;
   minValue = -1;
   maxValue = 1;


   sourceAddress = 0;
   angle0 = 1.570796;
   angle1 = -1.570796;
   memory = 1;
  };
  class display_on
  {
   type="hide";
   source="rpm";
   selection="display_off";

   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 0;
   hideValue = 0.900000;
  };
  class ind_engine
  {
   type="hide";
   source="rpm";
   selection="ind_engine";

   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 1;
   hideValue = 0.500000;
  };
  class Gear_switch
  {
   type="rotation";
   source="gear";
   selection="gear_handle";
   axis="gear_handle_axis";
   animPeriod = 0;
   minValue = 0.5;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -0.600000;
   memory = 1;
  };
  class ind_gear
  {
   type="hide";
   source="gear";
   selection="ind_gear";

   animPeriod = 0;
   minValue = 0;
   maxValue = 0.2;

   sourceAddress = 2;
   hideValue = 0.190000;
  };
  class Flap_1_1
  {
   type="rotation";
   source="flap";
   selection="flap_1_1";
   axis="flap_1_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -0.872665;
   memory = 1;
  };
  class Flap_1_2
  {
   type="rotation";
   source="flap";
   selection="flap_1_2";
   axis="flap_1_2_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 0.872665;
   memory = 1;
  };
  class Flap_1_3
  {
   type="rotation";
   source="flap";
   selection="flap_1_3";
   axis="flap_1_3_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -0.872665;
   memory = 1;
  };
  class Flap_1_4
  {
   type="rotation";
   source="flap";
   selection="flap_1_4";
   axis="flap_1_4_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 0.872665;
   memory = 1;
  };

  class ElevatorL
  {
   type="rotation";
   source="elevator";
   selection="elevator_l";
   axis="elevator_l_axis";
   animPeriod = 0;
   minValue = -1;
   maxValue = 1;


   sourceAddress = 0;
   angle0 = 0.523599;
   angle1 = -0.523599;
   memory = 1;
  };
  class ElevatorR: ElevatorL
  {
   type="rotation";
   source="elevator";
   selection="elevator_r";
   axis="elevator_r_axis";
   animPeriod = 0;
   minValue = -1;
   maxValue = 1;
   angle0 = -0.523599;
   angle1 = 0.523599;

   sourceAddress = 0;

   memory = 1;
  };
  class AileronL
  {
   type="rotation";
   source="aileron";
   selection="aileron_l";
   axis="aileron_l_axis";
   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 0;
   angle0 = -0.523599;
   angle1 = 0.523599;
   memory = 1;
  };
  class AileronR
  {
   type="rotation";
   source="aileron";
   selection="aileron_r";
   axis="aileron_r_axis";
   animPeriod = 0;
   minValue = -0.5;
   maxValue = 0.5;

   sourceAddress = 0;
   angle0 = -0.523599;
   angle1 = 0.523599;
   memory = 1;
  };
  class Rudder
  {
   type="rotation";
   source="rudder";
   selection="rudder";
   axis="rudder_axis";
   animPeriod = 0;
   minValue = -1;
   maxValue = 1;


   sourceAddress = 0;
   angle0 = -0.400865;
   angle1 = 0.400865;
   memory = 1;
  };
  class Prop_1
  {
   type="rotation";
   source="rotor";
   selection="engine_1_prop";
   axis="engine_1_prop_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class Prop_2
  {
   type="rotation";
   source="rotor";
   selection="engine_2_prop";
   axis="engine_2_prop_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = 6.283185;
   memory = 1;
  };
  class Prop_3
  {
   type="rotation";
   source="rotor";
   selection="engine_3_prop";
   axis="engine_3_prop_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class Prop_4
  {
   type="rotation";
   source="rotor";
   selection="engine_4_prop";
   axis="engine_4_prop_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class Hatch_1_1FOpen
  {
   type="rotation";
   source="gear";
   selection="hatch_1_1_f";
   axis="hatch_1_1_f_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 0.25;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = 1.047198;
   memory = 1;
  };
  class Hatch_1_1FClose
  {
   type="rotation";
   source="gear";
   selection="hatch_1_1_f";
   axis="hatch_1_1_f_axis";
   animPeriod = 0;
   minValue = 0.75;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -1.047198;
   memory = 1;
  };
  class Hatch_1_1BJoint
  {
   type="rotation";
   source="gear";
   selection="hatch_1_1_b_joint";
   axis="hatch_1_1_b_joint_axis";
   animPeriod = 0;
   minValue = 0.15;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 2.967060;
   angle1 = 0.000000;
   memory = 1;
  };
  class Hatch_1_1B
  {
   type="rotation";
   source="gear";
   selection="hatch_1_1_b";
   axis="hatch_1_1_b_axis";
   animPeriod = 0;
   minValue = 0.15;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 2.879793;
   angle1 = 0.000000;
   memory = 1;
  };
  class Gear_1_1
  {
   type="rotation";
   source="gear";
   selection="gear_1_1";
   axis="gear_1_1_axis";
   animPeriod = 0;
   minValue = 0.1;
   maxValue = 0.9;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -1.745329;
   memory = 1;
  };
  class Gear_1_1_Steering
  {
   type="rotationY";
   source="rudder";
   selection="gear_1_1_steering";
   axis="gear_1_1_damper_axis";
   animPeriod = 0;
   minValue = -3;
   maxValue = 3;

   sourceAddress = 0;
   angle0 = rad -75;
   angle1 = rad 75;
   memory = 1;
  };

  class Hatch_2_1_T
  {
   type="rotation";
   source="gear";
   selection="hatch_2_1_t";
   axis="hatch_2_1_t_axis";
   animPeriod = 0;
   minValue = 0.7;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = -0.628319;
   angle1 = 0.000000;
   memory = 1;
  };
  class Hatch_2_1_B
  {
   type="rotation";
   source="gear";
   selection="hatch_2_1_b";
   axis="hatch_2_1_b_axis";
   animPeriod = 0;
   minValue = 0.7;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = -1.570796;
   angle1 = 0.000000;
   memory = 1;
  };
  class Hatch_2_2_T
  {
   type="rotation";
   source="gear";
   selection="hatch_2_2_t";
   axis="hatch_2_2_t_axis";
   animPeriod = 0;
   minValue = 0.7;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.628319;
   angle1 = 0.000000;
   memory = 1;
  };
  class Hatch_2_2_B
  {
   type="rotation";
   source="gear";
   selection="hatch_2_2_b";
   axis="hatch_2_2_b_axis";
   animPeriod = 0;
   minValue = 0.7;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 1.570796;
   angle1 = 0.000000;
   memory = 1;
  };
  class Gear_2_1
  {
   type="translation";
   source="gear";
   selection="gear_2_1";
   axis="gear_2_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 0.95;

   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = 0.980000;
   memory = 1;
  };
  class Gear_2_2
  {
   type="translation";
   source="gear";
   selection="gear_2_2";
   axis="gear_2_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 0.95;

   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = 0.980000;
   memory = 1;
  };
  class Gear_2_1_Damper
  {
   type="translation";
   source="altRadar";
   selection="gear_2_1_damper";
   axis="rear_damper_axis";
   animPeriod = 0;
   minValue = 2.7;
   maxValue = 2.85;

   sourceAddress = 0;
   offset0 = 0.150000;
   offset1 = 0.000000;
   memory = 1;
  };
  class Gear_2_2_Damper
  {
   type="translation";
   source="altRadar";
   selection="gear_2_2_damper";
   axis="rear_damper_axis";
   animPeriod = 0;
   minValue = 2.7;
   maxValue = 2.85;

   sourceAddress = 0;
   offset0 = 0.150000;
   offset1 = 0.000000;
   memory = 1;
  };
  class wheel_1_1
  {
   type="rotationX";
   source="wheel";
   selection="wheel_1_1";
   axis="wheel_1_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class wheel_2_1
  {
   type="rotationX";
   source="wheel";
   selection="wheel_2_1";
   axis="wheel_2_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class wheel_2_2
  {
   type="rotationX";
   source="wheel";
   selection="wheel_2_2";
   axis="wheel_2_2_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class wheel_3_1
  {
   type="rotationX";
   source="wheel";
   selection="wheel_3_1";
   axis="wheel_3_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class wheel_3_2
  {
   type="rotationX";
   source="wheel";
   selection="wheel_3_2";
   axis="wheel_3_2_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = loop;
   angle0 = 0.000000;
   angle1 = -6.283185;
   memory = 1;
  };
  class ramp_bottom
  {
   type="rotation";
   source="ramp_bottom";
   selection="ramp_bottom";
   axis="ramp_bottom_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = -0.401426;
   angle1 = 0.284533;
   memory = 1;
  };
  class ramp_top
  {
   type="rotation";
   source="ramp_top";
   selection="ramp_top";
   axis="ramp_top_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.401426;
   angle1 = 0.000000;
   memory = 1;
  };
  class door_1
  {
   type="rotation";
   source="door_1";
   selection="door_1";
   axis="door_1_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = -1.658063;
   angle1 = 0.000000;
   memory = 1;
  };

  class door_2_2
  {
   type="rotation";
   source="door_2_2";
   selection="door_2_2";
   axis="door_2_2_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -1.59931;
   memory = 1;
  };
  class hatch_2_2_t_damageHide
  {
   type="hide";
   source="damage";
   selection="hatch_2_2_t_damagehide";
   axis="hatch_2_2_t_damagehide_axis";
   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   hideValue = 1.000000;
  };


  class door_2_2_damageHide
  {
   type="hide";
   source="damage";
   selection="door_2_2_damagehide";

   animPeriod = 0;
   minValue = 0;
   maxValue = 1;

   sourceAddress = 0;
   hideValue = 1.000000;
  };
  class Main1Turret
  {
   type="rotation";
   source="Main1Turret";
   selection="Main1Turret";
   axis="Main1Turret_axis";

   minValue="-1";
   maxValue="1";
   angle0="rad +30";
   angle1="rad -30";
  };
  class Main1Gun
  {
   type="rotation";
   source="Main1Gun";
   selection="main1gun";
   axis="main1gun_axis";

   minValue="-1";
   maxValue="1";
   angle0="rad +30";
   angle1="rad -30";
  };
  class Gatling_GAU_12
  {
   type="rotation";
   source="Gatling_GAU_12";
   selection="gatling_GAU_12";
   axis="gatling_axis_GAU_12";
   animPeriod = 0.01;
   minValue = 0;
   maxValue = 1;
   sourceAddress = 0;
   angle0 = 0.000000;
   angle1 = -1884.955688;
   memory = 1;
  };
  class Main3Turret
  {
   type="rotation";
   source="Main3Turret";
   selection="Main3Turret";
   axis="Main3Turret_axis";
   animPeriod = 0;
   minValue="-1";
   maxValue="1";
   angle0="rad -30";
   angle1="rad +30";
  };
  class Main3Gun
  {
   type="rotation";
   source="Main3Gun";
   selection="main3gun";
   axis="main3gun_axis";
   animPeriod = 0;
   minValue="-1";
   maxValue="1";
   angle0="rad +30";
   angle1="rad -30";
  };
  class recoil_BEGIN_m102
  {
   type="translation";
   source="recoil_source_m102";
   selection="recoil_m102";
   axis="recoil_axis_m102";
   animPeriod = 0;
   minValue = 0.92;
   maxValue = 0.99;
   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = -0.300000;
   memory = 1;
  };
  class recoil_END_m102
  {
   type="translation";
   source="recoil_source_M102";
   selection="recoil_m102";
   axis="recoil_axis_m102";
   animPeriod = 0;
   minValue = 0.99;
   maxValue = 1;
   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = 0.300000;
   memory = 1;
  };
  class Main2Turret
  {
   type="rotation";
   source="Main2Turret";
   selection="Main2Turret";
   axis="Main2Turret_axis";
   animPeriod = 0;
   minValue="-1";
   maxValue="1";
   angle0="rad +30";
   angle1="rad -30";
  };
  class Main2Gun
  {
   type="rotation";
   source="Main2Gun";
   selection="main2gun";
   axis="main2gun_axis";
   animPeriod = 0;
   minValue="-1";
   maxValue="1";
   angle0="rad -30";
   angle1="rad +30";
  };
  class recoil_BEGIN_l60
  {
   type="translation";
   source="recoil_source_l60";
   selection="recoil_l60";
   axis="recoil_axis_l60";
   animPeriod = 0;
   minValue = 0.92;
   maxValue = 0.99;
   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = 0.300000;
   memory = 1;
  };
  class recoil_END_l60
  {
   type="translation";
   source="recoil_source_l60";
   selection="recoil_l60";
   axis="recoil_axis_l60";
   animPeriod = 0;
   minValue = 0.99;
   maxValue = 1;
   sourceAddress = 0;
   offset0 = 0.000000;
   offset1 = -0.300000;
   memory = 1;
   };

 };//Animations
};//modelclass
};//CfgModels

Share this post


Link to post
Share on other sites

yes that's the example i mentioned earlier. im aware of the ai issues, the turrets do not move when i get in them. only the gau12 will fire.

Share this post


Link to post
Share on other sites

Yes but in first post is example config etc,

Quick look shows difference , not only because maybe your parsing of turrets is maybe wrong but other small things , anyway if you don't fix I shall be around this weekend .

Good luck and as in thread maybe look UAV closer for clues if gnat config no good for you

Share this post


Link to post
Share on other sites

Multiple problems ............ like all guns have to face 0 deg in the 3d model

But to be fair aircraft turret setup are VERY sensitive for some reason. Configs can look exactly the same but just one parameter will kill the whole thing.

Trying to get it close to working in spare time. Will return files once close

Share this post


Link to post
Share on other sites

i got all 3 turrets to move. but the 2 cannons will not fire when i use my weapons, but they will when i use m134 as weapon. the gau12 works fine using gau12 or m134. any ideas why my weapons dont work?

heres my weapons cfg

nevermind i guess u cant fire shellbase ammo from a plane

Edited by rstratton
fixed

Share this post


Link to post
Share on other sites

why can't shellbase ammo be fired from a plane? Is that restrictions of the Arma Engine? I'm using your mod but there are issues. When I shoot the 105, 40mm, and 25mm there are no sounds for when the round impacts the ground and I think that's because the rounds are not shellbase. Does anyone know if BI has made a patch to this or what because I would love to use this mod but there are no sounds coming from the explosions. That's the best part when you're on Opfor and all you hear is explosions and you look up and you see that beast.

Edited by dixon13

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×