Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion A3A/addons/core/functions/init/fn_initUtilityItems.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ _items append [
[_medTent#0, _medTent#1, localize "STR_A3AP_buyvehdialog_medical_tent", "heal", ["place", "move", "rotate", "pack"]],
[_ammoStation#0, _ammoStation#1, localize "STR_A3AP_buyvehdialog_ammo_station", "rearm", ["cmmdr", "ammo", "place", "move", "rotate", "save"]],
[_repairStation#0, _repairStation#1, localize "STR_A3AP_buyvehdialog_repair_station", "repair", ["cmmdr", "place", "move", "rotate", "pack", "save"]],
[_lightSource#0, _lightSource#1, localize "STR_A3AP_buyvehdialog_light", "", ["move"]]
[_lightSource#0, _lightSource#1, localize "STR_A3AP_buyvehdialog_light", "light", ["move"]],
["Land_PlasticCase_01_small_black_F", 250, localize "STR_A3AP_buyvehdialog_BuildBoxExtraSmall", "build", ["place", "move", "build"]], //I guess those tags are not needed anymore?
["Land_PlasticCase_01_medium_black_F", 500, localize "STR_A3AP_buyvehdialog_BuildBoxSmall", "build", ["place", "move", "build"]],
["A3AU_Build_Box_Large_1", 2500, localize "STR_A3AP_buyvehdialog_BuildBoxMeduim", "build", ["place", "move", "build"]],
["Land_PlasticCase_01_large_black_F", 5000, localize "STR_A3AP_buyvehdialog_BuildBoxLarge", "build", ["place", "move", "build"]],
["A3AU_Build_Box_Humongous", 5000, localize "STR_A3AP_buyvehdialog_BuildBoxHumongous", "build", ["place", "move", "build"]]
// TODO: get larger box from somewhere
];

Expand Down
8 changes: 8 additions & 0 deletions A3A/addons/gui/Stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,14 @@
<French>Cet objet contient un certain nombre de kits de récupération de l'état de préparation au combat.</French>
<Turkish>Bu öğe belirli sayıda Savaş Hazırlığı Yenileme kiti içerir</Turkish>
</Key>
<Key ID="STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip">
<Original>This item is used to build stuff.</Original>
<Russian>Этот предмет используется для строительства объектов.</Russian>
<Chinesesimp>此物品用于建造设施。</Chinesesimp>
<Korean>이 아이템은 건설용으로 사용됩니다.</Korean>
<French>Cet objet est utilisé pour la construction.</French>
<Turkish>Bu eşya inşaat yapımında kullanılır.</Turkish>
</Key>
</Container>
<Container name="dialog_main_player">
<Key ID="STR_antistasi_dialogs_main_fast_travel">
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/gui/dialogues/textures.inc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Maintainer: DoomMetal
#define A3A_Icon_Box "\A3\ui_f\data\igui\cfg\simpleTasks\types\box_ca.paa"
#define A3A_Icon_HealKit "a3\missions_f_exp\data\img\lobby\ui_campaign_lobby_background_tablet_button_revive02_ca.paa"
#define A3A_Icon_Repair "\a3\ui_f\data\igui\cfg\actions\repair_ca.paa"

#define A3A_Icon_Build "\a3\ui_f\data\IGUI\Cfg\simpleTasks\types\use_ca.paa"

// Commander picture
#define A3A_Icon_PlayerCommander "\A3\Ui_f\data\GUI\Cfg\Ranks\colonel_gs.paa"
Expand Down
25 changes: 25 additions & 0 deletions A3A/addons/gui/functions/GUI/fn_buyVehicleTabs.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ if (_tab in ["other"]) then
case "refuel": { A3A_Icon_Refuel };
case "repair": { A3A_Icon_Repair };
case "rearm": { A3A_Icon_Rearm };
case "build": { A3A_Icon_Build };
default { "" };
};
_itemPic ctrlSetText _iconPath;
Expand All @@ -488,6 +489,30 @@ if (_tab in ["other"]) then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_light_tooltip";
};
if (_className isEqualTo "Box_NATO_Support_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_revivekitbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_small_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_medium_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "A3AU_Build_Box_Large_1") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "Land_PlasticCase_01_large_black_F") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
if (_className isEqualTo "A3AU_Build_Box_Humongous") then
{
_itemPic ctrlSetTooltip localize "STR_antistasi_dialogs_buy_vehicle_buildbox_tooltip";
};
Comment on lines +497 to +503
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this as a new property in their config definition and read it out here with a single line instead.

_itemPic ctrlCommit 0;

// Show item
Expand Down
40 changes: 40 additions & 0 deletions A3A/addons/scrt/Stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,46 @@
<Chinesesimp>医疗箱</Chinesesimp>
<Turkish>Tıbbi Malzeme Kutusu</Turkish>
</Key>
<Key ID="STR_A3AP_buyvehdialog_BuildBoxExtraSmall">
<Original>Build Box (Extra Small)</Original>
<Russian>Строительный ящик (Очень малый)</Russian>
<Korean>빌드 박스 (특소형)</Korean>
<French>Caisse de construction (Très petite)</French>
<Chinesesimp>建造箱 (超小型)</Chinesesimp>
<Turkish>İnşaat Kutusu (Çok Küçük)</Turkish>
</Key>
<Key ID="STR_A3AP_buyvehdialog_BuildBoxSmall">
<Original>Build Box (Small)</Original>
<Russian>Строительный ящик (Малый)</Russian>
<Korean>빌드 박스 (소형)</Korean>
<French>Caisse de construction (Petite)</French>
<Chinesesimp>建造箱 (小型)</Chinesesimp>
<Turkish>İnşaat Kutusu (Küçük)</Turkish>
</Key>
<Key ID="STR_A3AP_buyvehdialog_BuildBoxMeduim">
<Original>Build Box (Medium)</Original>
<Russian>Строительный ящик (Средний)</Russian>
<Korean>빌드 박스 (중형)</Korean>
<French>Caisse de construction (Moyenne)</French>
<Chinesesimp>建造箱 (中型)</Chinesesimp>
<Turkish>İnşaat Kutusu (Orta)</Turkish>
</Key>
<Key ID="STR_A3AP_buyvehdialog_BuildBoxLarge">
<Original>Build Box (Large)</Original>
<Russian>Строительный ящик (Большой)</Russian>
<Korean>빌드 박스 (대형)</Korean>
<French>Caisse de construction (Grande)</French>
<Chinesesimp>建造箱 (大型)</Chinesesimp>
<Turkish>İnşaat Kutusu (Büyük)</Turkish>
</Key>
<Key ID="STR_A3AP_buyvehdialog_BuildBoxHumongous">
<Original>Build Box (Humongous)</Original>
<Russian>Строительный ящик (Огромный)</Russian>
<Korean>빌드 박스 (대형)</Korean>
<French>Caisse de construction (Grande)</French>
<Chinesesimp>建造箱 (大型)</Chinesesimp>
<Turkish>İnşaat Kutusu (Dev)</Turkish>
</Key>
</Container>
<Container name="arsenal">
<Key ID="STR_A3AP_vehArsenal_desc">
Expand Down