Sign in to follow this  
Followers 0
[DoN] El Toro [dk]

Custom Buildings on a remote server

4 posts in this topic

Hello Gang...

Well I have a strange error... when I open the Arma 3 editor, and use the M3 Editor to create building for my custom traders, it all looks great...

But when I then insert it into my remote servers initServer.SQF file, and loads it up... it seems like it all moved...

The outputfile and the initServer file looks a bit diffrent, could that be it?

Any ideas?

 

How it looks in the Editor:

2016-01-24_00001.thumb.jpg.fd6118bc1c9e5

 

How it looks on the map

2016-01-24_00003.thumb.jpg.38a4d04f2c412

2016-01-24_00004.thumb.jpg.d27ef4c7dee81

 

How the file on the server looks:

Spoiler

 _objects = 
[
 

//More above her//

    ["Land_ShelvesWooden_khaki_F",[19389.3,14319.9,0.55707],46.7826,0,0,true],
    ["Land_Ammobox_rounds_F",[19389.2,14319.7,1.3658],0,0,0,false],
    ["Exile_Sign_Equipment_Small",[19387.1,14317.1,0],311.397,0,0,true],
    ["I_G_Van_01_fuel_F",[19416.2,14332.7,0],0,0,0,true],
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects;

 

 

How the Editor Output file looks:

Spoiler

  private ["_objs"];
_objs = [

//More above her//

    ["Land_ShelvesWooden_khaki_F",[19389.3,14319.9,0.55707],46.7826,[0,0,1],true],
    ["Land_Ammobox_rounds_F",[19389.2,14319.7,1.3658],0,[[0,1,0],[0,0,1]],false],
    ["Exile_Sign_Equipment_Small",[19387.1,14317.1,0],311.397,[0,0,1],true],
    ["I_G_Van_01_fuel_F",[19416.2,14332.7,0],0,[0,0,1],true],

];

{
    private ["_obj"];
    _obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
    if (_x select 4) then {
        _obj setDir (_x select 2);
        _obj setPos (_x select 1);
    } else {
        _obj setPosATL (_x select 1);
        _obj setVectorDirAndUp (_x select 3);
    };
} foreach _objs;

 

Edited by [DoN] El Toro [dk]

Share this post


Link to post
Share on other sites

Hmm... Looks like this is a problem that only I have... /cry... 

Well can anyone then either tell me how to add M3Editor to a remote server, so I can do "on-server-editing" 

What do I need to upload where? (It keeps talking about a key - what ever that is) 

#brandnewnoob

Share this post


Link to post
Share on other sites
Advertisement

just use the exported sqf, it looks like you have made the building so it follows the ground layout but the file you are using in your mission file isn't doing that (from the bottom half of the code)

Share this post


Link to post
Share on other sites
56 minutes ago, second_coming said:

just use the exported sqf, it looks like you have made the building so it follows the ground layout but the file you are using in your mission file isn't doing that (from the bottom half of the code)

I am not sure why... but that seems to help... Thanks

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.