Added faction-specific units for colorpicker previews in TS

This commit is contained in:
penev92
2021-07-28 13:12:37 +03:00
committed by abcdefg30
parent 2b361ad41e
commit 3ce32fe354
3 changed files with 34 additions and 19 deletions

View File

@@ -28,20 +28,32 @@ waypoint:
MapEditorData:
Categories: System
mmch.colorpicker:
Inherits: MMCH
Mobile:
InitialFacing: 640
WithFacingSpriteBody:
Sequence: walk
harv.colorpicker:
Inherits: HARV
-Buildable:
-MapEditorData:
RenderVoxels:
Image: mmch
Image: harv
Palette: colorpicker
RenderSprites:
Image: mmch
Scale: 18
hvr.colorpicker:
Inherits: HVR
-Buildable:
-MapEditorData:
RenderVoxels:
Image: hvr
Palette: colorpicker
Scale: 18
stnk.colorpicker:
Inherits: STNK
-Buildable:
-MapEditorData:
RenderVoxels:
Image: stnk
Palette: colorpicker
Scale: 18
CAMERA:
Interactable:

View File

@@ -381,7 +381,10 @@ World:
ScriptTriggers:
TimeLimitManager:
ColorPickerManager:
PreviewActor: mmch.colorpicker
PreviewActor: harv.colorpicker
FactionPreviewActors:
gdi: hvr.colorpicker
nod: stnk.colorpicker
PresetHues: 0, 0.125, 0.185, 0.4, 0.54, 0.66, 0.79, 0.875, 0, 0.14, 0.23, 0.43, 0.54, 0.625, 0.77, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5
OrderEffects: