Remove alt key modifier from build palette hotkeys. Changed some hotkeys for units and buildings.

This commit is contained in:
Curtis Shmyr
2013-04-21 17:28:12 -06:00
parent 406b210958
commit 3b8957a65e
3 changed files with 7 additions and 9 deletions

View File

@@ -153,9 +153,7 @@ namespace OpenRA.Mods.RA.Widgets
TabChange(e.Modifiers.HasModifier(Modifiers.Shift));
return true;
}
if (e.Modifiers == Modifiers.Alt)
return DoBuildingHotkey(e.KeyName, world);
return false;
return DoBuildingHotkey(e.KeyName, world);
}
public override bool HandleMouseInput(MouseInput mi)
@@ -458,7 +456,7 @@ namespace OpenRA.Mods.RA.Widgets
WidgetUtils.DrawPanel("dialog4", new Rectangle(Game.viewport.Width - 300, pos.Y, 300, longDescSize + 65));
Game.Renderer.Fonts["Bold"].DrawText(
tooltip.Name + ((buildable.Hotkey != null) ? " (ALT + {0})".F(buildable.Hotkey.ToUpper()) : ""),
tooltip.Name + ((buildable.Hotkey != null) ? " ({0})".F(buildable.Hotkey.ToUpper()) : ""),
p.ToInt2() + new int2(5, 5), Color.White);
var resources = pl.PlayerActor.Trait<PlayerResources>();

View File

@@ -53,7 +53,7 @@ GAP:
BuildPaletteOrder: 100
Prerequisites: atek
Owner: allies
Hotkey: x
Hotkey: g
Building:
Power: -60
Footprint: _ x
@@ -619,7 +619,7 @@ HBOX.E1:
BuildPaletteOrder: 20
Prerequisites: tent
Owner: allies
Hotkey: p
Hotkey: l
Tooltip:
Name: Camo Pillbox (Guns)
Description: Hidden defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
@@ -1293,7 +1293,7 @@ FIX:
BuildPaletteOrder: 30
Prerequisites: weap
Owner: allies,soviet
Hotkey: x
Hotkey: m
Valued:
Cost: 1200
Tooltip:

View File

@@ -74,7 +74,7 @@ V2RL:
BuildPaletteOrder: 60
Prerequisites: fix
Owner: allies
Hotkey: x
Hotkey: m
Valued:
Cost: 850
Tooltip:
@@ -543,7 +543,7 @@ MRJ:
BuildPaletteOrder: 150
Prerequisites: atek
Owner: allies
Hotkey: m
Hotkey: k
Health:
HP: 200
Armor: