Jump to content

M3Editor - A3 3D Editor


maca134

Recommended Posts

Thanks again, but sadly that didn't cure it either. Unless I'm mistaken, surely changing the mission.sqm wouldn't affect the server as it's starting up, only when the mission is initiated by a player connecting?

 

Really hoping I don't need to create this map edit from scratch again. There was no indication in the M3Editor vehicle lists regarding what addon the objects came from, so I have no idea if they`re part of AiA or not :S

Link to comment
Share on other sites

Not sure if anyone can help with this, I spent a few hours creating an AI Stronghold/Base/Thingy on Altis using the M3editor, and packed it into a pbo. No problem at all, and a fantastic easy tool to use!

 

Problem is, I think I may have accidentally added in some invalid map objects as the server starts up with the following errors; (PLEASE NOTE: This is server side and not the client RPT)

Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
aia_misc3_config
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
aia_buildings_config
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
aia_misc_e_config

My server is running the latest AiATP pack ( and has been for a while) with the start parameters;

@Epoch;@EpochHive;@allinarmaterrainpack;

The AI Base I created looks fine, nothing missing, but the errors still spam the RPT when it starts up. I could just ignore them, but I'd rather fix the problem. I'm assuming whilst building the area, I've used old objects from an old pack or something?

 

Is there an easy way to figure out which objects they are and fix the errors?

 

Many thanks in advance!

Those addons are loaded through the epochah.hpp in the config patches. But they were not added to the mission.sqm.  Simple take the addon it show is missing or deleted and add it to the addOns[]= section of the mission.sqm to stop the messages.:

 

addOns[] = {"A3_Soft_F_Car","A3_Soft_F_Quadbike","a3_soft_f_beta_quadbike","A3_Boat_F_Civilian_Boat","A3_Boat_F_Boat_Transport_01","A3_Air_F_Heli_Light_01","A3_Air_F_Heli_Heli_Transport_04","A3_Air_F_Heli_Heli_Transport_03","aia_chernarus_config","a3_characters_f_gamma","A3_Characters_F_OPFOR","A3_Characters_F_INDEP","A3_Characters_F_Civil","A3_epoch_config","A3_Modules_F_Curator_Curator","a3_characters_f","A3_Data_F_Curator_Virtual","aia_misc3_config","aia_buildings_config","aia_misc_e_config","aia_desert2_config","aia_misc_config"};

Link to comment
Share on other sites

Thanks so much Robio, that sorted it out. Thanks also to Knight too. I grabbed the addon names from Chernarus but that didn't fix it. The fix above from Robio worked great though.

 

Now that's gotten rid of the main errors, it seems the same objects still throw up a 'No owner' error as the server starts too. I can live with those though.

15:23:21 "Starting Custom Content PBO"
15:23:21 c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing!
15:23:21 No owner
15:23:21 No owner
15:23:21 No owner
etc etc...
Link to comment
Share on other sites

Hey Maca, just a thought to save some of the grief from people getting save and export to sqf confused, perhaps change it to "Save Project" instead and make the project files have something like an extension of .m3e or have _project appended to the name.

Link to comment
Share on other sites

That's awesome thanks Maca.

 

I know it's been asked before, any chance for drag selection / moving groups of items if we ctrL+click them or something?

This is useful, another good feature would be to be able to capture an item into the existing list of edits by clicking on it.

Link to comment
Share on other sites

What mod do you use for those tree/cave like objects. Would these objects appear on altis if I put them in the config.cpp?

 

Thanks!

 

Also how do you convert this into a file you can use

  ["Land_Wreck_Traw_F",[2147.24,11596.3,-0.273268],61.3636,8.61445,70.3503,false],
    ["Land_Wreck_Traw2_F",[2130.89,11575.2,-0.585572],319.364,45.943,67.4789,false]

cant use config because the object has been rotated alot.

Link to comment
Share on other sites

First off the Editor is fantastic and I've had not problems with it that I have not created :)  I feel kinda stupid asking this question, but when I switch to night time, my lights dont come on....whats the trick....I placed the models that say on....and while I have you all here how do I go about moving the Camo Nets?

 

Thanks in advance for your help!

Link to comment
Share on other sites

hi
 
I post here my sql file
 
private ["_objs"];
_objs = [
["Land_nav_pier_m_F",[18251.9,19196.7,-3.72969],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18290.7,19201.9,3.89803],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18329.4,19207.2,13.6078],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18368.1,19212.4,25.3648],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18406.8,19217.7,27.5472],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18445.5,19222.9,32.8961],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18484.2,19228.2,35.9305],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18522.9,19233.5,40.3221],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18561.6,19238.7,49.1383],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18600.3,19244,51.4954],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18639,19249.2,48.5463],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18677.7,19254.5,47.285],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18716.4,19259.7,50.403],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18755.1,19265,55.8077],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18793.8,19270.2,66.4414],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18832.6,19275.5,55.1417],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18871.3,19280.7,51.4703],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18910,19286,49.971],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18948.7,19291.2,44.6323],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18987.4,19296.5,33.7699],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19026.1,19301.7,30.1392],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19064.8,19307,24.6195],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19103.5,19312.2,16.704],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19142.2,19317.5,8.22592],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19180.9,19322.7,-2.26157],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19182,19314.9,-2.11417],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19143.3,19309.7,7.83842],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19104.6,19304.4,15.6241],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19065.9,19299.2,23.9702],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[19027.1,19293.9,29.8316],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18988.4,19288.7,33.4222],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18949.7,19283.4,44.3201],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18911,19278.2,49.4546],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18872.3,19272.9,51.1944],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18833.6,19267.7,55.0689],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18794.9,19262.4,66.2938],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18756.2,19257.2,54.6052],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18717.5,19251.9,49.0608],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18678.8,19246.7,45.9812],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18640.1,19241.4,47.3592],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18601.4,19236.1,50.7896],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18562.7,19230.9,49.4093],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18524,19225.6,40.707],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18485.2,19220.4,35.7942],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18446.5,19215.1,32.2135],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18407.8,19209.9,27.5215],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18369.1,19204.6,25.2364],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18330.4,19199.4,12.9706],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18291.7,19194.1,3.43062],352.273,[[-0.134458,0.990919,0],[0,0,1]],false],
["Land_nav_pier_m_F",[18253,19188.9,-4.53589],352.273,[[-0.134458,0.990919,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;
 
 
 
 
 
 
 
and the fn_init.sqf file
 
diag_log "Starting PBO Custom Content";
 
 
call compiles preprocessFileLineNumbers "\ x \ addons \ a3_custom \ mapcontent \ Routes.sqf";
 
 
 
 
 
 
Could you help me as its its not working
 
 
thank you
 

 

Link to comment
Share on other sites

All the items i have placed through the Editor will duplicate when i put them on my server anyone know how to fix this?

If you export as sqf it'll be done for you.

 

You may need to put this around it all though:

 

if (isServer) then {

 

stuff from editor

 

 

};

Link to comment
Share on other sites

If you export as sqf it'll be done for you.

 

You may need to put this around it all though:

 

if (isServer) then {

 

stuff from editor

 

 

};

I exported it but the items i placed in the editor just duplicate each other so lets say i placed down one table then on my server there will be 2 tables in the same place

Link to comment
Share on other sites

I exported it but the items i placed in the editor just duplicate each other so lets say i placed down one table then on my server there will be 2 tables in the same place

Yeah because it's in the mission file and loads another one of everything for every new player who joins. You need to enclose it in the if statement isServer as I showed above so it only loads it once with the server loading the mission file.

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
×
×
  • Create New...