This commit is contained in:
Timi007 2022-06-10 23:02:40 +02:00
parent d0f97f0b7e
commit 8a78b1b62e
No known key found for this signature in database
GPG Key ID: AFC60E0DA93308DA
6 changed files with 27 additions and 27 deletions

View File

@ -4,13 +4,13 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class ADDON {
displayName = CSTRING(action);
displayName = CSTRING(ActionCategory);
condition = QUOTE(_player call FUNC(hasFlag));
insertChildren = QUOTE(_this call FUNC(addActions));
icon = QPATHTOF(data\icons\place\white_place_icon.paa);
class GVAR(furlFlag) {
displayName = CSTRING(furl);
displayName = CSTRING(Furl);
condition = QUOTE(_player call FUNC(carriesFlag));
statement = QUOTE(_player call FUNC(furlFlag));
icon = QPATHTOF(data\icons\carry\white_furl_icon.paa);

View File

@ -5,10 +5,10 @@ class CfgWeapons {
class GVAR(white): ACE_ItemCore {
scope = 2;
author = ECSTRING(common,ACETeam);
descriptionShort = CSTRING(description);
descriptionUse = CSTRING(description);
descriptionShort = CSTRING(Description);
descriptionUse = CSTRING(Description);
displayName = CSTRING(white);
displayName = CSTRING(White);
picture = QPATHTOF(data\pictures\white_item.paa);
GVAR(texture) = "\a3\data_f\flags\flag_white_co.paa";
@ -20,7 +20,7 @@ class CfgWeapons {
};
};
class GVAR(red): GVAR(white) {
displayName = CSTRING(red);
displayName = CSTRING(Red);
picture = QPATHTOF(data\pictures\red_item.paa);
GVAR(texture) = "\a3\data_f\flags\flag_red_co.paa";
@ -28,7 +28,7 @@ class CfgWeapons {
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\red_carry_icon.paa);
};
class GVAR(blue): GVAR(white) {
displayName = CSTRING(blue);
displayName = CSTRING(Blue);
picture = QPATHTOF(data\pictures\blue_item.paa);
GVAR(texture) = "\a3\data_f\flags\Flag_blue_co.paa";
@ -36,7 +36,7 @@ class CfgWeapons {
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\blue_carry_icon.paa);
};
class GVAR(green): GVAR(white) {
displayName = CSTRING(green);
displayName = CSTRING(Green);
picture = QPATHTOF(data\pictures\green_item.paa);
GVAR(texture) = "\a3\data_f\flags\flag_green_co.paa";
@ -44,7 +44,7 @@ class CfgWeapons {
GVAR(actionIconCarry) = QPATHTOF(data\icons\carry\green_carry_icon.paa);
};
class GVAR(yellow): GVAR(white) {
displayName = CSTRING(yellow);
displayName = CSTRING(Yellow);
picture = QPATHTOF(data\pictures\yellow_item.paa);
GVAR(texture) = QPATHTOF(data\Flag_yellow_co.paa);

View File

@ -12,7 +12,7 @@ GVAR(isPlacing) = PLACE_CANCEL;
private _pickupFlag = [
QGVAR(pickup),
format [LLSTRING(pickup), _flagName],
format [LLSTRING(Pickup), _flagName],
QPATHTOF(data\icons\place\white_pickup_icon.paa),
{
params ["_flag", "_unit", "_item"];

View File

@ -26,7 +26,7 @@ private _actions = [];
_actions pushBack [
[
"place_" + _x,
format [LLSTRING(place), _flagName],
format [LLSTRING(Place), _flagName],
_actionIconPlace,
{
params ["_player", "", "_item"];
@ -44,7 +44,7 @@ private _actions = [];
_actions pushBack [
[
"carry_" + _x,
format [LLSTRING(carry), _flagName],
format [LLSTRING(Carry), _flagName],
_actionIconCarry,
{
params ["_player", "", "_item"];

View File

@ -33,8 +33,8 @@ GVAR(isPlacing) = PLACE_WAITING;
_flag setFlagTexture _texture;
// Add info dialog for the player which show the controls
private _placeFlagText = format [LLSTRING(place), _flagName];
[_placeFlagText, LLSTRING(cancel), LLSTRING(adjustHeight)] call EFUNC(interaction,showMouseHint);
private _placeFlagText = format [LLSTRING(Place), _flagName];
[_placeFlagText, LLSTRING(Cancel), LLSTRING(AdjustHeight)] call EFUNC(interaction,showMouseHint);
private _mouseClickID = [_player, "DefaultAction", {
GVAR(isPlacing) isEqualTo PLACE_WAITING

View File

@ -2,57 +2,57 @@
<Project name="ACE">
<Package name="Flags">
<Container name="displayNames">
<Key ID="STR_ACE_Flags_white">
<Key ID="STR_ACE_Flags_White">
<Original>Flag (White)</Original>
<German>Flagge (Weiß)</German>
</Key>
<Key ID="STR_ACE_Flags_red">
<Key ID="STR_ACE_Flags_Red">
<Original>Flag (Red)</Original>
<German>Flagge (Rot)</German>
</Key>
<Key ID="STR_ACE_Flags_blue">
<Key ID="STR_ACE_Flags_Blue">
<Original>Flag (Blue)</Original>
<German>Flagge (Blau)</German>
</Key>
<Key ID="STR_ACE_Flags_green">
<Key ID="STR_ACE_Flags_Green">
<Original>Flag (Green)</Original>
<German>Flagge (Grün)</German>
</Key>
<Key ID="STR_ACE_Flags_yellow">
<Key ID="STR_ACE_Flags_Yellow">
<Original>Flag (Yellow)</Original>
<German>Flagge (Gelb)</German>
</Key>
<Key ID="STR_ACE_Flags_description">
<Key ID="STR_ACE_Flags_Description">
<Original>Can be carried or placed. Flags are used to mark a specific point in terrain or units.</Original>
<German>Kann getragen oder platziert werden. Flaggen werden zur Kennzeichnung von bestimmten Geländepunkte oder Einheiten eingesetzt.</German>
</Key>
</Container>
<Container name="actions">
<Key ID="STR_ACE_Flags_action">
<Key ID="STR_ACE_Flags_ActionCategory">
<Original>Flags</Original>
<German>Flaggen</German>
</Key>
<Key ID="STR_ACE_Flags_carry">
<Key ID="STR_ACE_Flags_Carry">
<Original>Carry %1</Original>
<German>%1 tragen</German>
</Key>
<Key ID="STR_ACE_Flags_furl">
<Key ID="STR_ACE_Flags_Furl">
<Original>Furl Flag</Original>
<German>Flagge einrollen</German>
</Key>
<Key ID="STR_ACE_Flags_place">
<Key ID="STR_ACE_Flags_Place">
<Original>Place %1</Original>
<German>%1 platzieren</German>
</Key>
<Key ID="STR_ACE_Flags_pickup">
<Key ID="STR_ACE_Flags_Pickup">
<Original>Pickup %1</Original>
<German>%1 aufnehmen</German>
</Key>
<Key ID="STR_ACE_Flags_cancel">
<Key ID="STR_ACE_Flags_Cancel">
<Original>Cancel</Original>
<German>Abbrechen</German>
</Key>
<Key ID="STR_ACE_Flags_adjustHeight">
<Key ID="STR_ACE_Flags_AdjustHeight">
<Original>Adjust height</Original>
<German>Höhe anpassen</German>
</Key>