darkxess 60 Posted May 5, 2019 (edited) As the title suggests, I am now lost and have given up on the number of times I have tried over and over to fix this, can someone please tell me what is im doing wrong? The source folder is (GRU_Units) and within that folder I have (Uniforms) and the (config.cpp). Whenever I pack the mod into a .pbo all goes well, but getting into the game I get a simple error about "scopes" though this isn't the main problem. I get into the editor and see my units, just reskins actually... and I click on them with no errors and put them onto the map but they are spawning as DEFAULT soldiers lol. I did use the "B_Soldier_base_F" as a class but this is normal, right?!?! anyway my reskins do not show and all it shows is the default units with all there gear etc. I clearly put the path to my .paa images and I don't see why it's not working, please help. Thanks 🙂Config.cpp //////////////////////////////////////////////////////////////////// // // By DarkXess (GRU Units) // //////////////////////////////////////////////////////////////////// class CfgPatches { class gru_units { author = "DarkXess"; authorUrl = "https://steamcommunity.com/id/DarkXess/"; units[] = {"gru_unit_highlander","gru_unit_typhon","gru_unit_mandrake","gru_unit_raid","gru_unit_banshee"}; weapons[] = {"gru_unit_highlander_uniform","gru_unit_typhon_uniform","gru_unit_mandrake_uniform","gru_unit_raid_uniform","gru_unit_banshee_uniform"}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class cfgFactionClasses { class gru_faction_units { displayName = "GRU Uniforms"; priority = 1000; side = "TWest"; }; }; class CfgVehicles { class FlagCarrier; // External class reference class B_Soldier_base_F; // External class reference class gru_unit_highlander: B_Soldier_base_F { scope = 2; displayName = "GRU Unit Highlander"; faction = "gru_faction_units"; uniformClass = "gru_unit_highlander_uniform"; model = "\A3\Characters_F\BLUFOR\b_soldier_01.p3d"; modelSides[] = {1,3}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"GRU_Units\Uniform\Highlander.paa"}; }; class gru_unit_typhon: B_Soldier_base_F { scope = 2; displayName = "GRU Unit Typhon"; faction = "gru_faction_units"; uniformClass = "gru_unit_typhon_uniform"; model = "\A3\Characters_F\BLUFOR\b_soldier_01.p3d"; modelSides[] = {1,3}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"GRU_Units\Uniform\Typhon.paa"}; }; class gru_unit_mandrake: B_Soldier_base_F { scope = 2; displayName = "GRU Unit Mandrake"; faction = "gru_faction_units"; uniformClass = "gru_unit_mandrake_uniform"; model = "\A3\Characters_F\BLUFOR\b_soldier_01.p3d"; modelSides[] = {1,3}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"GRU_Units\Uniform\Mandrake.paa"}; }; class gru_unit_raid: B_Soldier_base_F { scope = 2; displayName = "GRU Unit Raid"; faction = "gru_faction_units"; uniformClass = "gru_unit_raid_uniform"; model = "\A3\Characters_F\BLUFOR\b_soldier_01.p3d"; modelSides[] = {1,3}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"GRU_Units\Uniform\Raid.paa"}; }; class gru_unit_banshee: B_Soldier_base_F { scope = 2; displayName = "GRU Unit Banshee"; faction = "gru_faction_units"; uniformClass = "gru_unit_banshee_uniform"; model = "\A3\Characters_F\BLUFOR\b_soldier_01.p3d"; modelSides[] = {1,3}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"GRU_Units\Uniform\Banshee.paa"}; }; }; class cfgWeapons { class Uniform_Base; // External class reference class HeadgearItem; // External class reference class ItemInfo; // External class reference class UniformItem; // External class reference class gru_unit_highlander_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Highlander"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_highlander"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_typhon_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Typhon"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_typhon"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_mandrake_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Mandrake"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_mandrake"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_raid_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Raid"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_raid"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_banshee_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Banshee"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_banshee"; containerClass = "Supply80"; mass = 3; }; }; }; class cfgMods { author = "DarkXess"; timepacked = "1540939041"; }; //}; Edited May 5, 2019 by darkxess Working config Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Here is the image I have about the (less important) scope error: Still can't get the units to show the new textures in-game 😞 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 OKAY! Finally got them into game and SHOWING!!! 😄 One slight problem with that though, they seem to be stretched or not in the correct place on the uniform, lol images showing what I mean. Still have the scope problem, first post has been updated now with the working config. Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 1 hour ago, darkxess said: One slight problem with that though, they seem to be stretched or not in the correct place on the uniform It looks like the wrong texture, check it matches the layout of the texture you're trying to replace on the model Scope error: I'm not an expert but i have to set up something like: class cfgWeapons { class InventoryItem_Base_F; class ItemCore; class UniformItem: InventoryItem_Base_F { }; class Uniform_Base: ItemCore { class ItemInfo: UniformItem { }; }; class gru_unit_highlander_uniform: Uniform_Base {..... to get uniform configs to work Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 @lordfrith hey mate, the configs are now working as posted above, the only problem I have now is the textures are not aligned properly to the unit as shown in the images above too. Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 27 minutes ago, darkxess said: the only problem I have now is the textures are not aligned properly like i said it looks like you are either using the wrong model for the texture (you are trying to retexture blufor Nato uiform?) or there is some alignment error with your new texture e.g. for the NATO uniform in pic above your texture should match in layout perfectly with a3/characters_f/blufor/data/clothing1_co.paa Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Okay, so how do I get it to work on the model I am wanting, it's only a reskin - I don't see how it isn't working 😞Edit: if it helps, here a link to the textures I made: LINK REMOVED Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 ah, so that texture is for a different model, the independent uniform model like the AAF wear; 'a3/characters_f_beta/indep/ia_soldier_01.p3d' i think. either change the model path in your config or make a new texture to the right template and it will work fine if you want to reskin something find the uniform in eden then look at the config files to see what textures it uses, these should be the base of your template Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Okay, so I tried this "\A3\characters_f_beta \indep\ia_s oldier_ 01..p3d" and it says that it cant be opened upon placing the unit. That is all I need to place right? as such: Config.cpp //////////////////////////////////////////////////////////////////// // // By DarkXess (GRU Units) // //////////////////////////////////////////////////////////////////// #define _ARMA_ //Class gru_units : config.bin{ class CfgPatches { class gru_units { author = "DarkXess"; authorUrl = "https://steamcommunity.com/id/DarkXess/"; units[] = {"gru_unit_highlander","gru_unit_typhon","gru_unit_mandrake","gru_unit_raid","gru_unit_banshee"}; weapons[] = {"gru_unit_highlander_uniform","gru_unit_typhon_uniform","gru_unit_mandrake_uniform","gru_unit_raid_uniform","gru_unit_banshee_uniform"}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class cfgFactionClasses { class gru_faction_units { displayName = "GRU"; priority = 1000; side = "TWest"; }; }; class CfgVehicles { class FlagCarrier; // External class reference class B_Soldier_base_F; // External class reference class gru_unit_highlander: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Highlander)"; faction = "gru_faction_units"; uniformClass = "gru_unit_highlander_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\characters_f_beta\indep\ia_soldier_01..p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Highlander.paa"}; }; class gru_unit_typhon: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Typhon)"; faction = "gru_faction_units"; uniformClass = "gru_unit_typhon_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\characters_f_beta\indep\ia_soldier_01..p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Typhon.paa"}; }; class gru_unit_mandrake: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Mandrake)"; faction = "gru_faction_units"; uniformClass = "gru_unit_mandrake_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\characters_f_beta\indep\ia_soldier_01..p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Mandrake.paa"}; }; class gru_unit_raid: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Raid)"; faction = "gru_faction_units"; uniformClass = "gru_unit_raid_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\characters_f_beta\indep\ia_soldier_01..p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Raid.paa"}; }; class gru_unit_banshee: B_Soldier_base_F { author = "DarkXess"; scope = 2; displayName = "Kryptek Camo (Banshee)"; faction = "gru_faction_units"; uniformClass = "gru_unit_banshee_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\characters_f_beta\indep\ia_soldier_01..p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Banshee.paa"}; }; }; class cfgWeapons { class Uniform_Base; // External class reference class ItemInfo; // External class reference class UniformItem; // External class reference class gru_unit_highlander_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Highlander"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_highlander"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_typhon_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Typhon"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_typhon"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_mandrake_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Mandrake"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_mandrake"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_raid_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Raid"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_raid"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_banshee_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Banshee"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_banshee"; containerClass = "Supply80"; mass = 3; }; }; }; class cfgMods { author = "DarkXess"; timepacked = "1540939041"; }; //}; Share this post Link to post Share on other sites
EO 11277 Posted May 5, 2019 "\A3\characters_f_beta\indep\ia_soldier_01..p3d" should be... "\A3\characters_f_beta\indep\ia_soldier_01.p3d" Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 ^they are the same no? unless I'm seeing things 😄 Share this post Link to post Share on other sites
EO 11277 Posted May 5, 2019 one dot too many before p3d 1 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Okay, fixed that typo - but still getting this: :( Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 the path in the game config is: Quote model="\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; that should work, you could also add "A3_Characters_F_Beta" to your required addons in cfgPatches section class CfgPatches { class gru_units { author = "DarkXess"; authorUrl = "https://steamcommunity.com/id/DarkXess/"; units[] = {"gru_unit_highlander","gru_unit_typhon","gru_unit_mandrake","gru_unit_raid","gru_unit_banshee"}; weapons[] = {"gru_unit_highlander_uniform","gru_unit_typhon_uniform","gru_unit_mandrake_uniform","gru_unit_raid_uniform","gru_unit_banshee_uniform"}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F","A3_Characters_F_beta"};//added characters_f_beta here }; }; Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 ^Added the above and still the same message about "Cannot open Object". This is getting really frustrating now 😞 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Okay so excuse my language but this is bullshit, lol.... IT'S WORKED!!! I literally changed it from this: \A3\characters_f_beta\indep\ia_soldier_01.p3d To this: \A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d Only difference was it was case sensitive lol.... thank you so much guys 😄 Only thing now is im still getting this (scope) error posted further up, anyone know how to fix that? 2 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 5, 2019 1 minute ago, darkxess said: this (scope) error Hello there darkxess ! Just , delete this line. Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Just now, GEORGE FLOROS GR said: Hello there darkxess ! Just , delete this line. Hey mate, you mean this line: scope = 2; Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 3 minutes ago, darkxess said: IT'S WORKED!!! haha i was starting to question everything i've learned 😉 2 minutes ago, GEORGE FLOROS GR said: Just , delete this line. ...which line? 😄 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 5, 2019 19 hours ago, darkxess said: class ItemInfo; // External class reference 1 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 ^^ not mate, that is not it, it does remove the scope error but then gives me this: Lol without half my body too 😛 Maybe because of this 1 Share this post Link to post Share on other sites
lordfrith 402 Posted May 5, 2019 somethins wrong there...! i think George is right the error is to do with class itemInfo, might relate to see my first reply. I don't know enough about this to explain it confidently but the base classes need to be set up right. if you post your new config i can maybe show you 1 1 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Just now, lordfrith said: somethins wrong there...! i think George is right the error is to do with class itemInfo, might relate to see my first reply. I don't know enough about this to explain it confidently but the base classes need to be set up right. if you post your new config i can maybe show you Yea sure, here is the new config which is working only with the said (scope error) config.cpp //////////////////////////////////////////////////////////////////// // // By DarkXess (GRU Units) // //////////////////////////////////////////////////////////////////// #define _ARMA_ //Class gru_units : config.bin{ class CfgPatches { class gru_units { author = "DarkXess"; authorUrl = "https://steamcommunity.com/id/DarkXess/"; units[] = {"gru_unit_highlander","gru_unit_typhon","gru_unit_mandrake","gru_unit_raid","gru_unit_banshee"}; weapons[] = {"gru_unit_highlander_uniform","gru_unit_typhon_uniform","gru_unit_mandrake_uniform","gru_unit_raid_uniform","gru_unit_banshee_uniform"}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F","A3_Characters_F_beta"}; }; }; class cfgFactionClasses { class gru_faction_units { displayName = "GRU"; priority = 1000; side = "TWest"; }; }; class CfgVehicles { class FlagCarrier; // External class reference class B_Soldier_base_F; // External class reference class gru_unit_highlander: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Highlander)"; faction = "gru_faction_units"; uniformClass = "gru_unit_highlander_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Highlander.paa"}; }; class gru_unit_typhon: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Typhon)"; faction = "gru_faction_units"; uniformClass = "gru_unit_typhon_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Typhon.paa"}; }; class gru_unit_mandrake: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Mandrake)"; faction = "gru_faction_units"; uniformClass = "gru_unit_mandrake_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Mandrake.paa"}; }; class gru_unit_raid: B_Soldier_base_F { scope = 2; displayName = "Kryptek Camo (Raid)"; faction = "gru_faction_units"; uniformClass = "gru_unit_raid_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Raid.paa"}; }; class gru_unit_banshee: B_Soldier_base_F { author = "DarkXess"; scope = 2; displayName = "Kryptek Camo (Banshee)"; faction = "gru_faction_units"; uniformClass = "gru_unit_banshee_uniform"; nakedUniform = "U_BasicBody"; model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d"; modelSides[] = {3,1}; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\GRU_Units\Uniform\Banshee.paa"}; }; }; class cfgWeapons { class Uniform_Base; // External class reference class ItemInfo; // External class reference class UniformItem; // External class reference class gru_unit_highlander_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Highlander"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_highlander"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_typhon_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Typhon"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_typhon"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_mandrake_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Mandrake"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_mandrake"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_raid_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Raid"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_raid"; containerClass = "Supply80"; mass = 3; }; }; class gru_unit_banshee_uniform: Uniform_Base { scope = 2; displayName = "GRU Unit Banshee"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_soldier"; class ItemInfo: UniformItem { uniformModel = "-"; uniformClass = "gru_unit_banshee"; containerClass = "Supply80"; mass = 3; }; }; }; class cfgMods { author = "DarkXess"; timepacked = "1540939041"; }; //}; Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 Hold Up! it was my bad.... removed that line again and it worked! reason was because I changed the source folder from "GRU_Units" to "GRU_Uniforms" and now I just changed it back and all is good. Sorry, my bad. THANK YOU so much to you all, I will be sure to add you to the credits upon release soon, thanks again 🙂 1 Share this post Link to post Share on other sites
darkxess 60 Posted May 5, 2019 @lordfrith hey man, just one thing I noticed, I have no blood textures on the uniform when injured, lol how to add that? Share this post Link to post Share on other sites