Support split sprites for fog/shroud.
This commit is contained in:
BIN
mods/cnc/bits/fullshroud.shp
Normal file
BIN
mods/cnc/bits/fullshroud.shp
Normal file
Binary file not shown.
@@ -72,7 +72,10 @@ World:
|
||||
Name: fog
|
||||
Fog: true
|
||||
ShroudRenderer:
|
||||
Variants: typea, typeb, typec, typed
|
||||
ShroudVariants: typea, typeb, typec, typed
|
||||
FogVariants: typea, typeb, typec, typed
|
||||
OverrideFullShroud: full
|
||||
OverrideFullFog: full
|
||||
Country@gdi:
|
||||
Name: GDI
|
||||
Race: gdi
|
||||
|
||||
@@ -442,6 +442,7 @@ shroud:
|
||||
typed: shadow
|
||||
Start: 36
|
||||
Length: 12
|
||||
full: fullshroud
|
||||
|
||||
# Note: The order of smudges and craters determines
|
||||
# the index that is mapped to them in maps
|
||||
|
||||
BIN
mods/d2k/bits/fullshroud.shp
Normal file
BIN
mods/d2k/bits/fullshroud.shp
Normal file
Binary file not shown.
@@ -87,9 +87,11 @@ World:
|
||||
Offset: 12007
|
||||
InvertColor: true
|
||||
ShroudRenderer:
|
||||
Variants: typea, typeb, typec, typed
|
||||
ShroudVariants: typea, typeb, typec, typed
|
||||
FogVariants: typea, typeb, typec, typed
|
||||
Index: 11, 3, 7, 9, 6, 13, 12, 14, 4, 8, 2, 1, 5, 10
|
||||
ShroudColor: 31
|
||||
OverrideFullShroud: full
|
||||
OverrideFullFog: full
|
||||
ShroudBlend: Multiply
|
||||
Country@Atreides:
|
||||
Name: Atreides
|
||||
|
||||
@@ -347,6 +347,8 @@ shroud:
|
||||
Length: 14
|
||||
Offset: -16,-16
|
||||
BlendMode: Multiply
|
||||
full: fullshroud
|
||||
BlendMode: Multiply
|
||||
|
||||
rockcraters:
|
||||
rockcrater1: DATA
|
||||
|
||||
@@ -87,6 +87,7 @@ World:
|
||||
Name: fog
|
||||
Fog: true
|
||||
ShroudRenderer:
|
||||
FogVariants: shroud
|
||||
Index: 255, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 20, 40, 56, 65, 97, 130, 148, 194, 24, 33, 66, 132, 28, 41, 67, 134, 1, 2, 4, 8, 3, 6, 12, 9, 7, 14, 13, 11, 5, 10, 15, 255
|
||||
UseExtendedIndex: true
|
||||
Country@0:
|
||||
|
||||
@@ -387,6 +387,8 @@ resources:
|
||||
shroud:
|
||||
shroud: shadow #TODO: use shroud.shp
|
||||
Length: *
|
||||
fog: shadow
|
||||
Length: *
|
||||
|
||||
scorches: #TODO: make use of 07-12 as well
|
||||
sc1: burnt01
|
||||
|
||||
Reference in New Issue
Block a user