Jump to content

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


Poncho

Recommended Posts

you cant flatten terrain you can only set the buildings to horizontal by adding this line underneath the object you want flat

 

  _this setVectorUp [0,0,1];

 

but that would create another problem, you either start getting terrain inside the building or you get parts of the building flying :(

 

oh well guess I just have to deal with it and find better places to build something.

Link to comment
Share on other sites

hey guys, i have been trying almost all day to get a map addition on my server as i have been asked by a clan to put one on. 

however i am fairly new to working with code, i have tried this method and and the server side method however either when i log onto the server the server side attempts just sit on waiting for host and the mpmissions version loads fine but none of the map additions are there ? any help would be greatly appreciated 

 

i know i am probably missing something stupid would anyone be able to look at my mp missions folder and tell me if i am doing something wrong ?

 

 

 

(edit; Grammar was awful) 

Link to comment
Share on other sites

hey guys, i have been trying almost all day to get a map addition on my server as i have been asked by a clan to put one on. 

however i am fairly new to working with code, i have tried this method and and the server side method however either when i log onto the server the server side attempts just sit on waiting for host and the mpmissions version loads fine but none of the map additions are there ? any help would be greatly appreciated 

 

i know i am probably missing something stupid would anyone be able to look at my mp missions folder and tell me if i am doing something wrong ?

 

 

 

(edit; Grammar was awful) 

 

Can you post the contents (all of it) of the .sqf file that you've made and the exec line that you've placed in the server_functions.sqf?

Link to comment
Share on other sites

hi guys 1st post thanks for the lessons on adding maps few questions, what is the advantage to optimizing your map? I also loaded into the server and got a cannot find mapedit.sqf message though the change I made is there. I use vilayer and followed Raziel post #17

his post...

 

My path for vilayer ended up being:

         execVM "\vilayercodecustom\dayz_epoch\maps\mapedit.sqf";

 

 

I went to: File manager

select: Vilayercodecustom

then: dayz_epoch  

At this point I hit the New Folder icon and named the folder maps

then opened maps folder and hit upload and browse for my mapedit.sqf file (that i had edited previously to Poncho's instructions) and hit upload

then I hit the page back icon

then open the init folder and at the bottom I added   execVM "\vilayercodecustom\dayz_epoch\maps\mapedit.sqf";

which is a little different to Poncho's original instructions but it worked for me.

 

like I said worked... but concerned

Link to comment
Share on other sites

when you optimise your map you can have custom buildings and area's. For the rest no real advantages. 

 

 

In the init map you'll find a file called "server_functions.sqf". Open this file.
 

At the complete bottom of the scripts (even below the closing bracket) paste the following line (In your case) for every .sqf file:

execVM "\z\addons\dayz_server\maps\mapedit.sqf";

 

Now you shouldnt get the cannot find mapedit.sqf message anymore. 

Link to comment
Share on other sites

ok will try that, thank you.and I'm assuming init folder not init map is what you meant.

so I currently have this

execVM "\vilayercodecustom\dayz_epoch\maps\mapedit.sqf"; 

pasted at the bottom of my init.sqf which is located in \vilayercodecustom\missions\epoch.chernarus\ and it works other than the message I get when logging in. should I remove the

execVM "\vilayercodecustom\dayz_epoch\maps\mapedit.sqf";

from my init.sqf?

or just have both?

also you said paste

execVM "\z\addons\dayz_server\maps\mapedit.sqf";

into the "server_functions.sqf" but the path to my mapedit.sqf is  \vilayercodecustom\dayz_epoch\maps\mapedit.sqf"; not z\addons dayz_server\maps\mapedit.sqf which is the correct command?

execVM "\z\addons\dayz_server\maps\mapedit.sqf"; or

execVM "\vilayercodecustom\dayz_epoch\maps\mapedit.sqf";

thanks again sorry if this is confusing and convoluted

Link to comment
Share on other sites

Its no problem and sorry for the late response. 

 

You should remove it from your init.sqf if you want to run it serverside and only keep the command in the server_functions.sqf.

 

The correct command in your server_functions.sqf file is the one I typed:

execVM "\z\addons\dayz_server\maps\mapedit.sqf";

Link to comment
Share on other sites

Can anyone please tell me how to open Napf in the Jon c5 editor update?

The only way i can get into an editor is to hit alt+e after disconnecting from my server

I would like to be able to launch it from Dayz Commader using the launch paramater -mod=@Jon_EditorUpdate

Problem is Napf, is not in the editable maps list

What am i missing?

Link to comment
Share on other sites

I had problem with this. My mission.sqf on server i delete it and upload mission.sqf to server with custom buildings. and custom buildings arent on server map. Can anybody help me ?

This helped me a great deal hope it will help you if you havent figured it out already :)

 

 

EDit: Ignore this. posted it beofre I saw the date unless it helps anyone then dont ignore this :)

Link to comment
Share on other sites

Can anyone please tell me how to open Napf in the Jon c5 editor update?

The only way i can get into an editor is to hit alt+e after disconnecting from my server

I would like to be able to launch it from Dayz Commader using the launch paramater -mod=@Jon_EditorUpdate

Problem is Napf, is not in the editable maps list

What am i missing?

Launch OA and in expansions enable Epoch, NAPF is part of Epoch.

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?
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?

 

dunno what u planning to do with that boxes, but be advice, they will reload the cargo seconds after gets clean. Meaning = no end items.

Link to comment
Share on other sites

No.

 

But your boxes are probably deleted by the cleanup script.

 

The permaloot thing should fix that

if (isServer) then {
 
_vehicle_42879 = objNull;
if (true) then
{
  _this = createVehicle ["RUVehicleBox", [16488.793, 18206.689, -0.01955531], [], 0, "CAN_COLLIDE"];
  _this setVariable ["permaLoot",true];
  _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"];
  _this setVariable ["permaLoot",true];
  _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"];
  _this setVariable ["permaLoot",true];
  _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"];
  _this setVariable ["permaLoot",true];
  _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"];
  _this setVariable ["permaLoot",true];
  _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"];
  _this setVariable ["permaLoot",true];
  _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];
};
};

Did so, but the boxes are stubbornly unwilling to appear! On serverer Chernarus box appeared, but the server does not appear NAPF!

Link to comment
Share on other sites

  • 2 weeks later...

Okay so i'm having an issue spawning in Units. 

I don't know why, I can't select a group, or unit, or anything. I am quiet confused as to why, Could someone possibly shed some light with me if you know anything?

It won't let me save anything without having a unit.

255klg7.jpg

1. Put out "Center (F10)" at some random place.

2. Put out "Group (F2)" also random place.

3. Put out "Unit (F1)"

Then you can save, but remember to delete those in your sqf after.

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...