Add upgradeable tanks and APCs

Add a new manual to upgrade tanks and APCs. It is not in by default so server admins can decide if they want to use it.
The BMP2, M113, BTR-60/90 and the LAV-25 can be upgraded now.
This commit is contained in:
AirwavesMan
2020-08-15 15:35:09 +02:00
parent 7686162837
commit 4634434e2c
7 changed files with 1012 additions and 35 deletions

View File

@@ -411,6 +411,90 @@ class ItemTruckARM: CA_Magazine
};
};
class ItemTankORP: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_VEHUP_ORP_TANK;
model = "\z\addons\dayz_epoch\models\doc_Up1.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_docup1_ca.paa";
descriptionShort = $STR_EPOCH_VEHUP_ORP_TANK_DESC;
sfx = "document";
class ItemActions
{
class Upgrades
{
text = $STR_EPOCH_PLAYER_UPGRADEV;
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemTankAVE: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_VEHUP_AVE_TANK;
model = "\z\addons\dayz_epoch\models\doc_Up2.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_docup2_ca.paa";
descriptionShort = $STR_EPOCH_VEHUP_AVE_TANK_DESC;
sfx = "document";
class ItemActions
{
class Upgrades
{
text = $STR_EPOCH_PLAYER_UPGRADEV;
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemTankLRK: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_VEHUP_LRK_TANK;
model = "\z\addons\dayz_epoch\models\doc_Up3.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_docup3_ca.paa";
descriptionShort = $STR_EPOCH_VEHUP_LRK_TANK_DESC;
sfx = "document";
class ItemActions
{
class Upgrades
{
text = $STR_EPOCH_PLAYER_UPGRADEV;
script = "spawn player_upgradeVehicle;";
};
};
};
class ItemTankTNK: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_VEHUP_TNK_TANK;
model = "\z\addons\dayz_epoch\models\doc_Up4.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa";
descriptionShort = $STR_EPOCH_VEHUP_TNK_TANK_DESC;
sfx = "document";
class ItemActions
{
class Upgrades
{
text = $STR_EPOCH_PLAYER_UPGRADEV;
script = "spawn player_upgradeVehicle;";
};
};
};
class Blueprint_01: CA_Magazine
{
scope = 2;