Sign in to follow this  
Followers 0
n45c4r

Problem with config.cpp. Need help.

11 posts in this topic

I try to make a config, but when i run Arma error message apppear. I hope somebody can help me with this problem

Config file

#define true 1
#define false 0

#define VSoft 0
#define VArmor 1
#define VAir 2

#define private 0
#define protected 1
#define public 2

#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 ReadAndWrite 0
#define ReadAndCreate 1
#define ReadOnly 2
#define ReadOnlyVerified 3


class CfgPatches }
class pal_inf_specops }
	units[] = {"pal_spec_comotd", "pal_spec_strelok", "pal_spec_mgunner", "pal_spec_sabot", "pal_spec_sniper"};
	weapons[] = {};
	requiredVersion = 1.60;
	requiredAddons[] = {"CACharacters", "CACharacters2", CA_E, "CACharacters_E_Head", "CACharacters_E"};
};



};

class CfgVehicleClasses }
class PAL_inf_specops }
	displayName = "----------";
};


};



class CfgVehicles }
class Man;	// External class reference

class CAManBase;	// External class reference

class SoldierEB;	// External class reference

class SoldierWB;	// External class reference

class SoldierGB;	// External class reference

class Civilian;	// External class reference

class RUS_Soldier1;	// External class reference

class RUS_Soldier_TL;	// External class reference

class RUS_Soldier_Sab;

class pal_spec_comotd : RUS_Soldier_TL }
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	displayName = "Team Leader";
	Picture = "\Ca\characters\data\Ico\i_sleader_CA.paa";
	Icon = "\Ca\characters2\data\icon\i_officer_CA.paa";

	TextPlural = "$STR_DN_officers";
	TextSingular = "$STR_DN_officer";
	nameSound = "veh_officer";
	accuracy = 3.6;	// accuracy needed to recognize type of this target
	sensitivity = 3.4;	// sensor sensitivity
	cost = 500000;
	enableGPS = 1;
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_vest_co.paa"};
	backpack = "";
	weapons[] = {"M4A1_HWS_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9SD"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"};
	respawnWeapons[] = {"M4A1_HWS_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9SD"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"};
};

class pal_spec_strelok : RUS_Soldier_TL }
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Rifleman";
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_vest_co.paa"};
	weapons[] = {"M4A1_Aim", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	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_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] ={"M4A1_Aim", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"}; 
	respawnMagazines[] = {"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_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_spec_mgunner : RUS_Soldier1 }
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Machinegunner";
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_vest_co.paa"};
	weapons[] = {"M249_m145_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"200Rnd_556x45_M249", "200Rnd_556x45_M249", "200Rnd_556x45_M249", "200Rnd_556x45_M249", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M249_m145_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"200Rnd_556x45_M249", "200Rnd_556x45_M249", "200Rnd_556x45_M249", "200Rnd_556x45_M249", "HandGrenade_West", "HandGrenade_West"};
};

class pal_spec_sabot : RUS_Soldier_Sab }
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Saboteur";
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_co.paa"};
	weapons[] = {"M4A1_AIM_SD_camo", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "TimeBomb", "TimeBomb", "TimeBomb"};
	respawnWeapons[] = {"M4A1_AIM_SD_camo", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "TimeBomb", "TimeBomb", "TimeBomb"};
};

class pal_spec_sniper : RUS_Soldier1 }
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "Sniper";
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_co.paa"};
	weapons[] = {"M110_TWS_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR"};
	respawnWeapons[] = {"M110_TWS_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR", "20Rnd_762x51_B_SCAR"};
};
};

Share this post


Link to post
Share on other sites

Absolutely no surprise that there are errors.

class CfgPatches }
   class pal_inf_specops }
       units[] = {"pal_spec_comotd", "pal_spec_strelok", "pal_spec_mgunner", "pal_spec_sabot", "pal_spec_sniper"};
       weapons[] = {};
       requiredVersion = 1.60;
       requiredAddons[] = {"CACharacters", "CACharacters2", CA_E, "CACharacters_E_Head", "CACharacters_E"};
   };

Must be:

class CfgPatches
[color=#ff0000]{[/color]
 class pal_inf_specops
 [color=#ff0000]{[/color]
   units[] = {"pal_spec_comotd", "pal_spec_strelok", "pal_spec_mgunner", "pal_spec_sabot", "pal_spec_sniper"};
   weapons[] = {};
   requiredVersion = 1.60;
   requiredAddons[] = {"CACharacters", "CACharacters2", CA_E, "CACharacters_E_Head", "CACharacters_E"};
 };
};

Using a text editor with C++ syntax highlighting would help a lot. It would also help if next time you post the error message too, cause usually we suck at guessing them.

Share this post


Link to post
Share on other sites

I used C++ text editor. He shows me a error on lines which you improve. In next time i will post an error message.

Thank you.

---------- Post added at 23:13 ---------- Previous post was at 22:30 ----------

I have got a new problem. Arma writes error : File pal\inf specops\config.cpp, line 49: .pal_spec_comotd: Undefined base class 'RUS_Soldier1'

There is this place of code

class pal_spec_comotd : RUS_Soldier1
{
	vehicleClass = "PAL_inf_specops";
	faction = "Pal";
	scope = public;
	displayName = "Team leader";
	Picture = "\Ca\characters\data\Ico\i_sleader_CA.paa";
	Icon = "\Ca\characters2\data\icon\i_officer_CA.paa";

	TextPlural = "$STR_DN_officers";
	TextSingular = "$STR_DN_officer";
	nameSound = "veh_officer";
	accuracy = 3.6;	
	sensitivity = 3.4;
	cost = 500000;
	enableGPS = 1;
	model = "\pal\inf specops\Specnaz";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\inf specops\partizan_vest_co.paa"};
	backpack = "";
	weapons[] = {"M4A1_HWS_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9SD"};
	magazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"};
	respawnWeapons[] = {"M4A1_HWS_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9SD"};
	respawnMagazines[] = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "1Rnd_HE_M203", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD", "15Rnd_9x19_M9SD"};
};

Share this post


Link to post
Share on other sites
class Rus_Soldier1;
class  pal_spec_comotd : Rus_Soldier1
{
    ...
};

Share this post


Link to post
Share on other sites

I improved this problem myself

Edited by n45c4r

Share this post


Link to post
Share on other sites

Please, tell me what wrong in this config.cpp. Error : File pal\config.cpp, line 8: /: 'c' encountered instead of '{'

config

class CfgPatches
   {
   class Pal { units[] = {"PAL_vdv", "PAL_mpeh", "PAL_inf", "PAL_air", "PAL_armor", "PAL_wheel", "PAL_vdv_specops", "PAL_mp_specops", "PAL_inf_specops"}; requiredAddons[] = {}; requiredVersion = 1.60; };
};


class CfgFactionClasses

 class Pal
 {
  displayName = "-----------";
  priority = 1;
  side = TWest;
 };


class CfgVehicles 
   {
/*extern*/ class PAL_vdv;
/*extern*/ class PAL_mpeh;
/*extern*/ class PAL_inf;
   /*extern*/ class PAL_air;
/*extern*/ class PAL_armor;
/*extern*/ class PAL_wheel;
/*extern*/ class PAL_inf_specops;
/*extern*/ class PAL_mp_specops;
/*extern*/ class PAL_vdv_specops;
};



};

Share this post


Link to post
Share on other sites

You are mising { } on CfgFactionClasses, and the last }; isn't needed .

class CfgPatches
{
class Pal 
{ 
	units[] = {"PAL_vdv", "PAL_mpeh", "PAL_inf", "PAL_air", "PAL_armor", "PAL_wheel", "PAL_vdv_specops", "PAL_mp_specops", "PAL_inf_specops"}; 
	requiredAddons[] = {}; 
	requiredVersion = 1.60;
};
};


class CfgFactionClasses
{
class Pal
{
  displayName = "-----------";
  priority = 1;
  side = TWest;
};
};

class CfgVehicles 
{
/*extern*/ class PAL_vdv;
/*extern*/ class PAL_mpeh;
/*extern*/ class PAL_inf;
/*extern*/ class PAL_air;
/*extern*/ class PAL_armor;
/*extern*/ class PAL_wheel;
/*extern*/ class PAL_inf_specops;
/*extern*/ class PAL_mp_specops;
/*extern*/ class PAL_vdv_specops;
};

Edited by columdrum

Share this post


Link to post
Share on other sites

Thanks, configs are working now. But I have a new error: I can't see my units in game. When I start a editor, I see "no entry : bin\config.bin\CfgVehicles/PAL_vdv.scope". What is that and how improve it ?

Edited by n45c4r
find a mistake

Share this post


Link to post
Share on other sites

First, i dont see the point on the second config only for the CfgFactionClasses, i would add it to the first one. Second, that error is just self explanatory, you have a class PAL_vdv that doenst have the the scope defined. I dont see the config for that unit on the post but should have scope defined:

class PAL_vdv
{
            (.......)
  scope = xxxxxxxxx;
            (.......)
};

Also note that the second config the inheritances on CfgVehicles are wrong( you haven't added the other addon as required), and you may be overiding the ones on the first config with others empty(and that may be causing the error), all that should apear on your RPT(overwriting base class bla bla bla warnings). So just delete the CfgVehicles from there (that does nothing) or corret them.

Share this post


Link to post
Share on other sites

I did all how you say, but it's don't work.

There is config for faction 'PAL_vdv', showed in the error. May be somebody will show where is the error ?

class CfgPatches
   {

};


class CfgFactionClasses
   {
    class Pal
    {
    displayName = "Pal_army";
    priority = 1;
    side = TWest;
    };

};



class CfgVehicleClasses
   {

};
class PAL_vdv
{
	units[] = {"CACharacters", CA_E, "CACharacters_E_Head", "CACharacters2", "CACharacters_E"};
	weapons[] = {};
	requiredVersion = 1.60;
	scope = public;
	requiredAddons[] = {"CACharacters", CA_E, "CACharacters_E_Head", "CACharacters2", "CACharacters_E"};
	displayName = "Airborne unit";
};




class CZ_Soldier_SL_DES_EP1;
class pal_vdv_comotd : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	displayName = "Team leader";
	Picture = "\Ca\characters\data\Ico\i_sleader_CA.paa";
	Icon = "\Ca\characters2\data\icon\i_officer_CA.paa";

	TextPlural = "$STR_DN_officers";
	TextSingular = "$STR_DN_officer";
	nameSound = "veh_officer";
	accuracy = 3.6;	// accuracy needed to recognize type of this target
	sensitivity = 3.4;	// sensor sensitivity
	cost = 500000;
	enableGPS = 1;
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	backpack = "";
	weapons[] = {"AKS_74_kobra", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"};
	respawnWeapons[] = {"AKS_74_kobra", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"};
};

class pal_vdv_strelok1 : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rifleman 1";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_strelok2 : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rifleman 2";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AKS_74", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AKS_74", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_grenader : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "grenadier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_74_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25"};
	respawnWeapons[] = {"AK_74_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25"};
};

class pal_vdv_mgunner : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "machinegunner";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_sinper : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "sniper";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_rpg : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rpg soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_oficer : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "oficer";
	model = "\pal\vdv\acr_soldier_nic";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"Colt1911", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"7Rnd_45ACP_1911","7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"Colt1911", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"7Rnd_45ACP_1911","7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_at : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 5.5;	// accuracy needed to recognize type of this target
	displayName = "at soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "M47Launcher_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Dragon_EP1"};
	respawnWeapons[] = {"AK_47_S", "M47Launcher_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Dragon_EP1"};
};

class pal_vdv_aa : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "aa soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "Stinger", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Stinger"};
	respawnWeapons[] = {"AK_47_S", "Stinger", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Stinger"};
};

class pal_vdv_medic : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 4.9;	// accuracy needed to recognize type of this target
	displayName = "medic";
	model = "\pal\vdv\acr_soldier_medik";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};
};

Share this post


Link to post
Share on other sites

nvm what i posted... you messed evething up in that last config O_o:

Empty CfgPatches, Empty CfgVehicleClasses... PAL_vdv seems to be what should be inside cfgpatches, and the rest of the clases inside CfgVehicles that you havent even included :s.

You should pay attention to the details :S ; "{"== start, "}"== end , as simple as that( any good sintax highlighter would help a lot). You should read more carefully the online documentation , like http://community.bistudio.com/wiki/CfgVehicles_Config_Reference, http://community.bistudio.com/wiki/CfgVehicleClasses . Or any of the existing basic addon making guides before just trying random things :S

fast wrote may content errors:

#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


class CfgPatches
{
    class PAL_vdv
{
	units[] = {"pal_vdv_comotd", "pal_vdv_strelok1", "pal_vdv_strelok2", "pal_vdv_grenader","pal_vdv_mgunner", "pal_vdv_sinper", "pal_vdv_rpg", "pal_vdv_oficer", "pal_vdv_at", "pal_vdv_aa", "pal_vdv_medic"};
	weapons[] = {};
	requiredVersion = 1.60;
	requiredAddons[] = {"CACharacters", CA_E, "CACharacters_E_Head", "CACharacters2", "CACharacters_E"};
};
};


class CfgFactionClasses
{
   class Pal
   {
    displayName = "Pal_army";
    priority = 1;
    side = TWest;
   };

};



class CfgVehicleClasses {
class PAL_vdv {
	displayName = "----------";
};
};




class cfgVehicles
{
class CZ_Soldier_SL_DES_EP1;
class pal_vdv_comotd : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	displayName = "Team leader";
	Picture = "\Ca\characters\data\Ico\i_sleader_CA.paa";
	Icon = "\Ca\characters2\data\icon\i_officer_CA.paa";

	TextPlural = "$STR_DN_officers";
	TextSingular = "$STR_DN_officer";
	nameSound = "veh_officer";
	accuracy = 3.6;	// accuracy needed to recognize type of this target
	sensitivity = 3.4;	// sensor sensitivity
	cost = 500000;
	enableGPS = 1;
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	backpack = "";
	weapons[] = {"AKS_74_kobra", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"};
	respawnWeapons[] = {"AKS_74_kobra", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "Binocular_Vector", "M9"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "Binocular", "SmokeShellRed", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9", "15Rnd_9x19_M9"};
};

class pal_vdv_strelok1 : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rifleman 1";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_strelok2 : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rifleman 2";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AKS_74", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AKS_74", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_grenader : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "grenadier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_74_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25"};
	respawnWeapons[] = {"AK_74_GL", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_545x39_AK", "30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK","30Rnd_545x39_AK", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25", "1Rnd_HE_GP25"};
};

class pal_vdv_mgunner : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "machinegunner";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_sinper : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "sniper";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_rpg : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "rpg soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	weapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"M60A4_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "100Rnd_762x51_M240", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_oficer : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "oficer";
	model = "\pal\vdv\acr_soldier_nic";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"Colt1911", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"7Rnd_45ACP_1911","7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"Colt1911", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"7Rnd_45ACP_1911","7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "7Rnd_45ACP_1911", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};

class pal_vdv_at : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 5.5;	// accuracy needed to recognize type of this target
	displayName = "at soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "M47Launcher_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Dragon_EP1"};
	respawnWeapons[] = {"AK_47_S", "M47Launcher_EP1", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Dragon_EP1"};
};

class pal_vdv_aa : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 3.9;	// accuracy needed to recognize type of this target
	displayName = "aa soldier";
	model = "\pal\vdv\acr_soldier";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "Stinger", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Stinger"};
	respawnWeapons[] = {"AK_47_S", "Stinger", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] ={"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "Stinger"};
};

class pal_vdv_medic : CZ_Soldier_SL_DES_EP1
{
	vehicleClass = "PAL_vdv";
	faction = "Pal";
	accuracy = 4.9;	// accuracy needed to recognize type of this target
	displayName = "medic";
	model = "\pal\vdv\acr_soldier_medik";
	identityTypes[] = {"Head_CDF","CDF_Glasses","Language_EN_EP1"};
	hiddenSelectionsTextures[] = {"\pal\vdv\data\acr_soldier_co.paa", "\pal\morpeh\vdv\acr_equip_co.paa", "\pal\morpeh\vdv\acr_equip2_co.paa"};
	weapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	magazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
	respawnWeapons[] = {"AK_47_S", "NVGoggles", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnMagazines[] = {"30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "30Rnd_762x39_AK47", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West", "HandGrenade_West"};
};
};

Edited by columdrum

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  
Followers 0