Change WithColoredOverlay to use a color instead of a palette.

This commit is contained in:
Paul Chote
2020-12-28 19:44:26 +00:00
committed by abcdefg30
parent 96641873ae
commit 8c9b9df125
11 changed files with 72 additions and 54 deletions

View File

@@ -269,7 +269,7 @@
TargetTypes: Ground, Vehicle
RequiresForceFire: true
WithColoredOverlay@IDISABLE:
Palette: disabled
Color: 000000B4
Explodes:
Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed
@@ -510,7 +510,7 @@
^DisableOnLowPower:
WithColoredOverlay@IDISABLE:
RequiresCondition: disabled
Palette: disabled
Color: 000000B4
GrantConditionOnPowerState@LOWPOWER:
Condition: lowpower
ValidPowerStates: Low, Critical

View File

@@ -38,12 +38,6 @@
Scale: -1
Offset: 255
AllowModifiers: false
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
PaletteFromPaletteWithAlpha@effect75alpha:
Name: effect75alpha
BasePalette: effect