Jump to content

How to make Custom map content [ Tutorial & Ongoing Support ]


Poncho

Recommended Posts

I have heard that if you leave those buildings labeled as vehicles, does that affect the amount of vehicles being spawned in on your server? I have no idea of this, it was mentioned to me by someone who heard about that being an issue. They said to changed them into items? Could someone elaborate on that?

 

Correct, although all buildings are classed as vehicles in the arma engine :)

 

Instead of :

_vehicle_192 = objNull;
if (true) then
{
_this = createVehicle ["Land_a_stationhouse", [5160.0171, 2183.0002, 0.14117265], [], 0, "CAN_COLLIDE"];
_vehicle_192 = _this;
_this setDir 211.89264;
_this setPos [5160.0171, 2183.0002, 0.14117265];
};

Use bldObj

_bldObj_192 = objNull;
if (true) then
{
_bldObj = createVehicle ["Land_a_stationhouse", [5160.0171, 2183.0002, 0.14117265], [], 0, "CAN_COLLIDE"];
_bldObj_192 = _this;
_bldObj setDir 211.89264;
_bldObj setPos [5160.0171, 2183.0002, 0.14117265];
};

Use Notepad++ and search for _vehicle and _this then replace with _bldObj

Link to comment
Share on other sites

Hi, great tutorial man.

 

I have a question about items that are already in the map. I would like to remove some plants from the map to create a new runway. How would i do that?

ClutterCutter might do it, it's mainly for grass but it might remove smaller plants.

Link to comment
Share on other sites

Sorry this is my first time editing..... where do i get the clutter cutter? and another noob question, how do i spawn roads and buildings level. for instance i drop a bridge of skal island, but its diagnol in the water. i can rotate and raise and drop. thanks for your help

Link to comment
Share on other sites

Sorry this is my first time editing..... where do i get the clutter cutter? and another noob question, how do i spawn roads and buildings level. for instance i drop a bridge of skal island, but its diagnol in the water. i can rotate and raise and drop. thanks for your help

CluterCutter is one of the objects in the editor, it has 3 sizes and basically hides the grass/plants under it, think of it like a lawn mower :)

Roads are under the Map_EU addon, enable it in expansions.

You can set height manually and also use setvectorup to level things, it's a pain in the arse getting things exacty right, good luck.

Link to comment
Share on other sites

thanks again, what do i click on for manually entering the hieght? sorry for all the questions, i just installed this about 30 mins ago lol. :)

It's been a long time since i played in the ArmA 2 editor, I'm sure you can move things when viewing in the 3d editor.

Alternatively the coordinates are [x,y,z] z being the height

example : 100,100,500

 

so that's 100 meters down the map, 100 meters across and 500 meters in the air

Link to comment
Share on other sites

so for the life of me survival servers kept kicking me for this map file. so i went to dayz.st, there it always froze on server authen. i had an idea and opened the cher map 11 folder and aded it to the mission folder there. it works. my only concern is is this the right way where it wont lag the server?

Link to comment
Share on other sites

Make a new folder and call it map_edits and then open up your server_functions.sqf

At the very bottom add the following (Remember to change your map edits file name)

call compile preProcessFileLineNumbers "z\addons\dayz_server\map_edits\Your_New_File.sqf";
Link to comment
Share on other sites

thanks again man, this really helped me out. I was wondering if you may know where i can find these mods? is there a site that has them all for download?

 

Walking Dead Zombie Behavior
Emerald Interior Designer(Buy and build indoor items for your perfect base)
Animated Plane/Helicopter Crashes (Replaced original crashes with animated ones)

Modified Vehicle Towing & Lifting (Modified for realism)
Auto Refuel, Rearm and Repair (refuel free, others not)
Intro Radio Transmission (Emergency Government Broadcast Clip about the zombie virus)
Welcome Credits (please read)
Custom Loadout (pistol, medical, map and toolbox)
Modified Salvage Script (allows salvaging of all vehicle parts)
Suicide Head Shot (For when the apocalypse gets to be a it much for you and you just can't take any more)
No Plot Pole Required to Build (but can still be used to stop others building in your base)
Para-Spawn (Spawn into our servers like a bad ass, Skydiving)
AI Air & Vehicle Patrols (if a vehicle patrol spots you, they will eject and become ground units)
Safe Zones & Anti Theft (Gotta have somewhere you can let you guard down and unwind in the apocalypse)
Zombies Will Attack Vehicles
Weight Limit Removed (No more getting stuck over-encumbered for ever)
Quick Build (Build each object with only 2 stages)

Water Mark (in case you forget who's server your playing on)
Snap Building (Build the perfect bases with all your parts lined up exactly)
Custom Load Screen
AI Mission
+ Four Non-AI Mission Events

Link to comment
Share on other sites

  • 2 weeks later...

Hi there..Just a question...So i am trying to add Barracks and a few other things in balota, But when i get in to test, nothing appears....... PS i did make a city, and did raise my max vehicle to 500 (reg 300)...And still nothing 

if (isServer) then {

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_bouda2_vnitrek", [3888.0918, 6949.645, -0.15539938], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 166.31947;
  _this setPos [3888.0918, 6949.645, -0.15539938];
};

_vehicle_15 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_HouseV2_04_interier", [3912.5542, 6922.2153, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_15 = _this;
  _this setDir -134.11742;
  _this setPos [3912.5542, 6922.2153, -6.1035156e-005];
};

_vehicle_16 = objNull;
if (true) then
{
  _this = createVehicle ["dum_olez_istan2_maly2", [3896.1272, 6928.2783, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_16 = _this;
  _this setDir 227.09047;
  _this setPos [3896.1272, 6928.2783, -6.1035156e-005];
};

_vehicle_17 = objNull;
if (true) then
{
  _this = createVehicle ["dum_olez_istan2_maly2", [3890.7136, 6934.3501, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_17 = _this;
  _this setDir 47.981174;
  _this setPos [3890.7136, 6934.3501, -3.0517578e-005];
};

_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_HouseV2_04_interier_dam", [3880.2371, 6918.5977, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setDir 45.332211;
  _this setPos [3880.2371, 6918.5977, 9.1552734e-005];
};

_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_GeneralStore_01", [3889.6028, 6871.8984, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setDir 38.635788;
  _this setPos [3889.6028, 6871.8984, 6.1035156e-005];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Office01", [3933.4697, 6901.167, 0.38303894], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setDir 45.976654;
  _this setPos [3933.4697, 6901.167, 0.38303894];
};

_vehicle_22 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Hospital", [3915.4116, 7008.6265, -0.05005366], [], 0, "CAN_COLLIDE"];
  _vehicle_22 = _this;
  _this setDir -28.832201;
  _this setPos [3915.4116, 7008.6265, -0.05005366];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_PostBox", [3887.9097, 6934.9556, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir -122.14503;
  _this setPos [3887.9097, 6934.9556, 6.1035156e-005];
};

_vehicle_26 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Misc_Well", [3920.0984, 6998.9321, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_26 = _this;
  _this setPos [3920.0984, 6998.9321, 9.1552734e-005];
};

_vehicle_31 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_brana02nodoor", [3924.4666, 6991.7822], [], 0, "CAN_COLLIDE"];
  _vehicle_31 = _this;
  _this setDir -30.513046;
  _this setPos [3924.4666, 6991.7822];
};

_vehicle_36 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3929.2368, 6994.1934, 0.43264031], [], 0, "CAN_COLLIDE"];
  _vehicle_36 = _this;
  _this setDir -30.598064;
  _this setPos [3929.2368, 6994.1934, 0.43264031];
};

_vehicle_37 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3933.5476, 6996.689, 0.29915741], [], 0, "CAN_COLLIDE"];
  _vehicle_37 = _this;
  _this setDir -28.62373;
  _this setPos [3933.5476, 6996.689, 0.29915741];
};

_vehicle_38 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3937.8604, 6999.1245, 0.21493836], [], 0, "CAN_COLLIDE"];
  _vehicle_38 = _this;
  _this setDir -31.509022;
  _this setPos [3937.8604, 6999.1245, 0.21493836];
};

_vehicle_39 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_Corner", [3940.1147, 7000.5874, -0.18293621], [], 0, "CAN_COLLIDE"];
  _vehicle_39 = _this;
  _this setDir -122.89134;
  _this setPos [3940.1147, 7000.5874, -0.18293621];
};

_vehicle_40 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3939.0637, 7003.189, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_40 = _this;
  _this setDir 63.07497;
  _this setPos [3939.0637, 7003.189, -6.1035156e-005];
};

_vehicle_41 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3936.7722, 7007.5332, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_41 = _this;
  _this setDir 61.241772;
  _this setPos [3936.7722, 7007.5332, 3.0517578e-005];
};

_vehicle_42 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3934.4063, 7011.8647, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_42 = _this;
  _this setDir 61.969559;
  _this setPos [3934.4063, 7011.8647, 3.0517578e-005];
};

_vehicle_43 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3933.4956, 7013.3735, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_43 = _this;
  _this setDir 60.94693;
  _this setPos [3933.4956, 7013.3735, 6.1035156e-005];
};

_vehicle_44 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3920.5261, 6989.2886, 0.43252605], [], 0, "CAN_COLLIDE"];
  _vehicle_44 = _this;
  _this setDir -29.241766;
  _this setPos [3920.5261, 6989.2886, 0.43252605];
};

_vehicle_45 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3916.281, 6986.9355, 0.53717607], [], 0, "CAN_COLLIDE"];
  _vehicle_45 = _this;
  _this setDir -28.734734;
  _this setPos [3916.281, 6986.9355, 0.53717607];
};

_vehicle_46 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3911.8306, 6984.5122, 0.56997806], [], 0, "CAN_COLLIDE"];
  _vehicle_46 = _this;
  _this setDir -28.947365;
  _this setPos [3911.8306, 6984.5122, 0.56997806];
};

_vehicle_47 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3894.9324, 6997.3447, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_47 = _this;
  _this setDir 59.998928;
  _this setPos [3894.9324, 6997.3447, 9.1552734e-005];
};

_vehicle_48 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3897.5173, 6993.0396, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_48 = _this;
  _this setDir 57.886673;
  _this setPos [3897.5173, 6993.0396, 6.1035156e-005];
};

_vehicle_49 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3900.094, 6988.7646, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_49 = _this;
  _this setDir 58.291145;
  _this setPos [3900.094, 6988.7646, 9.1552734e-005];
};

_vehicle_50 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3902.6282, 6984.499, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_50 = _this;
  _this setDir 60.831657;
  _this setPos [3902.6282, 6984.499, 9.1552734e-005];
};

_vehicle_51 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_Corner", [3904.6985, 6980.8359, 0.66307294], [], 0, "CAN_COLLIDE"];
  _vehicle_51 = _this;
  _this setDir -28.950846;
  _this setPos [3904.6985, 6980.8359, 0.66307294];
};

_vehicle_53 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3907.4099, 6982.1646, 0.57480383], [], 0, "CAN_COLLIDE"];
  _vehicle_53 = _this;
  _this setDir -27.674507;
  _this setPos [3907.4099, 6982.1646, 0.57480383];
};

_vehicle_54 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Wall_CYel_5", [3903.3003, 6983.3364, 0.00012207031], [], 0, "CAN_COLLIDE"];
  _vehicle_54 = _this;
  _this setDir 61.432457;
  _this setPos [3903.3003, 6983.3364, 0.00012207031];
};

_vehicle_55 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Barrack2", [3909.8877, 6988.958, -0.39498681], [], 0, "CAN_COLLIDE"];
  _vehicle_55 = _this;
  _this setDir -117.67413;
  _this setPos [3909.8877, 6988.958, -0.39498681];
};

_vehicle_56 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Barrack2", [3906.2407, 6995.3784, -0.4178445], [], 0, "CAN_COLLIDE"];
  _vehicle_56 = _this;
  _this setDir 241.15446;
  _this setPos [3906.2407, 6995.3784, -0.4178445];
};

_vehicle_57 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [3921.9829, 6991.7314, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_57 = _this;
  _this setDir -21.345964;
  _this setPos [3921.9829, 6991.7314, 6.1035156e-005];
};

_vehicle_58 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [3921.0908, 6991.5762, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_58 = _this;
  _this setDir -20.583551;
  _this setPos [3921.0908, 6991.5762, 3.0517578e-005];
};

_vehicle_59 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [3920.3433, 6991.2432, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_59 = _this;
  _this setDir -25.244211;
  _this setPos [3920.3433, 6991.2432, 3.0517578e-005];
};

_vehicle_60 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [3919.7605, 6990.8496], [], 0, "CAN_COLLIDE"];
  _vehicle_60 = _this;
  _this setDir -29.910048;
  _this setPos [3919.7605, 6990.8496];
};

_vehicle_61 = objNull;
if (true) then
{
  _this = createVehicle ["Body", [3918.9639, 6990.688, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_61 = _this;
  _this setDir -34.54446;
  _this setPos [3918.9639, 6990.688, 3.0517578e-005];
};

_vehicle_62 = objNull;
if (true) then
{
  _this = createVehicle ["Hanged", [3914.3569, 7003.1416, -0.27533326], [], 0, "CAN_COLLIDE"];
  _vehicle_62 = _this;
  _this setPos [3914.3569, 7003.1416, -0.27533326];
};

_vehicle_63 = objNull;
if (true) then
{
  _this = createVehicle ["Hanged_MD", [3919.2793, 7007.0591, -0.64906299], [], 0, "CAN_COLLIDE"];
  _vehicle_63 = _this;
  _this setPos [3919.2793, 7007.0591, -0.64906299];
};

_vehicle_64 = objNull;
if (true) then
{
  _this = createVehicle ["Mass_grave_DZ", [3929.0596, 7007.4155, 0.054632787], [], 0, "CAN_COLLIDE"];
  _vehicle_64 = _this;
  _this setPos [3929.0596, 7007.4155, 0.054632787];
};

_vehicle_65 = objNull;
if (true) then
{
  _this = createVehicle ["Mass_grave_DZ", [3932.7854, 7000.9531, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_65 = _this;
  _this setPos [3932.7854, 7000.9531, 6.1035156e-005];
};

_vehicle_66 = objNull;
if (true) then
{
  _this = createVehicle ["Mass_grave", [3927.6001, 7001.9761, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_66 = _this;
  _this setPos [3927.6001, 7001.9761, 9.1552734e-005];
};

_vehicle_67 = objNull;
if (true) then
{
  _this = createVehicle ["UH1Wreck", [3949.7424, 7012.061, 0.00012207031], [], 0, "NONE"];
  _vehicle_67 = _this;
  _this setDir -25.278276;
  _this setVehicleArmor 0;
  _this setFuel 0;
  _this setVehicleAmmo 0;
  _this setTargetAge "120 MIN";
  _this setVehicleLock "LOCKED";
  _this setPos [3949.7424, 7012.061, 0.00012207031];
};

_vehicle_70 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3916.5532, 6989.707, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_70 = _this;
  _this setPos [3916.5532, 6989.707, 6.1035156e-005];
};

_vehicle_71 = objNull;
if (true) then
{
  _this = createVehicle ["Body1", [3916.6772, 6991.2686, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_71 = _this;
  _this setPos [3916.6772, 6991.2686, 9.1552734e-005];
};

_vehicle_72 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3914.4988, 6991.6021, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_72 = _this;
  _this setDir 113.85427;
  _this setPos [3914.4988, 6991.6021, -3.0517578e-005];
};

_vehicle_74 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3915.9241, 6993.7588, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_74 = _this;
  _this setDir -84.053261;
  _this setPos [3915.9241, 6993.7588, 9.1552734e-005];
};

_vehicle_75 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3910.5828, 6998.4375], [], 0, "CAN_COLLIDE"];
  _vehicle_75 = _this;
  _this setPos [3910.5828, 6998.4375];
};

_vehicle_76 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3912.2893, 6995.9331, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_76 = _this;
  _this setDir -144.2399;
  _this setPos [3912.2893, 6995.9331, 6.1035156e-005];
};

_vehicle_77 = objNull;
if (true) then
{
  _this = createVehicle ["Body2", [3914.136, 6998.4614, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_77 = _this;
  _this setDir 119.70818;
  _this setPos [3914.136, 6998.4614, 9.1552734e-005];
};

_vehicle_78 = objNull;
if (true) then
{
  _this = createVehicle ["datsun02Wreck", [3919.2852, 6984.5601, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_78 = _this;
  _this setDir 105.70701;
  _this setPos [3919.2852, 6984.5601, 9.1552734e-005];
};

_vehicle_79 = objNull;
if (true) then
{
  _this = createVehicle ["MBG_Warehouse_InEditor", [3957.0891, 6967.6299, -0.027888959], [], 0, "CAN_COLLIDE"];
  _vehicle_79 = _this;
  _this setDir 61.496826;
  _this setPos [3957.0891, 6967.6299, -0.027888959];
};

_vehicle_80 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_ATC_Tower", [3906.4363, 6961.7144, -0.040307928], [], 0, "CAN_COLLIDE"];
  _vehicle_80 = _this;
  _this setDir 234.36836;
  _this setPos [3906.4363, 6961.7144, -0.040307928];
};

_vehicle_82 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_GER_SUPERMARKET_1", [3998.8596, 7053.2124, 0.39193454], [], 0, "CAN_COLLIDE"];
  _vehicle_82 = _this;
  _this setDir -29.612747;
  _this setPos [3998.8596, 7053.2124, 0.39193454];
};

_vehicle_85 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_GER_RHUS_4", [3972.3484, 7020.9888, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_85 = _this;
  _this setDir 329.55878;
  _this setPos [3972.3484, 7020.9888, 9.1552734e-005];
};

_vehicle_86 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [3969.0037, 7018.6777, 0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_86 = _this;
  _this setDir -27.815088;
  _this setPos [3969.0037, 7018.6777, 0.00015258789];
};

_vehicle_87 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_GER_PUB_1", [3990.0615, 7006.1348, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_87 = _this;
  _this setDir 149.86908;
  _this setPos [3990.0615, 7006.1348, -6.1035156e-005];
};

_vehicle_89 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Outdoortable", [3976.4412, 7000.5322, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_89 = _this;
  _this setDir 58.137604;
  _this setPos [3976.4412, 7000.5322, 6.1035156e-005];
};

_vehicle_90 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Outdoortable", [3979.1357, 6995.8569, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_90 = _this;
  _this setDir 58.520103;
  _this setPos [3979.1357, 6995.8569, -3.0517578e-005];
};

_vehicle_92 = objNull;
if (true) then
{
  _this = createVehicle ["mbg_apartments_big_01_EO", [3924.4443, 6853.1445, 0.00012207031], [], 0, "CAN_COLLIDE"];
  _vehicle_92 = _this;
  _this setDir -313.94794;
  _this setPos [3924.4443, 6853.1445, 0.00012207031];
};

_vehicle_96 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_LHSStre1", [3998.6741, 7019.2749, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_96 = _this;
  _this setDir 59.56995;
  _this setPos [3998.6741, 7019.2749, 6.1035156e-005];
};

_vehicle_97 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_LHSStre1", [3956.9336, 6998.9819, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_97 = _this;
  _this setDir 53.877769;
  _this setPos [3956.9336, 6998.9819, 3.0517578e-005];
};

_vehicle_98 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_LHSStre1", [3911.8516, 6974.4165, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_98 = _this;
  _this setDir 59.792835;
  _this setPos [3911.8516, 6974.4165, 3.0517578e-005];
};

_vehicle_99 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_LHSStre1", [3886.9028, 6941.9775, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_99 = _this;
  _this setDir -14.672732;
  _this setPos [3886.9028, 6941.9775, 3.0517578e-005];
};

_vehicle_100 = objNull;
if (true) then
{
  _this = createVehicle ["ASC_EU_LHSStre1", [3913.6104, 6906.8384, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_100 = _this;
  _this setDir -40.476227;
  _this setPos [3913.6104, 6906.8384, 3.0517578e-005];
};

_this = createMarker ["Custom City", [3883.9172, 6939.1704, 3.0517578e-005]];
_this setMarkerType "Empty";
_this setMarkerColor "ColorBlack";
_this setMarkerBrush "Solid";
_marker_0 = _this;

_unit_3 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["FR_Assault_R", [3923.9063, 6946.7266, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_3 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_4 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["FR_Assault_R", [3927.6479, 6945.1426, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _unit_4 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_5 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["FR_Assault_R", [3924.4482, 6939.0146, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_5 = _this;
  _this setUnitAbility 1;
  if (true) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_6 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["FR_Assault_R", [3925.4373, 6942.4277], [], 0, "CAN_COLLIDE"];
  _unit_6 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_7 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3926.5125, 6938.8276, 0], [], 0, "CAN_COLLIDE"];
  _unit_7 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_10 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3921.3279, 6941.8174, 25.239319], [], 0, "CAN_COLLIDE"];
  _unit_10 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_12 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3922.5139, 6937.1426, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _unit_12 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_14 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3921.1199, 6938.2529, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_14 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_16 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3922.9331, 6936.2056, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _unit_16 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_18 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3924.4658, 6935.5444, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_18 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_20 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3921.8655, 6934.4648, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_20 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_22 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3928.4988, 6940.3242, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_22 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_24 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_AMG_W", [3928.2537, 6938.9873, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_24 = _this;
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_26 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3928.2192, 6935.9946, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_26 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_28 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3927.8906, 6933.9561, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_28 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_30 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3929.989, 6934.5088, 0], [], 0, "CAN_COLLIDE"];
  _unit_30 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_32 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3931.5586, 6936.1211, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_32 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_34 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3931.0244, 6933.6997, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_34 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_36 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3929.9346, 6933.0566, 0], [], 0, "CAN_COLLIDE"];
  _unit_36 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_unit_38 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["BAF_Soldier_Marksman_DDPM", [3930.5647, 6936.0454, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _unit_38 = _this;
  _this setUnitRank "COLONEL";
  _this setUnitAbility 1;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_this = _group_0 addWaypoint [[3944.0776, 6919.4897, 6.1035156e-005], 0];
_this setWaypointType "GUARD";
_this setWaypointCombatMode "RED";
_this setWaypointSpeed "FULL";
_this setWaypointBehaviour "COMBAT";
_waypoint_2 = _this;

_bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["Land_Mil_Barracks_i", [4700.27, 2596.5557, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _bldObj = _this;
  _bldObj setDir 85.448914;
  _bldObj setPos [4700.27, 2596.5557, -1.9073486e-006];
};

_bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["Land_Mil_Barracks_i", [4690.6587, 2597.0159, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _bldObj = _this;
  _bldObj setDir 83.692802;
  _bldObj setPos [4690.6587, 2597.0159, 9.5367432e-007];
};

_bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["Land_Mil_Barracks_i", [4692.8594, 2612.6621, 8.5830688e-006], [], 0, "CAN_COLLIDE"];
  _bldObj = _this;
  _bldObj setDir 176.80789;
  _bldObj setPos [4692.8594, 2612.6621, 8.5830688e-006];
};

_bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["Land_Mil_Barracks_i", [4692.0566, 2621.3452, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
  _bldObj = _this;
  _bldObj setDir 175.9993;
  _bldObj setPos [4692.0566, 2621.3452, 6.6757202e-006];
};

_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["US_WarfareBAntiAirRadar_EP1", [4709.6055, 2546.989, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir -78.26963;
  _this setPos [4709.6055, 2546.989, 3.8146973e-006];
};

_vehicle_116 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4735.3477, 2543.7073, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_116 = _this;
  _this setDir -60.464958;
  _this setPos [4735.3477, 2543.7073, -1.9073486e-006];
};

_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4730.0571, 2546.7239, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setDir -60.177361;
  _this setPos [4730.0571, 2546.7239, 7.6293945e-006];
};

_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4724.8232, 2549.7668, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir -59.719624;
  _this setPos [4724.8232, 2549.7668, 6.6757202e-006];
};

_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4735.2891, 2543.7471, 2.5718682], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir -61.040058;
  _this setPos [4735.2891, 2543.7471, 2.5718682];
};

_vehicle_124 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4730.0444, 2546.7358, 2.5666375], [], 0, "CAN_COLLIDE"];
  _vehicle_124 = _this;
  _this setDir -60.048271;
  _this setPos [4730.0444, 2546.7358, 2.5666375];
};

_vehicle_126 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4724.8584, 2549.7583, 2.554527], [], 0, "CAN_COLLIDE"];
  _vehicle_126 = _this;
  _this setDir -59.301796;
  _this setPos [4724.8584, 2549.7583, 2.554527];
};

_vehicle_136 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4740.4243, 2540.8213, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_136 = _this;
  _this setDir -60.464958;
  _this setPos [4740.4243, 2540.8213, 2.8610229e-006];
};

_vehicle_137 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4740.3657, 2540.8611, 2.5710917], [], 0, "CAN_COLLIDE"];
  _vehicle_137 = _this;
  _this setDir -61.040058;
  _this setPos [4740.3657, 2540.8611, 2.5710917];
};

_vehicle_140 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4745.6743, 2537.825, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_140 = _this;
  _this setDir -60.464958;
  _this setPos [4745.6743, 2537.825, 3.6239624e-005];
};

_vehicle_141 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4745.6157, 2537.8647, 2.5719061], [], 0, "CAN_COLLIDE"];
  _vehicle_141 = _this;
  _this setDir -61.040058;
  _this setPos [4745.6157, 2537.8647, 2.5719061];
};

_vehicle_144 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4743.1689, 2529.5417, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_144 = _this;
  _this setDir 25.697811;
  _this setPos [4743.1689, 2529.5417, 6.6757202e-006];
};

_vehicle_145 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4743.2085, 2529.5547, 2.5713453], [], 0, "CAN_COLLIDE"];
  _vehicle_145 = _this;
  _this setDir 25.310644;
  _this setPos [4743.2085, 2529.5547, 2.5713453];
};

_vehicle_172 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4740.4033, 2524.053, 0.041419376], [], 0, "CAN_COLLIDE"];
  _vehicle_172 = _this;
  _this setDir 27.539663;
  _this setPos [4740.4033, 2524.053, 0.041419376];
};

_vehicle_173 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4740.4263, 2524.1177, 2.6132889], [], 0, "CAN_COLLIDE"];
  _vehicle_173 = _this;
  _this setDir 26.964565;
  _this setPos [4740.4263, 2524.1177, 2.6132889];
};

_vehicle_176 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4736.084, 2519.4358, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_176 = _this;
  _this setDir 57.994827;
  _this setPos [4736.084, 2519.4358, 3.8146973e-006];
};

_vehicle_177 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4736.1367, 2519.4741, 2.5718737], [], 0, "CAN_COLLIDE"];
  _vehicle_177 = _this;
  _this setDir 57.419731;
  _this setPos [4736.1367, 2519.4741, 2.5718737];
};

_vehicle_180 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4731.0269, 2516.2209, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_180 = _this;
  _this setDir 57.784145;
  _this setPos [4731.0269, 2516.2209, 1.6212463e-005];
};

_vehicle_181 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4731.0898, 2516.2532, 2.5718861], [], 0, "CAN_COLLIDE"];
  _vehicle_181 = _this;
  _this setDir 57.209072;
  _this setPos [4731.0898, 2516.2532, 2.5718861];
};

_vehicle_184 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4724.7891, 2515.6072, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_184 = _this;
  _this setDir -68.257034;
  _this setPos [4724.7891, 2515.6072, -1.9073486e-006];
};

_vehicle_185 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4724.7236, 2515.6421, 2.5718679], [], 0, "CAN_COLLIDE"];
  _vehicle_185 = _this;
  _this setDir -68.832138;
  _this setPos [4724.7236, 2515.6421, 2.5718679];
};

_vehicle_188 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4719.2422, 2517.9407, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_188 = _this;
  _this setDir -66.014862;
  _this setPos [4719.2422, 2517.9407, -3.8146973e-006];
};

_vehicle_189 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4719.1763, 2517.9707, 2.571866], [], 0, "CAN_COLLIDE"];
  _vehicle_189 = _this;
  _this setDir -66.589966;
  _this setPos [4719.1763, 2517.9707, 2.571866];
};

_vehicle_192 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4715.4858, 2523.0122, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_192 = _this;
  _this setDir -3.9739163;
  _this setPos [4715.4858, 2523.0122, 3.8146973e-006];
};

_vehicle_193 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4715.4727, 2523.0759, 2.5718737], [], 0, "CAN_COLLIDE"];
  _vehicle_193 = _this;
  _this setDir -4.5490117;
  _this setPos [4715.4727, 2523.0759, 2.5718737];
};

_vehicle_196 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4716.7642, 2529.1387, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _vehicle_196 = _this;
  _this setDir 27.148474;
  _this setPos [4716.7642, 2529.1387, 9.5367432e-007];
};

_vehicle_197 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4716.7949, 2529.2046, 2.5718708], [], 0, "CAN_COLLIDE"];
  _vehicle_197 = _this;
  _this setDir 26.573374;
  _this setPos [4716.7949, 2529.2046, 2.5718708];
};

_vehicle_200 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4719.5161, 2534.481, -1.9073486e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_200 = _this;
  _this setDir 27.693132;
  _this setPos [4719.5161, 2534.481, -1.9073486e-005];
};

_vehicle_201 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4719.5522, 2534.5449, 2.5718508], [], 0, "CAN_COLLIDE"];
  _vehicle_201 = _this;
  _this setDir 27.118036;
  _this setPos [4719.5522, 2534.5449, 2.5718508];
};

_vehicle_204 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4722.2852, 2539.7905, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_204 = _this;
  _this setDir 29.359612;
  _this setPos [4722.2852, 2539.7905, 1.9073486e-006];
};

_vehicle_205 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4722.3252, 2539.8503, 2.5718718], [], 0, "CAN_COLLIDE"];
  _vehicle_205 = _this;
  _this setDir 28.784515;
  _this setPos [4722.3252, 2539.8503, 2.5718718];
};

_vehicle_208 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4722.7441, 2546.2173, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_208 = _this;
  _this setDir -19.469204;
  _this setPos [4722.7441, 2546.2173, 2.4795532e-005];
};

_vehicle_209 = objNull;
if (true) then
{
  _this = createVehicle ["TK_GUE_WarfareBContructionSite1_EP1", [4722.7349, 2546.2849, 2.5711136], [], 0, "CAN_COLLIDE"];
  _vehicle_209 = _this;
  _this setDir -20.044302;
  _this setPos [4722.7349, 2546.2849, 2.5711136];
};

_vehicle_219 = objNull;
if (true) then
{
  _this = createVehicle ["MBG_Killhouse_4_InEditor", [4731.4604, 2532.1809, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_219 = _this;
  _this setDir -153.17674;
  _this setPos [4731.4604, 2532.1809, -3.8146973e-006];
};

_vehicle_223 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [4779.9263, 2515.2974, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_223 = _this;
  _this setDir 208.17545;
  _this setPos [4779.9263, 2515.2974, 2.6702881e-005];
};

_vehicle_225 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [4776.8682, 2517.0193, 2.3841858e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_225 = _this;
  _this setDir 208.61224;
  _this setPos [4776.8682, 2517.0193, 2.3841858e-005];
};

_vehicle_227 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [4773.835, 2518.7, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _vehicle_227 = _this;
  _this setDir 209.70842;
  _this setPos [4773.835, 2518.7, -9.5367432e-007];
};

_vehicle_229 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_D", [4770.7959, 2520.5696, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_229 = _this;
  _this setDir 210.94194;
  _this setPos [4770.7959, 2520.5696, 7.6293945e-006];
};

_vehicle_230 = objNull;
if (true) then
{
  _this = createVehicle ["TK_WarfareBVehicleServicePoint_EP1", [4763.1797, 2524.8789, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_230 = _this;
  _this setDir 28.965794;
  _this setPos [4763.1797, 2524.8789, -3.8146973e-006];
};

_unit_39 = objNull;
if (true) then
{
  _this = _group_0 createUnit ["DZ_Pastor", [4743.373, 2543.9668, -9], [], 0, "CAN_COLLIDE"];
  _unit_39 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_0 selectLeader _this;};
  if (true) then {setPlayable _this;};
};

_this = createCenter west;
_center_2 = _this;

_group_2 = createGroup _center_2;

}; // By Mr. Smith e.t.c

 
Link to comment
Share on other sites

Change this

_vehicle_67 = objNull;
if (true) then
{
_this = createVehicle ["UH1Wreck", [3949.7424, 7012.061, 0.00012207031], [], 0, "NONE"];
_vehicle_67 = _this;
_this setDir -25.278276;
_this setVehicleArmor 0;
_this setFuel 0;
_this setVehicleAmmo 0;
_this setTargetAge "120 MIN";
_this setVehicleLock "LOCKED";
_this setPos [3949.7424, 7012.061, 0.00012207031];
};

to

_vehicle_67 = objNull;
if (true) then
{
_this = createVehicle ["UH1Wreck", [3949.7424, 7012.061, 0.00012207031], [], 0, "NONE"];
_vehicle_67 = _this;
_this setDir -25.278276;
_this setVehicleLock "LOCKED";
_this setPos [3949.7424, 7012.061, 0.00012207031];
};

Remove this

 

ALL THE UNIT STUFF AS WELL AS THE WAYPOINTS.

_this = createCenter west;
_center_2 = _this;

_group_2 = createGroup _center_2;

In fact looking closer you have a mixture of _bldObj as well as _this

Make it one or the other. =)

You can only add buildings/roads/objects...etc ONLY

DO not add units.

Do not add Map markers.

 

You want patrols/guards use WAI customspawns.sqf or DZAI.

Map Markers go into the mission.sqm

 

In this format.

Change this number by 1 to how many new markers you add. (default is 17)

class Markers
    {
        items=19;

In this format

class Item18
        {
            position[]={5054.0127,14.798248,9736.8398};
            name="AirVehicles";
            text="Aircraft Dealer";
            type="mil_dot";
            colorName="ColorGreen";
        };

 

Link to comment
Share on other sites

Hi, great tutorial man.

 

I have a question about items that are already in the map. I would like to remove some plants from the map to create a new runway. How would i do that?

CluterCutter will only remove the grass.

Alot of the plants have ID'S. You have to go into the Singleplayer editor to get this.

 

There is 2 options.

 

you can destroy it with this

(getPos this nearestObject 666) setDamage 1;

666 is the plant id

Where 666 is the ID of the bush and this is some object on the map you put this into the init field of.

 

If this doesnt work follow this youtube tut on how to do it with buildings =)

 

Link to comment
Share on other sites

If you already added a grass cutter in your custom map, can you help-me to add one to my map?

What i already know:

It's name is ClutterCutter. Thanks a lot for every single person that told-me that in the 4 foruns i asked! REALLY! I know that more than ever now!

I also was able to find this http://browser.six-projects.net/cfg_vehicles/1675956.

I don't know anything else, still not able to add the grass cutter, and feels like giving up trying to do this.

If you can kindly explain me how to add a ClutterCutter in my map, a explain for a complete lame person, i will apreciate it very much!

Thankyou in advance!

And sorry for my lameness.

Link to comment
Share on other sites

I have noticed a few map additions with incorrect coding for certain buildings, this simply results in the building you have added not spawning any loot. 

<snip>

Thanks for a very helpful, in-detail, professional guide! liked.

Link to comment
Share on other sites

its  under Objects (grasscutter small, med and large)

It removes grass. like roads, tents buildings...etc that have grass coming through use the grasscutter to remove it.

 

Seen this question pop up a few times now. Nice little picture tut Fully, added to the original thread. Thanks for the input!

Link to comment
Share on other sites

I can't take it anymore.. you guys are not formatting your files correctly. I made a post that spells out how to do a proper server side map addition http://epochmod.com/forum/index.php?/topic/10759-need-help-adding-custom-buildings-impossible/?p=75425 go read it and you will see that all you need are the basics, and make sure to pay attention to what I wrote about the bldobj myth. 

 

Hopefully you guys won't have any further formatting questions after you read that post. I just can't stand to watch you guys struggle when the info is right there.. all you have to do is read it.

Link to comment
Share on other sites

***SOLVED***
Hey I was wondering if anyone could help me with a problem I am having with placing jerrycans around and such.

I.E "WeaponHolder_ItemToolbox","WeaponHolder_ItemJerrycanSide", etc. . .

I have a problem with the loot disappearing after 20-30 min roughly of server up time.

I added "_this setVehicleInit "_this setVariable [""permaLoot"",true];";" to all the custom WeaponHolder_Itemxxx I have placed and it seems only half of it stays now.
***SOLVED***
 

\\\\Working\\\
_vehicle_974 = objNull;
if (true) then
{
  _this = createVehicle ["WeaponHolder_ItemJerrycan", [918.35504, 9205.2793, -3.6716461e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_974 = _this;
  _this setDir 91.353661;
  _this setVariable ["permaLoot",true]; //Add in manually//
  _this setPos [918.35504, 9205.2793, -3.6716461e-005];
};

Manually added it it the custom sqf.
Editor ouput looked like (_this setVehicleInit "_this setVariable [""permaLoot"",true];") - Omitted red text,, works fine now for me!

Link to comment
Share on other sites

Use mudzereli's  script

// **FORMAT** -- (note no comma after last array entry)

//
// DZE_DEPLOYABLES_CONFIG = [
// [_clickItem,_deployOffset,_packDistance,_damageLimit,_packAny,_cargo,_ammo,_hive,_plot,_simulation,_road,_deployables,_near,_parts,_condition],
// [_clickItem,_deployOffset,_packDistance,_damageLimit,_packAny,_cargo,_ammo,_hive,_plot,_simulation,_road,_deployables,_near,_parts,_condition],
// [...more stuff here...]
// ];
//
// parameter | description | type | example
// --------------|---------------------------------------------------------------------|--------|--------
// _clickItem | class name of the item to click on | string | "ItemToolbox"
// _deployOffset | [_side,_front,_up] array to offset the deployable when buiding | array | [0,2,1]
// _packDistance | how close does the packer need to be to pack the object? | number | 5
// _damageLimit | item can't be repacked if damage is > this. (-1 = no re-packing) | number | 0.1
// _packAny | can anyone repack the deployable? | bool | false
// _cargo | clear the cargo of the deployable? | bool | false
// _ammo | should vehicle ammo be cleared? (does not persist through restart) | bool | true
// _hive | write deployable to database? | bool | false
// _plot | require a plot from the owner to build the deployable? | bool | false
// _simulation | enable simulation (movement/damage) for the object? (true for cars) | bool | true
// _road | enable road building for this object? | bool | true
// _deployables | array of class names that can be deployed with this method | array | ["MMT_Civ"]
// _near | array of items required nearby to build (workshop/fire/fueltank) | array | []
// _parts | array of parts required to build (will be taken from player) | array | ["ItemToolbox"]
// _condition | string of code to evaluate to determine whether action is shown | string | "!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"



DZE_DEPLOYABLES_CONFIG = [
 // deploy a non-permanent bike from a toolbox right in front of the player that can be re-packed by the owner as long as it's under 10% damage
    ["ItemToolbox",[0,2,1],5,0.1,false,false,false,false,false,true,true,["MMT_Civ"],[],["ItemToolbox"],"true"],
 // deploy roads and bridges runways that save to the db add more to suit your needs only the admin get this option on right click below                   
    ["ItemToolbox",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_grav_0_2000"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemToolbox",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_grav_60_10"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemToolbox",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_asf3_0_2000"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemToolbox",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_asf3_60_10"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,5,1],5,0.1,false,false,false,true,false,false,true,["HeliHCivil"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_kr_t_asf3_mud"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_kr_t_mud_mud"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_mud_60_10"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_mud_0_2000"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["MAP_kr_t_asf3_grav"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemEtool",[0,9,1],5,0.1,false,false,false,true,false,false,true,["Base_WarfareBBarrier10xTall"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,17,1],5,0.,false,false,false,true,false,false,true,["MAP_rail_najazdovarampa"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,3,1],5,0.1,false,false,false,true,false,false,true,["Hanged"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,3,1],5,0.1,false,false,false,true,false,false,true,["Land_Campfire_burning"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,20,1],5,0.1,false,false,false,true,false,false,true,["MAP_runway_dirt_1"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,20,1],5,0.1,false,false,false,true,false,false,true,["MAP_runway_dirt_2"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],  
    ["ItemKnife",[0,9,1],5,0.1,false,false,false,true,false,false,true,["ClutterCutter_EP1"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,17,-8],5,0.1,false,false,false,true,false,false,true,["MAP_Bridge_stone_asf2_25"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,17,-8],5,0.1,false,false,false,true,false,false,true,["MAP_bridge_asf1_25"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"],
    ["ItemKnife",[0,17,-2],5,0.1,false,false,false,true,false,false,true,["MAP_Bridge_wood_25"],[],[],"!(isNull player) && {(getPlayerUID player) in DZE_DEPLOYABLE_ADMINS}"]
];

// **DZE_DEPLOYABLE_NAME_MAP format
//
// DZE_DEPLOYABLE_NAME_MAP = [
// [_class,_name],
// [_class,_name],
// [... more ...]
// ];
//
// parameter | description | type | example
// --------------|---------------------------------------------------------------------|--------|--------
// _class | class name of the item you want to replace the name of | string | "Notebook"
// _name | new name to display when right clicking | string | "Macbook Pro"
//
DZE_DEPLOYABLE_NAME_MAP = [
    ["Notebook","Macbook Pro"]
];


DZE_DEPLOYABLE_ADMINS = []; //Add your steam id here


 to make roads and bridges that dont shift after restart and place them live ingame. adjust your road or bridge classes accordingly under config.sqf in this section DZE_DEPLOYABLES_CONFIG = [
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...