Jump to content
Sign in to follow this  
Sakai

Config gone mad - Vehicleclass not showing up.

Recommended Posts

Hey guys, I have totally no... NO CLUE what is wrong in here, everything is suppose to work fine, no errors anywhere, basically the problem is, I have two vehicleclasses, FAC_Marines & FAC_Other, they were suppose to appear in editor but there is no sign of them ANYWHERE! and the units are scope = public; ((beside one which is suppose to be)) I had it in one config.cpp but for some reason CfgVehicle did not want to close so I created seprate config.cpp re-directing every unit from FAC_Marines folder to fac_cdf_marines if it wouldn't I would of get errors either way.

Here is the config.cpp:

class CfgWorlds
{
class GenericNames
{
	class DIH_Ger_Men
	{
		class FirstNames
		{
			DIH_GERn01="Tiziano";
			DIH_GERn02="Luciano";
			DIH_GERn03="Maurizio";
			DIH_GERn04="Giovanni";
			DIH_GERn05="Giacomo";
			DIH_GERn06="Mariano";
			DIH_GERn07="Ottaviano";
			DIH_GERn08="Ignazio";
			DIH_GERn09="Simone";
			DIH_GERn10="Rosario";
			DIH_GERn11="Vittorio";
			DIH_GERn12="Vincenzo";
			DIH_GERn13="Guglielmo";
			DIH_GERn14="Alberto";
			DIH_GERn15="Bernardo";
			DIH_GERn16="Roberto";
			DIH_GERn17="Calogero";
			DIH_GERn18="Carlo";
			DIH_GERn19="Carmine";
			DIH_GERn20="Damiano";
			DIH_GERn21="Domenico";
			DIH_GERn22="Fiorello";
			DIH_GERn23="Gustavo";
			DIH_GERn24="Pippino";
			DIH_GERn25="Romano";
			DIH_GERn26="Ruggiero";
			DIH_GERn27="Xiomar";
			DIH_GERn28="Monte";
			DIH_GERn29="Tito";
			DIH_GERn30="Donatello";
			DIH_GERn31="Constantin";
			DIH_GERn32="Arturo";
			DIH_GERn33="Arrigo";
			DIH_GERn34="Gregorio";
			DIH_GERn35="Nari";
			DIH_GERn36="Nario";
			DIH_GERn37="Niccolo";
			DIH_GERn38="Nicoli";
			DIH_GERn39="Orlando";
			DIH_GERn40="Patrizio";
			DIH_GERn41="Renzo";
			DIH_GERn42="Sal";
			DIH_GERn43="Salvatore";
			DIH_GERn44="Salvatorio";
			DIH_GERn45="Savino";
			DIH_GERn46="Sebastiano";
			DIH_GERn47="Emilio";
			DIH_GERn48="Enzo";
			DIH_GERn49="Eustosio";
			DIH_GERn50="Fabio";
			DIH_GERn51="Fulgenzio";
			DIH_GERn52="Fidenziano";
			DIH_GERn53="Filiberto";
			DIH_GERn54="Leonardo";
			DIH_GERn55="Lucio";
			DIH_GERn56="Letterio";
			DIH_GERn57="Valerio";
		};
		class LastNames
		{
			DIH_GERn01="Agresta";
			DIH_GERn02="Aiello";
			DIH_GERn03="Agnoli";
			DIH_GERn04="Altosinno";
			DIH_GERn05="Alvaro";
			DIH_GERn06="Ali";
			DIH_GERn07="Babocci";
			DIH_GERn08="Bacchiega";
			DIH_GERn09="Bacciarelli";
			DIH_GERn10="Baccino";
			DIH_GERn11="Baggetta";
			DIH_GERn12="Bagala";
			DIH_GERn13="Bagnara";
			DIH_GERn14="Balboni";
			DIH_GERn15="Balducci";
			DIH_GERn16="Balistrieri";
			DIH_GERn17="Balsamo";
			DIH_GERn18="Barbato";
			DIH_GERn19="Biagiolis";
			DIH_GERn20="Borzacchini";
			DIH_GERn21="Benedetto";
			DIH_GERn22="Bosco";
			DIH_GERn23="Brafa";
			DIH_GERn24="Bregoli";
			DIH_GERn25="Belsito";
			DIH_GERn26="Buccemi";
			DIH_GERn27="Bruzzi";
			DIH_GERn28="Caffarelli";
			DIH_GERn29="Caporrino";
			DIH_GERn30="Ciancio";
			DIH_GERn31="Chitti";
			DIH_GERn32="Chine";
			DIH_GERn33="Ciurro";
			DIH_GERn34="D'Alesandro";
			DIH_GERn35="DeFedericis";
			DIH_GERn36="Demarco";
			DIH_GERn37="Egidi";
			DIH_GERn38="Epifano";
			DIH_GERn39="Fabiano";
			DIH_GERn40="Fabbris";
			DIH_GERn41="Fabrini";
			DIH_GERn42="Fennini";
			DIH_GERn43="Ferrara";
			DIH_GERn44="Fiocco";
			DIH_GERn45="Gabbana";
			DIH_GERn46="Greppi";
			DIH_GERn47="Guarascio";
			DIH_GERn48="Guzzo";
			DIH_GERn49="Guglielmo";
			DIH_GERn50="Granata";
			DIH_GERn51="Gigliotti";
			DIH_GERn52="Giammarresi";
			DIH_GERn53="Giacinto";
			DIH_GERn54="Genduso";
			DIH_GERn55="Gesualdi";
			DIH_GERn56="Ghelarducci";
			DIH_GERn57="Giachetti";
			DIH_GERn58="Giardina";
			DIH_GERn59="Gardello";
			DIH_GERn60="Iacaruso";
			DIH_GERn61="Ienco";
			DIH_GERn62="Izzo";
			DIH_GERn63="Jacaruso";
			DIH_GERn64="Jacoe";
			DIH_GERn65="Jaconelli";
			DIH_GERn66="Ippolito";
			DIH_GERn67="Iasalvatore ";
			DIH_GERn68="Iacovino";
			DIH_GERn69="Iaconetti";
			DIH_GERn70="Iannino";
			DIH_GERn71="Iamele";
			DIH_GERn72="Ienco";
			DIH_GERn73="Insarda";
			DIH_GERn74="La Barbera";
			DIH_GERn75="Laccona";
			DIH_GERn76="Labue";
			DIH_GERn77="Laccona";
			DIH_GERn78="Lacopo";
			DIH_GERn79="Lafaso";
			DIH_GERn80="LaFata";
			DIH_GERn81="Lagana";
			DIH_GERn82="Ludovico";
			DIH_GERn83="Lusito";
			DIH_GERn84="Leone";
			DIH_GERn85="Licciardone";
			DIH_GERn86="Li Volsi";
			DIH_GERn87="Longo";
			DIH_GERn88="LoPiccolo";
			DIH_GERn89="Lorenzini";
			DIH_GERn90="Lucchina";
			DIH_GERn91="La Pilusa";
			DIH_GERn92="Lottardi";
			DIH_GERn93="Luca";
			DIH_GERn94="Latino";
			DIH_GERn95="Napolitano";
			DIH_GERn96="Nesca";
			DIH_GERn97="Paccara";
			DIH_GERn98="Pacelli";
			DIH_GERn99="Pecoraro";
			DIH_GERn100="Pellegrino";
			DIH_GERn101="Piccolo";
			DIH_GERn102="Rabuano";
			DIH_GERn103="Rapposelli";
			DIH_GERn104="Reda";
			DIH_GERn105="Rescigno";
			DIH_GERn106="Rinaldi";
			DIH_GERn107="Ritrivi";
			DIH_GERn108="Romandini";
			DIH_GERn109="Romano";
			DIH_GERn110="Rosetta";
			DIH_GERn111="Roppollo";
			DIH_GERn112="Russo";
			DIH_GERn113="Rutigliano";
			DIH_GERn114="Sacchitiello";
			DIH_GERn115="Sabatino";
			DIH_GERn116="Sassano";
			DIH_GERn117="Scali";
			DIH_GERn118="Scarlato";
			DIH_GERn119="Scorranese";
			DIH_GERn120="Seggio";
			DIH_GERn121="Sgarbossa";
			DIH_GERn122="Macchiarolo";
			DIH_GERn123="Madaffari";
			DIH_GERn124="Marafioti";
			DIH_GERn125="Marincola";
			DIH_GERn126="Marino";
			DIH_GERn127="Trentacosta";
			DIH_GERn128="Truglio";
			DIH_GERn129="Valocco";
			DIH_GERn130="Vella";
			DIH_GERn131="Vitanza";
			DIH_GERn132="Zavattoni";
			DIH_GERn133="Ziccarelli";
		};
	};
};
};

class CfgVehicleClasses{
class FAC_Marines
{
displayName = "Men (Marines)";
};
class FAC_OTHER
{
displayName = "Men (Other)";
};
};

class CfgPatches
{
class FAC_Marines
{
 units[] = {};
 weapons[] = {};
 requiredVersion = 1.0;
 requiredAddons[] = {"CACharacters_e", "CACharacters2", "CAWeapons"};
};
};

class CfgVehicles
{
class SoldierGB;
class UN_CDF_Soldier_base_EP1;
class Doctor_base;
class FlagCarrier;	// External class reference
class FAC_Marines_Base : UN_CDF_Soldier_base_EP1 {

	class Wounds
 		{
	tex[] = {};
	mat[] = {"ca\characters2\Blufor\data\Soldier.RVmat","ca\characters2\Blufor\data\Soldier_W1.RVmat","ca\characters2\Blufor\data\Soldier_W2.RVmat","ca\characters2\Blufor\data\Soldier_Light.RVmat","ca\characters2\Blufor\data\Soldier_Light_W1.RVmat","ca\characters2\Blufor\data\Soldier_Light_W2.RVmat","ca\characters2\Blufor\data\Soldier_EQUIP_Light.RVmat","ca\characters2\Blufor\data\Soldier_Light_EQUIP_W2.RVmat","ca\characters2\Blufor\data\Soldier_Light_EQUIP_W1.RVmat","ca\characters2\Blufor\data\Soldier_GL.RVmat","ca\characters2\Blufor\data\Soldier_GL_W1.RVmat","ca\characters2\Blufor\data\Soldier_GL_W2.RVmat","ca\characters2\Blufor\data\Soldier_NCO.RVmat","ca\characters2\Blufor\data\Soldier_NCO_W1.RVmat","ca\characters2\Blufor\data\Soldier_NCO_W2.RVmat","ca\characters2\Blufor\data\Soldier_MG.RVmat","ca\characters2\Blufor\data\Soldier_MG_W1.RVmat","ca\characters2\Blufor\data\Soldier_MG_W2.RVmat","ca\characters2\Blufor\data\Soldier_AT.RVmat","ca\characters2\Blufor\data\Soldier_AT_W1.RVmat","ca\characters2\Blufor\data\soldier_at_w2.RVmat","ca\characters2\Blufor\data\Soldier_co.RVmat","ca\characters2\Blufor\data\Soldier_co_w1.RVmat","ca\characters2\Blufor\data\Soldier_CO_W2.RVmat","ca\characters2\Blufor\data\Soldier_CO_EQUIP.RVmat","ca\characters2\Blufor\data\Soldier_CO_EQUIP_W1.RVmat","ca\characters2\Blufor\data\Soldier_CO_EQUIP_W2.RVmat","ca\characters2\Blufor\data\Soldier_Pilot.RVmat","ca\characters2\Blufor\data\Soldier_Pilot_W1.RVmat","ca\characters2\Blufor\data\Soldier_Pilot_W2.RVmat","ca\characters2\Blufor\data\Soldier_Pilot_EQUIP.RVmat","ca\characters2\Blufor\data\Soldier_Pilot_EQUIP_W1.RVmat","ca\characters2\Blufor\data\Soldier_Pilot_EQUIP_W2.RVmat","ca\characters2\Blufor\data\Soldier_Guard.RVmat","ca\characters2\Blufor\data\Soldier_Guard_W1.RVmat","ca\characters2\Blufor\data\Soldier_Guard_W2.RVmat","ca\characters2\Blufor\data\Soldier_Crew.RVmat","ca\characters2\Blufor\data\Soldier_Crew_W1.RVmat","ca\characters2\Blufor\data\Soldier_Crew_W2.RVmat","ca\characters2\Blufor\data\Soldier_Crew_EQUIP.RVmat","ca\characters2\Blufor\data\Soldier_Crew_equip_w1.RVmat","ca\characters2\Blufor\data\Soldier_crew_equip_W2.RVmat","ca\characters2\Blufor\data\Soldier_Guard_EQUIP.RVmat","ca\characters2\Blufor\data\Soldier_Guard_EQUIP_W1.RVmat","ca\characters2\Blufor\data\Soldier_Guard_EQUIP_W2.RVmat"};
	};

};

	class FAC_Base : FAC_Marines_Base {
	model = "\fac_cdf_marines\UN_CDF_Rifleman";
	scope = private;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "$STR_EP1_DN_UN_CDF_Soldier_EP1";
	weapons[] = {"C1987_Famas_f1", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East", "SmokeShell"};
	respawnWeapons[] = {"C1987_Famas_f1", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_East", "HandGrenade_East", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "SmokeShell"};
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
};

class FAC_MarineSoldier : FAC_Marines_Base {
	model = "\fac_cdf_marines\marinesoldier";
	portrait = "\Ca\characters\data\portraits\comBarHead_common_officer_ca";
	scope = public;
	displayName = "Riflemen";
	identityTypes[] = {"Language_EN_EP1", "Head_CDF_CO", "CDF_Glasses"};
	accuracy = 3.6;	// accuracy needed to recognize type of this target
	camouflage = 1.2;	// how dificult to spot - bigger - better spotable
	sensitivity = 0.5 *2.4;	// sensor sensitivity
	cost = 700000;
	nightVision = true;
	enableGPS = 1;

	weapons[] = {"C1987_Famas_f1_aim", "ItemGPS", "NVGoggles", "Binocular", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "SmokeShell", "SmokeShellRed", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_East", "HandGrenade_East"};
	respawnWeapons[] = {"C1987_Famas_f1_aim", "ItemGPS", "NVGoggles", "Binocular", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	respawnmagazines[] = {"C1987_Famas_f1", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "SmokeShellRed", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag"};
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
	vehicleClass = "FAC_Marines";
};

class FAC_MarineOfficer : FAC_Base {
	displayName = "Officer";
	model = "\fac_cdf_marines\marineofficer";
	portrait = "\Ca\characters\data\portraits\comBarHead_common_officer_ca";
	Picture = "\Ca\characters\data\Ico\i_off_CA.paa";
	Icon = "\Ca\characters2\data\icon\i_officer_CA.paa";

	class SpeechVariants {
		class Default {
			speechSingular[] = {"veh_officer"};
			speechPlural[] = {"veh_officers"};
		};

		class EN : Default {};

		class CZ {
			speechSingular[] = {"veh_officer_CZ"};
			speechPlural[] = {"veh_officers_CZ"};
		};

		class CZ_Akuzativ {
			speechSingular[] = {"veh_officer_CZ4P"};
			speechPlural[] = {"veh_officers_CZ4P"};
		};

		class RU {
			speechSingular[] = {"veh_officer_RU"};
			speechPlural[] = {"veh_officers_RU"};
		};
	};
	TextPlural = "$STR_DN_officers";
	TextSingular = "$STR_DN_officer";
	nameSound = "veh_officer";
	weapons[] = {"C1987_Famas_f1", "ACE_L9A1", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs", "Binocular"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_East", "HandGrenade_East", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "SmokeShellRed", "SmokeShellGreen"};
	respawnWeapons[] = {"C1987_Famas_f1", "ACE_L9A1", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs", "Binocular"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_East", "30Rnd_556x45_Stanag", "SmokeShellGreen"};
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
	vehicleClass = "FAC_Marines";
	scope = public;
};
	class FAC_MarineAR : FAC_Marines_Base {
	model = "\fac_cdf_marines\marinesoldier";
	icon = "\Ca\characters2\data\icon\i_machinegunner_CA.paa";
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Automatic Riflemen";
	weapons[] = {"FAC_FALO", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	magazines[] = {"20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East", "SmokeShell"};
	respawnWeapons[] = {"FAC_FALO", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ACE_Earplugs"};
	respawnMagazines[] = {"20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "HandGrenade_East", "HandGrenade_East", "20Rnd_762x51_FNFAL", "20Rnd_762x51_FNFAL", "SmokeShell"};
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
	vehicleClass = "FAC_Marines";
};
class FAC_MarineMedic : FAC_Marines_Base {
	model = "\fac_cdf_marines\marinesoldier";
	scope = public;
	attendant=true;
	accuracy = 3.9;
	displayName = "Medic";
	Icon = "\Ca\characters2\data\icon\i_medic_CA.paa";
	weapons[] = {"C1987_Famas_f1","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio", "ACE_Earplugs"};
	magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag", "HandGrenade_East", "HandGrenade_East", "SmokeShellRed", "SmokeShellGreen"};
	respawnWeapons[] = {"C1987_Famas_f1","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio", "ACE_Earplugs"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag", "HandGrenade_East", "SmokeShellGreen"};
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
	vehicleClass = "FAC_Marines";
};
	class FAC_Doctor : Doctor_base {
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Military Doctor";
	vehicleClass = "FAC_OTHER";
	hiddenSelectionsTextures[] = {"\fac_cdf_marines\data\doctor_co.paa"};
	attendant = true;
	faction = "FAC";
	side = 2;
	canCarryBackpack = 1;
	genericnames = "DIH_Ger_Men";
};
};

Share this post


Link to post
Share on other sites

Do you have to define public, private etc? The biki says, in its example

// type scope

#define private 0

#define protected 1

#define public 2

I've always used scope 0 for private and scope 1 for protected etc

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  

×