Boxman80

[SOLVED] How do traders work now?

11 posts in this topic

So traders have stopped working when I update to 0.9.6 , presumably because of the changes the new patch introduced. How do they work now? The trader list is no longer populated, is there a way to correct this? Where are the new controls located ?

Share this post


Link to post
Share on other sites

ive noticed that also i can buy vehicles or air vehicles but nothing else so where do we go from here

Share this post


Link to post
Share on other sites
Advertisement

did by any chance did you copy/paste most of the scripts out of your mission folder to the new folder mainly initPlayerLocal.sqf

Share this post


Link to post
Share on other sites

Its all still in initPlayer.sqf guys. 

In your current traders add highlighted parts(names accordingly to traders):

_trader = 
[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [1734.66,3763.7,1.03792],240
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Equipment"];

I allows you to change the skin to whatever you want ("WhiteHead_19" in example above), and set trader to it as in bottom highlight.

Example from my server(Cherno and some of traders still need turning 180 lol)(pretty much default, i didnt change any skins):

Spoiler

ExileClientXM8IsPowerOn = true;
if (!hasInterface || isServer) exitWith {};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  BOAT TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Kamyshovo Boat Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Boat",
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [12014.5,3413.7,0],
    184
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Boat"];
///////////////////////////////////////////////////////////////////////////
// KAMENKA Boat Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Boat",
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [1720.93,2024.96,0],
    265
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Boat"];
///////////////////////////////////////////////////////////////////////////
// BEREZINO Boat Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Boat",
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [13201.8,10210.5,0],
    88
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Boat"];

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  FOOD TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                                                       ////////& TEM DP ITEMS////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Fast Food Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////

_cashDesk = "Land_CashDesk_F" createVehicleLocal [0,0,0];
_cashDesk setDir 206;
_cashDesk setPosATL [1702.85,3728.19,-0.12059];

_microwave = "Land_Microwave_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _microwave;         
_microwave disableCollisionWith _cashDesk; 
_microwave attachTo [_cashDesk, [-0.6, 0.2, 1.1]];

_ketchup = "Land_Ketchup_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _ketchup;         
_ketchup disableCollisionWith _cashDesk; 
_ketchup attachTo [_cashDesk, [-0.6, 0, 1.1]];

_mustard = "Land_Mustard_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _mustard;         
_mustard disableCollisionWith _cashDesk; 
_mustard attachTo [_cashDesk, [-0.5, -0.05, 1.1]];

_trader = 
[
    "Exile_Trader_Food",
    "GreekHead_A3_01",
    ["InBaseMoves_table1"],
    [0.1, 0.5, 0.2],
    228.164,
    _cashDesk
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Food"];
///////////////////////////////////////////////////////////////////////////
// Fast Food Trader Stary
///////////////////////////////////////////////////////////////////////////
_cashDesk = "Land_CashDesk_F" createVehicleLocal [0,0,0];
_cashDesk setDir 210;
_cashDesk setPosATL [6300.66,7843.73,0];

_microwave = "Land_Microwave_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _microwave;         
_microwave disableCollisionWith _cashDesk; 
_microwave attachTo [_cashDesk, [-0.6, 0.2, 1.1]];

_ketchup = "Land_Ketchup_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _ketchup;         
_ketchup disableCollisionWith _cashDesk; 
_ketchup attachTo [_cashDesk, [-0.6, 0, 1.1]];

_mustard = "Land_Mustard_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _mustard;         
_mustard disableCollisionWith _cashDesk; 
_mustard attachTo [_cashDesk, [-0.5, -0.05, 1.1]];

_trader = 
[
    "Exile_Trader_Food",
    "GreekHead_A3_01",
    ["InBaseMoves_table1"],
    [0.1, 0.5, 0.2],
    210,
    _cashDesk
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Food"];
///////////////////////////////////////////////////////////////////////////
// Fast Food Trader KLEN
///////////////////////////////////////////////////////////////////////////
_cashDesk = "Land_CashDesk_F" createVehicleLocal [0,0,0];
_cashDesk setDir 192;
_cashDesk setPosATL [11460.6,11349.8,0];

_microwave = "Land_Microwave_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _microwave;         
_microwave disableCollisionWith _cashDesk; 
_microwave attachTo [_cashDesk, [-0.6, 0.2, 1.1]];

_ketchup = "Land_Ketchup_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _ketchup;         
_ketchup disableCollisionWith _cashDesk; 
_ketchup attachTo [_cashDesk, [-0.6, 0, 1.1]];

_mustard = "Land_Mustard_01_F" createVehicleLocal [0,0,0];
_cashDesk disableCollisionWith _mustard;         
_mustard disableCollisionWith _cashDesk; 
_mustard attachTo [_cashDesk, [-0.5, -0.05, 1.1]];

_trader = 
[
    "Exile_Trader_Food",
    "GreekHead_A3_01",
    ["InBaseMoves_table1"],
    [0.1, 0.5, 0.2],
    192,
    _cashDesk
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Food"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  HARDWARE TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Hardware Trader Pavlovo
///////////////////////////////////////////////////////////////////////////
_workBench = "Land_Workbench_01_F" createVehicleLocal [0,0,0];
_workBench setDir 153;
_workBench setPosATL [1701.77,3741.04,-0.0113678];

_trader = 
[
    "Exile_Trader_Hardware",
    "WhiteHead_17",
    ["InBaseMoves_sitHighUp1"],
    [0, 0, -0.5],
    301,
    _workBench
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Hardware"];
///////////////////////////////////////////////////////////////////////////
// Hardware Trader Stary
///////////////////////////////////////////////////////////////////////////
_workBench = "Land_Workbench_01_F" createVehicleLocal [0,0,0];
_workBench setDir 218;
_workBench setPosATL [6352.03,7812.41,0];

_trader = 
[
    "Exile_Trader_Hardware",
    "WhiteHead_17",
    ["InBaseMoves_sitHighUp1"],
    [0, 0, -0.5],
    218,
    _workBench
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Hardware"];
///////////////////////////////////////////////////////////////////////////
// Hardware Trader Klen
///////////////////////////////////////////////////////////////////////////
_workBench = "Land_Workbench_01_F" createVehicleLocal [0,0,0];
_workBench setDir 173;
_workBench setPosATL [11461,11376.7,0];

_trader = 
[
    "Exile_Trader_Hardware",
    "WhiteHead_17",
    ["InBaseMoves_sitHighUp1"],
    [0, 0, -0.5],
    6,
    _workBench
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Hardware"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  EQUIPMENT TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
//  Equipment Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [1734.66,3763.7,1.03792],240
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Equipment"];
///////////////////////////////////////////////////////////////////////////
//  Equipment Trader STARY
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [6310.84,7837.96,0.188934],210
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Equipment"];
///////////////////////////////////////////////////////////////////////////
//  Equipment Trader KLEN
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [11455.8,11376.7,0],180
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Equipment"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  OFFICE TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Office Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Office",
    "GreekHead_A3_04",
    ["HubBriefing_scratch", "HubBriefing_stretch", "HubBriefing_think", "HubBriefing_lookAround1", "HubBriefing_lookAround2"],
    [1734.34,3762.78,3.54152],280
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Office"];
///////////////////////////////////////////////////////////////////////////
// Office Trader STARY
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Office",
    "GreekHead_A3_04",
    ["HubBriefing_scratch", "HubBriefing_stretch", "HubBriefing_think", "HubBriefing_lookAround1", "HubBriefing_lookAround2"],
    [6364.48,7803.25,0],260
]
call ExileClient_object_trader_create;
_trader setVariable ["ExileTraderType", "Exile_Trader_Office"];
///////////////////////////////////////////////////////////////////////////
// Office Trader KLEN
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Office",
    "GreekHead_A3_04",
    ["HubBriefing_scratch", "HubBriefing_stretch", "HubBriefing_think", "HubBriefing_lookAround1", "HubBriefing_lookAround2"],
    [11465.1,11376.9,0],180
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Office"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  ARMORY TRADERS ///////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Armory Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [1727.94,3763.08,0.9944],126
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Armory"];
///////////////////////////////////////////////////////////////////////////
// Armory Trader STARY
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [6322.14,7828.83,0],210
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Armory"];
///////////////////////////////////////////////////////////////////////////
// Armory Trader KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [11471.8,11376.8,0],
    181
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Armory"];

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  SPEC OPS TRADERS //////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Specops Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_SpecialOperations",
    "AfricanHead_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [1727.63,3767.86,1.0209],135
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_SpecialOperations"];

///////////////////////////////////////////////////////////////////////////
// Specops Trader STARY
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_SpecialOperations",
    "AfricanHead_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [6333.05,7823.22,0],210
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_SpecialOperations"];

///////////////////////////////////////////////////////////////////////////
// Specops Trader KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_SpecialOperations",
    "AfricanHead_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [11475.7,11377.4,0],
    180
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_SpecialOperations"];

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  WASTE DUMPS //////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Waste Dump PAVLOVO
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [1701.18,3735.63,0],110
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_WasteDump"];

///////////////////////////////////////////////////////////////////////////
// Waste Dump STARY
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6282.07,7806.67,0],70
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_WasteDump"];

///////////////////////////////////////////////////////////////////////////
// Waste Dump KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11449.9,11369.7,0],180
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_WasteDump"];

///////////////////////////////////////////////////////////////////////////
// Waste Dump NEAirfield
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4332.45,10976.4,0],190
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_WasteDump"];

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  VEHICLE TRADERS //////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Vehicle Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Vehicle",
    "WhiteHead_11",
    ["HubStandingUC_idle1"],
    [1738.56,3731.4,0],305
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Vehicle"];

///////////////////////////////////////////////////////////////////////////
// Vehicle Trader STARY
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Vehicle",
    "WhiteHead_11",
    ["HubStandingUC_idle1"],
    [6316.59,7778.27,0],210
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Vehicle"];
///////////////////////////////////////////////////////////////////////////
// Vehicle Trader KLEN
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Vehicle",
    "WhiteHead_11",
    ["HubStandingUC_idle1"],
    [11445.7,11369.7,0],360
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Vehicle"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  AIRCRAFT TRADERS //////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Aircraft Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Aircraft",
    "WhiteHead_17",
    ["LHD_krajPaluby"],
    [1735.13,3729.76,0],329
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Aircraft"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Trader STARY
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Aircraft",
    "WhiteHead_17",
    ["LHD_krajPaluby"],
    [6335.43,7771.95,0],81
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Aircraft"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Trader KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Aircraft",
    "WhiteHead_17",
    ["LHD_krajPaluby"],
    [11486.2,11375.9,0],180
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Aircraft"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Trader NORTHEAST AIRFIELD PLANES AND Waste dump
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Aircraft",
    "WhiteHead_17",
    ["LHD_krajPaluby"],
    [4339.49,10963.7,0],240
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_Aircraft"];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  CUSTOMS TRADERS //////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
// Vehicle Customs Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_VehicleCustoms",
    "WhiteHead_11",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [1725.47,3749.5,0],260
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_VehicleCustoms"];
///////////////////////////////////////////////////////////////////////////
// Vehicle Customs Trader STARY
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_VehicleCustoms",
    "WhiteHead_11",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [6391.08,7791.08,0],240
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_VehicleCustoms"];
///////////////////////////////////////////////////////////////////////////
// Vehicle Customs Trader KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_VehicleCustoms",
    "WhiteHead_11",
    ["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
    [11441.9,11356,0],4
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_VehicleCustoms"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Customs Trader PAVLOVO
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_AircraftCustoms",
    "GreekHead_A3_07",
    ["HubStandingUC_idle1", "HubStandingUC_idle2", "HubStandingUC_idle3", "HubStandingUC_move1", "HubStandingUC_move2"],
    [1725.91,3746.21,0],260
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_AircraftCustoms"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Customs Trader STARY
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_AircraftCustoms",
    "GreekHead_A3_07",
    ["HubStandingUC_idle1", "HubStandingUC_idle2", "HubStandingUC_idle3", "HubStandingUC_move1", "HubStandingUC_move2"],
    [6389.7,7793.63,0],240
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_AircraftCustoms"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Customs Trader KLEN
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_AircraftCustoms",
    "GreekHead_A3_07",
    ["HubStandingUC_idle1", "HubStandingUC_idle2", "HubStandingUC_idle3", "HubStandingUC_move1", "HubStandingUC_move2"],
    [11494.6,11348.9,0],353
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_AircraftCustoms"];
///////////////////////////////////////////////////////////////////////////
// Aircraft Customs Trader NEAIRFIELD
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_AircraftCustoms",
    "GreekHead_A3_07",
    ["HubStandingUC_idle1", "HubStandingUC_idle2", "HubStandingUC_idle3", "HubStandingUC_move1", "HubStandingUC_move2"],
    [4351.55,10946.4,0],285
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_AircraftCustoms"];

/*
///////////////////////////////////////////////////////////////////////////
// Western Guard 02
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Guard_03",
    "AfricanHead_03",
    ["InBaseMoves_patrolling1"],
    1711.12,3723.55,-0.0957947],173
]
call ExileClient_object_trader_create;
///////////////////////////////////////////////////////////////////////////
// Guard 01
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Guard_01",
    "WhiteHead_17",
    ["InBaseMoves_patrolling1"],
    [1713.21,3734.43,-0.0957947],173.384
]
call ExileClient_object_trader_create;
///////////////////////////////////////////////////////////////////////////
// Guard 02
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Guard_02",
    "WhiteHead_03",
    ["InBaseMoves_patrolling2"],
    [1713.32,3743.87,-0.0957947],173.384
]
call ExileClient_object_trader_create;
///////////////////////////////////////////////////////////////////////////
// Guard 03
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Guard_03",
    "AfricanHead_03",
    ["InBaseMoves_patrolling1"],
    [1714.15,3754.95,-0.0957947],173.384
]
call ExileClient_object_trader_create;
///////////////////////////////////////////////////////////////////////////
// Western Guard 01
///////////////////////////////////////////////////////////////////////////
[
    "Exile_Guard_02",
    "WhiteHead_03",
    ["InBaseMoves_patrolling2"],
    [1713.03,3765.09,-0.0957947],173.384
]
call ExileClient_object_trader_create;
*/

 

3 people like this

Share this post


Link to post
Share on other sites

Posted (edited)

What about the custom traders being able to be used for vehicles now how would u go about doing that im assuming like this , 

call ExileClient_object_trader_create;
_trader setVariable ["ExileTraderType","Exile_Trader_CommunityCustoms2"]; 

And set up a class for items in the config.cpp and assign it to that trader^ 

Edited by DIamond

Share this post


Link to post
Share on other sites

I got there eventually, I just think I was tired and couldn't remember how I'd configured it all before. When I looked I could see how the changes worked! lol Thanks for all the help guys, still a useful topic. 

Share this post


Link to post
Share on other sites

Posted (edited)

My traders do not work regardless... pastebin:  http://pastebin.com/Lf1y0jbA

PS.  
_trader setVariable ["ExileTraderType","Exile_Trader_X"];  is in my code.

EDIT: Fixed it

Edited by Vercetti

Share this post


Link to post
Share on other sites

The only problem Exile_Trader_CommunityCustoms empty menu

config.cpp

    class Exile_Trader_CommunityCustoms
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "RHSUniforms"
        };
    };

config.cpp 

  class RHSUniforms
    {
        name = "Community Items";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] = 
        {
            "rhs_uniform_cu_ocp",
            "rhs_uniform_cu_ucp",
            "rhs_uniform_cu_ocp_101st",
            "rhs_uniform_df15",
            "rhs_uniform_m88_patchless",
            "rhs_uniform_emr_patchless"

        };
    };

initPlayerLocal.sqf

[
    "Exile_Trader_CommunityCustoms",                                                            
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11443.5,11442.7,1.13777],
    320
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms"];

Does not help!!!

there is a solution?

 

Share this post


Link to post
Share on other sites

Posted (edited)

Make sure you have this before the trader:

_trader = 

For example:

_trader =
[
    "Exile_Trader_Office",
    "GreekHead_A3_04",
    ["HubBriefing_scratch", "HubBriefing_stretch", "HubBriefing_think", "HubBriefing_lookAround1", "HubBriefing_lookAround2"],
    [4418.22, 1710.44, 0],
    84
]
call ExileClient_object_trader_create;

Oh, and use the little "code" button in the editor to post code. :) 

Edited by BetterDeadThanZed

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.