Jump to content

Adding Map Content to a Wasteland Server?


Liqu1dShadow

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

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...