mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Collisions with the player caused sliding when the safe was pitched forward. It was the same issue with proning against the sandbag. #1945 Note the player can still cause collision sliding by using snap to get the preview closer to them.
35 lines
915 B
C++
35 lines
915 B
C++
class VaultStorage: Land_A_tent {
|
|
placement = "vertical";
|
|
vehicleClass = "Survival";
|
|
displayName = $STR_EPOCH_SAFE;
|
|
model = "\z\addons\dayz_epoch\models\safe.p3d";
|
|
destrType = "DestructNo";
|
|
armor = 800;
|
|
transportMaxMagazines = 200;
|
|
transportMaxWeapons = 25;
|
|
transportMaxBackpacks = 10;
|
|
lockedClass = "VaultStorageLocked";
|
|
packedClass = "WeaponHolder_ItemVault";
|
|
};
|
|
class VaultStorageLocked: Land_A_tent {
|
|
placement = "vertical";
|
|
vehicleClass = "Survival";
|
|
displayName = $STR_EPOCH_SAFE_LOCKED;
|
|
model = "\z\addons\dayz_epoch\models\safe.p3d";
|
|
destrType = "DestructNo";
|
|
armor = 800;
|
|
transportMaxMagazines = 0;
|
|
transportMaxWeapons = 0;
|
|
transportMaxBackpacks = 0;
|
|
offset[] = {0,2.5,0};
|
|
lockable = 4;
|
|
unlockedClass = "VaultStorage";
|
|
requireplot = 0;
|
|
nounderground = 0;
|
|
};
|
|
|
|
class WeaponHolder_ItemVault: WeaponHolder {
|
|
scope = public;
|
|
displayName = $STR_EPOCH_SAFE;
|
|
seedItem = "ItemVault";
|
|
}; |