gid

Add to traders [SOLVED!]

6 posts in this topic

Hi, I have been reading through lots of topics on loot issues, traders & loot compiler etc.., but I can't figure out how to add the stuff from the spawn list in the infiSTAR admin menu to the traders, like the tanks, attack helis and APCs etc... I only want them to appear in the traders list, not spawn as loot.

I understand that I need to add something to the Exile.altis\config.cpp but I do not know where to find the names for the stuff and I am not completely sure where to add them. I can see the names in the spawn list in the admin menu, but I need to know where I can find them in a file so I can copy them.

If someone could do a step-by-step guide for one item it would be great.

EDIT: Solved by using the steps below.

Thanks.

G;>

Edited by gid

Share this post


Link to post
Share on other sites
Advertisement

Step-by-step adding a Tank to trader in a new category.

1. Open http://wiki.7thcavalry.us/wiki/ARMA_3_Vehicles to find the Arma 3 class names.
2. Locate the Tank you want to add, in this example I used "B_MBT_01_arty_F", the "M4 Schorcher".
3. Open your Exile.altis\config.cpp
4. Locate "CfgExileArsenal" and add (in red) the following below "class Exile_Car_Zamak" 

    ///////////////////////////////////////////////////////////////////////////////
    // Zamak
    ///////////////////////////////////////////////////////////////////////////////
    class Exile_Car_Zamak                                 { quality = 1; price = 3000; };
    
    ///////////////////////////////////////////////////////////////////////////////
    // ARMOR
    ///////////////////////////////////////////////////////////////////////////////
    class B_MBT_01_arty_F                                { quality = 1; price = 20000; };

    
5. Locate "CfgTraderCategories" and add (in red) the "Armor" class below the "Trucks" class 

class Trucks
    {
        name = "Trucks";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] = 
        {
            "Exile_Car_Van_Black",
            "Exile_Car_Van_Box_Black",
            "Exile_Car_Van_Fuel_Black",
            "Exile_Car_Zamak",
            "Exile_Car_Tempest",
            "Exile_Car_HEMMT"
        };
    };

        class Armor
    {
        name = "Armor";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] = 
        {
            "B_MBT_01_arty_F"
        };
    };

    
6. Locate "CfgTraders" and add (in red) Armor to the list of the vehicle trader (see I also added "Bikes" that was missing orginally)

    class Exile_Trader_Vehicle
    {
        name = "VEHICLE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Bikes",
            "Cars",
            "Trucks",
            "Armor"
        };
    };

Edited by gid
1 person likes this

Share this post


Link to post
Share on other sites

All fine,

but you can't sell these vehicles :(

also lock/unlock issue (only way is assign key)

 

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.