Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Recommended Posts

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

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.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
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
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

×