Sign in to follow this  
Followers 0
Zarge °

Easy Fix Need Help!

8 posts in this topic

So , i'm making these custom Trader locations and i already put them into initlocalplayer file, When i join in-game they are there... but nothing is in the Buying colum? There must be a simple fix or i'm missing something inside my File So i'm wondering if someone could take a look at it:

Spoiler

/ Custom Traders GO HERE!
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1","HubStandingUA_move2","HubStandingUA_idle1","HubStandingUA_idle2","HubStandingUA_idle3"],
    [6688.57,8685.35,0],
    53.1818
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Hardware",
    "WhiteHead_17",
    ["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"],
    [6703.32,8740.39,0.436371],
    139.545
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_SpecialOperations",
    "GreekHead_A3_01",
    ["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"],
    [6713.76,8721.03,0],
    327.727
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"],
    [6726.54,8712.44,0],
    262.727
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"],
    [6724.22,8698.01,0],
    317.273
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Food",
    "GreekHead_A3_01",
    ["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"],
    [6686.76,8704.21,0.112762],
    70.4545
]
call ExileClient_object_trader_create;
 

 

Share this post


Link to post
Share on other sites

Posted (edited)

traders should be set up in this manner:

Quote


_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [9109.68,10101.8,0.30406],
    300.035
]
call ExileClient_object_trader_create;

 

Edited by InsertCoins

Share this post


Link to post
Share on other sites
Advertisement
35 minutes ago, InsertCoins said:

traders should be set up in this manner:

 

So.. each one should set up? like for this example..:

Spoiler

_trader = 
[
    "Exile_Trader_WasteDump",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [9109.68,10101.8,0.30406],
    300.035
]
call ExileClient_object_trader_create;

_trader = 
[
    "Exile_Trader_Armory",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [9109.68,10101.8,0.30406],
    300.035
]
call ExileClient_object_trader_create;

_trader = 
[
    "Exile_Trader_VehicleTrader",
    "GreekHead_A3_01",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [9109.68,10101.8,0.30406],
    300.035
]
call ExileClient_object_trader_create;

 

Share this post


Link to post
Share on other sites

@InsertCoins missed a line. (He was probably too busy daydreaming about my beard..) :P

This is the format you need:

_trader =
[
    "Exile_Trader_SpecialOperations",
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [3815.71,8937.93,0.0636292],
    33.4256
]
call ExileClient_object_trader_create;

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

 

1 person likes this

Share this post


Link to post
Share on other sites
10 minutes ago, kuplion said:

@InsertCoins missed a line. (He was probably too busy daydreaming about my beard..) :P

This is the format you need:


_trader =
[
    "Exile_Trader_SpecialOperations",
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [3815.71,8937.93,0.0636292],
    33.4256
]
call ExileClient_object_trader_create;

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

 

Do i have to do that for each individual Trader?

Share this post


Link to post
Share on other sites

Posted (edited)

54 minutes ago, Zarge ° said:

Do i have to do that for each individual Trader?

Yes. Look at the default mission file to see how its done.

Edited by Tobias Solem
1 person likes this

Share this post


Link to post
Share on other sites
4 minutes ago, Tobias Solem said:

Yes. 

Thanks

Share this post


Link to post
Share on other sites
7 hours ago, kuplion said:

@InsertCoins missed a line. (He was probably too busy daydreaming about my beard..) :P

This is the format you need:


_trader =
[
    "Exile_Trader_SpecialOperations",
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [3815.71,8937.93,0.0636292],
    33.4256
]
call ExileClient_object_trader_create;

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

 

nuhu, I've got my own beard to dream about.

1 person likes this

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.