Sign in to follow this  
Followers 0
WURSTKETTE

Edeneditor to old m3editor

2 posts in this topic

Hey guys,

 

i placed some objects in edeon for a static dms mission.

I'm looking to get the old m3editor 0.18 format from @maca134 wich looks like that:

 

["Land_CncBarrierMedium4_F",[1788.21,7947.5,0.0206699],151.258,[[0,1,0],[0,0,1]],false],

 

The m3editor - EDEN addon provides me that output format:

["Land_CncBarrierMedium4_F",[1788.21,7947.5,16.8202],[[0.480872,-0.876791,0],[0,0,1]],false],

 

I used to exec following to get all objects copied into m3editor but for some reasons the old editor doesn't recognize all objects (over 400 missing)

Spoiler

{
_dir = getdir _x;
_object setVariable ['M3E_dir', _dir, true];
_object setVariable ['M3E_pitch', 0, true];
_object setVariable ['M3E_bank', 0, true];
_object setVariable ['M3E_followterrain', false, true];
_object setVariable ['M3E_position', position _x, true];
M3E_insertedObjects pushBack _x;
}
forEach allMissionObjects "All";
call M3E_fnc_loadSpawnedList;

The Exileedenpluging and E3EDEN plugin also not giving me the needed ouput.

Any ideas?

Share this post


Link to post
Share on other sites

To get the m3-Editor format in Eden, try this:

The only missing thing is the last "false", but you can add it with 

_obj = [typeof _x,_pos,getdir _x,[vectorDir _x, vectorup _x],false];

 

Edited by He-Man

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.