Jump to content
leonidmanylov

Eden 3d editor exporting objects SQF file in the server part

Recommended Posts

Hello gentlemen, a new editor has very good production crew visualize the results. But there is no output in the format needed for the Addons server. And I was thinking, maybe we shouldn't invent the wheel anew, but to use the formula from 3D editor MACA134 ? Namely, 3D eden has a conclusion in terrain builder:

"Map_altis_F";210119.390625;15894.543945;0;-1.75647;-1.06973;1;120.467705;"Compass_F";210119.203125;15893.938477;0;-1.75647;-1.06973;1;120.482971;
"Truck_01_covered_F";210130.28125;15924.110352;195.043;-0.764;-1.298;1;119.149605;
"BarGate_F";210120.140625;15907.850586;108.265;-0;-0;1;119.222244;
"LampStreet_F";210123.234375;15912.606445;189.736;-0;-0;1;119.183304;
"BagBunker_Small_F";210118.75;15900.03125;108.066;-1.60389;-0.840233;1;119.405296;
"Wall_IndCnc_4_F";210123.421875;15916.704102;109.865;-0;-0;1;119.123772;
"Wall_IndCnc_4_F";210125.484375;15922.316406;111.145;-0;-0;1;119.0652466;
"Wall_IndCnc_4_F";210127.703125;15927.950195;111.145;-0;-0;1;119.0280914;
"Crash_barrier_F";210110.171875;15904.380859;18.2583;-0;-0;1;119.216805;
"Crash_barrier_F";210114.28125;15916.963867;197.112;-0;-0;1;118.987885;
"Oil_spill";210125.484375;15917.262695;0;-0.916639;-1.68016;1;119.149681;
"CargoNet_01_barrels_F";210125.5;15918.537109;0;-0.916639;-1.68016;1;119.128456;
"LampStreet_F";210134.84375;15931.192383;160.36;-0;-0;1;119.0168457;
"Wall_IndCnc_4_F";210131.4375;15932.163086;152.052;-0;-0;1;118.948097;
"Wall_IndCnc_4_F";210136.90625;15933.0126953;191.284;-0;-0;1;119.817589;
"CargoNet_01_barrels_F";210135.96875;15931.253906;0;-1.29845;-1.06936;1;119.0368195;
"CanisterFuel_F";210138.640625;15931.0195313;0;-1.29845;-1.06936;1;119.0918121;
"CanisterPlastic_F";210137.796875;15930.125977;0;-1.29845;-1.06936;1;119.0963516;
"FireExtinguisher_F";210134.359375;15931.538086;0;-1.29845;-1.06936;1;118.999916;
"Tyre_F";210132.9375;15931.90625;0;-1.29845;-1.06936;1;118.965118;
"BarGate_F";210154.234375;15896.982422;107.228;-0;-0;1;120.49675;
"BagBunker_Small_F";210149.03125;15889.494141;286.749;-2.36687;-1.22205;1;120.575836;
"Mast_F";210148.75;15887.523438;0;-0;-0;1;120.63221;
"TentA_F";210141.078125;15883.888672;199.092;-2.21435;-1.06936;1;120.523102;
"GarbageBags_F";210145.515625;15882.791016;0;-1.37487;-1.90916;1;120.704918;
"Garbage_square5_F";210142.953125;15887.544922;199.222;-2.74809;-1.90916;1;120.437065;
"Crash_barrier_F";210169.4375;15898.962891;197.112;-0;-0;1;121.174301;
"Crash_barrier_F";210165.953125;15886.341797;18.2583;-0;-0;1;121.392609;
"Crash_barrier_F";210158.59375;15888.765625;18.2583;-0;-0;1;121.250389;
"Garbage_line_F";210146.421875;15888.0605469;194.545;-2.36687;-2.29064;1;120.586464;
"HBarrier_3_F";210149.140625;15885.209961;107.04;-2.36687;-1.22205;1;120.699287;
"HBarrier_3_F";210148.046875;15881.975586;107.04;-1.37487;-0.840466;1;120.769691;
"HBarrier_3_F";210146.3125;15879.797852;10.6959;-1.37487;-1.90916;1;120.754883;
"HBarrier_3_F";210142.953125;15880.779297;19.9901;-2.21435;-1.06936;1;120.64563;
"Bench_02_F";210147.703125;15885.873047;106.096;-0;-0;1;120.678391;
"CanisterOil_F";210144.84375;15882.387695;0;-1.37487;-1.90916;1;120.684525;
"LampStreet_F";210153.3125;15902.732422;189.736;-0;-0;1;120.353668;
"LampStreet_F";210150.203125;15928.194336;189.736;-0;-0;1;119.927582;
"dp_transformer_F";210157.640625;15911.169922;286.047;-0;-0;1;120.457443;
"ScrapHeap_1_F";210141.53125;15929.755859;111.462;-1.98544;-4.11823;1;119.273567;
"Crash_barrier_F";210162.21875;15901.161133;197.112;-0;-0;1;121.0529251;
"Tyres_F";210152.34375;15927.371094;0;-359.389;-5.63492;1;120.126091;
"HBarrier_3_F";210157.625;15906.758789;290.404;-0.382061;-2.4432;1;120.449066;
"HBarrier_3_F";210156.578125;15903.694336;107.04;-0.840233;-1.98544;1;120.446129;
"JunkPile_F";210154.53125;15906.811523;0;-0.840233;-1.90916;1;120.341919;
"PaperBox_open_empty_F";210145.1875;15928.731445;0;-1.98544;-4.11823;1;119.559456;
"CargoNet_01_barrels_F";210148.265625;15928.908203;0;-1.98544;-3.05281;1;119.760658;
"GarbageBarrel_01_F";210156.265625;15923.897461;0;-359.389;-2.13817;1;120.40284;
"FireExtinguisher_F";210149.796875;15929.34082;0;-359.389;-5.63492;1;119.903557;
"MRAP_01_unarmed_F";210147.984375;15910.892578;67.51;-0.382;-1.909;1;120.0862122;
"Wall_IndCnc_4_F";210148.453125;15930.743164;191.356;-0;-0;1;120.0948639;
"Wall_IndCnc_4_F";210142.65625;15931.859375;191.284;-0;-0;1;119.975227;
"Scrap_MRAP_01_F";210192.46875;15894.46582;101.656;-1.60389;-0;1;121.67778;
"Crash_barrier_F";210173.46875;15883.829102;18.2583;-0;-0;1;121.467613;
"Crash_barrier_F";210176.859375;15896.688477;197.112;-0;-0;1;121.415535;
"SignM_WarningUnexplodedAmmo_F";210186.65625;15893.378906;288.862;-0;-0;1;121.668999;
"LampStreet_F";210175.59375;15905.813477;17.179;-0;-0;1;121.329834;

And there is a formula

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

I'm not good in coding, but the thought is in the right direction, not to bother, and to use what is there already. If you have any ideas, add to my thoughts please.

 

Share this post


Link to post
Share on other sites

IF

version from 3d editor MACA134

 

               0                                                1                      2                         3                               4

["Land_ChairPlastic_F",        [20793,7270.59,0],56.4546,[[0.833448,0.552598,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;

else

variable from me

"BagBunker_Small_F";             210118.75;15900.03125;108.066;         -1.60389;-0.840233;1;           119.405296;false;

           object                              coordinates                                                  Dir And Up                         direction

 

               0                                                    1               2                  3                       4          5                                            6             7

 

{private ["_obj"];

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

 
 
 
maybe i'm right or not? correct me

Share this post


Link to post
Share on other sites

This link will not work for me. I built 3 bridges in Tanoa and it toke me about 6 hours. I cant do any thing with them. I tried to export to a sqf so I could put them on my server. That did not work. I am looking and trying to find a way.

Tried the addon M3 Editor 0.18, but it will crash my arma 3 after using it of more then a minute. I dont know what to do. Any help I thank you in advance.

Share this post


Link to post
Share on other sites

download mod Ares -->preview the missions enter zues --> util -->add object to zeus --> save/load ---> export to sqf

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×