How to spawn Ammoboxes for Bot-Base (1.8.4.1)?

iFear

New Member
Hi,

I've made an AI Base, where people can find ammoboxes with loot in it.
This works fine for Epoch, but in 1.8.4.1 these ammoboxes are getting deleted with every server-restart.

RPT shows this:
Code:
Cannot create entity with abstract type TKVehicleBox_EP1 (scope = private?)

I spawn this boxes with an sqf-file (like map additions),
it looks like this:
Code:
_vehicle_101 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [8108.1665, 13562.08, 0.00021362305], [], 0, "CAN_COLLIDE"];
  _vehicle_101 = _this;
  _this setDir -48.665634;
    //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
 
  // ------------------------------------------------------
  //Add Cargo
  //WEAPONS
  _this addWeaponCargoGlobal ["SVD_CAMO_DZ",2];
  _this addWeaponCargoGlobal ["DMR_DZ",2];
  _this addWeaponCargoGlobal ["M4A1_AIM_SD_camo",2];
  _this addWeaponCargoGlobal ["bizon_silenced",2];
  _this addWeaponCargoGlobal ["M16A4_ACG",2];
  _this addWeaponCargoGlobal ["M4A1_HWS_GL_camo",2];
  _this addWeaponCargoGlobal ["M240_DZ",2];
 
  //AMMO and ITEMS
  _this addmagazineCargoGlobal ["10Rnd_762x54_SVD ",10];
  _this addmagazineCargoGlobal ["20Rnd_762x51_DMR",10];
  _this addmagazineCargoGlobal ["30Rnd_556x45_Stanag",20];
  _this addmagazineCargoGlobal ["64Rnd_9x19_SD_Bizon",10];
  _this addmagazineCargoGlobal ["100Rnd_762x51_M240",10];
  _this addmagazineCargoGlobal ["Tranquiliser_Bolt",10];
  _this addmagazineCargoGlobal ["Crossbow_EX_Bolt",10];
  _this addmagazineCargoGlobal ["Skin_Camo1_DZ",5];
  _this addmagazineCargoGlobal ["PipeBomb",5];
  _this addmagazineCargoGlobal ["FoodCandyMintception",5];
  _this addmagazineCargoGlobal ["ItemSodaMtngreen",5];
 
  //TOOLS
  _this addWeaponCargoGlobal ["Binocular_Vector",2];
  _this addWeaponCargoGlobal ["NVGoggles",2];
  _this addWeaponCargoGlobal ["ItemGPS",2];
  _this addWeaponCargoGlobal ["ItemFlashlightRed",2];
 
  //BACKPACK
  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",2];
  // ------------------------------------------------------
 
  _this setPos [8108.1665, 13562.08, 6.1035156e-005];
  _this setVariable ["permaLoot",true];
};

So.... I've seen (in RPT) that all these ammoboxes are banned.
Is there a way to bring them back on the server?

As I said, with Epoch there's no problem (this worked for more then a year for my server) but in 1.8.4.1 the boxes are getting deleted.

I've found this fix (http://www.dayzpatriots.com/adding-weapon-ammo-crates-1-7-7-1-t97.html) but the code in it is not up-to-date anymore :(
 
because ammo crates are banned items in dayz mod (you said that) ... one of the few reasons I switched to epoch was because nothing is banned. There is no way to 'unban' an item. In 1.8.0.3 there were one or two that were not, usbasicammocrate I think .. But they probably removed that too .. This is part of the reason there are only 3 Dayz mod servers remaining.
 
Hm ok, I wondered, because DMZS also uses crates and it should work with 1.8.4.1.... so maybe there's a way?
 
in dzms i had to change to using "AmmoBoxBig" as the other boxes where banned -

_this = createVehicle ["AmmoBoxBig", [8108.1665, 13562.08, 0.00021362305], [], 0, "CAN_COLLIDE"];

try that
 
That will be until the next update when they probably catch that too.

It is pretty clear they do not want you using AI or ammo crates.
 
I 'workaround' theory, that may or may not work.

Create a non-interactive ammobox and at the same location create a 'stash' .. you MIGHT be able to access the stash from outside the non-interactive crate and have it seemlessly appear to be an ammo crate.
 
That would be interesting to try.

Might be easier to partk a military vehicle that has a missing tire or two and cannot be repaired (easy to impliment with temp vehicle variables).
 
AmmoBoxBig will work fine, im using it atm - dont understand why they keep banning stuff tbh as it dosnt stop hackers at all, just make it harder to run your own server
 
exactly. I never understood why they want a server with 5 possible skins. WHY o' WHY would they feel the need to ban skins? ...
 
Back
Top