Question

Been having trouble with the Exile Traders, in that i have NIArms and TRYK installed and loaded up in the Trader Sales/Purchases section as well as their own CfgTraderCatagories class. but for the life of me i cannot figure out why the category they're supposed to appear under is just a blank box, i do not have Easy Trader installed.

Trader Categories below.


class CfgTraders
{
    /**
     * Weapons, scopes, silencers, ammo
     */
    class Exile_Trader_Armory
    {
        name = "ARMORY";
        showWeaponFilter = 1;
        categories[] =
        {
            "PointerAttachments",
            "BipodAttachments",
            "MuzzleAttachments",
            "OpticAttachments",
            "Ammunition",
            "Pistols",
            "NIArms Ammo",         <<
            "NIArms Weapons",    <<

            "Shotguns",
            "SubMachineGuns",
            "LightMachineGuns",
            "AssaultRifles",
            "SniperRifles"
        };
    };

    /**
     * Satchels, nades, UAVs, static MGs
     */
    class Exile_Trader_SpecialOperations
    {
        name = "SPECIAL OPERATIONS";
        showWeaponFilter = 1; // for noob tubes
        categories[] =
        {
            "Flares",
            "Smokes",
            "UAVs",
            "StaticMGs",
            "Explosives",
            "Navigation"
        };
    };

    /**
     * Uniforms, vests, helmets, backpacks
     */
    class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] =
        {
            "Headgear",
            "Glasses",
            "Uniforms",
            "Vests",
            "TRYK Headgear",     <<
            "TRYK Uniforms",     <<
            "TRYK Vests",            <<
            "TRYK Backpacks",   <<

            "Backpacks",
            "FirstAid"
        };
    };

 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Cuz of spaced used in the cat itself, i think your calling the name instead of the cat (hard to tell without seeing the cat)

Share this post


Link to post
Share on other sites
  • 0
17 minutes ago, WURSTKETTE said:

Cuz of spaced used in the cat itself, i think your calling the name instead of the cat (hard to tell without seeing the cat)

    Oops, sorry about that. Here we are, i reckon these are what you're looking for?
  

     class Community4
    {
        name = "TRYK Backpacks";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {   

    class Community5
    {
        name = "TRYK Vests";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {

    class Community6
    {
        name = "TRYK Uniforms";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {


    class Community7
    {
        name = "TRYK Headgear";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {


    class NIArmsWeapons
    {
        name = "NIArms Weapons";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {


    class NIArmsAmmo
    {
        name = "NIArms Ammo";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Posted (edited)

You have to use the class X instead of the name (and for sure you have to add items but i guess you removed them to keep the post as short as possible)

 

Example:

class Exile_Trader_Armory
    {
        name = "ARMORY";
        showWeaponFilter = 1;
        categories[] =
        {
            
            "NIArmsAmmo",         
            "NIArmsWeapons"
         
        };
    };

 

class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] =
        {
            
            "Community4",
            "Community5",
            "Community6",
            "Community7"

        };
    };

 

Edited by WURSTKETTE

Share this post


Link to post
Share on other sites
  • 0
On 5/16/2018 at 3:20 PM, WURSTKETTE said:

You have to use the class X instead of the name (and for sure you have to add items but i guess you removed them to keep the post as short as possible)

 

Example:


class Exile_Trader_Armory
    {
        name = "ARMORY";
        showWeaponFilter = 1;
        categories[] =
        {
            
            "NIArmsAmmo",         
            "NIArmsWeapons"
         
        };
    };

 


class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] =
        {
            
            "Community4",
            "Community5",
            "Community6",
            "Community7"

        };
    };

 

Everything is functional now, thanks a bunch for the help!

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.