Our forum is going offline at the end of July. We suggest moving all discussions to Discord. Exile will stay on Steam. Thanks for a great time!
Jump to content
Question
6 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Sign in
Already have an account? Sign in here.
Sign In Now
So i've taken a gander around the forums, and so far i have found nothing pertaining to what i'm trying to accomplish.
what i'm trying to accomplish is selling specific items to the Exile_Trader_CommunityCustoms and only him not every trader on the map.
i added my Items to the "Class CfgTraderArsenal"
///////////////////////////////////////////////////////////////////////////////
// Custom Items for Arsenal
///////////////////////////////////////////////////////////////////////////////
class custom_item_1 { quality = 1; price = 20000; sellPrice = 2000; };
class custom_item_2 { quality = 1; price = 20000; sellPrice = 3000; };
class custom_item_3 { quality = 1; price = 20000; sellPrice = 1000; };
class custom_item_4 { quality = 1; price = 20000; sellPrice = 2000; };
and i linked the "CfgTradercategories"
class CfgTraderCategories
{
class Community
{
name = "Community Items";
icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
items[] =
{
"Community",
"custom_item_1",
"custom_item_2",
"custom_item_3",
"custom_item_4"
};
};
And last but not least i linked class Exile_Trader_CommunityCustoms
/**
* Sells Community Items
*/
class Exile_Trader_CommunityCustoms
{
name = "COMMUNITY";
showWeaponFilter = 0;
categories[] =
{
"Community",
"custom_item_1",
"custom_item_2",
"custom_item_3",
"custom_item_4"
};
};
so if i'm missing anything here please let me know i'd appreciate any help.
-Seal
Share this post
Link to post
Share on other sites