Add terrain lighting definitions to TS.
This commit is contained in:
@@ -1470,6 +1470,7 @@ GALITE:
|
|||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Light Post
|
Name: Light Post
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
|
Image: galite
|
||||||
Palette: terraindecoration
|
Palette: terraindecoration
|
||||||
-WithMakeAnimation:
|
-WithMakeAnimation:
|
||||||
-WithDeathAnimation:
|
-WithDeathAnimation:
|
||||||
@@ -1484,10 +1485,12 @@ GALITE:
|
|||||||
MaxHeightDelta: 3
|
MaxHeightDelta: 3
|
||||||
Power:
|
Power:
|
||||||
Amount: 0
|
Amount: 0
|
||||||
# TODO: should use terrain lighting instead, depends on https://github.com/OpenRA/OpenRA/issues/3605
|
TerrainLightSource:
|
||||||
WithIdleOverlay@LIGHTING:
|
Range: 19c544
|
||||||
Sequence: lighting
|
Intensity: 0.2
|
||||||
Palette: alpha
|
RedTint: 0.05
|
||||||
|
GreenTint: 0.05
|
||||||
|
BlueTint: 0.01
|
||||||
-Cloak@EXTERNALCLOAK:
|
-Cloak@EXTERNALCLOAK:
|
||||||
-ExternalCondition@CLOAKGENERATOR:
|
-ExternalCondition@CLOAKGENERATOR:
|
||||||
-ExternalCondition@CRATE-CLOAK:
|
-ExternalCondition@CRATE-CLOAK:
|
||||||
@@ -1496,11 +1499,179 @@ GALITE:
|
|||||||
Capturable:
|
Capturable:
|
||||||
-RequiresCondition:
|
-RequiresCondition:
|
||||||
|
|
||||||
|
INGALITE:
|
||||||
|
Interactable:
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Light Post)
|
||||||
|
AlwaysVisible:
|
||||||
|
Immobile:
|
||||||
|
OccupiesSpace: false
|
||||||
|
RenderSpritesEditorOnly:
|
||||||
|
Image: galite
|
||||||
|
Palette: terrainalpha
|
||||||
|
WithSpriteBody:
|
||||||
|
BodyOrientation:
|
||||||
|
QuantizedFacings: 1
|
||||||
|
MapEditorData:
|
||||||
|
Categories: System
|
||||||
|
RequiresSpecificOwners:
|
||||||
|
ValidOwnerNames: Neutral
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 19c544
|
||||||
|
Intensity: 0.2
|
||||||
|
RedTint: 0.05
|
||||||
|
GreenTint: 0.05
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
NEGLAMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Negative Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 13c688
|
||||||
|
Intensity: -0.15
|
||||||
|
RedTint: 0.03
|
||||||
|
GreenTint: 0.04
|
||||||
|
BlueTint: 0.04
|
||||||
|
|
||||||
|
REDLAMP:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Red Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 1.5
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
NEGRED:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Negative Red Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: -0.05
|
||||||
|
RedTint: -1.5
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
GRENLAMP:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Green Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 0.01
|
||||||
|
GreenTint: 1.5
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
BLUELAMP:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Blue Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 0.01
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 0.7
|
||||||
|
|
||||||
|
YELWLAMP:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Yellow Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 1.5
|
||||||
|
GreenTint: 1.5
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
INYELWLAMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Yellow Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 1.5
|
||||||
|
GreenTint: 1.5
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
PURPLAMP:
|
||||||
|
Inherits: GALITE
|
||||||
|
Tooltip:
|
||||||
|
Name: Purple Light Post
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 11c736
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 2.0
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 2.0
|
||||||
|
|
||||||
|
INPURPLAMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Purple Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 11c736
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 2.0
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 2.0
|
||||||
|
|
||||||
|
INORANLAMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Orange Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 11c736
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 2.0
|
||||||
|
GreenTint: 1.4
|
||||||
|
BlueTint: 0.3
|
||||||
|
|
||||||
|
INGRNLMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Green Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 0.01
|
||||||
|
GreenTint: 1.5
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
INREDLMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Red Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 1.5
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 0.01
|
||||||
|
|
||||||
|
INBLULMP:
|
||||||
|
Inherits: INGALITE
|
||||||
|
EditorOnlyTooltip:
|
||||||
|
Name: (Invisible Blue Light Post)
|
||||||
|
TerrainLightSource:
|
||||||
|
Range: 15c640
|
||||||
|
Intensity: 0.01
|
||||||
|
RedTint: 0.01
|
||||||
|
GreenTint: 0.01
|
||||||
|
BlueTint: 0.7
|
||||||
|
|
||||||
TSTLAMP:
|
TSTLAMP:
|
||||||
Inherits: GALITE
|
Inherits: GALITE
|
||||||
RenderSprites:
|
-TerrainLightSource:
|
||||||
Image: galite
|
WithIdleOverlay@LIGHTING:
|
||||||
Tooltip:
|
Sequence: lighting
|
||||||
|
Palette: alpha
|
||||||
|
|
||||||
GAICBM:
|
GAICBM:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
VictoryMusic: score
|
VictoryMusic: score
|
||||||
DefeatMusic: maps
|
DefeatMusic: maps
|
||||||
TerrainRenderer:
|
TerrainRenderer:
|
||||||
|
TerrainLighting:
|
||||||
ShroudRenderer:
|
ShroudRenderer:
|
||||||
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
|
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
|
UseExtendedIndex: true
|
||||||
|
|||||||
@@ -653,9 +653,11 @@ galite:
|
|||||||
lighting: alphatst
|
lighting: alphatst
|
||||||
BlendMode: DoubleMultiplicative
|
BlendMode: DoubleMultiplicative
|
||||||
UseTilesetCode: false
|
UseTilesetCode: false
|
||||||
|
IgnoreWorldTint: true
|
||||||
-DepthSprite:
|
-DepthSprite:
|
||||||
Offset: 0, 0, 0.5
|
Offset: 0, 0, 240
|
||||||
ZRamp: 1
|
ZRamp: 1
|
||||||
|
ZOffset: 10240
|
||||||
emp-overlay: emp_fx01
|
emp-overlay: emp_fx01
|
||||||
Length: *
|
Length: *
|
||||||
Offset: 0, 0
|
Offset: 0, 0
|
||||||
|
|||||||
@@ -344,6 +344,7 @@ resources:
|
|||||||
ShadowStart: 12
|
ShadowStart: 12
|
||||||
Offset: 0, -12, 1.5
|
Offset: 0, -12, 1.5
|
||||||
ZRamp: 1
|
ZRamp: 1
|
||||||
|
IgnoreWorldTint: true
|
||||||
tib01: tib01
|
tib01: tib01
|
||||||
tib02: tib02
|
tib02: tib02
|
||||||
tib03: tib03
|
tib03: tib03
|
||||||
@@ -370,6 +371,7 @@ resources:
|
|||||||
ShadowStart: -1
|
ShadowStart: -1
|
||||||
Tick: 180
|
Tick: 180
|
||||||
Offset: 0, -12, 2.5
|
Offset: 0, -12, 2.5
|
||||||
|
IgnoreWorldTint: false
|
||||||
|
|
||||||
veins:
|
veins:
|
||||||
idle: veinatac
|
idle: veinatac
|
||||||
|
|||||||
Reference in New Issue
Block a user