internationalized most menu text
This commit is contained in:
@@ -9,7 +9,7 @@ var regular_label: Label = null
|
||||
|
||||
|
||||
func set_preview(hero: HeroClass) -> void:
|
||||
hero_name_label.text = hero.hero_name
|
||||
hero_name_label.text = tr(hero.hero_name)
|
||||
if regular_label:
|
||||
regular_label.queue_free()
|
||||
regular_label = null
|
||||
@@ -20,14 +20,14 @@ func set_preview(hero: HeroClass) -> void:
|
||||
for card: Card in hero.deck:
|
||||
if !added_labels.has(card):
|
||||
var new_label: TowerLabel = tower_label_scene.instantiate() as TowerLabel
|
||||
new_label.change_label(card.display_name, str(hero.deck.count(card)))
|
||||
new_label.change_label(tr(card.display_name), str(hero.deck.count(card)))
|
||||
added_labels.append(card)
|
||||
tower_label_container.add_child(new_label)
|
||||
added_tags.append(new_label)
|
||||
|
||||
|
||||
func setup_with_basic_text(hero: HeroClass, text: String) -> void:
|
||||
hero_name_label.text = hero.hero_name
|
||||
hero_name_label.text = tr(hero.hero_name)
|
||||
if regular_label:
|
||||
regular_label.queue_free()
|
||||
regular_label = null
|
||||
|
||||
@@ -35,13 +35,13 @@ func reset_button() -> void:
|
||||
func setup_ui() -> void:
|
||||
#TODO: This should all tie into a proper achievements system
|
||||
if character_selected == 0 or (character_selected == 1 and Data.save_data.mage_unlocked):
|
||||
$VBoxContainer/Button.disabled = false
|
||||
$Controls/ConfirmButton.disabled = false
|
||||
hero_preview_panel.set_preview(Data.characters[character_selected])
|
||||
hero_selected.emit(character_selected)
|
||||
elif character_selected == 1 and !Data.save_data.mage_unlocked and Data.save_data.mage_card_seen_in_shop:
|
||||
hero_preview_panel.setup_with_basic_text(Data.characters[character_selected], "Buy " + str(Data.save_data.mage_cards_bought) + "/10 scrolls in the shop to unlock")
|
||||
else:
|
||||
$VBoxContainer/Button.disabled = true
|
||||
$Controls/ConfirmButton.disabled = true
|
||||
hero_preview_panel.setup_with_basic_text(Data.characters[character_selected], podiums[character_selected].text)
|
||||
|
||||
|
||||
|
||||
@@ -55,12 +55,14 @@ hero_name_label = NodePath("HBoxContainer2/Label")
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="PanelContainer/HBoxContainer2"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
text = "character name"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="PanelContainer/HBoxContainer2"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
text = "------------------------"
|
||||
horizontal_alignment = 1
|
||||
@@ -69,7 +71,7 @@ vertical_alignment = 1
|
||||
[node name="HBoxContainer" type="VBoxContainer" parent="PanelContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
[node name="Controls" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
@@ -82,23 +84,23 @@ offset_bottom = -150.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Controls"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Button2" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="PrevButton" type="Button" parent="Controls/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "prev"
|
||||
text = "BUTTON_PREVIOUS"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="NextButton" type="Button" parent="Controls/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "next"
|
||||
text = "BUTTON_NEXT"
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer"]
|
||||
[node name="ConfirmButton" type="Button" parent="Controls"]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
text = "BUTTON_CONFIRM"
|
||||
|
||||
[node name="Podiums" type="Node3D" parent="."]
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button2" to="." method="retreat_selector"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Button" to="." method="advance_selector"]
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="_on_confirm_button_pressed"]
|
||||
[connection signal="pressed" from="Controls/HBoxContainer/PrevButton" to="." method="retreat_selector"]
|
||||
[connection signal="pressed" from="Controls/HBoxContainer/NextButton" to="." method="advance_selector"]
|
||||
[connection signal="pressed" from="Controls/ConfirmButton" to="." method="_on_confirm_button_pressed"]
|
||||
|
||||
@@ -38,31 +38,31 @@ alignment = 1
|
||||
|
||||
[node name="OutcomeLabel" type="Label" parent="VBoxContainer/Labels"]
|
||||
layout_mode = 2
|
||||
text = "You WIN :3"
|
||||
text = "LABEL_WIN_MESSAGE"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="WinRateLabel" type="Label" parent="VBoxContainer/Labels"]
|
||||
layout_mode = 2
|
||||
text = "Your winrate is now: 80%"
|
||||
text = "LABEL_WINRATE"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TotalGamesLabel" type="Label" parent="VBoxContainer/Labels"]
|
||||
layout_mode = 2
|
||||
text = "Total games played: 315"
|
||||
text = "LABEL_GAMES"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TotalWinsLabel" type="Label" parent="VBoxContainer/Labels"]
|
||||
layout_mode = 2
|
||||
text = "Total wins"
|
||||
text = "LABEL_WINS"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TotalLossesLabel" type="Label" parent="VBoxContainer/Labels"]
|
||||
layout_mode = 2
|
||||
text = "Total losses"
|
||||
text = "LABEL_LOSSES"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -76,11 +76,11 @@ alignment = 2
|
||||
|
||||
[node name="PlayButton" type="Button" parent="VBoxContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
text = "Play Again"
|
||||
text = "BUTTON_RESTART"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="VBoxContainer/Buttons"]
|
||||
layout_mode = 2
|
||||
text = "Return to menu"
|
||||
text = "BUTTON_MAIN_MENU"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamRandomizer_dram5")
|
||||
|
||||
@@ -97,9 +97,7 @@ anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
text = "decked
|
||||
out
|
||||
defense"
|
||||
text = "TITLE_GAME_NAME"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -114,31 +112,24 @@ alignment = 2
|
||||
|
||||
[node name="PlayButton" type="Button" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
text = "Play"
|
||||
|
||||
[node name="MultiplayerButton" type="Button" parent="MainControls"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
disabled = true
|
||||
text = "Multiplayer"
|
||||
text = "BUTTON_PLAY"
|
||||
|
||||
[node name="ModsButton" type="Button" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
text = "Mods"
|
||||
text = "BUTTON_MODS"
|
||||
|
||||
[node name="StatsButton" type="Button" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
text = "Stats"
|
||||
text = "BUTTON_PLAYER_STATS"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
text = "Options
|
||||
text = "BUTTON_OPTIONS
|
||||
"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="MainControls"]
|
||||
layout_mode = 2
|
||||
text = "Quit
|
||||
"
|
||||
text = "BUTTON_QUIT"
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
size = Vector2i(1920, 1080)
|
||||
@@ -177,134 +168,35 @@ layout_mode = 2
|
||||
|
||||
[node name="BackButton" type="Button" parent="GameSelectMenu/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Back"
|
||||
text = "BUTTON_BACK"
|
||||
|
||||
[node name="Title" type="Label" parent="GameSelectMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Select a game to begin"
|
||||
text = "LABEL_GAME_MODE_SELECT"
|
||||
|
||||
[node name="StandardButton" type="Button" parent="GameSelectMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Standard (20 waves)"
|
||||
text = "BUTTON_STANDARD_GAME"
|
||||
|
||||
[node name="DailyButton" type="Button" parent="GameSelectMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Daily Challenge"
|
||||
text = "BUTTON_DAILY_CHALLENGE"
|
||||
|
||||
[node name="EndlessButton" type="Button" parent="GameSelectMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Endless"
|
||||
text = "BUTTON_ENDLESS_GAME"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="GameSelectMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="GameSelectMenu/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
text = "Seed:"
|
||||
text = "LABEL_SEED"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="GameSelectMenu/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "leave blank for random game"
|
||||
|
||||
[node name="Changelog" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 200.0
|
||||
offset_top = 100.0
|
||||
offset_right = -200.0
|
||||
offset_bottom = -100.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Changelog"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Changelog/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Changelog"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Changelog/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Changelog/VBoxContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="Label6" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label10" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Added: New Mage card: Ascension"
|
||||
|
||||
[node name="Label13" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Added: New Mechanic card: Overclock"
|
||||
|
||||
[node name="Label11" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Fixed: Interaction text now properly disappears if the wave starts"
|
||||
|
||||
[node name="Label3" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Fixed: Refrigerator tower now applies cold to enemies"
|
||||
|
||||
[node name="Label12" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Fixed: Seed now correctly changes on consecutive random seed runs"
|
||||
|
||||
[node name="Label4" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label5" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Increased Bubble movement speed 1.5 > 2.0"
|
||||
|
||||
[node name="Label7" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Increased Spike health 9 > 12"
|
||||
|
||||
[node name="Label8" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Increased Heavy Dog speed 0.8 > 0.9"
|
||||
|
||||
[node name="Label14" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Decreased Boss Dog speed 1.0 > 0.8"
|
||||
|
||||
[node name="Label15" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Increased Boss Dog health 1000 > 3000"
|
||||
|
||||
[node name="Label16" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Increased Boss Dog spawn chance"
|
||||
|
||||
[node name="Label9" type="Label" parent="Changelog/VBoxContainer/ScrollContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Balance: Adjusted Glue Launcher rarity [Uncommon -> Common]"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Changelog/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Button" type="Button" parent="Changelog/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Close"
|
||||
placeholder_text = "LABEL_SEED_PLACEHOLDER"
|
||||
|
||||
[node name="ProfileManager" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
@@ -326,19 +218,19 @@ layout_mode = 2
|
||||
|
||||
[node name="TitleBar" type="Label" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Profile Viewer"
|
||||
text = "TITLE_STATS_MENU"
|
||||
|
||||
[node name="DisplayName" type="HBoxContainer" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/DisplayName"]
|
||||
layout_mode = 2
|
||||
text = "Display Name"
|
||||
text = "LABEL_DISPLAY_NAME"
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="ProfileManager/VBoxContainer/DisplayName"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
placeholder_text = "Display name"
|
||||
placeholder_text = "LABEL_DISPLAY_NAME_PLACEHOLDER"
|
||||
alignment = 1
|
||||
|
||||
[node name="Stats" type="VBoxContainer" parent="ProfileManager/VBoxContainer"]
|
||||
@@ -346,7 +238,7 @@ layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats"]
|
||||
layout_mode = 2
|
||||
text = "Stats"
|
||||
text = "LABEL_STATS"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -356,10 +248,11 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats/Wins"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Wins"
|
||||
text = "LABEL_WINS"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="ProfileManager/VBoxContainer/Stats/Wins"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "0"
|
||||
@@ -372,10 +265,11 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats/Losses"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Losses"
|
||||
text = "LABEL_LOSSES"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="ProfileManager/VBoxContainer/Stats/Losses"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "0"
|
||||
@@ -388,10 +282,11 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats/Winrate"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Winrate (last 20 games)"
|
||||
text = "LABEL_WINRATE"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="ProfileManager/VBoxContainer/Stats/Winrate"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "0"
|
||||
@@ -404,10 +299,11 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats/EngineerCardsBought"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "plans bought"
|
||||
text = "LABEL_ENGINEER_CARDS_BOUGHT"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="ProfileManager/VBoxContainer/Stats/EngineerCardsBought"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "0"
|
||||
@@ -420,10 +316,11 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ProfileManager/VBoxContainer/Stats/MageCardsBought"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "scrolls bought"
|
||||
text = "LABEL_MAGE_CARDS_BOUGHT"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="ProfileManager/VBoxContainer/Stats/MageCardsBought"]
|
||||
auto_translate_mode = 2
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "0"
|
||||
@@ -432,15 +329,15 @@ vertical_alignment = 1
|
||||
|
||||
[node name="UnlockAll" type="Button" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Unlock All Content"
|
||||
text = "BUTTON_UNLOCK_CONTENT"
|
||||
|
||||
[node name="LockAll" type="Button" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Lock All Content"
|
||||
text = "BUTTON_LOCK_CONTENT"
|
||||
|
||||
[node name="AchievementsButton" type="Button" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "View Achievements"
|
||||
text = "BUTTON_ACHIEVEMENTS"
|
||||
|
||||
[node name="Controls" type="HBoxContainer" parent="ProfileManager/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
@@ -448,12 +345,12 @@ layout_mode = 2
|
||||
[node name="Cancel" type="Button" parent="ProfileManager/VBoxContainer/Controls"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Cancel"
|
||||
text = "BUTTON_CANCEL"
|
||||
|
||||
[node name="Confirm" type="Button" parent="ProfileManager/VBoxContainer/Controls"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Confirm"
|
||||
text = "BUTTON_CONFIRM"
|
||||
|
||||
[node name="AchievementsMenu" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
@@ -480,13 +377,13 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="AchievementsMenu/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Achievements"
|
||||
text = "TITLE_ACHIEVEMENTS"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Button" type="Button" parent="AchievementsMenu/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Back"
|
||||
text = "BUTTON_BACK"
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="AchievementsMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
@@ -495,7 +392,7 @@ columns = 9
|
||||
[node name="FirstWin" type="Button" parent="AchievementsMenu/VBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(140, 140)
|
||||
layout_mode = 2
|
||||
tooltip_text = "What could I possibly have to do to earn this??"
|
||||
tooltip_text = "ACHIEVEMENT_TOOLTIP_WIN_GAME"
|
||||
icon = SubResource("AtlasTexture_y5bw6")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -503,7 +400,7 @@ expand_icon = true
|
||||
[node name="SeenMageCard" type="Button" parent="AchievementsMenu/VBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(140, 140)
|
||||
layout_mode = 2
|
||||
tooltip_text = "Who would use this old thing anyway?"
|
||||
tooltip_text = "ACHIEVEMENT_TOOLTIP_BUY_MAGE_CARD"
|
||||
icon = SubResource("AtlasTexture_q26na")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -511,8 +408,7 @@ expand_icon = true
|
||||
[node name="UnlockedMage" type="Button" parent="AchievementsMenu/VBoxContainer/GridContainer"]
|
||||
custom_minimum_size = Vector2(140, 140)
|
||||
layout_mode = 2
|
||||
tooltip_text = "Ok, here me out
|
||||
"
|
||||
tooltip_text = "ACHIEVEMENT_TOOLTIP_UNLOCK_MAGE"
|
||||
icon = SubResource("AtlasTexture_3aj5m")
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
@@ -538,7 +434,7 @@ layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="ModsMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Mods"
|
||||
text = "TITLE_MODS"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -556,16 +452,14 @@ alignment = 2
|
||||
|
||||
[node name="CancelMods" type="Button" parent="ModsMenu/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
text = "BUTTON_CANCEL"
|
||||
|
||||
[node name="ConfirmMods" type="Button" parent="ModsMenu/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Confirm"
|
||||
text = "BUTTON_CONFIRM"
|
||||
|
||||
[connection signal="mouse_entered" from="MainControls/PlayButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="MainControls/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="mouse_entered" from="MainControls/MultiplayerButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="MainControls/MultiplayerButton" to="." method="_on_multiplayer_button_pressed"]
|
||||
[connection signal="mouse_entered" from="MainControls/ModsButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="MainControls/ModsButton" to="." method="_on_mods_button_pressed"]
|
||||
[connection signal="mouse_entered" from="MainControls/OptionsButton" to="." method="_on_button_mouse_entered"]
|
||||
@@ -576,7 +470,6 @@ text = "Confirm"
|
||||
[connection signal="pressed" from="GameSelectMenu/VBoxContainer/StandardButton" to="." method="_on_standard_button_pressed"]
|
||||
[connection signal="pressed" from="GameSelectMenu/VBoxContainer/DailyButton" to="." method="_on_daily_button_pressed"]
|
||||
[connection signal="pressed" from="GameSelectMenu/VBoxContainer/EndlessButton" to="." method="_on_endless_button_pressed"]
|
||||
[connection signal="pressed" from="Changelog/VBoxContainer/HBoxContainer/Button" to="." method="_on_changelog_button_pressed"]
|
||||
[connection signal="pressed" from="ProfileManager/VBoxContainer/UnlockAll" to="." method="_on_unlock_all_pressed"]
|
||||
[connection signal="pressed" from="ProfileManager/VBoxContainer/LockAll" to="." method="_on_lock_all_pressed"]
|
||||
[connection signal="pressed" from="ProfileManager/VBoxContainer/AchievementsButton" to="." method="_on_achievements_button_pressed"]
|
||||
|
||||
@@ -47,19 +47,19 @@ layout_mode = 2
|
||||
|
||||
[node name="Resume" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Resume"
|
||||
text = "BUTTON_RESUME"
|
||||
|
||||
[node name="Options" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Options"
|
||||
text = "BUTTON_OPTIONS"
|
||||
|
||||
[node name="QuitToMainMenu" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quit to main menu"
|
||||
text = "BUTTON_MAIN_MENU"
|
||||
|
||||
[node name="QuitToDesktop" type="Button" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quit to desktop"
|
||||
text = "BUTTON_QUIT"
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamRandomizer_n6ixr")
|
||||
|
||||
@@ -24,7 +24,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="Master"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Master"
|
||||
text = "OPTION_MASTER_AUDIO"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -52,7 +52,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="Music"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Music"
|
||||
text = "OPTION_MUSIC_AUDIO"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -80,7 +80,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="SFX"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "SFX"
|
||||
text = "OPTION_SFX_AUDIO"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ alignment = 1
|
||||
[node name="Label" type="Label" parent="MouseSens"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Look Sensitivity"
|
||||
text = "OPTION_MOUSE_SENSITIVITY"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -57,7 +57,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="ToggleSprint"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Toggle Sprint"
|
||||
text = "OPTION_TOGGLE_SPRINT"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -75,7 +75,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="InvertMouseY"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Invert Look Y"
|
||||
text = "OPTION_INVERT_MOUSE_Y"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -93,7 +93,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="InvertMouseX"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Invert Look X"
|
||||
text = "OPTION_INVERT_MOUSE_X"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -111,7 +111,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="FixedMinimap"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Fixed Minimap"
|
||||
text = "OPTION_FIXED_MINIMAP"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -128,7 +128,7 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="FloatingDamageIndicators"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Floating Damage Indicators"
|
||||
text = "OPTION_DISPLAY_DAMAGE_INDICATORS"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -143,25 +143,25 @@ layout_mode = 2
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
button_pressed = true
|
||||
text = "Tower Damage"
|
||||
text = "OPTION_TOWER_DAMAGE"
|
||||
|
||||
[node name="SelfDamage" type="Button" parent="FloatingDamageIndicators/CenterContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
button_pressed = true
|
||||
text = "Self Damage"
|
||||
text = "OPTION_SELF_DAMAGE"
|
||||
|
||||
[node name="PartyDamage" type="Button" parent="FloatingDamageIndicators/CenterContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
button_pressed = true
|
||||
text = "Party Damage"
|
||||
text = "OPTION_PARTY_DAMAGE"
|
||||
|
||||
[node name="StatusDamage" type="Button" parent="FloatingDamageIndicators/CenterContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
toggle_mode = true
|
||||
button_pressed = true
|
||||
text = "Status Effect Damage"
|
||||
text = "OPTION_STATUS_DAMAGE"
|
||||
|
||||
[connection signal="value_changed" from="MouseSens/HBoxContainer/SpinBox" to="." method="_on_mouse_sens_spin_box_value_changed"]
|
||||
[connection signal="value_changed" from="MouseSens/HBoxContainer/HSlider" to="." method="_on_mouse_sens_h_slider_value_changed"]
|
||||
|
||||
@@ -24,7 +24,7 @@ alignment = 1
|
||||
[node name="Label" type="Label" parent="FOV"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Field Of View"
|
||||
text = "OPTION_FOV"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -58,22 +58,22 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="VSync"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "V-Sync"
|
||||
text = "OPTION_VSYNC"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="VSync"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
item_count = 4
|
||||
selected = 1
|
||||
popup/item_0/text = "Off"
|
||||
item_count = 4
|
||||
popup/item_0/text = "OPTION_OFF"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "On"
|
||||
popup/item_1/text = "OPTION_ON"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Adaptive"
|
||||
popup/item_2/text = "OPTION_ADAPTIVE"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Triple Buffered"
|
||||
popup/item_3/text = "OPTION_TRIPLE_BUFFERED"
|
||||
popup/item_3/id = 3
|
||||
|
||||
[node name="AntiAliasing" type="HBoxContainer" parent="."]
|
||||
@@ -82,21 +82,20 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="AntiAliasing"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Anti-Aliasing
|
||||
"
|
||||
text = "OPTION_AA"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="AntiAliasing"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
item_count = 3
|
||||
selected = 0
|
||||
popup/item_0/text = "Off"
|
||||
item_count = 3
|
||||
popup/item_0/text = "OPTION_OFF"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "FXAA"
|
||||
popup/item_1/text = "OPTION_FXAA"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "TAA"
|
||||
popup/item_2/text = "OPTION_TAA"
|
||||
popup/item_2/id = 2
|
||||
|
||||
[node name="Windowed" type="HBoxContainer" parent="."]
|
||||
@@ -105,20 +104,20 @@ layout_mode = 2
|
||||
[node name="Label" type="Label" parent="Windowed"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Window Mode"
|
||||
text = "OPTION_WINDOW_TYPE"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="Windowed"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
item_count = 3
|
||||
selected = 0
|
||||
popup/item_0/text = "Windowed"
|
||||
item_count = 3
|
||||
popup/item_0/text = "OPTION_WINDOWED"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Borderless Windowed"
|
||||
popup/item_1/text = "OPTION_BORDERLESS"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Fullscreen"
|
||||
popup/item_2/text = "OPTION_FULLSCREEN"
|
||||
popup/item_2/id = 2
|
||||
|
||||
[connection signal="value_changed" from="FOV/HBoxContainer/SpinBox" to="." method="_on_fov_spin_box_value_changed"]
|
||||
|
||||
@@ -13,35 +13,6 @@ script = ExtResource("1_oxg0p")
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColumnLabels" type="HBoxContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Action" type="Label" parent="ColumnLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Action"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ButtonLabels" type="HBoxContainer" parent="ColumnLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PrimaryBind" type="Label" parent="ColumnLabels/ButtonLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Primary Bind"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="SecondaryBind" type="Label" parent="ColumnLabels/ButtonLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Secondary Bind"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
@@ -33,6 +33,6 @@ offset_right = 99.0
|
||||
offset_bottom = 13.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Press a key to bind action"
|
||||
text = "LABEL_BIND_KEY"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user