jjsnacks77 Posted July 8, 2017 Report Share Posted July 8, 2017 Heya! I was admin on a server recently and it got shut down. I liked the way that the Dichina compound looked so I decided to remake it. I searched for Dichina Compounds but could not find the one I was looking for. It's one of my first map edits I've made (except for 2 other compounds on my server). So if you like the look of it, feel free to use it. I have already done the changes so all the loot will spawn (including in the crashed c130) and it has a fuel station that works! (if your server has a re-arm script) Compound has 9 barracks, 1 construction site, 1 shop, 1 fire station, 1 hospital, 2 tents (1 not shown), 1 c130 with loot and 4 castle towers. Screenshots Spoiler Instuctions 1. Make a new folder in your dayz_server.pbo and call it buildings. 2.Make a new file in buildings folder and call it dichina.sqf and copy this code into it (or download this file HERE) Spoiler //Made by Jaay if (isServer) then { _vehicle_1 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit", [3992.5801, 7894.8442, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir -70.0009; _this setPos [3992.5801, 7894.8442, 3.0517578e-005]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Gate", [3977.262, 7840.1563, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir -66.850891; _this setPos [3977.262, 7840.1563, -6.1035156e-005]; }; _vehicle_8 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [3982.583, 7889.6636, 0.027790761], [], 0, "CAN_COLLIDE"]; _vehicle_8 = _this; _this setDir 19.660257; _this setPos [3982.583, 7889.6636, 0.027790761]; }; _vehicle_19 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3985.0481, 7860.0479, -0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_19 = _this; _this setDir -247.89925; _this setPos [3985.0481, 7860.0479, -0.00015258789]; }; _vehicle_22 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3978.3955, 7904.4492, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_22 = _this; _this setDir 19.43928; _this setPos [3978.3955, 7904.4492, -6.1035156e-005]; }; _vehicle_27 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3959.3582, 7911.062, -0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_27 = _this; _this setDir 19.108906; _this setPos [3959.3582, 7911.062, -0.00018310547]; }; _vehicle_29 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3940.5305, 7917.3423, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_29 = _this; _this setDir 19.43928; _this setPos [3940.5305, 7917.3423, -3.0517578e-005]; }; _vehicle_39 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3992.5981, 7878.8271, -0.38466239], [], 0, "CAN_COLLIDE"]; _vehicle_39 = _this; _this setDir -247.89925; _this setPos [3992.5981, 7878.8271, -0.38466239]; }; _vehicle_42 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3921.4832, 7923.8677, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_42 = _this; _this setDir 19.43928; _this setPos [3921.4832, 7923.8677, -6.1035156e-005]; }; _vehicle_54 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3902.749, 7930.6396, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_54 = _this; _this setDir 19.43928; _this setPos [3902.749, 7930.6396, -3.0517578e-005]; }; _vehicle_60 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3967.6636, 7863.3442, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_60 = _this; _this setDir -157.66403; _this setPos [3967.6636, 7863.3442, -3.0517578e-005]; }; _vehicle_62 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3972.4294, 7874.6118, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_62 = _this; _this setDir -157.66403; _this setPos [3972.4294, 7874.6118, -6.1035156e-005]; }; _vehicle_69 = objNull; if (true) then { _this = createVehicle ["MAP_tent_east", [3961.6702, 7830.6206, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_69 = _this; _this setDir 22.70937; _this setPos [3961.6702, 7830.6206, -3.0517578e-005]; }; _vehicle_74 = objNull; if (true) then { _this = createVehicle ["MAP_tent_west", [3958.3259, 7819.563, -0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_74 = _this; _this setDir -157.43262; _this setPos [3958.3259, 7819.563, -0.00015258789]; }; _vehicle_86 = objNull; if (true) then { _this = createVehicle ["Land_A_GeneralStore_01", [3924.1538, 7811.9648, -0.16524132], [], 0, "CAN_COLLIDE"]; _vehicle_86 = _this; _this setDir 24.989426; _this setPos [3924.1538, 7811.9648, -0.16524132]; }; _vehicle_89 = objNull; if (true) then { _this = createVehicle ["Land_a_stationhouse", [3944.1865, 7895.6836, 0.011380561], [], 0, "CAN_COLLIDE"]; _vehicle_89 = _this; _this setDir 20.241148; _this setPos [3944.1865, 7895.6836, 0.011380561]; }; _vehicle_96 = objNull; if (true) then { _this = createVehicle ["Land_A_Hospital", [3881.845, 7837.2827, 0.21811479], [], 0, "CAN_COLLIDE"]; _vehicle_96 = _this; _this setDir -156.13547; _this setPos [3881.845, 7837.2827, 0.21811479]; }; _vehicle_98 = objNull; if (true) then { _this = createVehicle ["Land_A_BuildingWIP", [3831.1362, 7866.0151, 0.40727374], [], 0, "CAN_COLLIDE"]; _vehicle_98 = _this; _this setDir -335.83292; _this setPos [3831.1362, 7866.0151, 0.40727374]; }; _vehicle_103 = objNull; if (true) then { _this = createVehicle ["MAP_Ind_Stack_Big", [3953.0969, 7811.9907, -0.00015258789], [], 0, "CAN_COLLIDE"]; _vehicle_103 = _this; _this setDir 22.453291; _this setPos [3953.0969, 7811.9907, -0.00015258789]; }; _vehicle_106 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3962.1472, 7804.9653, -0.00021362305], [], 0, "CAN_COLLIDE"]; _vehicle_106 = _this; _this setDir -247.89925; _this setPos [3962.1472, 7804.9653, -0.00021362305]; }; _vehicle_107 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3969.7146, 7823.8579, -0.46002197], [], 0, "CAN_COLLIDE"]; _vehicle_107 = _this; _this setDir -247.89925; _this setPos [3969.7146, 7823.8579, -0.46002197]; }; _vehicle_112 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit", [3951.6526, 7791.5991, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_112 = _this; _this setDir 22.953497; _this setPos [3951.6526, 7791.5991, 3.0517578e-005]; }; _vehicle_113 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [3947.0298, 7801.7451, 0.23547432], [], 0, "CAN_COLLIDE"]; _vehicle_113 = _this; _this setDir 112.94304; _this setPos [3947.0298, 7801.7451, 0.23547432]; }; _vehicle_144 = objNull; if (true) then { _this = createVehicle ["MAP_A_FuelStation_Feed", [3943.4792, 7873.1689, 0.21793336], [], 0, "CAN_COLLIDE"]; _vehicle_144 = _this; _this setDir -66.398041; _this setPos [3943.4792, 7873.1689, 0.21793336]; }; _vehicle_145 = objNull; if (true) then { _this = createVehicle ["MAP_A_FuelStation_Shed", [3942.8757, 7871.7529, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_145 = _this; _this setDir 21.679935; _this setPos [3942.8757, 7871.7529, 3.0517578e-005]; }; _vehicle_147 = objNull; if (true) then { _this = createVehicle ["MAP_A_FuelStation_Feed", [3942.446, 7870.3652, 0.27578801], [], 0, "CAN_COLLIDE"]; _vehicle_147 = _this; _this setDir -67.666779; _this setPos [3942.446, 7870.3652, 0.27578801]; }; _vehicle_153 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3912.7222, 7909.938, -0.19302027], [], 0, "CAN_COLLIDE"]; _vehicle_153 = _this; _this setDir -249.81076; _this setPos [3912.7222, 7909.938, -0.19302027]; }; _vehicle_154 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3901.6355, 7914.2788, -0.15852889], [], 0, "CAN_COLLIDE"]; _vehicle_154 = _this; _this setDir -249.81076; _this setPos [3901.6355, 7914.2788, -0.15852889]; }; _vehicle_160 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3890.4072, 7918.5713, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_160 = _this; _this setDir -249.81076; _this setPos [3890.4072, 7918.5713, -6.1035156e-005]; }; _vehicle_161 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3880.3191, 7922.4907, 0.036499023], [], 0, "CAN_COLLIDE"]; _vehicle_161 = _this; _this setDir -249.81076; _this setPos [3880.3191, 7922.4907, 0.036499023]; }; _vehicle_164 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3870.1389, 7926.3184, -0.053336799], [], 0, "CAN_COLLIDE"]; _vehicle_164 = _this; _this setDir -249.81076; _this setPos [3870.1389, 7926.3184, -0.053336799]; }; _vehicle_165 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3860.0955, 7930.3408, 0.0066599241], [], 0, "CAN_COLLIDE"]; _vehicle_165 = _this; _this setDir -249.81076; _this setPos [3860.0955, 7930.3408, 0.0066599241]; }; _vehicle_170 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3883.9644, 7937.3809, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_170 = _this; _this setDir 19.43928; _this setPos [3883.9644, 7937.3809, 6.1035156e-005]; }; _vehicle_173 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3865.0078, 7944.1128], [], 0, "CAN_COLLIDE"]; _vehicle_173 = _this; _this setDir 19.43928; _this setPos [3865.0078, 7944.1128]; }; _vehicle_176 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3847.0417, 7950.5527, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_176 = _this; _this setDir 19.43928; _this setPos [3847.0417, 7950.5527, 6.1035156e-005]; }; _vehicle_178 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3936.0791, 7791.3672, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_178 = _this; _this setDir -155.74356; _this setPos [3936.0791, 7791.3672, -3.0517578e-005]; }; _vehicle_184 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3917.0361, 7799.8228, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_184 = _this; _this setDir -155.74356; _this setPos [3917.0361, 7799.8228, -3.0517578e-005]; }; _vehicle_187 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3898.4675, 7808.2915, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_187 = _this; _this setDir -155.74356; _this setPos [3898.4675, 7808.2915, -9.1552734e-005]; }; _vehicle_190 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3880.5718, 7816.4849, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_190 = _this; _this setDir -155.74356; _this setPos [3880.5718, 7816.4849, -9.1552734e-005]; }; _vehicle_192 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3862.5566, 7824.6514, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_192 = _this; _this setDir -155.74356; _this setPos [3862.5566, 7824.6514, -6.1035156e-005]; }; _vehicle_194 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3844.7234, 7832.7832, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_194 = _this; _this setDir -155.74356; _this setPos [3844.7234, 7832.7832, -9.1552734e-005]; }; _vehicle_196 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3826.4692, 7841.0732, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_196 = _this; _this setDir -155.74356; _this setPos [3826.4692, 7841.0732, -6.1035156e-005]; }; _vehicle_198 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3808.332, 7849.2769, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_198 = _this; _this setDir -155.74356; _this setPos [3808.332, 7849.2769, -9.1552734e-005]; }; _vehicle_204 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit", [3831.0625, 7949.9995, -0.00018310547], [], 0, "CAN_COLLIDE"]; _vehicle_204 = _this; _this setDir -159.79727; _this setPos [3831.0625, 7949.9995, -0.00018310547]; }; _vehicle_205 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [3835.9216, 7940.0366, -0.8268488], [], 0, "CAN_COLLIDE"]; _vehicle_205 = _this; _this setDir -69.313713; _this setPos [3835.9216, 7940.0366, -0.8268488]; }; _vehicle_206 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Bergfrit", [3794.4641, 7860.8208, -0.81414795], [], 0, "CAN_COLLIDE"]; _vehicle_206 = _this; _this setDir -246.21968; _this setPos [3794.4641, 7860.8208, -0.81414795]; }; _vehicle_207 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Stairs_A", [3804.78, 7865.3291, -1.0566564], [], 0, "CAN_COLLIDE"]; _vehicle_207 = _this; _this setDir -156.55852; _this setPos [3804.78, 7865.3291, -1.0566564]; }; _vehicle_213 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3823.0161, 7935.2905, -0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_213 = _this; _this setDir -428.06006; _this setPos [3823.0161, 7935.2905, -0.00012207031]; }; _vehicle_219 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Gate", [3813.325, 7916.2256], [], 0, "CAN_COLLIDE"]; _vehicle_219 = _this; _this setDir -67.859993; _this setPos [3813.325, 7916.2256]; }; _vehicle_223 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3794.7026, 7876.481], [], 0, "CAN_COLLIDE"]; _vehicle_223 = _this; _this setDir -426.68658; _this setPos [3794.7026, 7876.481]; }; _vehicle_225 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3802.6196, 7895.1133, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_225 = _this; _this setDir -427.12094; _this setPos [3802.6196, 7895.1133, -6.1035156e-005]; }; _vehicle_228 = objNull; if (true) then { _this = createVehicle ["MAP_A_Castle_Wall1_20", [3804.3765, 7899.2075, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; _vehicle_228 = _this; _this setDir -427.12094; _this setPos [3804.3765, 7899.2075, -6.1035156e-005]; }; _vehicle_232 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [3849.584, 7934.23], [], 0, "CAN_COLLIDE"]; _vehicle_232 = _this; _this setDir -249.81076; _this setPos [3849.584, 7934.23]; }; _vehicle_241 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [3893.7273, 7873.6709], [], 0, "CAN_COLLIDE"]; _vehicle_241 = _this; _this setDir 23.51086; _this setPos [3893.7273, 7873.6709]; }; _vehicle_244 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [3866.0935, 7884.9648], [], 0, "CAN_COLLIDE"]; _vehicle_244 = _this; _this setDir 23.51086; _this setPos [3866.0935, 7884.9648]; }; _vehicle_246 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [3839.8059, 7896.1855, 0], [], 0, "CAN_COLLIDE"]; _vehicle_246 = _this; _this setDir 23.51086; _this setPos [3839.8059, 7896.1855, 0]; }; _vehicle_248 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [3936.3003, 7841.6855], [], 0, "CAN_COLLIDE"]; _vehicle_248 = _this; _this setDir 23.51086; _this setPos [3936.3003, 7841.6855]; }; _vehicle_250 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [3912.8979, 7851.3042], [], 0, "CAN_COLLIDE"]; _vehicle_250 = _this; _this setDir 23.51086; _this setPos [3912.8979, 7851.3042]; }; _vehicle_252 = objNull; if (true) then { _this = createVehicle ["Haystack", [3883.1626, 7889.6284, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_252 = _this; _this setDir -66.554932; _this setPos [3883.1626, 7889.6284, -3.0517578e-005]; }; _vehicle_266 = objNull; if (true) then { _this = createVehicle ["Land_Misc_Cargo1Eo_EP1", [3883.8828, 7859.9702, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_266 = _this; _this setDir 46.111908; _this setPos [3883.8828, 7859.9702, 3.0517578e-005]; }; _vehicle_267 = objNull; if (true) then { _this = createVehicle ["Misc_Cargo1Bo_military", [3903.209, 7883.4272, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_267 = _this; _this setDir -56.535347; _this setPos [3903.209, 7883.4272, 3.0517578e-005]; }; _vehicle_271 = objNull; if (true) then { _this = createVehicle ["PowGen_Big", [3887.3423, 7856.9644, 0.00012207031], [], 0, "CAN_COLLIDE"]; _vehicle_271 = _this; _this setDir 47.426956; _this setPos [3887.3423, 7856.9644, 0.00012207031]; }; _vehicle_277 = objNull; if (true) then { _this = createVehicle ["C130J_wreck_EP1", [3916.4727, 7847.3296, 0.22947571], [], 0, "CAN_COLLIDE"]; _vehicle_277 = _this; _this setDir 118.24355; _this setPos [3916.4727, 7847.3296, 0.22947571]; }; _vehicle_279 = objNull; if (true) then { _this = createVehicle ["Body2", [3845.9949, 7903.7925, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; _vehicle_279 = _this; _this setPos [3845.9949, 7903.7925, -3.0517578e-005]; }; _vehicle_281 = objNull; if (true) then { _this = createVehicle ["UH60_ARMY_Wreck_DZ", [3841.4514, 7907.3208, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; _vehicle_281 = _this; _this setDir -12.127618; _this setPos [3841.4514, 7907.3208, 9.1552734e-005]; }; }; 3.Navigate to dayz_server/init/server_functions.sqf and add this code at the bottom of your file. If you already have a custom buildings folder elsewhere, just change the directory to match yours. Spoiler //Map edits by Jaay call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\dichina.sqf"; 4.Repack your PBO and upload to your server. Optional Marker If you would like to add a map marker to your server follow below. Screenshot Spoiler 1. Go to mpmissions and open up your mission.sqm 2.Find where it says class Markers and add another marker. I already have my marker in here. Spoiler class Item26 { position[]={8568,76,8114}; name="Black Forrest Barracks"; text="Barracks"; type="mil_box"; colorName="ColorPink"; }; class Item27 { position[]={3893,29,7873}; name="Dichina Barracks"; text="Barracks"; type="mil_box"; colorName="ColorPink"; }; class Item28 { position[]={13461,9,3328}; name="Mines"; text="Mines"; type="mil_triangle"; colorName="ColorBlue"; }; }; 3.Edit the marker details to your preference. The text will be the one shown in game. You can find a list of markers here. For the colours, I could not find a post for it but you can use. Black, Green, Red, Blue, Orange, Pink... (you can use the coordinates that I have posted if you wish, they are centered on a helipad at this compound) 4.Go to the top of class Markers and find where it says items=xx; You will need to add 1 number to this or else you will not load in. Spoiler class Markers { items=29; class Item0 { position[]={7839,0,8414}; name="center"; type="Empty"; a=7500;b=7000; }; class Item1 { position[]={-18700,0,25800}; name="respawn_west"; type="Empty"; }; 5.Upload mission.sqm to your server and give it a shot! I hope I didn't make any mistakes on this post as I haven't posted my own content on here. Regards. Hooty 1 Link to comment Share on other sites More sharing options...
Hooty Posted July 10, 2017 Report Share Posted July 10, 2017 that would make a killer battlefield. jjsnacks77 1 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