Volhv
Jun 12 2009, 11:04
I't trying to make my first small addon for ArmA II
- a russian soldier with AK-74(M), AKM, Speznaz with AKM and so on - for personal use.. and fun.
but I can't get this unit displayed in the editor! There are also no errors shown during game start. Have the feeling they are disabled. I also use a mod folder (the same as for the cool VOP sounds).
As spoiler my first config is included. Then I am making the PBO file with this config like in ArmA 1 with Kegetys PBO tool.
My biggest wish is to make the OPFOR Tshedaki guys with soviet KLMK or KZM instead of snow camo (snow camo looks stupid :) ) - and a couple of resistance guys with cheap west weapons. But until then this is a first step.
Here is my config! Pls help me out...
/************************************************** **/
class CfgPatches {
class InfExp
{
units[] = {RU_Soldier_C1};
weapons[] = {};
requiredVersion = 0.5;
requiredAddons[] = {"CACharacters", "CAWeapons", "Characters2"; "CAWeapons_Colt1911", "CAWeapons_AK", "CAWeapons_M1014", "CAWeapons_bizon", "CAWeapons_VSS_vintorez", "CAWeapons_Saiga12K", "CAweapons_ksvk", "CAweapons_m107"};
};
};
// class CfgVehicleClasses {};
class CfgVehicles
{
class Man;
class SoldierEB;
class RU_Soldier_Base;
class RU_Soldier_C1 : RU_Soldier_Base
{
displayName = "Rifleman [AKM]";
weapons[] = {"AK_47_M", "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", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East"};
respawnWeapons[] = {"30Rnd_762x39_AK47", "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", "HandGrenade_East", "HandGrenade_East"};
};
};
/************************************************** **/
EDIT1
My pbo file has also the name "InfExp" - InfantryExpanded - but there are no "Rifleman [AKM]" in the game editor. I must have done something wrong. Or just post an example if you have some inf. unit working. I will search for my error alone then.
- a russian soldier with AK-74(M), AKM, Speznaz with AKM and so on - for personal use.. and fun.
but I can't get this unit displayed in the editor! There are also no errors shown during game start. Have the feeling they are disabled. I also use a mod folder (the same as for the cool VOP sounds).
As spoiler my first config is included. Then I am making the PBO file with this config like in ArmA 1 with Kegetys PBO tool.
My biggest wish is to make the OPFOR Tshedaki guys with soviet KLMK or KZM instead of snow camo (snow camo looks stupid :) ) - and a couple of resistance guys with cheap west weapons. But until then this is a first step.
Here is my config! Pls help me out...
/************************************************** **/
class CfgPatches {
class InfExp
{
units[] = {RU_Soldier_C1};
weapons[] = {};
requiredVersion = 0.5;
requiredAddons[] = {"CACharacters", "CAWeapons", "Characters2"; "CAWeapons_Colt1911", "CAWeapons_AK", "CAWeapons_M1014", "CAWeapons_bizon", "CAWeapons_VSS_vintorez", "CAWeapons_Saiga12K", "CAweapons_ksvk", "CAweapons_m107"};
};
};
// class CfgVehicleClasses {};
class CfgVehicles
{
class Man;
class SoldierEB;
class RU_Soldier_Base;
class RU_Soldier_C1 : RU_Soldier_Base
{
displayName = "Rifleman [AKM]";
weapons[] = {"AK_47_M", "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", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East", "HandGrenade_East"};
respawnWeapons[] = {"30Rnd_762x39_AK47", "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", "HandGrenade_East", "HandGrenade_East"};
};
};
/************************************************** **/
EDIT1
My pbo file has also the name "InfExp" - InfantryExpanded - but there are no "Rifleman [AKM]" in the game editor. I must have done something wrong. Or just post an example if you have some inf. unit working. I will search for my error alone then.