Guide to adding Custom Bases

1 post in this topic

         So, i decided to add a few guides, starting with adding objects to a server. 

  There a several options to adding custom bases / objects to a map, some use the PBO file inside your ExileServer/Addons section to custom spawn / protect spawned items. This guide will show the easier, but sometimes less rewarding method. 

1: Pre-make any base you wish to add into the game... you can do that either through the Eden Editor on Arma 3, or you can go ahead and use the M3Editor Mod and launch your game before entering the Editor. 

2: After you are done saving the MP Mission (The name of the file you saved  [Located in your Documents/Arma3/MPmissions], when you made the base/mission.sqm), launch the game with M3Editor (if you have not already done so).

3: Open that file you made with the base on it, and go to the M3Editor Tab on the Top when inside the Editor, and Click "Export all", then click "Copy"

4: You will notice that the "Copy" function will also include something like "_PrivateObjects", ............ it's just something that happens at the end of each mission/base you made. I will refer to this in the next step.

5: Inside your MPMissions (Altis.pbo/other.pbo), locate the "InitServer.sqf", and look for...

                             ------>         private _objects = 
                                                 ["Land_CarService_F", [14618.7,16877.4,18.7724], [[0.750538,-0.660827,0],[0,0,1]], [false, false]],


5(Continued) ... Notice how this section opens and ends near the bottom of the file, with comma's in-between each object that is being spawned into your map when you start the server?. You are going to want to stay within the brackets and not leave this one for the simplest method of doing this.

6: From Step (3), you should have copied all the Locations and such for your objects that you created in your Mission.sqm (Custom made). Go to the File from STEP (5) and click somewhere after a object call (Where the line ends with a comma before starting a new object), and simply "Paste" what you have done from STEP (3) into that section.   

7: Make sure that after you "Paste" you delete the extra ,( Look below), that was made by you copying over the Base from the M3Editor. There will be a natural section for "private_object" that occurs naturally after that bracket closes... 

                  private _object = (_x select 0) createVehicle [0,0,0];
                    _object setPosASL (_x select 1);
                    _object setVectorDirAndUp (_x select 2);
                    _object enableSimulationGlobal ((_x select 3) select 0);
                     _object allowDamage ((_x select 3) select 1);
                  } forEach _objects;


8: Now you have basically finished the whole process. Just simply your MP mission that you use for your server, and replace the old one (PLEASE ALWAYS BACKUP THE OLD FILES :P )

There you go. If these instructions are not clear, or someone gets stumped, please reply to this forum section, as i tend to be on here very frequently. 


Share this post

Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.