elmistiucs 0 Posted April 28, 2019 Hello, I need help to create the config of a mod to create banner textures. Somebody could help me? Share this post Link to post Share on other sites
Dedmen 2721 Posted May 2, 2019 Thread moved to correct section. Please don't forget about our forum rules: https://forums.bohemia.net/forums/topic/54604-forum-rules/ Share this post Link to post Share on other sites
Mr H. 402 Posted May 2, 2019 you just need a config.cpp in your addon. 1) create your cfgPatches in there, if you don't know how to, google it. 2) create a class cfgVehicles and use this example, banners I did for my unit: class cfgVehicles { class Banner_01_F; class Banner_TGV : Banner_01_F { displayName = "Bannière TGV"; editorPreview = "\A3\EditorPreviews_F_Orange\Data\CfgVehicles\Banner_01_F.jpg"; author = "Mr H."; hiddenSelectionsTextures[] = {"\TGV_Assets\paa\bannertgv.paa"}; icon = "iconObject_1x1"; editorCategory = "EdCat_TGV_Assets"; editorSubcategory = "EdSubcat_TGV_Banners"; }; }; Please note that I created my own editor categories and sub categories, you don't need to do that, just delete the two corresponding lines. 1 1 Share this post Link to post Share on other sites
elmistiucs 0 Posted May 8, 2019 On 5/2/2019 at 12:30 PM, Mr H. said: you just need a config.cpp in your addon. 1) create your cfgPatches in there, if you don't know how to, google it. 2) create a class cfgVehicles and use this example, banners I did for my unit: class cfgVehicles { class Banner_01_F; class Banner_TGV : Banner_01_F { displayName = "Bannière TGV"; editorPreview = "\A3\EditorPreviews_F_Orange\Data\CfgVehicles\Banner_01_F.jpg"; author = "Mr H."; hiddenSelectionsTextures[] = {"\TGV_Assets\paa\bannertgv.paa"}; icon = "iconObject_1x1"; editorCategory = "EdCat_TGV_Assets"; editorSubcategory = "EdSubcat_TGV_Banners"; }; }; Please note that I created my own editor categories and sub categories, you don't need to do that, just delete the two corresponding lines. Thanks, Can I ask you another question? Where have you found the texture? I'm unable to find it Share this post Link to post Share on other sites
Mr H. 402 Posted May 8, 2019 10 hours ago, elmistiucs said: Thanks, Can I ask you another question? Where have you found the texture? I'm unable to find it It's a custom texture I made. I'm not sure I understand your question. The point of doing your custom banner is exactly that, to change the texture right? Share this post Link to post Share on other sites