use pre-multiplied alpha for cloak effects

This commit is contained in:
Matthias Mailänder
2015-08-08 19:02:03 +02:00
parent 4bc8a60fb9
commit 4b1bedd7dd
11 changed files with 32 additions and 18 deletions

View File

@@ -524,7 +524,8 @@ SNIPER:
CloakDelay: 120
CloakSound:
UncloakSound:
UncloakOnMove: yes
UncloakOnMove: true
IsPlayerPalette: true
DetectCloaked:
Range: 6
-MustBeDestroyed:

View File

@@ -26,8 +26,8 @@
G: 0
B: 0
A: 140
PaletteFromRGBA@cloak:
Name: cloak
PaletteFromRGBA@submerged:
Name: submerged
R: 0
G: 0
B: 0
@@ -65,6 +65,10 @@
PlayerColorPalette:
BasePalette: player
RemapIndex: 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95
PaletteFromPlayerPaletteWithAlpha@cloak:
BaseName: cloak
BasePalette: player
Alpha: 0.55
PlayerHighlightPalette:
MenuPaletteEffect:
RotationPaletteEffect@defaultwater:

View File

@@ -34,6 +34,7 @@ SS:
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
WhileCloakedUpgrades: underwater
Palette: submerged
Armament:
Weapon: TorpTube
LocalOffset: 0,-171,0, 0,171,0
@@ -88,6 +89,7 @@ MSUB:
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
WhileCloakedUpgrades: underwater
Palette: submerged
Armament:
Weapon: SubMissile
LocalOffset: 0,-171,0, 0,171,0

View File

@@ -561,6 +561,7 @@ HBOX:
Cloak:
InitialDelay: 125
CloakDelay: 60
IsPlayerPalette: true
Turreted:
ROT: 255
-QuantizeFacingsFromSequence:

View File

@@ -740,6 +740,7 @@ STNK:
CloakDelay: 250
CloakSound: appear1.aud
UncloakSound: appear1.aud
IsPlayerPalette: true
DetectCloaked:
Range: 6
-MustBeDestroyed: