Polish deployed mobile sensor array:

- Force temperate palette to avoid glitches on snow maps
- Add missing active animation
This commit is contained in:
Paul Chote
2021-03-13 15:39:12 +00:00
committed by reaperrr
parent 08c7c80bb7
commit 470bc4e092
3 changed files with 33 additions and 0 deletions

View File

@@ -31,6 +31,10 @@
Tileset: TEMPERATE
Filename: unittem.pal
ShadowIndex: 1
PaletteFromFile@playerforcetem:
Name: playertem
Filename: unittem.pal
ShadowIndex: 1
PaletteFromFile@playersno-nomuzzle:
Name: player-nomuzzle
Tileset: SNOW
@@ -136,6 +140,10 @@
PlayerColorPalette:
BasePalette: player
RemapIndex: 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
PlayerColorPalette@forcetem:
BaseName: playertem
BasePalette: playertem
RemapIndex: 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
PlayerColorPalette@NOMUZZLE:
BaseName: player-nomuzzle
BasePalette: player-nomuzzle

View File

@@ -150,6 +150,7 @@ LPST:
Condition: real-actor
RenderSprites:
Image: lpst.gdi
PlayerPalette: playertem
FactionImages:
gdi: lpst.gdi
nod: lpst.nod
@@ -174,6 +175,15 @@ LPST:
RequiresCondition: undeployed
WithSpriteBody@deployed:
RequiresCondition: !undeployed && real-actor
WithIdleOverlay@LIGHTS:
RequiresCondition: deployed && real-actor && !empdisable
Sequence: idle-lights
Palette: player-nobright
IsPlayerPalette: True
WithIdleOverlay@LIGHTS-BRIGHT:
RequiresCondition: deployed && real-actor && !empdisable
Sequence: idle-lights-bright
Palette: bright
DetectCloaked:
RequiresCondition: !empdisable && deployed
Range: 18c0

View File

@@ -58,6 +58,21 @@ lpst.gdi:
UseTilesetCode: true
Length: 36
ShadowStart: 36
idle-lights: gadpsa_a
DepthSprite: isodepth.shp
DepthSpriteOffset: -6, -6
Offset: 0, -13, 12
UseTilesetCode: true
Length: 10
Tick: 200
idle-lights-bright: gadpsa_a
DepthSprite: isodepth.shp
DepthSpriteOffset: -6, -6
Offset: 0, -13, 12
UseTilesetCode: true
Length: 10
Tick: 200
IgnoreWorldTint: True
icon: sidebar-gdi|lpsticon
lpst.nod: