Jump to content
Sign in to follow this  
scajolly

Turret inheritance gone horribly wrong? And assorted issues.

Recommended Posts

Hello!

I'm very new to configs. I've hardly ever touched one before. I am currently working on a project and believe I've come upon an obstacle that require your kind assistance.

I made an addon's config.bin into a config.cpp (with all correct permissions) and have edited it. The addon worked perfectly before I did anything, and contains a plane, with among other things a texheader.bin and a series of RVMAT files. Now, upon running it, I get an error in the editor. The RPT list is long, a fragment seen here:

Warning Message: Cannot load texture hafm_air\f4e\data\wings_smdi.paa.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.gunBeg'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.gunEnd'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.missileBeg'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.missileEnd'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.memoryPointGunnerOutOptics'.
Warning Message: '/' is not a value
Warning Message: Cannot load texture hafm_air\f4e\tex\body_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\seats_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_night_ca.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\doors_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\seats_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\body_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\body_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\common_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\tex\body_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\tex\wings_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\seats_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_back_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_night_ca.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_back_night_ca.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\gears_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\doors_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\wings_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\wings_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\body_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\body_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\doors_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\seats_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\common_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\common_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\pit_back_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\gears_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\gears_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\doors_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\doors_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\data\env_co.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: Cannot open object hafm_air\f4e\wep\uns_alq110.p3d
Warning Message: Cannot open object hafm_air\f4e\f4ewreck.p3d
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim9_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_nohq.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: Cannot load texture hafm_air\f4e\wep\aim7_smdi.paa.
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.MGunClouds'.
Warning Message: No entry '.interval'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletDuration'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAnimPeriod'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletSize'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAlpha'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletGrowUp'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeIn'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeOut'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAccY'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMinYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMaxYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletColor'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.initT'.
Warning Message: '/' is not a value
Warning Message: No entry '.deltaT'.
Warning Message: '/' is not a value
Warning Message: No entry '.Table'.
Warning Message: No entry '.cloudletShape'.
Warning Message: '/' is not a value
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.sourceSize'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.GunClouds'.
Warning Message: No entry '.interval'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletDuration'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAnimPeriod'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletSize'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAlpha'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletGrowUp'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeIn'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeOut'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAccY'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMinYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMaxYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletColor'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.initT'.
Warning Message: '/' is not a value
Warning Message: No entry '.deltaT'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletShape'.
Warning Message: '/' is not a value
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.sourceSize'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.GunFire'.
Warning Message: No entry '.interval'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletDuration'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAnimPeriod'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletSize'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAlpha'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletGrowUp'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeIn'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletFadeOut'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletAccY'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMinYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletMaxYSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletColor'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.initT'.
Warning Message: '/' is not a value
Warning Message: No entry '.deltaT'.
Warning Message: '/' is not a value
Warning Message: No entry '.cloudletShape'.
Warning Message: '/' is not a value
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.sourceSize'.
Warning Message: '/' is not a value

Main elements are

"Cannot load texture hafm_air\f4e\wep\aim9_nohq.paa." - wrongly routed. The texture is in FGR\f4e, not hafm_air\. How do I alter this? I can't open the RVMat files which I know contain some of these wrong directions , and Texheaders remain a mystery to me after reading this page.

"Warning Message: No entry 'bin\config.bin/CfgVehicles/F4E/Turrets/MainTurret.gunEnd'." - an inheritance issue with turrets? (note how it says config.bin when I only have config.cpp -- I guess that's completely irrelevant though)

"Warning Message: No entry '.deltaT'." - an... inheritance issue? I've never heard of deltaT.

As an aside, when I first made the bin into cpp, despite me having the BI Tools, arrays were not being shown as eg. soundLocked[] = {, but without the [] brackets. A lot of manual labour went into fixing that -- does anyone know what might've gone wrong?

Regarding the inheritance issue, below is the snippet where the plane is first defined. I just put "soforth" in places where the original author may want work hidden.

class CfgVehicles {
/*extern*/ class Air;

class Plane: Air {
	/*extern*/ class ViewPilot;
	/*extern*/ class NewTurret;
};




class F4E: Plane {
	destrType = "DestructWreck";
	scope = 2;
	LockDetectionSystem = 8;
	IncommingMisslieDetectionSystem = 16;
	soundLocked[] = {"soforth};
	soundIncommingMissile[] = {"soforth};
	vtol = 0;
	vehicleClass = "FGR_Air";
	displayName = "RAF Phantom FGR2";
	model = "\FGR\F4E\f4eAG.p3d";
	icon = "\FGR\F4E\ico\f4eMap_ca.paa";
	picture = "\FGR\F4E\ico\f4e_ca.paa";
	mapSize = 17;
	side = 1;
	faction = "BAF";
	crew = "BAF_Pilot_MTP";
	camouflage = 10;
	audible = 6;
	accuracy = 0.200000;
	leftDustEffect = "LDustEffects";
	rightDustEffect = "RDustEffects";
	cost = 200000;
	irScanGround = 1;
	irScanRangeMin = 10000;
	irScanRangeMax = 120000;
	irScanToEyeFactor = 3;
	supplyRadius = 8;
	ACE_SYS_EJECT_EJECT = 1;
	ACE_SYS_EJECT_JUMP = 0;
	ACE_SYS_EJECT_MULTICREW = 0;
	ace_ejection_seat = "ACE_ACESII";
	laserScanner = 1;
	laserTarget = 1;
	minFireTime = 10;
	driverAction = "A10_Pilot";
	gunAimDown = 0.070000;
	memoryPointGun = "machinegun";
	weapons[] = {"GLT_M61A1", "CMFlareLauncher"};
	magazines[] = {"640Rnd_20mm_M61A1_GLT", "120Rnd_CMFlare_Chaff_Magazine"};
	threat[] = {1, 1, 1};
	soundGetIn[] = {"soforth};
	soundGetOut[] = {"soforth};
	soundDammage[] = {"soforth};
	soundEngineOnInt[] = {"soforth};
	soundEngineOnExt[] = {"soforth};
	soundEngineOffInt[] = {"soforth};
	soundEngineOffExt[] = {"soforth};

	class Sounds {

Can anyone help me with these three and a half issues?

Thank you in advance for any help!

Share this post


Link to post
Share on other sites

where is the turret definition? none defined or just cut from your code copy in the post?

Share this post


Link to post
Share on other sites

Hello

The turret is defined by

class CfgVehicles {
/*extern*/ class Air;

class Plane: Air {
	/*extern*/ class ViewPilot;
	/*extern*/ class MainTurret;
};

Then, with each aircraft entry, the turret is listed by

class Turrets {

		class MainTurret {
			body = "";
			gun = "";
			commanding = -1;
			minElev = -60;
			maxElev = 15;
			initElev = 0;
			minTurn = -120;
			maxTurn = 120;
			initTurn = 0;
			initFov = 0.950000;
			memoryPointGunnerOptics = "gunnerview";
			typicalCargo[] = {"BAF_Pilot_MTP"};
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			weapons[] = {"uns_F4Fuelauncher", "uns_AIM9Launcher", "uns_AIM7Launcher"};
			magazines[] = {"F4uns_1Rnd_FuelNavy", "Uns_AIM9_mag", "Uns_AIM7_mag"};
			castGunnerShadow = 1;
			viewGunnerShadow = 1;
			gunnerAction = "Su34_Gunner";
			gunnerInAction = "Su34_Gunner";
			gunnerForceOptics = 0;
			gunnerOutOpticsModel = "\ca\air\optika_AH1Z.p3d";
			gunnerOpticsColor[] = {0.227000, 0.769000, 0.240000, 1};
			gunnerForceOutOptics = 0;
			gunnerUsesPilotView = 0;
			hasGunner = "true";
			hideWeaponsGunner = "true";
			inGunnerMayFire = "true";
			lockWhenDriverOut = "false";
			maxHorizontalRotSpeed = 3;
			maxVerticalRotSpeed = 3;
			outGunnerMayFire = 1;
			proxyType = "CPGunner";
			proxyIndex = 1;
			gunnerOpticsShowCursor = 1;
			showgunneroptics = 1;
			soundServo[] = {"", 0.003162, 1};
			startEngine = "false";
			gunnerOpticsModel = "\ca\air\optika_AH1Z";

			class ViewOptics {
				initAngleX = 0;
				minAngleX = 80;
				maxAngleX = 0;
				initAngleY = 0;
				minAngleY = 80;
				maxAngleY = 80;
				initFov = 2.000000;
				minFov = 0.100000;
				maxFov = 2.000000;
				visionMode[] = {"Normal", "NVG", "Ti"};
			};
		};

(Thank you for your answer)

Share this post


Link to post
Share on other sites

Ok. Either you add all parameters, or you use inheritance (recommended).

class CfgVehicles
{
class Air;
class Air: AllVehicles
{
	class Turrets;
};
class Plane: Air
{
	class ViewPilot;
	class Turrets: Turrets
	{
			class MainTurret;
	};
};

class F4E: Plane
{
	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{

Good practice would be to remove all duplicate/unchanged values defined by class Plane/Air/below too.

To do this grab a diff tool like compareIt, the AIO/cfgAmmoMagWepVehFULL.cpp config and let it show you the same definitions.

Share this post


Link to post
Share on other sites

Hello .kju

I found your related advice from two years ago and found it worked perfectly. Well, that is to say, I'm two thirds the way there. I still get Turretache in one instance:

class CfgPatches
{
class FGR
{
 units[] = {"RAF Phantom FGR2"};
 weapons[] = {};
 requiredVersion = 1.0;
 requiredAddons[] = {"CAAir2","CAWeapons","HAFM"}; 
};
};

class CfgFactionClasses
{
class FGR
{
	displayName = "BIS_BAF";
	priority = 8;
	side = 1;
};
};
class CfgVehicleClasses
{
class Air
{
};
};
class Turrets;
class MainTurret;
class CfgVehicles
{
/*	class All;
class Allvehicles: All;
   class Air;
   class Air: AllVehicles
   {
       class Turrets;
   };
   class Plane: Air
   {
       class ViewPilot;
       class Turrets: Turrets
       {
               class MainTurret;
       };
   };
*/
class F4E;
   class F4J: F4E
   {
vehicleClass = "Air";
	displayName = "Phantom FGR2";
	faction = "BIS_BAF";
	crew = "BAF_Pilot_MTP";
	memoryPointGun = "machinegun";
	weapons[] = {"GLT_M61A1","CMFlareLauncher"};
	magazines[] = {"640Rnd_20mm_M61A1_GLT","120Rnd_CMFlare_Chaff_Magazine"};

};




class F4J_BMB: F4J
{
	displayName = "Phantom FGR2 (Mk82)";
	model = "\hafm_air\F4E\f4e.p3d";
	faction = "BIS_BAF";
	class Turrets : Turrets
	{
		class MainTurret: MainTurret
		{

			typicalCargo[] = {"BAF_Pilot_MTP"};
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			weapons[] = {"uns_F4Fuelauncher","uns_AIM9Launcher","uns_MK82SnakeLauncher","HAFM_MK82BombLauncher"};
			magazines[] = {"F4uns_1Rnd_Fuel","Uns_AIM9_mag","F4uns_6Rnd_MK82Snake","HAFM_4Rnd_MK82"};
		};
	};
};


//class F4E_MULTI;
class F4J_MULTI: F4J
{
	displayName = "Phantom FGR2 (MultiRole)";
	model = "\hafm_air\F4E\f4eM.p3d";
	faction = "BIS_BAF";
	class Turrets

	{
		class MainTurret: MainTurret
		{
			typicalCargo[] = {"BAF_Pilot_MTP"};
			weapons[] = {"uns_F4Fuelauncher","uns_AIM9Launcher","HAFM_AIM120_Launcher","uns_MK82SnakeLauncher","MaverickLauncher"};
			magazines[] = {"F4uns_1Rnd_Fuel","uns_2xAIM9_mag","HAFM_2Rnd_AIM120","F4uns_6Rnd_MK82Snake","2Rnd_Maverick_A10","2Rnd_Maverick_A10"};
		};
	};	
};	

/*	
	class UserActions {
           class GPSaction {
               priority = 0;
               shortcut = "";
               displayNameDefault = "";
               position = "";
               radius =2;
               onlyforplayer = 1;
               displayName = "GPS/INS System";
               condition = "(isengineon this) && (player == (driver this))";
               statement = "createDialog 'GLT_airgpsmfd'";
           };
       };
};

*/
};

Or for PHP:

class CfgPatches
{
class FGR
{
 units[] = {"RAF Phantom FGR2"};
 weapons[] = {};
 requiredVersion = 1.0;
 requiredAddons[] = {"CAAir2","CAWeapons","HAFM"}; 
};
};

class CfgFactionClasses
{
class FGR
{
	displayName = "BIS_BAF";
	priority = 8;
	side = 1;
};
};
class CfgVehicleClasses
{
class Air
{
};
};
class Turrets;
class MainTurret;
class CfgVehicles
{
/*	class All;
class Allvehicles: All;
   class Air;
   class Air: AllVehicles
   {
       class Turrets;
   };
   class Plane: Air
   {
       class ViewPilot;
       class Turrets: Turrets
       {
               class MainTurret;
       };
   };
*/
class F4E;
   class F4J: F4E
   {
vehicleClass = "Air";
	displayName = "Phantom FGR2";
	faction = "BIS_BAF";
	crew = "BAF_Pilot_MTP";
	memoryPointGun = "machinegun";
	weapons[] = {"GLT_M61A1","CMFlareLauncher"};
	magazines[] = {"640Rnd_20mm_M61A1_GLT","120Rnd_CMFlare_Chaff_Magazine"};

};




class F4J_BMB: F4J
{
	displayName = "Phantom FGR2 (Mk82)";
	model = "\hafm_air\F4E\f4e.p3d";
	faction = "BIS_BAF";
	class Turrets : Turrets
	{
		class MainTurret: MainTurret
		{

			typicalCargo[] = {"BAF_Pilot_MTP"};
			memoryPointsGetInGunner = "pos gunner";
			memoryPointsGetInGunnerDir = "pos gunner dir";
			weapons[] = {"uns_F4Fuelauncher","uns_AIM9Launcher","uns_MK82SnakeLauncher","HAFM_MK82BombLauncher"};
			magazines[] = {"F4uns_1Rnd_Fuel","Uns_AIM9_mag","F4uns_6Rnd_MK82Snake","HAFM_4Rnd_MK82"};
		};
	};
};


//class F4E_MULTI;
class F4J_MULTI: F4J
{
	displayName = "Phantom FGR2 (MultiRole)";
	model = "\hafm_air\F4E\f4eM.p3d";
	faction = "BIS_BAF";
	class Turrets

	{
		class MainTurret: MainTurret
		{
			typicalCargo[] = {"BAF_Pilot_MTP"};
			weapons[] = {"uns_F4Fuelauncher","uns_AIM9Launcher","HAFM_AIM120_Launcher","uns_MK82SnakeLauncher","MaverickLauncher"};
			magazines[] = {"F4uns_1Rnd_Fuel","uns_2xAIM9_mag","HAFM_2Rnd_AIM120","F4uns_6Rnd_MK82Snake","2Rnd_Maverick_A10","2Rnd_Maverick_A10"};
		};
	};	
};	

/*	
	class UserActions {
           class GPSaction {
               priority = 0;
               shortcut = "";
               displayNameDefault = "";
               position = "";
               radius =2;
               onlyforplayer = 1;
               displayName = "GPS/INS System";
               condition = "(isengineon this) && (player == (driver this))";
               statement = "createDialog 'GLT_airgpsmfd'";
           };
       };
};

*/
};

The problem is with the third F4, the F4J_MULTI. It inherits from the F4J at the top, but presents with the typcial turret issues.

Warning Message: No entry 'bin\config.bin/CfgVehicles/F4J_MULTI/Turrets/MainTurret.primaryGunner'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4J_MULTI/Turrets/MainTurret.Turrets'.
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4J_MULTI/Turrets/MainTurret.primaryObserver'.
Warning Message: '/' is not a value
Warning Message: No entry 'bin\config.bin/CfgVehicles/F4J_MULTI/Turrets/MainTurret.Turrets'.
Error loading control bin\config.bin/RscDisplayArcadeUnit/controls/CA_ValueClass/

Not nearly as many as before. It shows up in the editor, but creates one of the above errors. I thought it would inherit all these things from F4J just as F4J_BMB would, so I'm completely lost.

EDIT:

Oh yes, okay.. "faction = "BIS_BAF";

class Turrets"

Was missing " : Turrets".

Figures it only showed after I had posted :)

Thank you for your help .kju!

Edited by SCAJolly

Share this post


Link to post
Share on other sites

Just to make it clear for everyone - this should have been the problem:

class F4J_MULTI: F4J

class Turrets

=>

class F4J_MULTI: F4J

class Turrets: Turrets

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  

×