Powell 0 Posted June 7, 2009 Hello, I tried to add my units in a new faction. I search in some pbos and find CfgFactionClasses in Ca.pbo. So I created a separate pbo for my mod, like a misc.pbo. I just putted this config.cpp inside: #define ReadAndWrite 0 #define ReadAndCreate 1 #define ReadOnly 2 #define ReadOnlyVerified 3 #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 #define private 0 #define protected 1 #define public 2 class CfgFactionClasses { class FR { displayName = "France"; priority = 10; side = TGuerilla; }; }; And then I write for my units: faction = FR; but the game tell me Warning Message: No entry 'bin\config.bin/CfgFactionClasses.FR'.Warning Message: No entry '.displayName'. Warning Message: '/' is not a value any idea ? Share this post Link to post Share on other sites
monty67t 0 Posted June 7, 2009 There has already been some discussion on this. FACTIONS THREAD Hope that helps. Share this post Link to post Share on other sites
Powell 0 Posted June 7, 2009 Thanks for your reply, but it doesn't help me :( I've already found that config part, but when I add a faction class, it doesn't work :( Share this post Link to post Share on other sites
[frl]myke 14 Posted June 13, 2009 try this: faction = "FR"; For you to compare, this config works for me: class CfgFactionClasses { class USAF { displayName = "US Air Force"; priority = 8; side = 1; }; }; And in the cfgVehicles: class CfgVehicles { class AV8B2; class GLT_Falcon_MR : AV8B2 { vtol = 0; faction = "USAF"; ... ... Share this post Link to post Share on other sites
Powell 0 Posted June 13, 2009 It worked when I putted the CfgConfigClasses in one of my addons cpp... not in my lonely pbo... strange ^^ thanks anyway Share this post Link to post Share on other sites