Jump to content

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


Poncho

Recommended Posts

Hello im new to server hosting so i just created my server and i followed every step  from the guide server but still i cant find what did i do wrong and i was wondering if you guys could help me out.
Basically i made the my "mission.sqf" and put in a new folder called "maps" the root folder of dayz_server where there are other stuff like (compile, init, mission, modules and system folders).
 
this is the end line of my server_functions.sqf:
diag_log format["SAFE LOCKED: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), (getPlayerUID _player)];


};


execVM "\z\addons\dayz_server\maps\mission.sqf";
this is the start / end lines of my mission.sqf:
if (isServer) then {


  _this = createVehicle ["HMMWVWreck", [2118.9526, 3084.3386, 0.018628133], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir -69.320488;
  _this setPos [2118.9526, 3084.3386, 0.018628133];
};
end
 
_vehicle_1331 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [11931.105, 6480.5737], [], 0, "CAN_COLLIDE"];
  _vehicle_1331 = _this;
  _this setDir 83.374825;
  _this setPos [11931.105, 6480.5737];
}; 

};

 

 
then i repack the dayz_server.pbo
 
And basically my problem is when i start the server all goes fine to the lobby and then when it loads its says "waiting for server to start authentication", after a while just sends me back to lobby, i even tried putting back the raw files and do it all over again, so it maybe something im doing wrong but i just dont know what :D
 
Like i said im really noob to this :P so if you could help me out it would be amazing!
 
Best Regards!
Ricardo
Link to comment
Share on other sites

Hi, reading this post was great. I have only one question as a new admin! Can I combine a land_destroyer with building materials (cinder,wood,metal floors) and safe it for the server files to place when I need it for missions. Plus, Is there "any" way of Using the base delete in reverse to save bases and turn them into .pbo's? 

 

>>>>> I know I want the world on a plate <<<<<<

Link to comment
Share on other sites

 

Hey. Help solve the problem. 
Created sector, dotted boxes, carved boxes in a separate code file crates.sqf. 
Received such a code. 
 

if (isServer) then {
 
_vehicle_42879 = objNull;
if (true) then
{
  _this = createVehicle ["RUVehicleBox", [16488.793, 18206.689, -0.01955531], [], 0, "CAN_COLLIDE"];
  _vehicle_42879 = _this;
  _this setDir -141.8009;
   //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["NVGoggles",3];
  _this addWeaponCargoGlobal ["ItemCrowbar",5];
  _this addWeaponCargoGlobal ["ItemEtool",5];
  _this addWeaponCargoGlobal ["SVD",3];
  _this addWeaponCargoGlobal ["DMR_DZ",3];
  _this addWeaponCargoGlobal ["M4A1_HWS_GL_SD_Camo",3];
  _this addWeaponCargoGlobal ["VSS_vintorez",2];
  _this addWeaponCargoGlobal ["AA12_PMC",1];
  _this addWeaponCargoGlobal ["SCAR_H_CQC_CCO_SD",2];
  _this addWeaponCargoGlobal ["ItemMachete",4];
  _this addmagazineCargoGlobal ["10Rnd_762x54_SVD",10];
  _this addmagazineCargoGlobal ["20Rnd_762x51_DMR",10];
  _this addmagazineCargoGlobal ["30Rnd_556x45_StanagSD",30];
  _this addmagazineCargoGlobal ["20Rnd_B_AA12_Pellets",5];
  _this addmagazineCargoGlobal ["20Rnd_9x39_SP5_VSS",10];
  _this addmagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",10];
  _this addmagazineCargoGlobal ["ItemSodaRabbit",10];
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16488.793, 18206.689, -0.01955531];
};
 
_vehicle_42881 = objNull;
if (true) then
{
  _this = createVehicle ["RUBasicWeaponsBox", [16473.867, 18389.453, 11.688437], [], 0, "CAN_COLLIDE"];
  _vehicle_42881 = _this;
    //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["AKS_74_UN_kobra",3];
  _this addWeaponCargoGlobal ["m107",1];
  _this addWeaponCargoGlobal ["BAF_LRR_scoped",2];
  _this addWeaponCargoGlobal ["KSVK_DZE",2];
  _this addWeaponCargoGlobal ["M60A4_EP1_DZE",3];
  _this addmagazineCargoGlobal ["30Rnd_545x39_AKSD",20];
  _this addmagazineCargoGlobal ["ItemGoldBar10oz",5];
  _this addmagazineCargoGlobal ["10Rnd_127x99_m107",5];
  _this addmagazineCargoGlobal ["5Rnd_86x70_L115A1",10];
  _this addmagazineCargoGlobal ["5Rnd_127x108_KSVK",10];
  _this addmagazineCargoGlobal ["100Rnd_762x51_M240",5];
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16473.867, 18389.453, 11.688437];
};
 
_vehicle_42888 = objNull;
if (true) then
{
  _this = createVehicle ["RUSpecialWeaponsBox", [16464.525, 18434.045, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_42888 = _this;
  _this setDir -50.515411;
  //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addmagazineCargoGlobal ["ItemHeatPack",5];
  _this addmagazineCargoGlobal ["ItemBandage",10];
  _this addmagazineCargoGlobal ["ItemPainkiller",10];
  _this addmagazineCargoGlobal ["ItemMorphine",10];
  _this addmagazineCargoGlobal ["ItemBloodBag",10];
  _this addmagazineCargoGlobal ["ItemEpinephrine",5];
  _this addmagazineCargoGlobal ["ItemAntibiotic",10];
  _this addmagazineCargoGlobal ["HandGrenade_West",5];
// CONSTRUCTION MATERIALS
  _this addmagazineCargoGlobal ["bulk_ItemWire", 10];
  _this addmagazineCargoGlobal ["ItemWoodWallLg", 25];
  _this addmagazineCargoGlobal ["ItemCanvas", 10];
  _this addmagazineCargoGlobal ["bulk_PartGeneric",5];
  _this addmagazineCargoGlobal ["bulk_ItemSandbag",10];
  _this addmagazineCargoGlobal ["bulk_ItemTankTrap",10];
  _this addmagazineCargoGlobal ["ItemWoodFloor",30];
  _this addmagazineCargoGlobal ["ItemWoodStairs",10];
  _this addmagazineCargoGlobal ["ItemWoodWallWindowLg",20];
  _this addmagazineCargoGlobal ["ItemComboLock",2];
  _this addmagazineCargoGlobal ["Itemvault",1];
  _this addmagazineCargoGlobal ["ItemDocument",10];
  _this addmagazineCargoGlobal ["PartWoodPlywood",25];
  _this addmagazineCargoGlobal ["light_pole_kit",5];
  _this addmagazineCargoGlobal ["ItemWoodLadder",5];
  _this addmagazineCargoGlobal ["PartPlankPack",25];
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16464.525, 18434.045, 2.6702881e-005];
};
 
_vehicle_42891 = objNull;
if (true) then
{
  _this = createVehicle ["RUBasicWeaponsBox", [16437.115, 18297.578, 0.22700252], [], 0, "CAN_COLLIDE"];
  _vehicle_42891 = _this;
    //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addmagazineCargoGlobal ["ItemHeatPack",15];
  _this addmagazineCargoGlobal ["ItemBandage",30];
  _this addmagazineCargoGlobal ["ItemPainkiller",30];
  _this addmagazineCargoGlobal ["ItemMorphine",10];
  _this addmagazineCargoGlobal ["ItemBloodBag",10];
  _this addmagazineCargoGlobal ["ItemEpinephrine",15];
  _this addmagazineCargoGlobal ["ItemAntibiotic",10];
  _this addmagazineCargoGlobal ["FoodCanBadguy",10];
  _this addmagazineCargoGlobal ["FoodCanBoneboy",10];
  _this addmagazineCargoGlobal ["FoodCanCorn",10];
  _this addmagazineCargoGlobal ["FoodCanCurgon",10];
  _this addmagazineCargoGlobal ["FoodCanDemon",10];
  _this addmagazineCargoGlobal ["FoodCanFraggleos",10];
  _this addmagazineCargoGlobal ["FoodCanHerpy",10];
  _this addmagazineCargoGlobal ["FoodCanDerpy",10];
  _this addmagazineCargoGlobal ["FoodCanTylers",10];
  _this addmagazineCargoGlobal ["ItemSodaR4z0r",10];
  _this addmagazineCargoGlobal ["ItemSodaClays",10];
  _this addmagazineCargoGlobal ["ItemSodaSmasht",10];
  _this addmagazineCargoGlobal ["ItemSodaDrwaste",10];
  _this addmagazineCargoGlobal ["ItemSodaLemonade",10];
  _this addmagazineCargoGlobal ["ItemSodaLvg",10];
  _this addmagazineCargoGlobal ["ItemSodaMzly",10];
  _this addmagazineCargoGlobal ["ItemSodaRabbit",5];
  _this addmagazineCargoGlobal ["HandGrenade_West",5];
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16437.115, 18297.578, 0.22700252];
};
 
_vehicle_42894 = objNull;
if (true) then
{
  _this = createVehicle ["RUBasicWeaponsBox", [16587.85, 18120.426, 7.699048], [], 0, "CAN_COLLIDE"];
  _vehicle_42894 = _this;
  _this setDir -61.310062;
    //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["Binocular_Vector",5];
  _this addWeaponCargoGlobal ["G36A_camo",4];
  _this addWeaponCargoGlobal ["ItemGPS",5];
  _this addWeaponCargoGlobal ["M4A1_Aim",5];
  _this addmagazineCargoGlobal ["30Rnd_556x45_Stanag",30];
  _this addmagazineCargoGlobal ["30Rnd_556x45_G36",30];
  _this addmagazineCargoGlobal ["ItemPainkiller",30];
  _this addmagazineCargoGlobal ["100Rnd_127x99_M2"5];
  _this addmagazineCargoGlobal ["ItemDocumentRamp",2];
  _this addmagazineCargoGlobal ["ItemAVE",1];
  _this addmagazineCargoGlobal ["ItemORP",1];
  _this addmagazineCargoGlobal ["ItemLRK",1];
  _this addmagazineCargoGlobal ["ItemTNK",1];
  _this addmagazineCargoGlobal ["ItemHotwireKit",1];
  _this addmagazineCargoGlobal ["PartWheel",10];
  _this addmagazineCargoGlobal ["ItemMixOil",3];
  _this addmagazineCargoGlobal ["Skin_Camo1_DZ",5];
  _this addmagazineCargoGlobal ["Skin_Soldier1_DZ",5];
  _this addmagazineCargoGlobal ["Skin_Sniper1_DZ",5];
  _this addbackpackCargoGlobal ["DZ_LargeGunBag_EP1",2];
  _this setPos [16587.85, 18120.426, 7.699048];
};
 
_vehicle_42896 = objNull;
if (true) then
{
  _this = createVehicle ["RUBasicWeaponsBox", [16586.053, 18130.652, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_42896 = _this;
    //Clear Cargo
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["M9SD",5];
  _this addWeaponCargoGlobal ["UZI_SD_EP1",3];
  _this addWeaponCargoGlobal ["SVD_NSPU_EP1",2];
  _this addWeaponCargoGlobal ["FN_FAL",3];
  _this addWeaponCargoGlobal ["RPK_74",3];
  _this addWeaponCargoGlobal ["Mk13_EP1",2];
  _this addmagazineCargoGlobal ["15Rnd_9x19_M9SD",10];
  _this addmagazineCargoGlobal ["30Rnd_9x19_UZI_SD",10];
  _this addmagazineCargoGlobal ["10Rnd_762x54_SVD",10];
  _this addmagazineCargoGlobal ["20Rnd_762x51_FNFAL",20];
  _this addmagazineCargoGlobal ["75Rnd_545x39_RPK",20];
  _this addmagazineCargoGlobal ["1Rnd_HE_M203",15];
  _this addmagazineCargoGlobal ["HandGrenade_West",5];
  _this addmagazineCargoGlobal ["Skin_Soldier1_DZ",5];
  _this addmagazineCargoGlobal ["Skin_Sniper1_DZ",5];
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",2];
  _this setPos [16586.053, 18130.652, 0];
};
};

 
But the problem is, when I put the boxes on the server I do not find them in the place where he staged.
I can tell me what is wrong?

 

Hi

This is how I have done one of the admin weaponboxes on my server.

file called weaponbox.sqf

in mapaddons folder in my server pbo

 

if (isServer) then {

_bldObj = objNull;
if (true) then
{
  _bldObj = createVehicle ["BAF_BasicWeapons", [7786.25, 3496.51, 1.0967255e-005], [], 0, "CAN_COLLIDE"];
  _bldObj setDir -14.73501;
  _bldObj setPos [7786.25, 3496.51, 1.0967255e-005];
  //Clear Cargo
  clearweaponcargoGlobal _bldObj;
  clearmagazinecargoGlobal _bldObj;
  //Add Cargo
  _bldObj addWeaponCargoGlobal ["M9SD",5];
  _bldObj addWeaponCargoGlobal ["DMR_DZ",5];
  _bldObj addWeaponCargoGlobal ["SVD_CAMO",5];
  _bldObj addWeaponCargoGlobal ["M240_DZ",5];
  _bldObj addWeaponCargoGlobal ["M14_EP1",5];
  _bldObj addWeaponCargoGlobal ["Mk_48_DZ",5];
  _bldObj addWeaponCargoGlobal ["Pecheneg_DZ",5];

  _bldObj addmagazineCargoGlobal ["20Rnd_762x51_DMR",50];
  _bldObj addmagazineCargoGlobal ["10Rnd_762x54_SVD",50];
  _bldObj addmagazineCargoGlobal ["100Rnd_762x54_PK",20];
  _bldObj addmagazineCargoGlobal ["100Rnd_762x51_M240",20];
  _bldObj addmagazineCargoGlobal ["15Rnd_9x19_M9SD",50];
  _bldObj addmagazineCargoGlobal ["1Rnd_HE_M203",5];
  _bldObj addmagazineCargoGlobal ["PipeBomb",5];
  _bldObj addmagazineCargoGlobal ["HandGrenade_West",5];
   
  _bldObj addWeaponCargoGlobal ["ItemToolbox",5];
  _bldObj addWeaponCargoGlobal ["ItemGPS",5];
  _bldObj addWeaponCargoGlobal ["ItemCompass",5];
  _bldObj addWeaponCargoGlobal ["NVGoggles",5];
  _bldObj addWeaponCargoGlobal ["Binocular_Vector",5];
   
  _bldObj addmagazineCargoGlobal ["FoodrabbitCooked",20];
  _bldObj addmagazineCargoGlobal ["ItemSodaCoke",20];
  
  _bldObj addmagazineCargoGlobal ["ItemBandage",30];
  _bldObj addmagazineCargoGlobal ["ItemPainkiller",30];
  _bldObj addmagazineCargoGlobal ["ItemMorphine",30];
  _bldObj addmagazineCargoGlobal ["ItemBloodBag",30];
  _bldObj addmagazineCargoGlobal ["ItemAntibiotic",30];
    
  _bldObj addmagazineCargoGlobal ["PartEngine",5];
  _bldObj addmagazineCargoGlobal ["PartGeneric",15];
  _bldObj addmagazineCargoGlobal ["PartVRotor",5];
  _bldObj addmagazineCargoGlobal ["PartWheel",20];
  _bldObj addmagazineCargoGlobal ["PartFueltank",5];
  _bldObj addmagazineCargoGlobal ["PartGlass",30];
  _bldObj addmagazineCargoGlobal ["ItemJerrycan",5];

  _bldObj addmagazineCargoGlobal ["bulk_PartGeneric",2];
  _bldObj addmagazineCargoGlobal ["ItemVault",2];

  _bldObj addmagazineCargoGlobal ["Skin_Camo1_DZ",5];
  _bldObj addmagazineCargoGlobal ["Skin_Soldier1_DZ",5];
  _bldObj addmagazineCargoGlobal ["Skin_Sniper1_DZ",5];
  _bldObj addmagazineCargoGlobal ["Skin_GUE_Soldier_Sniper_DZ",5];
  _bldObj addbackpackCargoGlobal ["DZ_largeGunBag_EP1",1];
  _bldObj addmagazineCargoGlobal ["ItemBriefcase100oz",5];
  
  _bldObj setVariable ["permaLoot",true];
};
};

this is in my dayz_server.pbo

as weaponbox sqf in folder mapaddons

 

then in server_monitor.sqf add the following under //Custom Buildings

 

//Custom Buildings
call compile preProcessFileLineNumbers "\z\addons\dayz_server\mapaddons\weaponbox.sqf";

This is just 1 but you get the idea =)

Link to comment
Share on other sites

 

Hello im new to server hosting so i just created my server and i followed every step  from the guide server but still i cant find what did i do wrong and i was wondering if you guys could help me out.
Basically i made the my "mission.sqf" and put in a new folder called "maps" the root folder of dayz_server where there are other stuff like (compile, init, mission, modules and system folders).
 
this is the end line of my server_functions.sqf:
diag_log format["SAFE LOCKED: ID:%1 UID:%2 BY %3(%4)", _objectID, _objectUID, (name _player), (getPlayerUID _player)];


};


execVM "\z\addons\dayz_server\maps\mission.sqf";
this is the start / end lines of my mission.sqf:
if (isServer) then {


  _this = createVehicle ["HMMWVWreck", [2118.9526, 3084.3386, 0.018628133], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir -69.320488;
  _this setPos [2118.9526, 3084.3386, 0.018628133];
};
end
 
_vehicle_1331 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBContructionSite", [11931.105, 6480.5737], [], 0, "CAN_COLLIDE"];
  _vehicle_1331 = _this;
  _this setDir 83.374825;
  _this setPos [11931.105, 6480.5737];
}; 

};

 

 
then i repack the dayz_server.pbo
 
And basically my problem is when i start the server all goes fine to the lobby and then when it loads its says "waiting for server to start authentication", after a while just sends me back to lobby, i even tried putting back the raw files and do it all over again, so it maybe something im doing wrong but i just dont know what :D
 
Like i said im really noob to this :P so if you could help me out it would be amazing!
 
Best Regards!
Ricardo

 

Don't call something mission.xxx, It confuses things. just call it something else =)

 

Remove from server_functions.sqf:

 

add this in to system/server_monitor.sqf 

Find // Custom Buildings

 

//Custom Buildings
call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\somethingelse.sqf";

 

Link to comment
Share on other sites

Hello It can be a stupid question but I really cant find the answer, so how I open a custom bases made in editor (for example this: ) in my editor? I want to add some things/edit but dunno how :(  anyone?

Ask the original poster for the .biedi file =)

Link to comment
Share on other sites

Hello all, also new to everything, addmin , and trying to alter the lift with vehicle. I'm using eliteness(which was recommended), after I change the mission file, with the choppers I want to add a vehicle to lift with and the vehicle that I want to lift, I save, then use eliteness to create the pbo, then save that, then upload to server.   restart the server, join, and all I get is wait for host.  What did I do wrong, or what did I miss?  Can someone please help me with the correct steps, or a better program/files to use? 

Link to comment
Share on other sites

Hello all, also new to everything, addmin , and trying to alter the lift with vehicle. I'm using eliteness(which was recommended), after I change the mission file, with the choppers I want to add a vehicle to lift with and the vehicle that I want to lift, I save, then use eliteness to create the pbo, then save that, then upload to server.   restart the server, join, and all I get is wait for host.  What did I do wrong, or what did I miss?  Can someone please help me with the correct steps, or a better program/files to use? 

 

try pbo manager

 

and for us to know what could possibly be wrong, post your rtp file (use pastebin.com)

Link to comment
Share on other sites

Hello

So I was reading this post and thought I found a fix for a problem I have. when putting down castle walls and castle gates if that is a little slop they lean. So I tried the information you posted about Want your buildings spawn straight and level, all that happens is when I load back into editor I get kicked with an error from the biedi file.  Or maybe I am over looking something. I want my walls level even if on a hill.   I am running epoch 1.0.4.2  any information you can give me I thank you for it in advance

Terrance

Link to comment
Share on other sites

I run epoch 1.0.4.2

when I lay down caslte walls and their entrances, if that is a lean they lean. so I tried your lines about buildings leaning. when I make the changes in the two file and go back into editor. I get kicked. Help plz

terrance

Link to comment
Share on other sites

Hello

So I was reading this post and thought I found a fix for a problem I have. when putting down castle walls and castle gates if that is a little slop they lean. So I tried the information you posted about Want your buildings spawn straight and level, all that happens is when I load back into editor I get kicked with an error from the biedi file.  Or maybe I am over looking something. I want my walls level even if on a hill.   I am running epoch 1.0.4.2  any information you can give me I thank you for it in advance

Terrance

Put this

setVectorUp [0,0,1]

this goes in the vehicles init line in your editor (your case the wall is a vehicle) =)

then click ok.

Link to comment
Share on other sites

Hi I am trying to add my own little arena for a event but nothing is happening or spawning?

 

I added this to the bottom of my server_functions.sqf

execVM "\Buildings\ah13h.sqf";

This is the code for the building

if (isServer) then {

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6582.7178, 14122.469, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir 182.95686;
  _this setPos [6582.7178, 14122.469, 9.1552734e-005];
};

_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6575.3789, 14267.254, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setPos [6575.3789, 14267.254, -6.1035156e-005];
};

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6662.8638, 14138.39, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 122.10072;
  _this setPos [6662.8638, 14138.39, -6.1035156e-005];
};

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6674.3291, 14199.626, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 87.369102;
  _this setPos [6674.3291, 14199.626, -3.0517578e-005];
};

_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6661.9648, 14257.017, -0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir 45.170551;
  _this setPos [6661.9648, 14257.017, -0.00015258789];
};

_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6597.7656, 14258.762, -0.00018310547], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setPos [6597.7656, 14258.762, -0.00018310547];
};

_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6617.3989, 14258.464, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setPos [6617.3989, 14258.464, 3.0517578e-005];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6637.2529, 14258.237, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setPos [6637.2529, 14258.237, -9.1552734e-005];
};

_vehicle_22 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6664.291, 14231.061, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_22 = _this;
  _this setDir 82.989441;
  _this setPos [6664.291, 14231.061, 6.1035156e-005];
};

_vehicle_23 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6666.9053, 14220.347, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_23 = _this;
  _this setDir -94.986832;
  _this setPos [6666.9053, 14220.347, 6.1035156e-005];
};

_vehicle_24 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6666.5894, 14176.352, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_24 = _this;
  _this setDir -80.324997;
  _this setPos [6666.5894, 14176.352, 6.1035156e-005];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6663.9707, 14161.95, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir -77.313553;
  _this setPos [6663.9707, 14161.95, 9.1552734e-005];
};

_vehicle_26 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6640.0933, 14132.104, 0.00021362305], [], 0, "CAN_COLLIDE"];
  _vehicle_26 = _this;
  _this setDir -1.8391488;
  _this setPos [6640.0933, 14132.104, 0.00021362305];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6618.9663, 14130.336, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir -5.0429344;
  _this setPos [6618.9663, 14130.336, -9.1552734e-005];
};

_vehicle_28 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6603.9878, 14128.507, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_28 = _this;
  _this setDir -7.9437299;
  _this setPos [6603.9878, 14128.507, 9.1552734e-005];
};

_vehicle_110 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6495.6079, 14244.448, 1.1134644], [], 0, "CAN_COLLIDE"];
  _vehicle_110 = _this;
  _this setDir 300.24673;
  _this setPos [6495.6079, 14244.448, 1.1134644];
};

_vehicle_111 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6485.751, 14185.023, 1.7212219], [], 0, "CAN_COLLIDE"];
  _vehicle_111 = _this;
  _this setDir 265.51508;
  _this setPos [6485.751, 14185.023, 1.7212219];
};

_vehicle_112 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6501.3306, 14130.318, 0.60598755], [], 0, "CAN_COLLIDE"];
  _vehicle_112 = _this;
  _this setDir 223.31645;
  _this setPos [6501.3306, 14130.318, 0.60598755];
};

_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6564.1802, 14128.389, -0.7618103], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir 178.14589;
  _this setPos [6564.1802, 14128.389, -0.7618103];
};

_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6544.5449, 14128.051, -0.51416016], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setDir 178.14589;
  _this setPos [6544.5449, 14128.051, -0.51416016];
};

_vehicle_115 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6524.7002, 14127.645, -0.094482422], [], 0, "CAN_COLLIDE"];
  _vehicle_115 = _this;
  _this setDir 178.14589;
  _this setPos [6524.7002, 14127.645, -0.094482422];
};

_vehicle_116 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6496.7959, 14153.927, 1.0131531], [], 0, "CAN_COLLIDE"];
  _vehicle_116 = _this;
  _this setDir 261.13544;
  _this setPos [6496.7959, 14153.927, 1.0131531];
};

_vehicle_117 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6493.8364, 14164.557, 1.2418213], [], 0, "CAN_COLLIDE"];
  _vehicle_117 = _this;
  _this setDir 83.159264;
  _this setPos [6493.8364, 14164.557, 1.2418213];
};

_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6492.7251, 14208.538, 1.559845], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setDir 97.821068;
  _this setPos [6492.7251, 14208.538, 1.559845];
};

_vehicle_119 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6494.8804, 14223.012, 1.4176331], [], 0, "CAN_COLLIDE"];
  _vehicle_119 = _this;
  _this setDir 100.83249;
  _this setPos [6494.8804, 14223.012, 1.4176331];
};

_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6517.7793, 14253.618, 0.019622803], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir 176.30675;
  _this setPos [6517.7793, 14253.618, 0.019622803];
};

_vehicle_121 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6538.8359, 14256.065, -0.85464478], [], 0, "CAN_COLLIDE"];
  _vehicle_121 = _this;
  _this setDir 173.10298;
  _this setPos [6538.8359, 14256.065, -0.85464478];
};

_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6553.7461, 14258.387, -1.3910217], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir 170.20219;
  _this setPos [6553.7461, 14258.387, -1.3910217];
};

};

Hope someone can help me, I get into the game and theres nothing there. 

Link to comment
Share on other sites

could anyone explain the difference with adding custom map  stuff

I have  all my custom map stuff like this...................................................................... in server_functions.sqf

call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\carriers.sqf";

 

many posts state to add them like this.................................................... in server_functions.sqf

execVM "\z\addons\dayz_server\buildings\carriers.sqf";

 

what way is better  ??

Link to comment
Share on other sites

  • 2 weeks later...

Hi I am trying to add my own little arena for a event but nothing is happening or spawning?

 

I added this to the bottom of my server_functions.sqf

execVM "\Buildings\ah13h.sqf";

This is the code for the building

if (isServer) then {

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6582.7178, 14122.469, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir 182.95686;
  _this setPos [6582.7178, 14122.469, 9.1552734e-005];
};

_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6575.3789, 14267.254, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setPos [6575.3789, 14267.254, -6.1035156e-005];
};

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6662.8638, 14138.39, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 122.10072;
  _this setPos [6662.8638, 14138.39, -6.1035156e-005];
};

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6674.3291, 14199.626, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 87.369102;
  _this setPos [6674.3291, 14199.626, -3.0517578e-005];
};

_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6661.9648, 14257.017, -0.00015258789], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir 45.170551;
  _this setPos [6661.9648, 14257.017, -0.00015258789];
};

_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6597.7656, 14258.762, -0.00018310547], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setPos [6597.7656, 14258.762, -0.00018310547];
};

_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6617.3989, 14258.464, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setPos [6617.3989, 14258.464, 3.0517578e-005];
};

_vehicle_20 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6637.2529, 14258.237, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_20 = _this;
  _this setPos [6637.2529, 14258.237, -9.1552734e-005];
};

_vehicle_22 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6664.291, 14231.061, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_22 = _this;
  _this setDir 82.989441;
  _this setPos [6664.291, 14231.061, 6.1035156e-005];
};

_vehicle_23 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6666.9053, 14220.347, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_23 = _this;
  _this setDir -94.986832;
  _this setPos [6666.9053, 14220.347, 6.1035156e-005];
};

_vehicle_24 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6666.5894, 14176.352, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_24 = _this;
  _this setDir -80.324997;
  _this setPos [6666.5894, 14176.352, 6.1035156e-005];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6663.9707, 14161.95, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir -77.313553;
  _this setPos [6663.9707, 14161.95, 9.1552734e-005];
};

_vehicle_26 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6640.0933, 14132.104, 0.00021362305], [], 0, "CAN_COLLIDE"];
  _vehicle_26 = _this;
  _this setDir -1.8391488;
  _this setPos [6640.0933, 14132.104, 0.00021362305];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6618.9663, 14130.336, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir -5.0429344;
  _this setPos [6618.9663, 14130.336, -9.1552734e-005];
};

_vehicle_28 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6603.9878, 14128.507, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_28 = _this;
  _this setDir -7.9437299;
  _this setPos [6603.9878, 14128.507, 9.1552734e-005];
};

_vehicle_110 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6495.6079, 14244.448, 1.1134644], [], 0, "CAN_COLLIDE"];
  _vehicle_110 = _this;
  _this setDir 300.24673;
  _this setPos [6495.6079, 14244.448, 1.1134644];
};

_vehicle_111 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6485.751, 14185.023, 1.7212219], [], 0, "CAN_COLLIDE"];
  _vehicle_111 = _this;
  _this setDir 265.51508;
  _this setPos [6485.751, 14185.023, 1.7212219];
};

_vehicle_112 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Bastion", [6501.3306, 14130.318, 0.60598755], [], 0, "CAN_COLLIDE"];
  _vehicle_112 = _this;
  _this setDir 223.31645;
  _this setPos [6501.3306, 14130.318, 0.60598755];
};

_vehicle_113 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6564.1802, 14128.389, -0.7618103], [], 0, "CAN_COLLIDE"];
  _vehicle_113 = _this;
  _this setDir 178.14589;
  _this setPos [6564.1802, 14128.389, -0.7618103];
};

_vehicle_114 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6544.5449, 14128.051, -0.51416016], [], 0, "CAN_COLLIDE"];
  _vehicle_114 = _this;
  _this setDir 178.14589;
  _this setPos [6544.5449, 14128.051, -0.51416016];
};

_vehicle_115 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6524.7002, 14127.645, -0.094482422], [], 0, "CAN_COLLIDE"];
  _vehicle_115 = _this;
  _this setDir 178.14589;
  _this setPos [6524.7002, 14127.645, -0.094482422];
};

_vehicle_116 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6496.7959, 14153.927, 1.0131531], [], 0, "CAN_COLLIDE"];
  _vehicle_116 = _this;
  _this setDir 261.13544;
  _this setPos [6496.7959, 14153.927, 1.0131531];
};

_vehicle_117 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6493.8364, 14164.557, 1.2418213], [], 0, "CAN_COLLIDE"];
  _vehicle_117 = _this;
  _this setDir 83.159264;
  _this setPos [6493.8364, 14164.557, 1.2418213];
};

_vehicle_118 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6492.7251, 14208.538, 1.559845], [], 0, "CAN_COLLIDE"];
  _vehicle_118 = _this;
  _this setDir 97.821068;
  _this setPos [6492.7251, 14208.538, 1.559845];
};

_vehicle_119 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6494.8804, 14223.012, 1.4176331], [], 0, "CAN_COLLIDE"];
  _vehicle_119 = _this;
  _this setDir 100.83249;
  _this setPos [6494.8804, 14223.012, 1.4176331];
};

_vehicle_120 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6517.7793, 14253.618, 0.019622803], [], 0, "CAN_COLLIDE"];
  _vehicle_120 = _this;
  _this setDir 176.30675;
  _this setPos [6517.7793, 14253.618, 0.019622803];
};

_vehicle_121 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6538.8359, 14256.065, -0.85464478], [], 0, "CAN_COLLIDE"];
  _vehicle_121 = _this;
  _this setDir 173.10298;
  _this setPos [6538.8359, 14256.065, -0.85464478];
};

_vehicle_122 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_A_Castle_Wall1_20", [6553.7461, 14258.387, -1.3910217], [], 0, "CAN_COLLIDE"];
  _vehicle_122 = _this;
  _this setDir 170.20219;
  _this setPos [6553.7461, 14258.387, -1.3910217];
};

};

Hope someone can help me, I get into the game and theres nothing there. 

I use the system\system_monitor.sqf in the dayz_server pbo

Find this

 

// Custom Configs

 

Then add this below it. Make a new directory with called Buldings and put your ah13hsqf into it

call compile preProcessFileLineNumbers "\z\addons\dayz_server\Buildings\ah13h.sqf";

Repack and restart =)

Link to comment
Share on other sites

Anyone know where to find ATCs? Been through most of the drop down lists but can't seem to find it!

 

MAP: EU-Military

=B Mil_ControlTower

Look for the above =)

@icey

Save the mission

Take out the top lines ( That look like this activateAddons [

  "map_eu"

];

activateAddons ["map_eu"];

initAmbientLife;

_this = createCenter west;

_center_0 = _this;

_group_0 = createGroup _center_0;

_unit_0 = objNull;

if (true) then

{

  _this = _group_0 createUnit ["INS_Soldier_CO_DZ", [6955.7476, 2807.2883], [], 0, "CAN_COLLIDE"];

  _unit_0 = _this;

  _this setDir 40.762802;

  _this setUnitAbility 0.60000002;

  if (true) then {_group_0 selectLeader _this;};

  if (true) then {selectPlayer _this;};

}; )

So the first line should read or something close to it. _vehicle_1 = objNull;

add this to the top

if (isServer) then {

add this to the very bottom

}

 

Then just follow the post a few up to put on your server =)

   

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...