Jump to content

M3Editor - A3 3D Editor


maca134

Recommended Posts

You don't copy the generated code into the fn_init.  You save the generated code as an SQF file, paste the file into the PBO in the "mapcontent" folder and then in fn_init you call the SQF file you created and pasted into mapcontent.

Gotcha. I got the generated sqf file, popped it into mapcontent as "hangers.sqf" and then added a call for it in the fn_init.sqf 

 

Still not seeing anything though :( Do I need to add hangers.sqf to scripts.txt?

Link to comment
Share on other sites

No because it's being called server side.  Here's mine for reference.  Don't try to use these on Chernarus though because they're for Bornholm and they'll pop in weird places.  

 

attachicon.gifBornholm map addons.zip

Hrmmm, my call is similar. Here is what is inside the sqf it calls... 

[
    ["Land_Hangar_F",[4521.25,10540.5,0],150,0,0,false],
    ["Land_Hangar_F",[4491.34,10524.7,0],150,0,0,false],
    ["Land_Airport_Tower_F",[4319.13,10914.8,0],54.0909,0,0,false],
    ["Land_Mil_ControlTower_EP1",[4428.79,10567.4,0],152.727,0,0,false],
    ["Land_Hangar_2",[4489.65,10649.9,0],240,0,0,false],
    ["Land_Hangar_2",[4474.19,10676.7,0],240,0,0,false],
    ["Land_Hangar_2",[4454.35,10711,0],240,0,0,false],
    ["Land_Hangar_2",[4977.6,9938.55,0],94.0909,0,0,false],
    ["Land_Ss_hangar",[4790.18,10104.1,0],240,0,0,false],
    ["Land_Ss_hangar",[4829.65,10036.7,0],240,0,0,false],
    ["Land_Ss_hangar",[4855.56,9991.83,0],240,0,0,false],
    ["Land_Ss_hangar",[4881.46,9946.95,0],240,0,0,false],
    ["Land_WIP_F",[4709.24,10647.8,0],327.727,0,0,false],
    ["Land_WIP_F",[4728.58,10698.4,0],235.455,0,0,false],
    ["Land_Crane_F",[4719.13,10632.2,0],231.818,0,0,false],
    ["Land_a_stationhouse",[12105.2,12641.2,0.000335693],165.001,0,0,true],
    ["Land_Hangar_2",[11950.7,12713.7,0],197.727,0,0,true],
    ["Land_Hangar_2",[11920.8,12723.4,-0.00502014],197.719,0,0,true],
    ["Land_Hangar_2",[12250.8,12598.9,-0.0299225],197.719,0,0,true],
    ["Land_Hangar_2",[12308.9,12580.5,-0.0302734],197.716,0,0,true],
    ["Land_Hangar_2",[12181.7,12625.9,-0.031311],198.163,0,0,true],
    ["Land_Hangar_2",[4882,2473.66,6.29425e-005],27.6364,0,0,false],
    ["Land_Hangar_2",[4836.88,2498.23,6.29425e-005],27.6364,0,0,false],
    ["USMC_WarfareBFieldhHospital",[4659.55,2505.5,0],210,0,0,false],
    ["USMC_WarfareBFieldhHospital",[4667.22,2482.6,0],119.545,0,0,false],
    ["USMC_WarfareBFieldhHospital",[12224.5,9739.05,0],193.636,0,0,false],
    ["USMC_WarfareBFieldhHospital",[12273.2,9727.25,0],11.8182,0,0,false]
]

Is it not working because I'm misssing 

 
 
private ["_objs"];
_objs = [

??

Or is does my file NEED to be named "a3_custom"? Currently it is "A3_epoch_custom".

Link to comment
Share on other sites

Looks like you're missing more than that.  When you're in the editor and you're finished with the project, make sure to use the "Export to SQF" option.  It looks like you just did a "Save" with what you've got now.  That works fine for saving your progress so you can open the file later in the editor and do more work with your project, but it won't work when trying to load the buildings into the server.  

 

So....what I would recommend from here is to go back into the editor, open the file that you have already saved and verify that everything looks like it should.  Once you've double checked it, do an "Export to SQF".  Then you can paste that file into the PBO.

Link to comment
Share on other sites

Looks like you're missing more than that.  When you're in the editor and you're finished with the project, make sure to use the "Export to SQF" option.  It looks like you just did a "Save" with what you've got now.  That works fine for saving your progress so you can open the file later in the editor and do more work with your project, but it won't work when trying to load the buildings into the server.  

 

So....what I would recommend from here is to go back into the editor, open the file that you have already saved and verify that everything looks like it should.  Once you've double checked it, do an "Export to SQF".  Then you can paste that file into the PBO.

Whelp, I went back in and loaded it and exported the SQF. Popped it into the PBO and called it, still fuckin' nothing. 

call compile preprocessFileLineNumbers "\x\addons\a3_epoch_custom\mapcontent\hangers.sqf";    

 

I have hangers.sqf in the PBO, a3_epoch_custom\mapcontent ... And this is the .sqf exported from M3. And then I put a3_epoch_custom.pbo in @epochhive/addons

 

All of that correct...?

Link to comment
Share on other sites

oke when i made something i finish with it and my friend has to put it on his server how shute i save or export it and what shut i send him to make it work every time and every thing is send him doesn't work :( he dos not she the things i make only the stuff i made in the arma3 editor 

Link to comment
Share on other sites

Whelp, I went back in and loaded it and exported the SQF. Popped it into the PBO and called it, still fuckin' nothing. 

call compile preprocessFileLineNumbers "\x\addons\a3_epoch_custom\mapcontent\hangers.sqf";    

 

I have hangers.sqf in the PBO, a3_epoch_custom\mapcontent ... And this is the .sqf exported from M3. And then I put a3_epoch_custom.pbo in @epochhive/addons

 

All of that correct...?

 

Yeah that sounds right.  Zip your PBO up and upload it here and I'll take a look at it.

Link to comment
Share on other sites

oke when i made something i finish with it and my friend has to put it on his server how shute i save or export it and what shut i send him to make it work every time and every thing is send him doesn't work :( he dos not she the things i make only the stuff i made in the arma3 editor 

Read my post on Building custom base (#175)

 

In feite simpel

 
Link to comment
Share on other sites

Ive tried both editors, and have found they both have some real issues, now I know that the A3 editor will not be addressed as it clearly says on my copy obsolete..(or is there another ?)

 

And Macca's really looks promising but seems really buggy..theres certainly a saving issue, spent couple of hours on an addition,

saved to sqf (think this was suggested earlier) to find when re-imported that loads had moved, and no way too re edit..

 

I installed through A3 launcher and enabled in expansions, so I know there not installed wrongly,,,any suggestions appreciated..

Link to comment
Share on other sites

Hi, I would like custom 3 point three spawn on altis.

The problem is that it's impossible to charge my config.ccp in arma3 editor  :huh:

I end up with an original empty cardI end up with an original blank card without the trader spawn ect ... -_-

 

Someone could tell me how to load my mission altis_epoch ????

Link to comment
Share on other sites

M3Editor can't open what you copy and paste out of the config.cpp.  It's not properly formatted.  You can edit it so that the editor can open it but it's a lot of work.  One missing comma or wrong bracket and it still won't open, which can drive you batty trying to find a single error among hundreds of lines of code.  Your best bet would be to start over with three new locations and then just remove the stock items from the config.cpp when you're done.  

Link to comment
Share on other sites

Hi, I would like custom 3 point three spawn on altis.

The problem is that it's impossible to charge my config.ccp in arma3 editor  :huh:

I end up with an original empty cardI end up with an original blank card without the trader spawn ect ... -_-

 

Someone could tell me how to load my mission altis_epoch ????

 

Very easy to do. Utilize M3Editor and place a small object of where you want your "traders" to be. Copy that data to your clipboard and basically plug in the coordinates in your config.cpp file.

 

To add a portal in the spawn area, i basically spawned a go kart where i wanted the portal to be and utilized those coordinate from the spawn menu log after i deleted the gokart from the exact location i wanted my portal.

 

Think outside the box etc.

Link to comment
Share on other sites

M3Editor can't open what you copy and paste out of the config.cpp.  It's not properly formatted.  You can edit it so that the editor can open it but it's a lot of work.  One missing comma or wrong bracket and it still won't open, which can drive you batty trying to find a single error among hundreds of lines of code.  Your best bet would be to start over with three new locations and then just remove the stock items from the config.cpp when you're done.  

Hi, thank you so I doubt it so I'll just do it again cerate better.
Cinon I should just come to change this
 
["Land_Cargo_Tower_V2_F",[13363.3,14456,4.43594],67.6548,0,0,false],   GOOD (])
{"Land_Cargo_Tower_V2_F",{13363.3,14456,4.43594},67.6548,0,0,false},  NO GOOD ({ })
 
This IS JUST
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!

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...