DavieReid88

Making your own traders

7 posts in this topic

Hello guys, I was wondering if someone could point me in the right direction, Im in the middle of making my own traders, just as a side project to try get used to how it all works, and if i can get it working fine iu will look to use it in one of my own servers, Ive been looking through some tutorials, some a bit dated than others but cant seem to find out exactly what to do, i know how to place items and so on thats all easy enough.

im using the 3den editor, for example ive just placeed some simple items, plus a armory AI. Now the problem i have is just what to do next, this is my export objects:

private _objects = [
    ["Exile_Sign_Armory",[6110.68,6848.4,148.613],[[0.730213,0.68322,0],[0,0,1]],[false,false]],
    ["AmmoCrates_NoInteractive_Large",[6112.1,6846.25,148.449],[[0,0.998752,0.0499361],[0.0399685,-0.0498962,0.997954]],[false,false]],
    ["Land_PaperBox_closed_scripted_F",[6108.32,6850.8,148.829],[[0,0.998752,0.0499361],[0.0399685,-0.0498962,0.997954]],[false,false]],
    ["Land_CamoNet_EAST",[6111.45,6852.73,148.825],[[0,0.998668,0.0515999],[0.0366426,-0.0515653,0.997997]],[false,false]],
    ["Land_CamoNet_EAST",[6116.71,6848.35,148.359],[[0.998784,0.0226419,-0.0438027],[0.0449556,-0.0532025,0.997571]],[false,false]]
];
{
    private _object = (_x select 0) createVehicle [0,0,0];
    _object setPosASL (_x select 1);
    _object setVectorDirAndUp (_x select 2);
    _object enableSimulationGlobal ((_x select 3) select 0);
    _object allowDamage ((_x select 3) select 1);
} forEach _objects;

and this is my export trader:

private _traders = [
    ["Exile_Trader_Armory",[6109.55,6846.95,-0.00105286],241.521,"Exile_Trader_Armory","WhiteHead_14"]
];
{
    private _trader = [
        _x select 0,
        _x select 4,
        ["HubStanding_idle1"],
        _x select 1,
        _x select 2
    ] call ExileClient_object_trader_create;
    _trader setVariable ["ExileTraderType", _x select 3];
} forEach _traders;

is it as easy as just putting the exported object in my initserver, and my exported trader into my init player local?

im just not sure what to do next after building my trader city in the editor, if someone point me in the right direction that would be great. thanks

Share this post


Link to post
Share on other sites

the top part is correct for your building

the traders what you need is the co-ords as you are using the m3editor way

so for altis as not sure what map you are running  you should see something like this

_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [2986.43,18178.5,1.66267],
    296.855
]
call ExileClient_object_trader_create;

 

so you want to put your co-ords from this 

[6109.55,6846.95,-0.00105286],241.521

and replace it with this

    [2986.43,18178.5,1.66267],
    296.855

so it will look like this using M3Editor

 

_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [6109.55,6846.95,-0.00105286],241.521
]
call ExileClient_object_trader_create;

have fun and gl

otherwise have alook here

 

Edited by hogansheroes

Share this post


Link to post
Share on other sites
Advertisement

Use the Exile Eden plugin for the Eden editor. It lets you export your traders and objects into the proper format and then you just paste them into the correct files. 

As an example, here's what one of my trader entries looks like:

["Exile_Trader_Equipment", ["HubSittingChairA_idle1","HubSittingChairA_idle2"], "Exile_Trader_Equipment", "GreekHead_A3_08", [["arifle_AK107","","acc_pointer_IR","optic_Arco",["30Rnd_545x39_AK",30],[],""],[],[],["U_BG_Guerrilla_6_1",[["30Rnd_545x39_AK",30,1]]],["V_I_G_resistanceLeader_F",[["30Rnd_545x39_AK",30,2]]],[],"H_Booniehat_oli","G_Tactical_Clear",[],["","","","","",""]], [8071.92, 6415.11, 116.19], [0.999974, -0.00725673, 0], [0, 0, 1]],

 

Share this post


Link to post
Share on other sites

@BetterDeadThanZedI downloaded the eden editor last week but i couldn't get it loaded along with 3den editor, how do i load both  3den editor with the plug in to use it? i load 3den through a3 then the advanced tab. im guessing thats the quicker way to make your traders?

@hogansheroes i will have more time later, will PM you cheers

Share this post


Link to post
Share on other sites

I think you're a little confused. The Eden editor (aka the 3den editor) is the editor that comes with Arma 3. The Exile dev team released a plugin for the Eden editor called the Exile Eden Editor.

What i did was make a copy of my @Exile folder called @Exile_Edit and put the Exile Eden plugin into the addons folder for @Exile_edit. Then, when I want to create something for my server, I load @Exile_Edit and the Exile Eden Editor plugin is automatically loaded.

Share this post


Link to post
Share on other sites

Yeh sorry i got a little confused, i meant the m3 editor i load with A3 launcher, can i load both together and use both? its alot easier to make your traders and that with the m3editor, i got the exile editor working by the way.

Share this post


Link to post
Share on other sites
2 hours ago, DavieReid88 said:

Yeh sorry i got a little confused, i meant the m3 editor i load with A3 launcher, can i load both together and use both? its alot easier to make your traders and that with the m3editor, i got the exile editor working by the way.

Yeah, you can use the m3editor, but it uses an old format for everything. I used to only use the m3editor but I have since stopping using it and I create everything with Eden and use the Exile Eden plugin to export everything. 

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.