Added drag direction mouse interaction for set the approach direction for airstrike and parabombs
This commit is contained in:
@@ -136,6 +136,8 @@ Cursors:
|
||||
sell-vehicle:
|
||||
Start: 154
|
||||
Length: 24
|
||||
invisible:
|
||||
Start: 28
|
||||
mouse3.shp: cursor
|
||||
default:
|
||||
Start: 0
|
||||
|
||||
@@ -628,6 +628,8 @@ HQ:
|
||||
ArrowSequence: arrow
|
||||
ClockSequence: clock
|
||||
CircleSequence: circles
|
||||
TargetPlaceholderCursorAnimation: airstriketarget
|
||||
DirectionArrowAnimation: airstrikedirection
|
||||
SupportPowerChargeBar:
|
||||
Power:
|
||||
Amount: -50
|
||||
|
||||
@@ -436,3 +436,47 @@ smokland:
|
||||
Length: 32
|
||||
Tick: 120
|
||||
ZOffset: 1023
|
||||
|
||||
airstriketarget:
|
||||
cursor: mouse2
|
||||
Start: 88
|
||||
Length: 8
|
||||
Tick: 80
|
||||
|
||||
airstrikedirection:
|
||||
arrow-t: mouse2
|
||||
Start: 1
|
||||
Y: -12
|
||||
Offset: 0, -15, 0
|
||||
arrow-tr: mouse2
|
||||
Start: 2
|
||||
X: 14
|
||||
Y: -12
|
||||
Offset: 7, -7, 0
|
||||
arrow-r: mouse2
|
||||
Start: 3
|
||||
X: 14
|
||||
Offset: 12, 0, 0
|
||||
arrow-br: mouse2
|
||||
Start: 4
|
||||
X: 14
|
||||
Y: 11
|
||||
Offset: 7, 7, 0
|
||||
arrow-b: mouse2
|
||||
Start: 5
|
||||
Y: 11
|
||||
Offset: 0, 15, 0
|
||||
arrow-bl: mouse2
|
||||
Start: 6
|
||||
X: -15
|
||||
Y: 11
|
||||
Offset: -7, 7, 0
|
||||
arrow-l: mouse2
|
||||
Start: 7
|
||||
X: -15
|
||||
Offset: -12, 0, 0
|
||||
arrow-tl: mouse2
|
||||
Start: 8
|
||||
X: -15
|
||||
Y: -12
|
||||
Offset: -7, -7, 0
|
||||
|
||||
@@ -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