Volhv 10 Posted June 12, 2009 (edited) 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. Edited June 12, 2009 by Volhv Share this post Link to post Share on other sites
.kju 3245 Posted June 12, 2009 Watch the brackets. Get notepad++ or editpadpro as text editor. http://pastebin.com/f7a6f28bd More info: http://community.bistudio.com/wiki/CfgVehicleClasses http://community.bistudio.com/wiki/Category:ArmA:_Addon_Configuration Share this post Link to post Share on other sites
Volhv 10 Posted June 12, 2009 (edited) Thx these 4 brackets after unit class was a test.. the error console in ArmA II seems not to respond: In ArmA I would have got a warning "unbalanced brackets" during start. But nothing happens. Thx for the links, will try them out. But they are for ArmA I, and there seems a kind of definition missing. I only have to wait for the first infantry releases. All brackets seem to be in place, but the config still don't working. class CfgPatches { class InfExp { units[] = {RU_Soldier_C1}; weapons[] = {}; requiredVersion = 1.0; 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 RU_Soldier_Base; // External class reference 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"}; }; }; Edited June 12, 2009 by Volhv Share this post Link to post Share on other sites
.kju 3245 Posted June 12, 2009 what error in arma2.rpt ? Share this post Link to post Share on other sites
Volhv 10 Posted June 12, 2009 Good point, i checked the .rpt report but my "work" is not mentioned there. Will wait for an infantry release and see how it is done. Share this post Link to post Share on other sites
Volhv 10 Posted June 13, 2009 Working config.ccp Great thnaks to mel from flashpoint.ru who helped me out! class CfgPatches { class rusoldier { units[] = {}; weapons[] = {}; requiredVersion = 0.100000; requiredAddons[] = {}; }; }; class CfgVehicles { /*extern*/ class RU_Soldier; class RU_Soldier_C1: RU_Soldier { 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"}; }; }; Pack into folder "rusoldier" and convert to PBO. Add this PBO to addons & play! Adds a russian rifleman with AKM. :bounce3: Share this post Link to post Share on other sites