• 0
Sign in to follow this  
Followers 0
bustednuts

Adding Categories to traders

Question

I am trying to add rockets to the special operations trader. The ammo itself made it in with no problems, But I tryed to make a category for the launchers and it has failed. This is what I have 

class RocketLaunchers
    {
        name = "Rocket Launchers";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] = 
        {
            "CUP_launch_M47",
            "CUP_launch_FIM92Stinger"
        };
    };

I stole some of the script from the line above and edited it to my needs. I am not sure what the icon = is for and I am sure that is what is causing my failure.

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Looking good so far! Please don't forget the tell the spec ops trader to actually use that category. Have a look at CfgTraders and add the category to it :) 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.