Jump to content

Sign in to follow this  
Fox '09

some input after end of file, can't find error

Recommended Posts

hey guys, I've been looking through this config for what could of caused this error but I can't find it. This is the regular config of the OA us army guys, just deleted the rest that isn't relevant.. i think..

class CfgPatches
{
class CACharacters_E
{
 units[] = {};
 weapons[] = {};
 requiredVersion = 1.02;
 requiredAddons[] = {"CACharacters","CA_E","CACharacters_E_Head","CACharacters2"};
};
};


};
class CfgVehicles
{
class Man;
class CAManBase: Man
{
 class TalkTopics
 {
  core = "Core_E";
  core_en = "Core_Degenerated_E";
  core_tk = "Core_Degenerated_E";
 };
 class HitPoints
 {
  class HitHead;
  class HitBody;
 };
 htMin = 60;
 htMax = 1800;
 afMax = 30;
 mfMax = 0;
 mFact = 1;
 tBody = 37;
};
class SoldierEB: CAManBase
{
 class TalkTopics: TalkTopics{};
 threat[] = {1,0.1,0.1};
};
class SoldierWB: CAManBase
{
 class TalkTopics: TalkTopics{};
 threat[] = {1,0.1,0.1};
};
class SoldierGB: CAManBase
{
 class TalkTopics: TalkTopics{};
 threat[] = {1,0.1,0.1};
};

  core_tk = "Core_Full_E";
 };
};

class us_Soldier_Base_EP1: SoldierWB
{
 expansion = 1;
 identityTypes[] = {"Language_EN_EP1","USMC_Glasses","Head_USMC"};
 faceType = "Man";
 genericNames = "EnglishMen";
 model = "\ca\characters_e\US\US_rifleman";
 portrait = "\Ca\characters\data\portraits\comBarHead_usmc_soldier_ca";
 picture = "\Ca\characters\data\Ico\i_null_CA.paa";
 icon = "\Ca\characters2\data\icon\i_soldier_CA.paa";
 scope = 0;
 faction = "BIS_US";
 vehicleClass = "Men";
 cost = 80000;
 camouflage = 1.8;
 accuracy = 2.0;
 class HitPoints: HitPoints
 {
  class HitHead: HitHead
  {
   armor = 0.85;
  };
  class HitBody: HitBody
  {
   armor = 1;
   passThrough = 0.8;
  };
 };
 class Wounds
 {
  tex[] = {};
  mat[] = {"ca\characters_E\US\data\tex1.rvmat","ca\characters_E\US\data\W1_tex1.rvmat","ca\characters_E\US\data\W2_tex1.rvmat","ca\characters_E\US\data\tex4.rvmat","ca\characters_E\US\data\W1_tex4.rvmat","ca\characters_E\US\data\W2_tex4.rvmat","ca\characters_e\US\data\us_pilot.rvmat","ca\characters_e\US\data\W1_us_pilot.rvmat","ca\characters_e\US\data\W2_us_pilot.rvmat"};
 };
 canCarryBackPack = 1;
 class TalkTopics: TalkTopics
 {
  core_en = "Core_Full_E";
 };
 languages[] = {"EN"};
 class EventHandlers;
};
class US_Soldier_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 accuracy = 3.9;
 displayName = "$STR_EP1_DN_US_Soldier_EP1";
 canCarryBackPack = 1;
 model = "\ca\characters_e\US\US_rifleman";
 weapons[] = {"SCAR_L_STD_HOLO","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[] = {"SCAR_L_STD_HOLO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","HandGrenade_West"};
};
class US_Soldier_B_EP1: US_Soldier_EP1
{
 displayName = "$STR_EP1_DN_US_Soldier_B_EP1";
 backpack = "US_Assault_Pack_Ammo_EP1";
};
class US_Soldier_AMG_EP1: US_Soldier_EP1
{
 displayName = "$STR_EP1_DN_US_Soldier_AMG_EP1";
 backpack = "US_Backpack_AmmoMG_EP1";
};
class US_Soldier_AAR_EP1: US_Soldier_EP1
{
 displayName = "$STR_EP1_DN_US_Soldier_AAR_EP1";
 backpack = "US_Assault_Pack_AmmoSAW_EP1";
};
class US_Soldier_AHAT_EP1: US_Soldier_EP1
{
 displayName = "$STR_EP1_DN_US_Soldier_AHAT_EP1";
 backpack = "US_Backpack_AT_EP1";
};
class US_Soldier_AAT_EP1: US_Soldier_EP1
{
 displayName = "$STR_EP1_DN_US_Soldier_AAT_EP1";
 model = "\ca\characters_e\US\US_at_gunner";
 backpack = "US_Assault_Pack_AT_EP1";
};
class US_Soldier_Light_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 accuracy = 3.9;
 displayName = "$STR_EP1_DN_US_Soldier_Light_EP1";
 model = "\ca\characters_e\US\US_officer";
 weaponSlots = "1	 + 	4	 + 6 * 		256	 + 2 * 	4096	 + 	2	 + 4*	16  + 12*131072";
 weapons[] = {"SCAR_L_STD_HOLO","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"};
 respawnWeapons[] = {"SCAR_L_STD_HOLO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"};
};
class US_Soldier_GL_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_GL_EP1";
 model = "\ca\characters_E\US\US_rifleman_gl";
 picture = "\Ca\characters\data\Ico\i_null_CA.paa";
 icon = "\Ca\characters2\data\icon\i_soldier_CA.paa";
 cost = 60000;
 accuracy = 3.9;
 weapons[] = {"SCAR_L_CQC_EGLM_Holo","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","SmokeShell","SmokeShell","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203"};
 respawnWeapons[] = {"SCAR_L_CQC_EGLM_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","SmokeShell","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203"};
};
class US_Soldier_Officer_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_Officer_EP1";
 model = "\ca\characters_E\US\US_officer.p3d";
 identityTypes[] = {"Language_EN_EP1","USMC_Glasses","Head_USMC_CO"};
 portrait = "\Ca\characters\data\portraits\comBarHead_usmc_soldier_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";
 accuracy = 3.6;
 sensitivity = 3.6;
 camouflage = 1.6;
 cost = 750000;
 enableGPS = 1;
 weaponSlots = "1	 + 	4	 + 6 * 		256	 + 2 * 	4096	 + 	2	 + 4*	16  + 12*131072";
 class HitPoints: HitPoints
 {
  class HitHead: HitHead
  {
   armor = 0.6;
  };
  class HitBody: HitBody
  {
   armor = 0.8;
   passThrough = 1;
  };
 };
 weapons[] = {"SCAR_L_CQC","Colt1911","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector"};
 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","IR_Strobe_Target","SmokeShellRed","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911"};
 respawnWeapons[] = {"SCAR_L_CQC","Colt1911","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","IR_Strobe_Target","SmokeShellRed","7Rnd_45ACP_1911","7Rnd_45ACP_1911"};
};
class US_Soldier_SL_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_SL_EP1";
 Picture = "\Ca\characters\data\Ico\i_sleader_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";
 accuracy = 3.6;
 sensitivity = 3.4;
 cost = 500000;
 enableGPS = 1;
 model = "\ca\characters_E\US\US_squad_leader";
 weapons[] = {"SCAR_L_STD_EGLM_TWS","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","M9"};
 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","IR_Strobe_Target","SmokeShellGreen","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_Smoke_M203","1Rnd_SmokeGreen_M203","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9","15Rnd_9x19_M9"};
 respawnWeapons[] = {"SCAR_L_STD_EGLM_TWS","NVGoggles","ItemGPS","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","M9"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","IR_Strobe_Target","SmokeShellGreen","1Rnd_HE_M203","1Rnd_SmokeGreen_M203","15Rnd_9x19_M9","15Rnd_9x19_M9"};
};
class US_Soldier_TL_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_TL_EP1";
 Picture = "\Ca\characters\data\Ico\i_tleader_CA.paa";
 Icon = "\Ca\characters2\data\icon\i_leader_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";
 accuracy = 3.6;
 sensitivity = 3.2;
 cost = 400000;
 enableGPS = 1;
 model = "\ca\characters_E\US\US_team_leader";
 weapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","ItemGPS"};
 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","IR_Strobe_Target","SmokeShellRed","HandGrenade_West","HandGrenade_West","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_Smoke_M203","1Rnd_Smoke_M203","1Rnd_SmokeRed_M203","1Rnd_SmokeRed_M203"};
 respawnWeapons[] = {"SCAR_L_STD_EGLM_RCO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Binocular_Vector","ItemGPS"};
 respawnmagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","IR_Strobe_Target","SmokeShellRed","HandGrenade_West","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_SmokeRed_M203"};
};
class US_Soldier_AT_Base_EP1: US_Soldier_Base_EP1
{
 displayName = "$STR_DN_AT_SOLDIER";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_launcherSoldier"};
   speechPlural[] = {"veh_launcherSoldiers"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_launcherSoldier_CZ"};
   speechPlural[] = {"veh_launcherSoldiers_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_launcherSoldier_CZ4P"};
   speechPlural[] = {"veh_launcherSoldiers_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_launcherSoldier_RU"};
   speechPlural[] = {"veh_launcherSoldiers_RU"};
  };
 };
 TextPlural = "$STR_DN_launcherSoldiers";
 TextSingular = "$STR_DN_launcherSoldier";
 nameSound = "veh_launcherSoldier";
 model = "\ca\characters_E\US\US_at_gunner";
 picture = "\Ca\characters\data\Ico\i_null_CA.paa";
 icon = "\Ca\characters2\data\icon\i_launcher_CA.paa";
 accuracy = 3.5;
 camouflage = 2.0;
 threat[] = {1,0.8,0.1};
};
class US_Soldier_LAT_EP1: US_Soldier_AT_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_LAT_EP1";
 cost = 150000;
 accuracy = 3.5;
 threat[] = {1,0.6,0.1};
 weapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","M136"};
 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","HandGrenade_West","M136"};
 respawnWeapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","M136"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","M136"};
};
class US_Soldier_AT_EP1: US_Soldier_AT_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_AT_EP1";
 cost = 150000;
 accuracy = 3.5;
 weapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","MAAWS"};
 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","MAAWS_HEAT","MAAWS_HEDP","HandGrenade_West","HandGrenade_West"};
 respawnWeapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","MAAWS"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","MAAWS_HEDP","HandGrenade_West"};
};
class US_Soldier_HAT_EP1: US_Soldier_AT_Base_EP1
{
 scope = 2;
 displayName = "$STR_DN_USMC_SOLDIER_HAT";
 cost = 200000;
 accuracy = 3.5;
 camouflage = 2.1;
 weapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Javelin"};
 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","HandGrenade_West","Javelin"};
 threat[] = {1,1,0.1};
 respawnWeapons[] = {"SCAR_L_CQC_Holo","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","Javelin"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","Javelin"};
};
class US_Soldier_AA_EP1: US_Soldier_AT_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_AA_EP1";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_launcherSoldier"};
   speechPlural[] = {"veh_launcherSoldiers"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_launcherSoldier_CZ"};
   speechPlural[] = {"veh_launcherSoldiers_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_launcherSoldier_CZ4P"};
   speechPlural[] = {"veh_launcherSoldiers_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_launcherSoldier_RU"};
   speechPlural[] = {"veh_launcherSoldiers_RU"};
  };
 };
 TextPlural = "$STR_DN_launcherSoldiers";
 TextSingular = "$STR_DN_launcherSoldier";
 nameSound = "veh_launcherSoldier";
 accuracy = 3.5;
 camouflage = 2.1;
 weapons[] = {"SCAR_L_STD_HOLO","Stinger","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 magazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","HandGrenade_West","Stinger"};
 respawnWeapons[] = {"SCAR_L_STD_HOLO","Stinger","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","Stinger"};
 threat[] = {1,0.1,1};
};
class US_Soldier_Medic_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_Medic_EP1";
 model = "\ca\characters_E\US\US_medic";
 picture = "\Ca\characters\data\Ico\i_Med_CA.paa";
 Icon = "\Ca\characters2\data\icon\i_medic_CA.paa";
 accuracy = 3.7;
 cost = 100000;
 attendant = 1;
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_Medic"};
   speechPlural[] = {"veh_Medics"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_Medic_CZ"};
   speechPlural[] = {"veh_Medics_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_Medic_CZ4P"};
   speechPlural[] = {"veh_Medics_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_Medic_RU"};
   speechPlural[] = {"veh_Medics_RU"};
  };
 };
 TextPlural = "$STR_DN_Medics";
 TextSingular = "$STR_DN_Medic";
 nameSound = "veh_Medic";
 weaponSlots = "1	 + 	4	 + 8 * 		256	 + 2 * 	4096	 + 	2	 + 4*	16  + 12*131072";
 canCarryBackPack = 0;
 weapons[] = {"SCAR_L_STD_HOLO","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","SmokeShell","SmokeShell"};
 respawnWeapons[] = {"SCAR_L_STD_HOLO","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","SmokeShell"};
};
class US_Soldier_AR_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_AR_EP1";
 picture = "\Ca\characters\data\Ico\i_null_CA.paa";
 icon = "\Ca\characters2\data\icon\i_machinegunner_CA.paa";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_mgunner"};
   speechPlural[] = {"veh_mgunners"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_mgunner_CZ"};
   speechPlural[] = {"veh_mgunners_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_mgunner_CZ4P"};
   speechPlural[] = {"veh_mgunners_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_mgunner_RU"};
   speechPlural[] = {"veh_mgunners_RU"};
  };
 };
 TextPlural = "$STR_DN_mgunners";
 TextSingular = "$STR_DN_mgunner";
 nameSound = "veh_mgunner";
 cost = 115000;
 accuracy = 3.7;
 model = "\ca\characters_E\US\US_saw_gunner";
 weapons[] = {"M249_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 magazines[] = {"100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","HandGrenade_West","HandGrenade_West"};
 threat[] = {1,0.1,0.3};
 respawnWeapons[] = {"M249_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"100Rnd_556x45_M249","100Rnd_556x45_M249","100Rnd_556x45_M249","HandGrenade_West"};
};
class US_Soldier_MG_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_MG_EP1";
 Picture = "\Ca\characters\data\Ico\i_null_CA.paa";
 Icon = "\Ca\characters2\data\icon\i_machinegunner_CA.paa";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_mgunner"};
   speechPlural[] = {"veh_mgunners"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_mgunner_CZ"};
   speechPlural[] = {"veh_mgunners_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_mgunner_CZ4P"};
   speechPlural[] = {"veh_mgunners_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_mgunner_RU"};
   speechPlural[] = {"veh_mgunners_RU"};
  };
 };
 TextPlural = "$STR_DN_mgunners";
 TextSingular = "$STR_DN_mgunner";
 nameSound = "veh_mgunner";
 cost = 130000;
 accuracy = 3.7;
 model = "\ca\characters_E\US\US_machine_gunner";
 weapons[] = {"m240_scoped_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 magazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","HandGrenade_West","HandGrenade_West"};
 threat[] = {1,0.1,0.6};
 respawnWeapons[] = {"m240_scoped_EP1","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"100Rnd_762x51_M240","100Rnd_762x51_M240","100Rnd_762x51_M240","HandGrenade_West"};
};

class US_Soldier_Engineer_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 displayName = "$STR_EP1_DN_US_Soldier_Engineer_EP1";
 model = "\ca\characters_E\US\US_engineer";
 sensitivity = 2.8;
 cost = 60000;
 accuracy = 3.9;
 threat[] = {1,0.5,0.1};
 canDeactivateMines = 1;
 backpack = "US_Assault_Pack_Explosives_EP1";
 weapons[] = {"SCAR_L_STD_Mk4CQT","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","Mine","Mine","HandGrenade_West","SmokeShell"};
 respawnWeapons[] = {"SCAR_L_STD_Mk4CQT","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","Mine","HandGrenade_West","SmokeShell"};
};
class US_Soldier_Pilot_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 model = "\ca\characters_e\US\US_Pilot.p3d";
 portrait = "\Ca\characters\data\portraits\comBarHead_usmc_pilot_ca";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_pilot"};
   speechPlural[] = {"veh_pilots"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_pilot_CZ"};
   speechPlural[] = {"veh_pilots_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_pilot_CZ4P"};
   speechPlural[] = {"veh_pilots_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_pilot_RU"};
   speechPlural[] = {"veh_pilots_RU"};
  };
 };
 TextPlural = "$STR_DN_pilots";
 TextSingular = "$STR_DN_pilot";
 nameSound = "veh_pilot";
 displayName = "$STR_EP1_DN_US_Soldier_Pilot_EP1";
 accuracy = 3.2;
 camouflage = 1.6;
 sensitivity = 2.6;
 cost = 20000;
 enableGPS = 1;
 weapons[] = {"SCAR_L_CQC","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS"};
 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","SmokeShell","SmokeShellRed"};
 respawnWeapons[] = {"SCAR_L_CQC","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio","itemGPS"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","SmokeShellRed"};
 class HitPoints: HitPoints
 {
  class HitHead: HitHead
  {
   armor = 0.7;
  };
  class HitBody: HitBody
  {
   armor = 1;
   passThrough = 0.8;
  };
 };
 class Wounds
 {
  tex[] = {};
  mat[] = {"ca\characters_e\US\data\us_pilot.rvmat","ca\characters_e\US\data\W1_us_pilot.rvmat","ca\characters_e\US\data\W2_us_pilot.rvmat"};
 };
};
class US_Soldier_Crew_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 model = "\ca\characters_E\US\US_crewman";
 portrait = "\Ca\characters\data\portraits\comBarHead_usmc_crew_ca";
 class SpeechVariants
 {
  class Default
  {
   speechSingular[] = {"veh_crew"};
   speechPlural[] = {"veh_crews"};
  };
  class EN: Default{};
  class CZ
  {
   speechSingular[] = {"veh_crew_CZ"};
   speechPlural[] = {"veh_crews_CZ"};
  };
  class CZ_Akuzativ
  {
   speechSingular[] = {"veh_crew_CZ4P"};
   speechPlural[] = {"veh_crews_CZ4P"};
  };
  class RU
  {
   speechSingular[] = {"veh_crew_RU"};
   speechPlural[] = {"veh_crews_RU"};
  };
 };
 TextPlural = "$STR_DN_crews";
 TextSingular = "$STR_DN_crew";
 nameSound = "veh_crew";
 accuracy = 3.4;
 camouflage = 1.8;
 sensitivity = 2.8;
 cost = 20000;
 displayName = "$STR_EP1_DN_US_Soldier_Crew_EP1";
 class HitPoints: HitPoints
 {
  class HitHead: HitHead
  {
   armor = 0.7;
  };
  class HitBody: HitBody
  {
   armor = 1;
   passThrough = 0.8;
  };
 };
 weaponSlots = "1	 + 	4	 + 8 * 		256	 + 2 * 	4096	 + 	2	 + 4*	16  + 12*131072";
 weapons[] = {"SCAR_L_CQC","Colt1911","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","HandGrenade_West","HandGrenade_West","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911"};
 respawnWeapons[] = {"SCAR_L_CQC","Colt1911","NVGoggles","Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {"30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","HandGrenade_West","7Rnd_45ACP_1911","7Rnd_45ACP_1911"};
};

class US_Pilot_Light_EP1: US_Soldier_Base_EP1
{
 scope = 2;
 accuracy = 3.9;
 displayName = "$STR_EP1_DN_US_Pilot_Light_EP1";
 model = "\ca\characters_E\US\US_Pilot_light";
 weaponSlots = "1	 + 	4	 + 6 * 		256	 + 2 * 	4096	 + 	2	 + 4*	16  + 12*131072";
 weapons[] = {"Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 magazines[] = {};
 respawnWeapons[] = {"Throw","Put","ItemMap","ItemCompass","ItemWatch","ItemRadio"};
 respawnMagazines[] = {};
 class HitPoints: HitPoints
 {
  class HitHead: HitHead
  {
   armor = 0.6;
  };
  class HitBody: HitBody
  {
   armor = 0.8;
   passThrough = 1;
  };
 };
};
};

Any idea how to fix? Should I just make my own config?

:confused:

Share this post


Link to post
Share on other sites
  Quote
...
 class TalkTopics: TalkTopics{};
 threat[] = {1,0.1,0.1};
};

[color="Red"]   core_tk = "Core_Full_E";
 };
};[/color]

class us_Soldier_Base_EP1: SoldierWB
{
...

What are you doing with the highlighted stuff? ;)

Share this post


Link to post
Share on other sites

no clue , I just deleted at least 1mb worth of text and I guess I left some of that :p

I replaced that with some other stuff, i still get error. ideas?

edit:

all fixed. Thanks snake man!

Edited by Fox '09

Share this post


Link to post
Share on other sites

// BIS basic defines
#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

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

#define CanSeeRadar 1
#define CanSeeEye 2
#define CanSeeOptics 4
#define CanSeeEar 8
#define CanSeeCompass 16
#define CanSeeRadarC CanSeeRadar+CanSeeCompass
#define CanSeeAll 31
#define CanSeePeripheral 32

#define ReadAndWrite 0		//! any modifications enabled
#define ReadAndCreate 1		//! only adding new class members is allowed
#define ReadOnly 2		//! no modifications enabled
#define ReadOnlyVerified 3	//! no modifications enabled, CRC test applied

#define LockNo		0
#define LockCadet	1
#define LockYes		2

#define WeaponNoSlot		0	// dummy weapons
#define WeaponSlotPrimary	1	// primary weapons
#define WeaponSlotSecondary	4	// secondary weapons
#define WeaponSlotHandGun	2	// HandGun
#define WeaponSlotHandGunItem	16	// HandGun magazines
#define WeaponSlotItem		256	// items
#define WeaponSlotBinocular	4096	// binocular
#define WeaponHardMounted	65536

class CfgPatches {
class MY_NAMED_ADDON {
	units[] = {};
	weapons[] = {};
	requiredVersion = 1.0;
	requiredAddons[] = {"CAWheeled2", "CACharacters2", "CAWeapons","CAWeapons"};
};
};
class CfgVehicles {
class hmmwv;	// External class reference
class midf_rgm32: HMMWV
{
	scope=2;
	model = "\sfp_dc_wheeled\rg-32ltv";
	displayname="RG-32LTAV";
	crew = "IDF1";
	picture = "\sfp_dc_wheeled\data\galten_ca.paa";
	armor = 50;
	memoryPointsGetInDriver = "pos driver";
	memoryPointsGetInDriverDir = "pos driver dir";
	memoryPointsGetInCargo = "pos cargo";
	memoryPointsGetInCargoDir = "pos cargo dir";
	transportsoldier=4;
	selectionBrakeLights = "light_brake";
	selectionBackLights = "light_back";
	wheelCircumference=3.316;
	unitInfoType = UnitInfoShip;
	class Turrets {};
               class TransportWeapons;
        {
                       weap_xx = {Javelin ,1};
               };
               class TransportMagazines;
               {
                       mag_xx = {Javelin ,1};
               };
      };
};

same problemo

any ideas? cant see anything myslef

Share this post


Link to post
Share on other sites

Blink

semi colon after transportweapons is wrong I think

Share this post


Link to post
Share on other sites
  cleggy said:
Blink

semi colon after transportweapons is wrong I think

This and also transportmagazines.

Share this post


Link to post
Share on other sites

removed the ;

however same error

Share this post


Link to post
Share on other sites

thats tossing up ( encountered instead of =

Share this post


Link to post
Share on other sites

OK, this is getting serious now!

this worked for me:

class TransportWeapons {

class _xx_javelin {

weapon = javelin;

count = 1;

};

};

class TransportMagazines {

class _xx_javelin {

magazine = "Javelin";

count = 3*1;

};

};

try that?

*EDIT*

think you also need this:

class CfgNonAIVehicles {

class ProxyWeapon; // External class reference

class Proxyjavelin_Proxy : ProxyWeapon {

model = "\ca\Weapons\javelin_Proxy";

};

};

Edited by cleggy
forgot something

Share this post


Link to post
Share on other sites

ill try that thanks

but its only going in the gear menu, would the need the part you added?

Share this post


Link to post
Share on other sites

Blink

I got an error message in game (something regarding SCOPE) when I didn't have the cfgnonaivehicles bit

Share this post


Link to post
Share on other sites

right :) ill update you guys tomorrow

bed time!

Share this post


Link to post
Share on other sites

right

its their in unit selection

but does appear in game

error was transportweapons i think, no scope

Share this post


Link to post
Share on other sites

Doh! I'm determined to get to the bottom of this!

Your trying to add a javelin to the cargo space of a vehicle - or have I misunderstood?

If the answer is yes then I could send you the config for my FV432 addon that had a javelin available at one time.

Maybe (assuming you've added the cfgnonaivehicles bit) it's in the wrong place in the config? Should be after cfgvehicles.

Having said that I've realised that I also had an entry in cfgammo and cfgmagazines for the javelin. Don't know if it's needed - all I know is it worked!

If you think my config would help PM me an email address or something

cos I'm a bit crap at this comms business:o

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  

×