Improve visibility of building placement preview.

This commit is contained in:
Paul Chote
2019-05-18 09:02:35 +00:00
committed by reaperrr
parent cdad07d172
commit 3f9e4a313f
19 changed files with 79 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
^Palettes:
-PlayerColorPalette:
-PaletteFromPlayerPaletteWithAlpha@placebuilding:
IndexedPlayerPalette:
BasePalette: terrain
RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
@@ -15,6 +16,10 @@
GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191
Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114
Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198
PaletteFromPlayerPaletteWithAlpha@Placebuilding:
BaseName: placebuilding
Alpha: 0.65
BasePalette: player
^Vehicle:
RenderSprites:

View File

@@ -700,6 +700,7 @@
Dimensions: 1,1
Footprint: x
ActorPreviewPlaceBuildingPreview:
OverridePalette: placebuilding
SoundOnDamageTransition:
DamagedSounds: xplos.aud
DestroyedSounds: crumble.aud

View File

@@ -123,3 +123,7 @@
RotationPaletteEffect@water:
ExcludePalettes: effect, chrome
RotationBase: 32
PaletteFromPlayerPaletteWithAlpha@placebuilding:
BaseName: placebuilding
Alpha: 0.65
BasePalette: player

View File

@@ -507,6 +507,10 @@ WEAP:
Power:
Amount: -40
ProvidesPrerequisite@buildingname:
-ActorPreviewPlaceBuildingPreview:
SequencePlaceBuildingPreview:
Sequence: place
SequencePalette: placebuilding
HPAD:
Inherits: ^BaseBuilding
@@ -909,6 +913,10 @@ SAM:
Amount: -20
BodyOrientation:
UseClassicFacingFudge: True
-ActorPreviewPlaceBuildingPreview:
SequencePlaceBuildingPreview:
Sequence: place
SequencePalette: placebuilding
OBLI:
Inherits: ^Defense

View File

@@ -166,6 +166,8 @@ weap:
Start: 10
Length: 10
ZOffset: -1024
place: weapmake
Start: 19
make: weapmake
Length: *
Tick: 80
@@ -496,6 +498,8 @@ sam:
dead:
Start: 128
Tick: 800
place:
Start: 0
make: sammake
Length: 20
Tick: 30