Sign in to follow this  
Followers 0
Boxman80

Custom Map Items & Traders

3 posts in this topic

Just a quick query while I remember. I've had issues previously with adding custom content and moving traders on Bornholm when I've tinkered with it in the past. It just seems like the coordinates I'm getting form the custom mission files are completely off when I port them to my server. Half the time I just cannot simply find the customs I've made, other times they're randomly strewn around or not where I wanted them. I've used the editor and custom builds in A2 on custom maps before so I'm certain I'm doing it correctly,  I'm just wondering if I've missed some map centering config somewhere or overlooked something else. Any ideas?

 

 

Also,   on the subject of traders - has 0.9.6 added a new method of adding custom traders or has anyone got links to a very  recent trader editing tutorial anywhere ?

 

Cheers

Share this post


Link to post
Share on other sites

I've just spotted this thread so I'll try following it. I pretty much use this method anyway but it seems the coordinates I'm inputting are way off for some reason. I'll provide feedback later for anyone who may be having the same issue. 

 

 

Share this post


Link to post
Share on other sites

Posted (edited)

ok im completely lost -

 

since the init server.sqf is no longer used how are you supposed to get custom traders working? The initPlayerLocal.sqf has a completely different format for the data and it looks utterly confusing to me! 

 

When I'm making changes in the editor the file is saved/output as .sqf and looks like the following;

 

Quote

["TargetP_Zom_Acc1_F",[2978.95,5488.61,0],277.091,[[-0.992351,0.123445,0],[0,0,1]],false],
    ["TargetP_Zom_Acc1_F",[2988.73,5500.17,0],345.818,[[-0.244999,0.969523,0],[0,0,1]],false]

 

The traders in the initplayerlocal.sqf now look like this

 

Quote

_mustard attachTo [_cashDesk, [-0.5, -0.05, 1.1]];

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

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

 

How that looks like every single object is defined and the coordinates look strange. Really lost :( Are there any recent tutorials made post 0.9.41  ?

Edited by Boxman80

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.