Jump to content
Sign in to follow this  
Liqu1dShadow

Adding Map Content to a Wasteland Server?

Recommended Posts

Anyone know how to add map content and keep it server side so the download is not effected by my constant changing :)

 

Cant work out how to do it!

 

If I needed the below sample selection on the server, running server side how would I do it? (this is the output from M3Editor)

 

private ["_objs"];
_objs = [
    ["Land_Pavement_wide_F",[22887.7,19274,-0.0179787],308.636,[[-0.781128,0.624371,0],[0,0,1]],false],
    ["Land_Pavement_wide_F",[22890.1,19277.1,0.00686932],308.636,[[-0.781128,0.624371,0],[0,0,1]],false],
    ["Land_Pavement_wide_F",[22892.5,19280.1,-0.0423279],308.636,[[-0.781128,0.624371,0],[0,0,1]],false],
    ["Land_LampShabby_F",[22974.1,19263,0],296.818,[[-0.892444,0.451158,0],[0,0,1]],false],
    ["Land_Factory_Main_F",[22856.4,19220.5,0.0376511],129.545,[[0.771125,-0.636684,0],[0,-0,1]],false],
    ["Land_i_Shed_Ind_F",[22878.9,19364.6,0.685814],218.637,[[-0.624381,-0.78112,0],[-0,0,1]],false]
];

{
    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;

 

Thanks in advanced

 

Aaron

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...