blackyesp 7 Posted September 20, 2022 Hi, I couldn't get around with the config to create my own flag. Texture not found pops up and the flag is invisible. config.bin class CfgPatches { class ESAT_flags { author="Blacky"; units[]= { "ESAT_Flags" }; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "A3_Structures_F_Mil_Flags" }; }; class Markers { units[]={}; weapons[]={}; requiredVersion=1; }; }; class CfgVehicles { class FlagCarrier; class ESAT_Flag_F: FlagCarrier { author="Blacky"; _generalMacro="ESAT_Flag_F"; scope=2; scopeCurator=2; displayName="Bandera ESAT"; editorPreview="banderas_esat\preview\prev.jpg"; hiddenSelectionsTextures[]= { "\A3\Structures_F\Mil\Flags\Data\Mast_mil_CO.paa" }; hiddenSelectionsMaterials[]= { "\A3\Structures_F\Mil\Flags\Data\Mast_mil.rvmat" }; class EventHandlers { init="(_this select 0) setFlagTexture 'banderas_esat\flag\flag_esat.paa'"; }; }; class Banner_01_F; class Banner_ESAT: Banner_01_F { displayName="Banner ESAT"; editorPreview="banderas_esat\preview\prev.jpg"; hiddenSelectionsTextures[]= { "banderas_esat\flag\flag_esat.paa" }; }; }; class cfgMods { author="Blacky"; timepacked="1622227573"; }; Perhaps I can't get the pathing right bc I'm kinda new in this. My addon structure is: Quote @Banderas_Esat/ Addons/ banderas_esat.pbo / ... Inside the pbo is the config file and 2 folders "flag" containing the flag_esat.paa and "preview" containing prev.jpg images. I checked the names multiple times and they should be all correct. What am i missing?? Thanks in advance Share this post Link to post Share on other sites
EO 11183 Posted September 21, 2022 The only discrepancy I can see is your classname ESAT_Flag_F differs from your units input (ESAT_Flags) in CfgPatches, to my knowledge it should be the same as your classname. If it helps here is a working config for my flag mod, might help as a reference.... Spoiler class CfgPatches { class eo_flags { units[]= { "eo_flagCarrier", "eo_plain_white", "eo_plain_grey", "eo_plain_red", "eo_crow", "eo_crow_red", "eo_peace", "eo_peace_grey", "eo_redeye", "eo_blackeye", "eo_war_grey", "eo_war_white", "eo_skp_red", "eo_skp_white" }; weapons[]={}; requiredVersion=1; requiredAddons[]= { "A3_Data_F" }; }; }; class CfgVehicles { class FlagCarrier; class eo_flagCarrier: FlagCarrier { icon="\eo_flags\data\eo_flag_ca.paa"; }; class eo_plain_white: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_plain_white"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_plain_white_co.paa"""; }; }; class eo_plain_grey: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_plain_grey"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_plain_grey_co.paa"""; }; }; class eo_plain_red: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_plain_red"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_plain_red_co.paa"""; }; }; class eo_crow: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_crow"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_crow_co.paa"""; }; }; class eo_crow_red: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_crow_red"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_crow_red_co.paa"""; }; }; class eo_peace: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_peace"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_peace_co.paa"""; }; }; class eo_peace_grey: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_peace_grey"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_peace_grey_co.paa"""; }; }; class eo_redeye: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_redeye"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_redeye_co.paa"""; }; }; class eo_blackeye: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_blackeye"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_blackeye_co.paa"""; }; }; class eo_war_grey: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_war_grey"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_war_grey_co.paa"""; }; }; class eo_war_white: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_war_white"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_war_white_co.paa"""; }; }; class eo_skp_red: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_skp_red"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_skp_red_co.paa"""; }; }; class eo_skp_white: eo_flagCarrier { scope=2; accuracy=1000; displayName="$STR_eo_skp_white"; class EventHandlers { init="(_this select 0) setFlagTexture ""\eo_flags\data\eo_skp_white_co.paa"""; }; }; }; Share this post Link to post Share on other sites