From 34444e3494bc348610ec7d517a223855b8044985 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sat, 15 Feb 2014 00:23:57 +0100 Subject: [PATCH] Added ItemARM --- .../Configs/CfgMagazines/DZE/Items.hpp | 29 ++++++++++++++----- SQF/dayz_epoch_b/stringtable.xml | 20 +++++++++++++ 2 files changed, 41 insertions(+), 8 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp index aa59faa0a..53b885243 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Items.hpp @@ -176,10 +176,9 @@ class ItemORP: CA_Magazine { class ItemActions { class Upgrades { text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "['ORP'] spawn player_upgradeVehicle;"; + script = "spawn player_upgradeVehicle;"; }; }; - }; class ItemAVE: CA_Magazine { scope = 2; @@ -194,10 +193,9 @@ class ItemAVE: CA_Magazine { class ItemActions { class Upgrades { text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "['AVE'] spawn player_upgradeVehicle;"; + script = "spawn player_upgradeVehicle;"; }; }; - }; class ItemLRK: CA_Magazine { scope = 2; @@ -212,10 +210,9 @@ class ItemLRK: CA_Magazine { class ItemActions { class Upgrades { text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "['LRK'] spawn player_upgradeVehicle;"; + script = "spawn player_upgradeVehicle;"; }; }; - }; class ItemTNK: CA_Magazine { scope = 2; @@ -230,10 +227,26 @@ class ItemTNK: CA_Magazine { class ItemActions { class Upgrades { text = $STR_EPOCH_PLAYER_UPGRADEV; - script = "['TNK'] spawn player_upgradeVehicle;"; + script = "spawn player_upgradeVehicle;"; + }; + }; +}; +class ItemARM: CA_Magazine { + scope = 2; + count = 1; + type = 256; + displayName = $STR_EPOCH_VEHUP_ARM; + model = "\z\addons\dayz_epoch\models\doc_Up4.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_docup4_ca.paa"; + descriptionShort = $STR_EPOCH_VEHUP_ARM_DESC; + weight = 0.1; + sfx = "document"; + class ItemActions { + class Upgrades { + text = $STR_EPOCH_PLAYER_UPGRADEV; + script = "spawn player_upgradeVehicle;"; }; }; - }; // Documents diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 0c134adb4..a9099ecfd 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -6126,6 +6126,26 @@ Guide d'installation du réservoir. Návod na instalaci Palivové nádrže. + + Weapon upgrade + Weapon upgrade + Bewaffnung + + + + + + + + Weapon install guide. + Installation instructions for the vehicle armament. + Installationsanleitung für die Fahrzeug-bewaffnung. + + + + + + Vehicle Upgrade Successful. Vehicle Upgrade Successful.