• 0
Lincoln.

[SOLVED] Map Editor

Question

Is there any way to add your map to the editor and have all your buildings left? I know that you can put out buildings and save the initserver.sqf. But I want to have the buildings I already have and continue. When I add my exile.chernarus to missions/mpmissions I just have the markers left and no buildings.

Edited by Lincoln.

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

What you could do, copy paste the code for placing buildings from initserver.sqf into debug and load them in. (you won't be able to edit those objects but at least you see them).

Example:

private _objects = 
[
	["Land_CarService_F", [14618.7,16877.4,18.7724], [[0.750538,-0.660827,0],[0,0,1]], [true, false]],
	["Land_cargo_addon02_V2_F", [14563.7,16776.6,19.4699], [[0.723738,-0.690074,0],[0,0,1]], [false, false]]
	
];

{
	private _object = (_x select 0) createVehicle [0,0,0];
	_object setPosASL (_x select 1);
	_object setVectorDirAndUp (_x select 2);
	_object enableSimulationGlobal ((_x select 3) select 0);
	_object allowDamage ((_x select 3) select 1);
} forEach _objects;

Take that code and load it thru debugcons:

maxresdefault.jpg

  • Like 1

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.