chips360 Posted September 25, 2013 Report Share Posted September 25, 2013 could some one tell me please how to add buildings to my epoch server as i have no idea on how to johnnyzondo 1 Link to comment Share on other sites More sharing options...
0 johnnyzondo Posted October 26, 2013 Report Share Posted October 26, 2013 im also in this position a few friends and I recently rented an Epoch server, many of the buildings arent there. I would also like to add some buildings to the map in various cool locations. alot of the default camps and bases look really cool, so for me its just a matter of how i can place them. SOmepne please respond!!!! -j Link to comment Share on other sites More sharing options...
0 xoleum Posted October 27, 2013 Report Share Posted October 27, 2013 The best way to add buildings in is adding them to the mission.sqf file. The file has a lot of code that looks like this: _vehicle_999 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [4687.4092, 2614.2817, 0], [], 0, "CAN_COLLIDE"]; _vehicle_999 = _this; _this setDir 90; _this setPos [4687.4092, 2614.2817, 0]; }; Basically you just add pieces looking like that in for every building you want. below here is a template, change everything marked with <<this>>. _vehicle_<<number>> = objNull; if (true) then { _this = createVehicle ["<<classname>>", [<<worldpos_x>>, <<worldpos_y>>, <<worldpos_z>>], [], 0, "CAN_COLLIDE"]; _vehicle_<<number>> = _this; _this setDir <<direction>>; _this setPos [<<worldpos_x>>, <<worldpos_y>>, <<worldpos_z>>]; }; <<number>>: unique number, appears 2 times. <<classname>>: the classname of the buiding you want to place. there is a list at http://www.dayzsuperhive.co.uk/object-library.html <<worldpos_x/y/z>>: location where you want to place the building. easiest way to get this is by going to the location in your server, log out, and then read your locaction out of the database. <<direction>>: which way you want the building to face in compass degrees. Link to comment Share on other sites More sharing options...
Question
chips360
could some one tell me please how to add buildings to my epoch server as i have no idea on how to
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now