Skip to content

Commit

Permalink
all scrin vehicles have underlights now
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Jan 30, 2024
1 parent 2d2638e commit 65aafde
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
18 changes: 8 additions & 10 deletions mods/ca/rules/scrin/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,18 @@
IgnoreHover: true

^ScrinLightsBig:
Inherits: ^ScrinLightsMedium
WithIdleOverlay@DecorationLights:
RequiresCondition: !damaged
Image: prop_light_effect_scrin
Sequence: light-big
Palette: player-alpha40
IsPlayerPalette: true
IgnoreHover: true
WithIdleOverlay@DamagedDecorationLights:
RequiresCondition: damaged
Image: prop_light_effect_scrin
Sequence: damaged-light-big
Palette: player-alpha30
IsPlayerPalette: true
IgnoreHover: true

^ScrinLightsTripod:
Inherits: ^ScrinLightsMedium
WithIdleOverlay@DecorationLights:
Sequence: light-tripod
WithIdleOverlay@DamagedDecorationLights:
Sequence: damaged-light-tripod

^ScrinShielded:
Shielded:
Expand Down
4 changes: 2 additions & 2 deletions mods/ca/rules/scrin/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ TPOD:
Inherits: ^Tank
Inherits: ^BigVehicle
Inherits: ^ScrinSprite
Inherits: ^ScrinLightsMedium
Inherits: ^ScrinLightsTripod
Inherits: ^BiologicalDriver
Inherits: ^PrioAntiHeavy
RenderSprites:
Expand Down Expand Up @@ -1169,9 +1169,9 @@ Hexapod:
SMCV:
Inherits: ^ConstructionVehicle
Inherits: ^HoverVehicle
Inherits: ^ScrinLightsTripod
Inherits: ^BigVehicle
Inherits: ^BiologicalDriver
Inherits: ^ScrinLightsMedium
Inherits: ^SelectableSupportUnit
Buildable:
Queue: Vehicle
Expand Down
12 changes: 12 additions & 0 deletions mods/ca/sequences/scrin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ prop_light_effect_scrin:
ZOffset: -10
Offset: 0,4
Tick: 120
light-tripod: underglow
Length: 8
Scale: 0.18
ZOffset: -10
Offset: 0,150
Tick: 120
damaged-light-tripod: underglow_damaged
Length: 12
Scale: 0.18
ZOffset: -10
Offset: 0,150
Tick: 120

s1:
Inherits: ^ScrinCommonDeaths
Expand Down

0 comments on commit 65aafde

Please sign in to comment.