6 posts in this topic

Can somebody please check my code I am not sure what i missed? Is orientation mandatory?

////////////////////////////////////////////////////////////////////////////
// South East Armory Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "WhiteHead_20",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23064, 7258.45, 48.8435],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Equipment Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",
    "WhiteHead_04",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23031.6, 7266.01, 49.4433],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Food Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",
    "WhiteHead_10",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23057.2, 7269.09, 49.3995],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Hardware Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",
    "WhiteHead_11",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23047.6, 7239.82, 48.789],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East WasteDump Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",
    "GreekHead_A3_06",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23019, 7240.2, 47.9571],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East WasteDump Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",
    "GreekHead_A3_05",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23031.4, 7194.76, 46.071],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Guard 01 Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_01",
    "",
    "AfricanHead_01",
    ["InBaseMoves_patrolling1"],
    [23036.3, 7247.68, 52.675],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Guard 01 Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_01",
    "",
    "WhiteHead_12",
    ["InBaseMoves_patrolling1"],
    [23051.1, 7199.02, 49.7716],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Guard 01 Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_01",
    "",
    "WhiteHead_15",
    ["InBaseMoves_patrolling1"],
    [23048.9, 7282.11, 53.4854],
]
call ExileClient_object_trader_create;

////////////////////////////////////////////////////////////////////////////
// South East Guard 01 Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_01",
    "",
    "WhiteHead_05",
    ["InBaseMoves_patrolling1"],
    [22990.3, 7257.98, 52.346],
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// South East Guard 02 Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_02",
    "",
    "WhiteHead_19",
    ["InBaseMoves_patrolling2"],
    [11139.7, 8723.26, 183.382],
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// South East Guard 02 Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_02",
    "",
    "WhiteHead_01",
    ["InBaseMoves_patrolling2"],
    [11192.8, 8688.03, 180.749],
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// South East Guard 03 Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_03",
    "",
    "GreekHead_A3_08",
    ["InBaseMoves_patrolling1"],
    [11166.5, 8726.74, 179.447],
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// South East Guard 03 Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Guard_03",
    "",
    "AfricanHead_01",
    ["InBaseMoves_patrolling1"],
    [11211.3, 8699.78, 182.414],
]
call ExileClient_object_trader_create;

 

Share this post


Link to post
Share on other sites

From memory, thats the older format isnt it?

If you use Exile 3den editor, it compiles the traders abit different.

Also, your array has a comma at the end and doesnt look like it has direction defined.

Pretty sure that format still works fine, but the array needs fixing.

Example:

////////////////////////////////////////////////////////////////////////////
// South East Armory Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "WhiteHead_20",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23064, 7258.45, 48.8435],
    100		//add this line with direction you want it facing.
]
call ExileClient_object_trader_create;

 

Edited by lapulapu

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, lapulapu said:

From memory, thats the older format isnt it?

If you use Exile 3den editor, it compiles the traders abit different.

Also, your array has a comma at the end and doesnt look like it has direction defined.

Pretty sure that format still works fine, but the array needs fixing.

Example:


////////////////////////////////////////////////////////////////////////////
// South East Armory Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "WhiteHead_20",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23064, 7258.45, 48.8435],
    100		//add this line with direction you want it facing.
]
call ExileClient_object_trader_create;

 

So if the above is the old format. I get the Below out of 3DEN.

//NPC type
["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_01", 

//Inventory
[["srifle_EBR_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],

//Animations
["HubStanding_idle1","HubStanding_idle2","HubStanding_idle3"]],

//Location & Orentation
[23031.6, 7265.82, 49.4433], [0.575354, 0.817905, 0], [0, 0, 1]],

This is the New format?

Share this post


Link to post
Share on other sites

you can still use the old format thats what i do and i like it that way, but each to there own.

but with your top traders you are missing co-ords so this is one of yours spoiler below

Spoiler

////////////////////////////////////////////////////////////////////////////
// South East Armory Trader
////////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",
    "WhiteHead_20",
    ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"],
    [23064, 7258.45, 48.8435],
]
call ExileClient_object_trader_create;

this is mine spoiler below

Spoiler

///////////////////////////////////////////////////////////////////////////
// Castle Vehicle Trader
///////////////////////////////////////////////////////////////////////////

_trader = 
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["InBaseMoves_repairVehicleKnl", "InBaseMoves_repairVehiclePne"],
    [11477.5,11372.4,-0.00012207],318.694
]
call ExileClient_object_trader_create;

so this is your co-ords

 [23064, 7258.45, 48.8435],

and mine

[11477.5,11372.4,-0.00012207],318.694

so you know the diffrence if not you are missing the last co-ods at the end.

this is if you are using the old format

GL

 

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.