Jump to content
  • 0
Sign in to follow this  
snake49

Personal safe slots

Question

4 answers to this question

Recommended Posts

  • 0

Hi friend,

It's in dayz_code.pbo from your @DayZ_Epoch folder. 

You need unpack config.bin to get "CfgVehicles.hpp". There is possible editing slots. 

How unpack config.bin?

You can use ArmA Tools with "unRap" tool from this link:
http://www.kegetys.fi/arma-tools/

Copy config.bin to folder with unRap.exe, then click 2x on unRap.exe, will ask you where is config.bin then show him and u will get many files .hpp from config.bin.

I will attach for you this file:
http://pastebin.com/CTvVumYy

Copy all and put to new file, call it "CfgVehicles.hpp". Extension must be .hpp, not .txt. 

Vault Storage is on 1545 line.
 

class VaultStorage : Land_A_tent {
			placement = "vertical";
			vehicleClass = "Survival";
			displayName = "Safe";
			model = "\z\addons\dayz_epoch\models\safe.p3d";
			destrType = "DestructNo";
			armor = 800;
			transportMaxMagazines = 200;
			transportMaxWeapons = 25;
			transportMaxBackpacks = 10;
			lockedClass = "VaultStorageLocked";
			packedClass = "WeaponHolder_ItemVault";
		};

Share this post


Link to post
Share on other sites
  • 0

How can I change the number of slots in a vault for example from 200 to 600, or something?

 

Please note that Vaults were reduced in size recently (Weaponslots reduced from 50 to 25) in order to combat a problem where the server would simply remove _ALL_ items of either Weapon/Tool or Item type.

Increasing this size means you will run the risk of having this issue returned, if I understand the changelog from that patch correctly.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By salival
      Hi guys,
      Quite a few admins asked me to release my Change Code script so here it is, It comes with BattlEye filters, too.
      This will allow players to set the code on placement/upgrade of doors, lockboxes and safes as well as changing them after they are placed.
      https://github.com/oiad/changeCode
    • By Warburgg
      Hello everyone. I would like to ask for help regarding a problem I have been having on my server.
      Items stored in the vault are not being stored in the SQL database.
      I have tested with the safe and the lockbox and both are not working but with the tent it works and saves the items in the database after the server restart.
      ArmA2OA.RPT: https://pastebin.com/X2cT7BBU
      arma2oaserve.RPT: https://pastebin.com/rqFNGbDy
      server_log.txt: https://pastebin.com/ZVWAzgNP
      Please help me. My players do not want to stay on the server because of this and if I remove the safe and leave only the tent (which is what saves the items) they will cry hahaha
    • By Ghostman
      How can i add to server Vault Management
    • By salival
      Hi,
      Here's a simple safe zone relocation script for vehicles. 
      Simple relocate only safe zone script.
      Extremely quick and low overhead since we're only scanning the safe zone array instead of every vehicle.
      Uses the Epoch DZE_SafeZonePosArray for convenience.
      Install instructions and download link: https://github.com/oiad/safeZoneRelocate
    • By Demellion
      Tested much, and still found the same ways to avoid (EPOCH_Locked) variable state of the vaults. 
      Result: I am still able to violate access of the locked vaults via inventory glitches.
      My advise still to use this fix:
       
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...