TBsThug

[SOLVED] Custom Air Trader

5 posts in this topic

Hello,

Been trying to create a custom air trader that only sells the ceasar btt and Hummingbird. Have all items and a custom trader installed. 

In the config.cpp on mission side under class CfgTraderCategories at the very end I put

  

Spoiler

 class CustomChoppers
    {
        name = "Helicopters";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Chopper_Hummingbird_Civillian_Wasp"
        };
    };
    
    class CustomPlanes
    {
        name = "Planes";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Plane_Ceasar"
        };
    };    

 

Under class CfgTraders I used the Exile_Trader_CommunityCustoms and edited as follows

Spoiler

    class Exile_Trader_CommunityCustoms
    {
        name = "AIRVEHICLES";
        showWeaponFilter = 0;
        categories[] = 
        {
            "CustomChoppers",
            "CustomPlanes"
        };
    };
 

 

When I go to buy, it show the heli or plane as a white pic. it takes the tabs, but does not give a vehicle. 

Is there a way to make what I am trying and can some lead me to water, please

Edited by TBsThug

Share this post


Link to post
Share on other sites
15 hours ago, TBsThug said:

Hello,

Been trying to create a custom air trader that only sells the ceasar btt and Hummingbird. Have all items and a custom trader installed. 

In the config.cpp on mission side under class CfgTraderCategories at the very end I put

  

  Reveal hidden contents

 class CustomChoppers
    {
        name = "Helicopters";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Chopper_Hummingbird_Civillian_Wasp"
        };
    };
    
    class CustomPlanes
    {
        name = "Planes";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Plane_Ceasar"
        };
    };    

 

Under class CfgTraders I used the Exile_Trader_CommunityCustoms and edited as follows

  Hide contents

    class Exile_Trader_CommunityCustoms
    {
        name = "AIRVEHICLES";
        showWeaponFilter = 0;
        categories[] = 
        {
            "CustomChoppers",
            "CustomPlanes"
        };
    };
 

 

When I go to buy, it show the heli or plane as a white pic. it takes the tabs, but does not give a vehicle. 

Is there a way to make what I am trying and can some lead me to water, please

Put ur both new classes (CustomChoppers and CustomPlanes) under class Exile_Trader_Aircraft and see ingame if the vehicles will show correctly...it could be the custom trader area that make problems...if it will run u will know it :rock:

Share this post


Link to post
Share on other sites
Advertisement

I think you probably want this:

Look atSeanJSOS post.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.