Replace fog palette with sequence alpha.

This commit is contained in:
Paul Chote
2025-03-27 20:25:52 +00:00
committed by Gustas Kažukauskas
parent 0b03d7ea31
commit 597e8e1573
3 changed files with 26 additions and 16 deletions

View File

@@ -86,9 +86,6 @@
A: 64
ShroudPalette@shroud:
Name: shroud
ShroudPalette@fog:
Name: fog
Fog: true
FixedColorPalette@BlueTiberium:
Base: terrain
Name: bluetiberium

View File

@@ -12,10 +12,11 @@
TerrainRenderer:
TerrainGeometryOverlay:
ShroudRenderer:
ShroudVariants: typea, typeb, typec, typed
FogVariants: typea, typeb, typec, typed
OverrideFullShroud: full
OverrideFullFog: full
ShroudVariants: shroud-typea, shroud-typeb, shroud-typec, shroud-typed
OverrideFullShroud: shroud-full
FogVariants: fog-typea, fog-typeb, fog-typec, fog-typed
OverrideFullFog: fog-full
FogPalette: shroud
Locomotor@FOOT:
Name: foot
Crushes: crate

View File

@@ -739,21 +739,33 @@ resources:
shroud:
Defaults:
Filename: shadow.shp
Length: 12
typea:
Filename: shadow.shp
typeb:
Filename: shadow.shp
shroud-typea:
shroud-typeb:
Start: 12
typec:
Filename: shadow.shp
shroud-typec:
Start: 24
typed:
Filename: shadow.shp
shroud-typed:
Start: 36
full:
shroud-full:
Filename: fullshroud.shp
Length: 1
fog-typea:
Alpha: 0.5
fog-typeb: shadow
Alpha: 0.5
Start: 12
fog-typec: shadow
Alpha: 0.5
Start: 24
fog-typed: shadow
Alpha: 0.5
Start: 36
fog-full:
Filename: fullshroud.shp
Length: 1
Alpha: 0.5
# Note: The order of smudges and craters determines
# the index that is mapped to them in maps