Add support for additional cloak styles and use native alpha in RA,D2k,TS.

This commit is contained in:
Paul Chote
2023-12-03 11:16:37 +00:00
committed by Gustas
parent 9f196f2693
commit ad833a6fbb
20 changed files with 102 additions and 51 deletions

View File

@@ -1,6 +1,5 @@
^Palettes:
-PlayerColorPalette:
-PaletteFromPlayerPaletteWithAlpha@cloak:
IndexedPlayerPalette:
BasePalette: d2k
BaseName: player
@@ -15,7 +14,3 @@
Mercenaries: 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224
Neutral: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
Creeps: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
PaletteFromPlayerPaletteWithAlpha@Cloak:
BaseName: cloak
BasePalette: player
Alpha: 0.55

View File

@@ -186,7 +186,6 @@ fremen:
InitialDelay: 85
CloakDelay: 85
UncloakOn: Attack, Unload, Infiltrate, Demolish, Dock, Damage, Heal
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled
@@ -328,7 +327,6 @@ saboteur:
CloakDelay: 25
CloakSound: STEALTH1.WAV
UncloakOn: Attack, Unload, Infiltrate, Demolish, Damage, Heal
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled

View File

@@ -44,7 +44,3 @@
RemapIndex: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
MenuPostProcessEffect:
FlashPostProcessEffect:
PaletteFromPlayerPaletteWithAlpha@cloak:
BaseName: cloak
BasePalette: player
Alpha: 0.55

View File

@@ -498,7 +498,6 @@ stealth_raider:
InitialDelay: 45
CloakDelay: 90
UncloakOn: Attack, Unload, Infiltrate, Demolish, Dock, Damage, Heal
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled