Add scanlines

This commit is contained in:
Paul Chote
2011-05-08 20:56:57 +12:00
parent 6fa9eeb5bb
commit 07d5f91325
7 changed files with 348 additions and 164 deletions

158
mods/cnc/chrome-ingame.yaml Normal file
View File

@@ -0,0 +1,158 @@
chrome-gdi: chrome-gdi.png
specialbin-top: 0,0,30,51
specialbin-middle: 0,51,30,51
specialbin-bottom: 0,153,30,39
moneybin: 192,0,320,32
tooltip-bg: 0,288,272,136
radar-gdi: chrome-gdi.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-indicator: 187,4,4,7
power-gdi: chrome-gdi.png
power-indicator: 187,4,4,7
palette-gdi: chrome-gdi.png
top: 297,288,201,9
dock-top: 498,274,14,23
bottom: 297,489,201,9
dock-bottom: 498,489,14,23
bg-0: 297,297,201,48
dock-0: 498,297,14,48
bg-1: 297,345,201,48
dock-1: 498,345,14,48
bg-2: 297,393,201,48
dock-2: 498,393,14,48
bg-3: 297,441,201,48
dock-3: 498,441,14,48
digits-gdi: chrome-gdi.png
0: 32,0,13,17
1: 45,0,13,17
2: 58,0,13,17
3: 71,0,13,17
4: 84,0,13,17
5: 97,0,13,17
6: 110,0,13,17
7: 123,0,13,17
8: 136,0,13,17
9: 149,0,13,17
chrome-nod: chrome-nod.png
specialbin-top: 0,0,30,51
specialbin-middle: 0,51,30,51
specialbin-bottom: 0,153,30,39
moneybin: 192,0,320,32
tooltip-bg: 0,288,272,136
radar-nod: chrome-nod.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-indicator: 187,4,4,7
power-nod: chrome-nod.png
power-indicator: 187,4,4,7
palette-nod: chrome-nod.png
top: 297,288,201,9
dock-top: 498,274,14,23
bottom: 297,489,201,9
dock-bottom: 498,489,14,23
bg-0: 297,297,201,48
dock-0: 498,297,14,48
bg-1: 297,345,201,48
dock-1: 498,345,14,48
bg-2: 297,393,201,48
dock-2: 498,393,14,48
bg-3: 297,441,201,48
dock-3: 498,441,14,48
digits-nod: chrome-nod.png
0: 32,0,13,17
1: 45,0,13,17
2: 58,0,13,17
3: 71,0,13,17
4: 84,0,13,17
5: 97,0,13,17
6: 110,0,13,17
7: 123,0,13,17
8: 136,0,13,17
9: 149,0,13,17
tabs-selected: tabs.png
gdi-Building: 0,0,27,41
gdi-Defense: 0,40,27,41
gdi-Infantry: 0,80,27,41
gdi-Vehicle: 0,120,27,41
gdi-Plane: 0,160,27,41
gdi-Ship: 0,200,27,41
nod-Building: 80,0,27,41
nod-Defense: 80,40,27,41
nod-Infantry: 80,80,27,41
nod-Vehicle: 80,120,27,41
nod-Plane: 80,160,27,41
nod-Ship: 80,200,27,41
tabs-ready: tabs.png
gdi-Building: 27,0,27,41
gdi-Defense: 27,40,27,41
gdi-Infantry: 27,80,27,41
gdi-Vehicle: 27,120,27,41
gdi-Plane: 27,160,27,41
gdi-Ship: 27,200,27,41
nod-Building: 107,0,27,41
nod-Defense: 107,40,27,41
nod-Infantry: 107,80,27,41
nod-Vehicle: 107,120,27,41
nod-Plane: 107,160,27,41
nod-Ship: 107,200,27,41
tabs-normal: tabs.png
gdi-Building: 54,0,27,41
gdi-Defense: 54,40,27,41
gdi-Infantry: 54,80,27,41
gdi-Vehicle: 54,120,27,41
gdi-Plane: 54,160,27,41
gdi-Ship: 54,200,27,41
nod-Building: 134,0,27,41
nod-Defense: 134,40,27,41
nod-Infantry: 134,80,27,41
nod-Vehicle: 134,120,27,41
nod-Plane: 134,160,27,41
nod-Ship: 134,200,27,41
spawnpoints: spawnpoints.png
unowned: 16,0,16,16
owned: 0,0,16,16
sell-button: buttons.png
normal: 0,0,34,28
pressed: 34,0,34,28
disabled: 68,0,34,28
repair-button: buttons.png
normal: 0,28,34,28
pressed: 34,28,34,28
disabled: 68,28,34,28
power-button: buttons.png
normal: 0,56,34,28
pressed: 34,56,34,28
disabled: 68,56,34,28
flags: buttons.png
gdi: 30,84,30,15
nod: 0,84,30,15
random: 60,84,30,15
strategic: strategic.png
unowned: 0,0,32,32
critical_unowned: 0,32,32,32
enemy_owned: 32,32,32,32
player_owned: 96,0,32,32

View File

@@ -2,133 +2,6 @@ shellmap: reticle.png
reticle: 0,0,512,512
logo: logo.png
logo:0,0,128,128
chrome-gdi: chrome-gdi.png
specialbin-top: 0,0,30,51
specialbin-middle: 0,51,30,51
specialbin-bottom: 0,153,30,39
moneybin: 192,0,320,32
tooltip-bg: 0,288,272,136
radar-gdi: chrome-gdi.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-indicator: 187,4,4,7
power-gdi: chrome-gdi.png
power-indicator: 187,4,4,7
palette-gdi: chrome-gdi.png
top: 297,288,201,9
dock-top: 498,274,14,23
bottom: 297,489,201,9
dock-bottom: 498,489,14,23
bg-0: 297,297,201,48
dock-0: 498,297,14,48
bg-1: 297,345,201,48
dock-1: 498,345,14,48
bg-2: 297,393,201,48
dock-2: 498,393,14,48
bg-3: 297,441,201,48
dock-3: 498,441,14,48
digits-gdi: chrome-gdi.png
0: 32,0,13,17
1: 45,0,13,17
2: 58,0,13,17
3: 71,0,13,17
4: 84,0,13,17
5: 97,0,13,17
6: 110,0,13,17
7: 123,0,13,17
8: 136,0,13,17
9: 149,0,13,17
chrome-nod: chrome-nod.png
specialbin-top: 0,0,30,51
specialbin-middle: 0,51,30,51
specialbin-bottom: 0,153,30,39
moneybin: 192,0,320,32
tooltip-bg: 0,288,272,136
radar-nod: chrome-nod.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-indicator: 187,4,4,7
power-nod: chrome-nod.png
power-indicator: 187,4,4,7
palette-nod: chrome-nod.png
top: 297,288,201,9
dock-top: 498,274,14,23
bottom: 297,489,201,9
dock-bottom: 498,489,14,23
bg-0: 297,297,201,48
dock-0: 498,297,14,48
bg-1: 297,345,201,48
dock-1: 498,345,14,48
bg-2: 297,393,201,48
dock-2: 498,393,14,48
bg-3: 297,441,201,48
dock-3: 498,441,14,48
digits-nod: chrome-nod.png
0: 32,0,13,17
1: 45,0,13,17
2: 58,0,13,17
3: 71,0,13,17
4: 84,0,13,17
5: 97,0,13,17
6: 110,0,13,17
7: 123,0,13,17
8: 136,0,13,17
9: 149,0,13,17
tabs-selected: tabs.png
gdi-Building: 0,0,27,41
gdi-Defense: 0,40,27,41
gdi-Infantry: 0,80,27,41
gdi-Vehicle: 0,120,27,41
gdi-Plane: 0,160,27,41
gdi-Ship: 0,200,27,41
nod-Building: 80,0,27,41
nod-Defense: 80,40,27,41
nod-Infantry: 80,80,27,41
nod-Vehicle: 80,120,27,41
nod-Plane: 80,160,27,41
nod-Ship: 80,200,27,41
tabs-ready: tabs.png
gdi-Building: 27,0,27,41
gdi-Defense: 27,40,27,41
gdi-Infantry: 27,80,27,41
gdi-Vehicle: 27,120,27,41
gdi-Plane: 27,160,27,41
gdi-Ship: 27,200,27,41
nod-Building: 107,0,27,41
nod-Defense: 107,40,27,41
nod-Infantry: 107,80,27,41
nod-Vehicle: 107,120,27,41
nod-Plane: 107,160,27,41
nod-Ship: 107,200,27,41
tabs-normal: tabs.png
gdi-Building: 54,0,27,41
gdi-Defense: 54,40,27,41
gdi-Infantry: 54,80,27,41
gdi-Vehicle: 54,120,27,41
gdi-Plane: 54,160,27,41
gdi-Ship: 54,200,27,41
nod-Building: 134,0,27,41
nod-Defense: 134,40,27,41
nod-Infantry: 134,80,27,41
nod-Vehicle: 134,120,27,41
nod-Plane: 134,160,27,41
nod-Ship: 134,200,27,41
dialog: uibuttons.png
background: 2,2,60,60
@@ -240,6 +113,17 @@ panel-gray: panel.png
corner-bl: 64,126,2,2
corner-br: 126,126,2,2
panel-scanline: panel.png
background: 130,2,60,60
border-r: 190,2,2,60
border-l: 128,2,2,60
border-b: 130,62,60,2
border-t: 130,0,60,2
corner-tl: 128,0,2,2
corner-tr: 190,0,2,2
corner-bl: 128,62,2,2
corner-br: 190,62,2,2
dialog4: dialog4.png
border-t: 5,0,52,6
border-b: 5,58,52,6
@@ -262,30 +146,6 @@ shellmapborder: shellmap-border.png
corner-br: 95,95,33,33
background: 33,33,62,62
spawnpoints: spawnpoints.png
unowned: 16,0,16,16
owned: 0,0,16,16
sell-button: buttons.png
normal: 0,0,34,28
pressed: 34,0,34,28
disabled: 68,0,34,28
repair-button: buttons.png
normal: 0,28,34,28
pressed: 34,28,34,28
disabled: 68,28,34,28
power-button: buttons.png
normal: 0,56,34,28
pressed: 34,56,34,28
disabled: 68,56,34,28
flags: buttons.png
gdi: 30,84,30,15
nod: 0,84,30,15
random: 60,84,30,15
music: musicplayer.png
pause: 0,0,25,25
stop: 28,0,25,25

View File

@@ -11,9 +11,10 @@ Container@INGAME_MENU:
Height:512
ImageCollection:shellmap
ImageName:reticle
ScanLine:
Background@SCANLINES:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:panel-scanline
Background@BORDER:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM

View File

@@ -11,6 +11,10 @@ Container@MENU_BACKGROUND:
Height:512
ImageCollection:shellmap
ImageName:reticle
Background@SCANLINES:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:panel-scanline
Background@BORDER:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM

View File

@@ -53,6 +53,7 @@ Cursors:
Chrome:
mods/cnc/chrome.yaml
mods/cnc/chrome-ingame.yaml
Assemblies:
mods/ra/OpenRA.Mods.RA.dll
@@ -97,4 +98,4 @@ ServerTraits:
MasterServerPinger
ChromeMetrics:
mods/cnc/metrics.yaml
mods/cnc/metrics.yaml

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 1.2 KiB