stringtable DAGR

This commit is contained in:
gienkov 2015-09-12 21:25:02 +02:00
parent d3b6dd4b45
commit 530dfa041d
3 changed files with 21 additions and 5 deletions

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(menu) { class GVAR(menu) {
displayName = "Configure DAGR"; displayName = CSTRING(ConfigureDAGR);
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(menuInit)); statement = QUOTE(call FUNC(menuInit));
showDisabled = 0; showDisabled = 0;
@ -12,7 +12,7 @@ class CfgVehicles {
icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa)); icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa));
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
class GVAR(toggle) { class GVAR(toggle) {
displayName = "Toggle DAGR"; displayName = CSTRING(ToggleDAGR);
condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(toggleOverlay)); statement = QUOTE(call FUNC(toggleOverlay));
showDisabled = 0; showDisabled = 0;
@ -30,7 +30,7 @@ class CfgVehicles {
author[] = {"Rosuto", "Ruthberg"}; author[] = {"Rosuto", "Ruthberg"};
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "DAGR"; displayName = CSTRING(Name);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
MACRO_ADDITEM(ACE_DAGR,1); MACRO_ADDITEM(ACE_DAGR,1);

View File

@ -6,9 +6,9 @@ class CfgWeapons {
class ACE_DAGR: ACE_ItemCore { class ACE_DAGR: ACE_ItemCore {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
scope = 2; scope = 2;
displayName = "DAGR"; displayName = CSTRING(Name);
model = QUOTE(PATHTOF(data\DAGR.p3d)); model = QUOTE(PATHTOF(data\DAGR.p3d));
descriptionShort = ""; descriptionShort = CSTRING(Description);
picture = PATHTOF(UI\DAGR_Icon.paa); picture = PATHTOF(UI\DAGR_Icon.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;

View File

@ -1,5 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project name="ACE"> <Project name="ACE">
<Package name="DAGR"> <Package name="DAGR">
<Key ID="STR_ACE_DAGR_Name">
<English>DAGR</English>
<Polish>DAGR</Polish>
</Key>
<Key ID="STR_ACE_DAGR_ConfigureDAGR">
<English>Configure DAGR</English>
<Polish>Konfiguruj DAGR</Polish>
</Key>
<Key ID="STR_ACE_DAGR_ToggleDAGR">
<English>Toggle DAGR</English>
<Polish>Przełącz DAGR</Polish>
</Key>
<Key ID="STR_ACE_DAGR_Description">
<English>Defense Advanced GPS Receiver</English>
<Polish>Defense Advanced GPS Receiver</Polish>
</Key>
</Package> </Package>
</Project> </Project>