Jump to content
Sign in to follow this  
Mootaz25kh

Inheriting Error

Recommended Posts

Hello i was working on my Mod version beta 0.2 and i inherited the RHS Humvee and when i test them for 2d and 4d full and half tops no top no doors just look like the opened versions any idea what is wrong 

class CfgPatches {
	
	class Tun_hmmwv {
		units[] = {};
		weapons[] = {};
		requiredVersion = 1.0;
		requiredAddons[] = {};
		name = "Tunisian HMMWVs Texture";
		author = "K Mootaz";

	};
};

class CfgVehicles
{   
    class rhsusf_m998_w_2dr;
	class rhsusf_m998_w_2dr_halftop;
	class rhsusf_m998_w_2dr_fulltop;
	class rhsusf_m998_w_4dr;
	class rhsusf_m998_w_4dr_halftop;
	class rhsusf_m998_w_4dr_fulltop;
	class rhsusf_m1025_w;
	class rhsusf_m1025_w_m2;
	class rhsusf_m1025_w_Mk19;
	
	
	class Tun_m998_d_2dr : rhsusf_m998_w_2dr {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_2dr.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_2dr";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (2D/Open)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "Trhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_2drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_d_co.paa"};
	};
	
	class Tun_m998_d_2dr_halftop : rhsusf_m998_w_2dr_halftop {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_2dr_halftop.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_2dr_halftop";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (2D/Half)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_2drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_d_co.paa"};
	};
	
	class Tun_m998_d_2dr_fulltop : rhsusf_m998_w_2dr_fulltop {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_2dr_fulltop.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_2dr_fulltop";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (2D)";
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_2drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_d_co.paa"};
	};
	class Tun_m998_d_4dr : rhsusf_m998_w_4dr {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_4dr.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_4dr";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (4D/Open)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_4drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_co.paa"};
	};	
	
    class Tun_m998_d_4dr_halftop : rhsusf_m998_w_4dr_halftop {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_4dr.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_4dr";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (4D/Half)";
        HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_4drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_d_co.paa"};
	};
	
    class Tun_m998_d_4dr_fulltop : rhsusf_m998_w_4dr_fulltop {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m998_d_4dr.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m998_d_4dr";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1097A2 (4D)";
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_wood_d_co.paa", "Tunisian_Humvee\Data\m998_4drcargo_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_d_co.paa"};
	};
	
	class Tun_m1025_d : rhsusf_m1025_w {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m1025_d.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m1025_d";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1025A2 (Unarmed)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_w_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_co.paa", "Tunisian_Humvee\Data\m1025_Tun_1_co.paa"};
    };	
	
	class Tun_m1025_d_m2 : rhsusf_m1025_w_m2 {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m1025_d_m2.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m1025_d_m2";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1025A2 (M2)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_w_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_co.paa", "Tunisian_Humvee\Data\m1025_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\mk64mount_d_co.paa"};
	};
	
	class Tun_m1025_d_mk19 : rhsusf_m1025_w_Mk19 {
		editorPreview = "rhsusf\addons\rhsusf_editorPreviews\data\rhsusf_m1025_d_Mk19.paa";
		faction = "Tunisian_Army";
		vehicleClass = "Tun_m1025_d_m2";
		crew = "Tunisian_Rifleman";
		author = "K Mootaz";
		displayname = "M1025A2 (MK19)"
		HiddenSelectionsTextures[] = {"Tunisian_Humvee\Data\m998_exterior_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\m998_interior_d_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\A2_parts_D_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\wheel_wranglermt_d_co.paa", "Tunisian_Humvee\Data\m998_mainbody_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\gratting_w_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\tile_exmetal_co.paa", "Tunisian_Humvee\Data\m1025_Tun_1_co.paa", "rhsusf\addons\rhsusf_hmmwv\textures\mk64mount_d_co.paa"};
	};
};	

Share this post


Link to post
Share on other sites

Line 33, 43, 62, 92, 102 and 112 are missing semicolons.

Share this post


Link to post
Share on other sites

thx i fixed that error in the config but still didn't fix my bug 

.eJwlyEsOwiAQANC7sAfmU8jYyzSEElpTpIFxZby

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  

×