imranh101 Posted February 8, 2015 Report Share Posted February 8, 2015 Okay so I generated my .sqf and copied it all into the fn_init.sqf and packed the PBO back up and plopped it into @Epochhive/addons and nothing showed up. Am I missing something? Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 8, 2015 Report Share Posted February 8, 2015 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. Link to comment Share on other sites More sharing options...
imranh101 Posted February 8, 2015 Report Share Posted February 8, 2015 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 More sharing options...
Darth_Rogue Posted February 8, 2015 Report Share Posted February 8, 2015 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. Bornholm map addons.zip Link to comment Share on other sites More sharing options...
imranh101 Posted February 8, 2015 Report Share Posted February 8, 2015 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. Bornholm 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 More sharing options...
Darth_Rogue Posted February 8, 2015 Report Share Posted February 8, 2015 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 More sharing options...
imranh101 Posted February 8, 2015 Report Share Posted February 8, 2015 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 More sharing options...
henk Posted February 9, 2015 Report Share Posted February 9, 2015 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 More sharing options...
Darth_Rogue Posted February 9, 2015 Report Share Posted February 9, 2015 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 More sharing options...
imranh101 Posted February 9, 2015 Report Share Posted February 9, 2015 Yeah that sounds right. Zip your PBO up and upload it here and I'll take a look at it. I was already getting ready to upload it but... I can't figure out how, lol... Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 9, 2015 Report Share Posted February 9, 2015 When making a new post select "Use Full Editor" or "More Reply Options". You'll then have the option to upload a file. Once the file is uploaded, click the button that says "Include file in post". Link to comment Share on other sites More sharing options...
imranh101 Posted February 9, 2015 Report Share Posted February 9, 2015 Roger that, here it is!! a3_epoch_custom.zip Link to comment Share on other sites More sharing options...
umfufu Posted February 9, 2015 Report Share Posted February 9, 2015 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 More sharing options...
Darth_Rogue Posted February 9, 2015 Report Share Posted February 9, 2015 Roger that, here it is!! a3_epoch_custom.zip I'm working on another project at the moment. Gimme a little bit to test this out and I'll get back to you via PM. imranh101 1 Link to comment Share on other sites More sharing options...
imranh101 Posted February 9, 2015 Report Share Posted February 9, 2015 I'm working on another project at the moment. Gimme a little bit to test this out and I'll get back to you via PM. Thanks so much bro, you've been an immense help :) Link to comment Share on other sites More sharing options...
jjvaardt Posted February 9, 2015 Report Share Posted February 9, 2015 Hi, i'm kinda new to the whole scripting thing, is there a way to run this http://www.armaholic.com/page.php?id=24184 server side so my players dont need to download it on their side? i want to build an AI base using the rock walls Link to comment Share on other sites More sharing options...
Cockney Reeper Posted February 10, 2015 Report Share Posted February 10, 2015 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 More sharing options...
Talib Posted February 13, 2015 Report Share Posted February 13, 2015 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 More sharing options...
Darth_Rogue Posted February 13, 2015 Report Share Posted February 13, 2015 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 More sharing options...
prone Posted February 13, 2015 Report Share Posted February 13, 2015 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 More sharing options...
Talib Posted February 13, 2015 Report Share Posted February 13, 2015 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 More sharing options...
Darth_Rogue Posted February 13, 2015 Report Share Posted February 13, 2015 Correct. :) Link to comment Share on other sites More sharing options...
Kroenen Posted February 14, 2015 Report Share Posted February 14, 2015 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 More sharing options...
TheKnightTemplar Posted February 14, 2015 Report Share Posted February 14, 2015 If you've added AiA objects into Altis, make sure the addOns[] and addOnsAuto[] in the mission.sqm file looks more like the Chernarus one than the Altis one. Link to comment Share on other sites More sharing options...
Kroenen Posted February 14, 2015 Report Share Posted February 14, 2015 Thanks bud, I'd take a look at that but for some bizarre reason, Notepad++ is not displaying my .sqm files properly anymore :( Anything in particular I'm looking for in there? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now