Jump to content
Sign in to follow this  
rdvtrdvt

parameters are removed after class inheritance

Recommended Posts

Trying to add GPS for A-10C in RHS mod. To do this, I modify the "VehicleSystemsDisplayManagerComponentLeft" class. (Code below). But after that the class parameters (screenshoot #1) are removed (screenshoot #2)

class CfgPatches
 {
 	class RHSplaneFIX
 	{
 		units[] = {};
 		weapons[] = {};
 		requiredVersion = 0.1;
 		requiredAddons[] = {"rhsusf_main_loadorder"};
 	};
 };


class CfgVehicles {
	class Plane_CAS_01_base_F;
    class RHS_A10 : Plane_CAS_01_base_F {
		class Components {
			class VehicleSystemsDisplayManagerComponentLeft {
				class Components {
					class MinimapDisplay {
						componentType = "MinimapDisplayComponent";
						resource = "RscCustomInfoAirborneMiniMap";
					};
				};
			};
		};
    };
};

before patch: https://imgur.com/a/ZZY318j

after: https://imgur.com/a/VFbh1M8

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  

×