PHAL13 10 Posted September 14, 2013 (edited) Hi guys, I'm new to re-texturing and have tried to get my new re-textures to work in game, but for the life of me I can not. I get an error when trying to pack the pbo "Error in config p:\myprojects\emtclothing\config.cpp" My config looks something like this Reveal hidden contents enum { // = 2, // Error parsing: Empty enum name DESTRUCTENGINE = 2, DESTRUCTDEFAULT = 6, DESTRUCTWRECK = 7, DESTRUCTTREE = 3, DESTRUCTTENT = 4, STABILIZEDINAXISX = 1, STABILIZEDINAXESXYZ = 4, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, DESTRUCTNO = 0, STABILIZEDINAXESNONE = 0, DESTRUCTMAN = 5, DESTRUCTBUILDING = 1, }; class CfgPatches { class {emt_uniform} { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgVehicles { class B_Soldier_base_F; class cl3_emt_uniform : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; scope = 2; displayName = "emt_uniform"; nakedUniform = "U_BasicBody"; uniformClass = "cl3_emt_uniform"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"P:\MyProjects\emtclothing\Data\emt_uniform"}; }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class {emt_uniform} : Uniform_Base { scope = 2; displayName = "emt_uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "cl3_emt_uniform"; containerClass = "Supply20"; mass = 80; }; }; }; Where am I going wrong?! Thanks in advance PHAL Edited September 14, 2013 by PHAL13 Share this post Link to post Share on other sites
mp5gosu 10 Posted September 14, 2013 (edited) PHAL13 said: class CfgPatches { class {emt_uniform} { // Here's your error units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; You can check the BinPbo Log in your addon folder for detailed explanation. Edited September 14, 2013 by mp5gosu Share this post Link to post Share on other sites
captainclaw 10 Posted September 14, 2013 (edited) PHAL13 said: class CfgPatches { class {emt_uniform} { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; to something like Reveal hidden contents class CfgPatches { class emt_uniform { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; Edited September 14, 2013 by captainclaw Share this post Link to post Share on other sites
PHAL13 10 Posted September 14, 2013 (edited) awesome so that worked great, problem now is that once i've packed the pbo and loaded it in game, I cant get it on the character... i've been playing around with the initialization commands, should it be looking like this? Reveal hidden contents removeallweapons this; removeGoggles this; removeHeadgear this; removeVest this; removeAllAssignedItems this; this adduniform "emt_uniform"; pbo log file Reveal hidden contents Cannot register unknown string STR_STATE_HEALSOLDIER Cannot register unknown string STR_STATE_FIRST_AID Cannot register unknown string STR_UI_RADARRANGE Cannot register unknown string STR_ACTION_LAUNCHCM Cannot register unknown string STR_ACTION_NEXTCM Cannot register unknown string STR_USRACT_ACTION_CONTEXT Cannot register unknown string STR_USRACT_OPTICS_MODE Cannot register unknown string STR_USRACT_ZEROING_UP Cannot register unknown string STR_USRACT_ZEROING_DOWN Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_10CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_RAISE_50CM Cannot register unknown string STR_USRACT_BULD_TERRAIN_LOWER_50CM Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_0 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_1 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_2 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_3 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_4 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_5 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_6 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_7 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_8 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_9 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_10 Cannot register unknown string STR_INPUT_DEVICE_FREETRACK_11 Cannot register unknown string STR_DISP_LEFT Cannot register unknown string STR_DIFF_CAMERA_SHAKE Cannot register unknown string STR_FREETRACK Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON Cannot register unknown string STR_MSG_ADDON_NOT_FOUND Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT Cannot register unknown string STR_INCOMPATIBLE_LOAD_GAME_ATTEMPT Warning: CfgVehicles missing in PreloadConfig - may slow down vehicle creation Warning: CfgAmmo missing in PreloadConfig - may slow down vehicle creation Warning: CfgNonAIVehicles missing in PreloadConfig - may slow down vehicle creation Cannot load font core\data\fonts\lucidaconsoleb8 Fonts file \core\data\fonts\lucidaConsoleB8 not found Cannot load font core\data\fonts\lucidaconsoleb11 Fonts file \core\data\fonts\lucidaConsoleB11 not found Creating texture headers file... 1 texture headers saved to file "C:\Users\User\AppData\Local\Temp\ARMAaddons\emtclothing\texHeaders.bin" w:\C_branch\Poseidon\Arrowhead\El\FileServer\fileServer.cpp(2513) : Assertion failed 'req->RefCounter()==1' aaaaand my guys invisible! http://iforce.co.nz/i/4vtvnywo.lxw.jpg (262 kB) *confused* Edited September 14, 2013 by PHAL13 Share this post Link to post Share on other sites
mp5gosu 10 Posted September 14, 2013 You really should remove the spaces. Share this post Link to post Share on other sites
PHAL13 10 Posted September 14, 2013 yeah it does the same thing if I'm only using "this adduniform "emt_uniform";" Share this post Link to post Share on other sites
surpher 1 Posted September 14, 2013 What does your config look like now? Share this post Link to post Share on other sites
PHAL13 10 Posted September 14, 2013 (edited) Current config for hollowman! Reveal hidden contents enum { // = 2, // Error parsing: Empty enum name DESTRUCTENGINE = 2, DESTRUCTDEFAULT = 6, DESTRUCTWRECK = 7, DESTRUCTTREE = 3, DESTRUCTTENT = 4, STABILIZEDINAXISX = 1, STABILIZEDINAXESXYZ = 4, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, DESTRUCTNO = 0, STABILIZEDINAXESNONE = 0, DESTRUCTMAN = 5, DESTRUCTBUILDING = 1, }; class CfgPatches { class emt_uniform { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgVehicles { class B_Soldier_base_F; class cl3_emt_uniform : B_Soldier_base_F { _generalMacro = "B_Soldier_F"; scope = 2; displayName = "emt_uniform"; nakedUniform = "U_BasicBody"; uniformClass = "cl3_emt_uniform"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"P:\MyProjects\emtclothing\Data\emt_uniform.paa"}; }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class emt_uniform : Uniform_Base { scope = 2; displayName = "emt_uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_m cam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor _diver"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "cl3_emt_uniform"; containerClass = "Supply20"; mass = 80; }; }; }; am getting an error concerning \A3\Characters_F\Common\Suitpacks\suitpack_blufor _diver.p3d not found Edited September 14, 2013 by PHAL13 Share this post Link to post Share on other sites
mp5gosu 10 Posted September 14, 2013 (edited) *deleted This Forum inserts spaces before underscores? o0 If you copy/pasted from this forum, make sure, you don't have any spaces in the model definitions. Best, you use http://pastebin.com/ for pasting your config. Edited September 14, 2013 by mp5gosu Share this post Link to post Share on other sites
surpher 1 Posted September 14, 2013 mp5gosu said: *deletedThis Forum inserts spaces before underscores? o0 If you copy/pasted from this forum, make sure, you don't have any spaces in the model definitions. Best, you use http://pastebin.com/ for pasting your config. Best to use the [NoParse] [/NoParse] tags instead of [NoParse] [/NoParse] tags.Try this config. enum { destructengine = 2, destructdefault = 6, destructwreck = 7, destructtree = 3, destructtent = 4, stabilizedinaxisx = 1, stabilizedinaxesxyz = 4, stabilizedinaxisy = 2, stabilizedinaxesboth = 3, destructno = 0, stabilizedinaxesnone = 0, destructman = 5, destructbuilding = 1 }; class CfgPatches { class emt_uniform { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgVehicles { class B_Soldier_base_F; class cl3_emt_unit : B_Soldier_base_F // edited your classname { _generalMacro = "B_Soldier_F"; scope = 2; displayName = "emt_uniform"; nakedUniform = "U_BasicBody"; uniformClass = "cl3_emt_uniform"; // Points to uniform class hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"P:\MyProjects\emtclothing\Data\emt_uniform.paa"}; //Should be "yourPboName\data\emt_uniform_co.paa" // Save your paa with the _co suffix (emt_uniform_co.paa) }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class cl3_emt_uniform : Uniform_Base { scope = 2; displayName = "emt_uniform"; picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa"; model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "cl3_emt_unit"; //Points back to a unit using the uniform containerClass = "Supply20"; mass = 80; }; }; }; Share this post Link to post Share on other sites
PHAL13 10 Posted September 14, 2013 That worked, thanks a million! Share this post Link to post Share on other sites