Added drag direction mouse interaction for set the approach direction for airstrike and parabombs
This commit is contained in:
@@ -8,14 +8,6 @@ Container@PLAYER_WIDGETS:
|
||||
X: 10
|
||||
Y: 10
|
||||
Children:
|
||||
SupportPowers@SUPPORT_PALETTE:
|
||||
IconSize: 62, 46
|
||||
IconSpriteOffset: -1, -1
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
HotkeyPrefix: SupportPower
|
||||
HotkeyCount: 6
|
||||
Container@PALETTE_FOREGROUND:
|
||||
Children:
|
||||
Image@ICON_TEMPLATE:
|
||||
@@ -24,9 +16,18 @@ Container@PLAYER_WIDGETS:
|
||||
Y: 0 - 2
|
||||
Width: 62
|
||||
Height: 46
|
||||
ClickThrough: false
|
||||
IgnoreMouseOver: true
|
||||
ImageCollection: sidebar
|
||||
ImageName: background-supportoverlay
|
||||
SupportPowers@SUPPORT_PALETTE:
|
||||
IconSize: 62, 46
|
||||
IconSpriteOffset: -1, -1
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
HotkeyPrefix: SupportPower
|
||||
HotkeyCount: 6
|
||||
SupportPowerTimer@SUPPORT_POWER_TIMER:
|
||||
X: 80
|
||||
Y: 10
|
||||
|
||||
@@ -200,6 +200,8 @@ Cursors:
|
||||
sell2:
|
||||
Start: 148
|
||||
Length: 12
|
||||
invisible:
|
||||
Start: 34
|
||||
nopower.shp: cursor
|
||||
powerdown-blocked:
|
||||
Start: 0
|
||||
|
||||
@@ -1461,6 +1461,8 @@ AFLD:
|
||||
ArrowSequence: arrow
|
||||
ClockSequence: clock
|
||||
CircleSequence: circles
|
||||
TargetPlaceholderCursorAnimation: paratarget
|
||||
DirectionArrowAnimation: paradirection
|
||||
ParatroopersPower@paratroopers:
|
||||
OrderName: SovietParatroopers
|
||||
Prerequisites: aircraft.soviet
|
||||
@@ -1479,6 +1481,8 @@ AFLD:
|
||||
ArrowSequence: arrow
|
||||
ClockSequence: clock
|
||||
CircleSequence: circles
|
||||
TargetPlaceholderCursorAnimation: paratarget
|
||||
DirectionArrowAnimation: paradirection
|
||||
AirstrikePower@parabombs:
|
||||
OrderName: UkraineParabombs
|
||||
Prerequisites: aircraft.ukraine
|
||||
@@ -1498,6 +1502,8 @@ AFLD:
|
||||
ArrowSequence: arrow
|
||||
ClockSequence: clock
|
||||
CircleSequence: circles
|
||||
TargetPlaceholderCursorAnimation: paratarget
|
||||
DirectionArrowAnimation: paradirection
|
||||
ProductionBar:
|
||||
ProductionType: Aircraft
|
||||
SupportPowerChargeBar:
|
||||
|
||||
@@ -627,3 +627,47 @@ ctflag:
|
||||
bib: mbGAP
|
||||
Length: *
|
||||
UseTilesetExtension: true
|
||||
|
||||
paratarget:
|
||||
cursor: mouse
|
||||
Start: 82
|
||||
Length: 8
|
||||
Tick: 80
|
||||
|
||||
paradirection:
|
||||
arrow-t: mouse
|
||||
Start: 1
|
||||
Y: -7
|
||||
Offset: 0, -19, 0
|
||||
arrow-tr: mouse
|
||||
Start: 2
|
||||
X: 6
|
||||
Y: -5
|
||||
Offset: 15, -15, 0
|
||||
arrow-r: mouse
|
||||
Start: 3
|
||||
X: 7
|
||||
Offset: 19, 0, 0
|
||||
arrow-br: mouse
|
||||
Start: 4
|
||||
X: 6
|
||||
Y: 5
|
||||
Offset: 15, 15, 0
|
||||
arrow-b: mouse
|
||||
Start: 5
|
||||
Y: 7
|
||||
Offset: 0, 19, 0
|
||||
arrow-bl: mouse
|
||||
Start: 6
|
||||
X: -6
|
||||
Y: 5
|
||||
Offset: -15, 15, 0
|
||||
arrow-l: mouse
|
||||
Start: 7
|
||||
X: -8
|
||||
Offset: -19, 0, 0
|
||||
arrow-tl: mouse
|
||||
Start: 8
|
||||
X: -6
|
||||
y: 5
|
||||
Offset: -15, -15, 0
|
||||
|
||||
Reference in New Issue
Block a user