• 2
Mezo

Custom Vehicle Trader?

Question

So got some custom traders set up using "Exile_Trader_CommunityCustom" class however, it's currently not possible to set up custom vehicle traders, right?

Cheers,

Mezo :)

Edit; By Custom, I mean 'Define which vehicles this particular vehicle trader sells'

Edited by Taylor Swift
3 people like this

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

You can do that. Be sure to add them to CfgExileArsenal to define quality + price. Then add the vehicle class names to an existing trader category or link a new trader category. CfgTraderCategories defines which items / vehicles are available in which category and CfgTraders links the categories to your trader.

A new vehicle could look like this:

class CfgTraders
{
    /**
     * Sells cars and general vehicles
     */
    class Exile_Trader_Vehicle
    {
        name = "VEHICLE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Cars",
            "Trucks",
            "MyAwesomeNewRides" <<<<<<<<<<<<<<<<<<<
        };
    };
class CfgTraderCategories 
{
	class MyAwesomeNewRides <<<<<<<<<<<<<<<<<<
	{
		name = "My Awesome New Rides";
		icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
		items[] = 
		{
			"VehicleClassName1",
			"VehicleClassName2"
		};
	};

In case you want to add new skins to the vehicle / aircraft customs, have a look at this:

class CfgVehicleCustoms
{
	///////////////////////////////////////////////////////////////////////////////
	// QUAD BIKES
	///////////////////////////////////////////////////////////////////////////////
	class Exile_Bike_QuadBike_Abstract
	{
		skins[] = 
		{
			{"Exile_Bike_QuadBike_Black",		100},
			{"Exile_Bike_QuadBike_Blue",		100},
			{"Exile_Bike_QuadBike_Red",			100},
			{"Exile_Bike_QuadBike_White",		100},
			{"Exile_Bike_QuadBike_Nato",		150},
			{"Exile_Bike_QuadBike_Csat",		150},
			{"Exile_Bike_QuadBike_Fia",			150},
			{"Exile_Bike_QuadBike_Guerilla01",	150},
			{"Exile_Bike_QuadBike_Guerilla02",	150}
		};
	};

Be sure to add a new vehicle class that sets the hiddenSelectionTextures and define a sales price to this config. Boats do not support customs.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.