Merge remote-tracking branch 'matt/dune'

This commit is contained in:
Chris Forbes
2012-06-10 16:27:19 +12:00
119 changed files with 15597 additions and 5298 deletions

39
mods/d2k/TODO Normal file
View File

@@ -0,0 +1,39 @@
# make structures appear earlier when errecting from ground
# harvester harvest and unload frames missing (too few DATA.R8 frames in general)
# carryalls should automatically transport harvesters (needs complex logic)
# windtrap animations missing
# outpost animations missing
# construction yard crane animations missing
# welding animation (factories) missing
# chimney animation (refinery) missing
# add more spice tiles and make them fit
# add game logic for concrete plates (use terrain overlay from bridges/ressources)
# allow placing turrets on walls
# support separate turret sequence with RenderBuildingTurreted
# ornithocopter should flap (might need new RenderOrni code for proper animation)
# R8 converter needs infantry frame resorter
# add trooper
# add engineer
# add fremen
# add saboteur
# add deathhand missile (nuke)
# add sandworm
# add thumper which really attracts sandworms
# add neutral buildings: emperor palace, fremen siech, smugglers factory
# allow upgrades
# allow different EVA voices for each faction (currently Atreides only)
# add SOUND.TS .wav file extractor to RA.Utility.exe
# convert .wav to .aud or support .wav files for Dune 2000 sounds
# add muzzles and explosions with lightning (might need engine update)
# create a shellmap (currently just a blank placeholder)
# rework chrome UI, dialoges, tabs
# add sonic tank weapon (currently uses tesla)
# make deviator change the allegiance of ememy units (currently shoots rockets)
# allow frigate to deliver 5 units at once to starport
# starport prices should vary
# reinforcements have arrived is played twice when ordering via starport
# add shroud (Dune's 32x32 tiles differ completely from RA/CnC)
# black spots on buildings should be transparent
# gamefile extraction (setup/setup.z) from CD fails
# support patch 1.06 gamefiles: DATA.R8 has more frames and currently fails to extract, also featuring new terrain with white houses and new unit: grenade thrower
# mouse cursor has no transparency and is a little pixelish

Binary file not shown.

Binary file not shown.

0
mods/palettetest/d2k.pal → mods/d2k/bits/d2k.pal Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

542
mods/d2k/chrome.yaml Normal file
View File

@@ -0,0 +1,542 @@
chrome-atreides: chrome-atreides.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-atreides: chrome-atreides.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-atreides: chrome-atreides.png
power-indicator: 187,4,4,7
palette-atreides: chrome-atreides.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-atreides: chrome-atreides.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-harkonnen: chrome-harkonnen.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-harkonnen: chrome-harkonnen.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-harkonnen: chrome-harkonnen.png
power-indicator: 187,4,4,7
palette-harkonnen: chrome-harkonnen.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-harkonnen: chrome-harkonnen.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-ordos: chrome-ordos.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-ordos: chrome-ordos.png
left: 297,31,9,192
right: 498,31,9,192
bottom: 297,223,210,30
bg: 306,31,192,192
power-ordos: chrome-ordos.png
power-indicator: 187,4,4,7
palette-ordos: chrome-ordos.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-ordos: chrome-ordos.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
atreides-Building: 0,0,27,41
atreides-Defense: 0,40,27,41
atreides-Infantry: 0,80,27,41
atreides-Vehicle: 0,120,27,41
atreides-Plane: 0,160,27,41
atreides-Ship: 0,200,27,41
harkonnen-Building: 80,0,27,41
harkonnen-Defense: 80,40,27,41
harkonnen-Infantry: 80,80,27,41
harkonnen-Vehicle: 80,120,27,41
harkonnen-Plane: 80,160,27,41
harkonnen-Ship: 80,200,27,41
ordos-Building: 0,0,27,41
ordos-Defense: 0,40,27,41
ordos-Infantry: 0,80,27,41
ordos-Vehicle: 0,120,27,41
ordos-Plane: 0,160,27,41
ordos-Ship: 0,200,27,41
tabs-ready: tabs.png
atreides-Building: 27,0,27,41
atreides-Defense: 27,40,27,41
atreides-Infantry: 27,80,27,41
atreides-Vehicle: 27,120,27,41
atreides-Plane: 27,160,27,41
atreides-Ship: 27,200,27,41
harkonnen-Building: 107,0,27,41
harkonnen-Defense: 107,40,27,41
harkonnen-Infantry: 107,80,27,41
harkonnen-Vehicle: 107,120,27,41
harkonnen-Plane: 107,160,27,41
harkonnen-Ship: 107,200,27,41
ordos-Building: 27,0,27,41
ordos-Defense: 27,40,27,41
ordos-Infantry: 27,80,27,41
ordos-Vehicle: 27,120,27,41
ordos-Plane: 27,160,27,41
ordos-Ship: 27,200,27,41
tabs-normal: tabs.png
atreides-Building: 54,0,27,41
atreides-Defense: 54,40,27,41
atreides-Infantry: 54,80,27,41
atreides-Vehicle: 54,120,27,41
atreides-Plane: 54,160,27,41
atreides-Ship: 54,200,27,41
harkonnen-Building: 134,0,27,41
harkonnen-Defense: 134,40,27,41
harkonnen-Infantry: 134,80,27,41
harkonnen-Vehicle: 134,120,27,41
harkonnen-Plane: 134,160,27,41
harkonnen-Ship: 134,200,27,41
ordos-Building: 54,0,27,41
ordos-Defense: 54,40,27,41
ordos-Infantry: 54,80,27,41
ordos-Vehicle: 54,120,27,41
ordos-Plane: 54,160,27,41
ordos-Ship: 54,200,27,41
flags: buttons.png
atreides: 0,84,21,23
harkonnen: 22,84,23,23
ordos: 45,84,22,23
random: 67,84,23,23
spectator: 67,84,23,23
dialog2: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
dialog3: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
dialog4: dialog.png
border-t: 773,0,52,6
border-b: 773,58,52,6
border-l: 768,5,6,54
border-r: 826,5,6,54
corner-tl: 768,0,6,6
corner-tr: 826,0,6,6
corner-bl: 768,58,6,6
corner-br: 826,58,6,6
background: 773,5,52,52
dialog: dialog.png
background: 0,0,480,480
border-r: 489,0,9,192
border-l: 480,0,9,192
border-b: 0,489,191,9
border-t: 0,480,191,9
corner-tl: 191,480,9,9
corner-tr: 200,480,9,9
corner-bl: 191,489,9,9
corner-br: 200,489,9,9
spawnpoints: spawnpoints.png
unowned: 528,128,16,16
owned: 512,128,16,16
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
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
music: musicplayer.png
pause: 0,0,25,25
stop: 28,0,25,25
play: 56,0,25,25
next: 84,0,25,25
prev: 112,0,25,25
scrollbar: buttons.png
down_arrow: 16,112,16,16
down_pressed: 16,112,16,16
up_arrow: 32,112,16,16
up_pressed: 32,112,16,16
# A copy of dialog3
progressbar-bg: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog2
progressbar-thumb: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog2
button: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog2
button-hover: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog2
button-disabled: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog3
button-pressed: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
scrollthumb: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog2
scrollthumb-hover: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog2
scrollthumb-disabled: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog3
scrollthumb-pressed: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog3
textfield: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
textfield-hover: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
textfield-disabled: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
textfield-focused: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
scrollpanel-bg: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog2
slider-tick: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1
# A copy of dialog3
slider-track: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
checkbox: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
checkbox-bits: buttons.png
checked: 0,112,16,16
# A copy of dialog3
checkbox-hover: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
checkbox-disabled: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog3
scrollitem-selected: dialog.png
background: 641,1,126,126
border-r: 767,1,1,126
border-l: 640,1,1,126
border-b: 641,127,126,1
border-t: 641,0,126,1
corner-tl: 640,0,1,1
corner-tr: 722,0,1,1
corner-bl: 640,82,1,1
corner-br: 722,82,1,1
# A copy of dialog2
scrollitem-hover: dialog.png
background: 513,1,126,126
border-r: 639,1,1,126
border-l: 512,1,1,126
border-b: 513,127,126,1
border-t: 513,0,126,1
corner-tl: 512,0,1,1
corner-tr: 594,0,1,1
corner-bl: 512,82,1,1
corner-br: 594,82,1,1

View File

@@ -0,0 +1,76 @@
Background@CHEATS_PANEL:
Logic:CheatsLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:350
Height:420
Visible:true
Children:
Label@LABEL_TITLE:
X:(PARENT_RIGHT - WIDTH)/2
Y:20
Width:250
Height:25
Text:Developer Mode
Align:Center
Checkbox@DISABLE_SHROUD:
X:30
Y:50
Height:20
Width:PARENT_RIGHT - 30
Text:Disable Shroud
Button@GIVE_EXPLORATION
X:30
Y:80
Width:200
Height:20
Text: Give Exploration
Checkbox@SHOW_UNIT_PATHS:
X:30
Y:110
Width:PARENT_RIGHT - 30
Height:20
Text:Show Unit Paths
Button@GIVE_CASH:
X:30
Y:140
Width:200
Height:20
Text: Give Cash
Checkbox@INSTANT_BUILD:
X:30
Y:170
Width:PARENT_RIGHT - 30
Height:20
Text:Instant Build Speed
Checkbox@INSTANT_CHARGE:
X:30
Y:200
Width:PARENT_RIGHT - 30
Height:20
Text:Support Powers Charge Instantly
Checkbox@ENABLE_TECH:
X:30
Y:230
Width:PARENT_RIGHT - 30
Height:20
Text:Build Everything
Checkbox@UNLIMITED_POWER:
X:30
Y:260
Width:PARENT_RIGHT - 30
Height:20
Text:Unlimited Power
Checkbox@BUILD_ANYWHERE:
X:30
Y:290
Width:PARENT_RIGHT - 30
Height:20
Text:Build Anywhere
Button@CLOSE:
X:30
Y:360
Width:PARENT_RIGHT - 60
Height:20
Text:Close
Key:escape

View File

@@ -0,0 +1,78 @@
Background@CREATESERVER_BG:
Logic:ServerCreationLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
Height:240
Children:
Label@LABEL_TITLE:
X:0
Y:20
Width:400
Height:25
Text:Create Server
Align:Center
Font:Bold
Label@SERVER_NAME_LABEL:
X:50
Y:59
Width:95
Height:25
Align: Right
Text:Game Title:
TextField@SERVER_NAME:
X:150
Y:60
Width:210
MaxLength:50
Height:25
Text:OpenRA Game
Label@EXTERNAL_PORT_LABEL:
X:50
Y:94
Width:95
Height:25
Align: Right
Text:External Port:
TextField@EXTERNAL_PORT:
X:150
Y:95
Width:50
MaxLength:5
Height:25
Text:OpenRA Game
Label@LISTEN_PORT_LABEL:
X:210
Y:94
Width:95
Height:25
Align: Right
Text:Listen Port:
TextField@LISTEN_PORT:
X:310
Y:95
Width:50
MaxLength:5
Height:25
Checkbox@ADVERTISE_CHECKBOX:
X:165
Y:130
Width:300
Height:20
Text:Advertise game Online
Button@CREATE_BUTTON:
X:130
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Create
Font:Bold
Key:return
Button@BACK_BUTTON:
X:260
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Cancel
Font:Bold
Key:escape

View File

@@ -0,0 +1,50 @@
ScrollPanel@LABEL_DROPDOWN_TEMPLATE:
Width:DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@LABEL:
X:10
Width:PARENT_RIGHT-20
Height:25
ScrollPanel@RACE_DROPDOWN_TEMPLATE:
Width:DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Image@FLAG:
X:5
Y:5
Width:30
Height:15
Label@LABEL:
X:40
Width:60
Height:25
ScrollPanel@TEAM_DROPDOWN_TEMPLATE:
Width:DROPDOWN_WIDTH
Children:
ScrollItem@TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@LABEL:
X:0
Width:PARENT_RIGHT
Height:25
Align:Center

View File

@@ -0,0 +1,208 @@
Background@INSTALL_PANEL:
Logic:D2kInstallLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:600
Height:300
Children:
Label@TITLE:
X:0
Y:20
Width:PARENT_RIGHT
Height:25
Text:Content files missing
Align:Center
Font:Bold
Label@DESC1:
X:0
Y:50
Width:PARENT_RIGHT
Height:25
Text:This is the work in progress Dune 2000 mod.
Align:Center
Label@DESC2:
X:0
Y:70
Width:PARENT_RIGHT
Height:25
Text:It requires the original Dune 2000 (and still some Red Alert) game content.
Align:Center
Label@DESC4:
X:0
Y:110
Width:PARENT_RIGHT
Height:25
Text:You need to copy "Dune 2000/Data/GAMESFX" folder and "Dune 2000/DATA/*.R8" files
Align:Center
Label@DESC5:
X:0
Y:130
Width:PARENT_RIGHT
Height:25
Text: from your local Dune 2000 installation to ~/.openra/Content/d2k/ (Linux)
Align:Center
Label@DESC6:
X:0
Y:150
Width:PARENT_RIGHT
Height:25
Text: or "My Documents/OpenRA/Content/d2k/" (Windows) and click "Extract Data".
Align:Center
Label@DESC7:
X:0
Y:190
Width:PARENT_RIGHT
Height:25
Text: Put in your Dune 2000 CD and click "Copy Music" to (optionally) download the tracks.
Align:Center
Button@EXTRACT_BUTTON:
X:PARENT_RIGHT - 280
Y:PARENT_BOTTOM - 45
Width:100
Height:25
Text:Extract Data
Font:Bold
Button@COPY_BUTTON:
X:PARENT_RIGHT - 420
Y:PARENT_BOTTOM - 45
Width:90
Height:25
Text:Copy Music
Font:Bold
Button@QUIT_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Quit
Font:Bold
Background@INSTALL_FROMCD_PANEL:
Logic:D2kInstallFromCDLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:500
Height:160
Children:
Label@TITLE:
X:0
Y:20
Width:PARENT_RIGHT
Height:25
Text:Installing (Music) from CD
Align:Center
Font:Bold
Container@INSTALLING:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible: false
Children:
ProgressBar@PROGRESS_BAR:
X:50
Y:55
Width:PARENT_RIGHT - 100
Height:25
Label@STATUS_LABEL:
X:50
Y:80
Width:PARENT_RIGHT - 100
Height:25
Align:Left
Container@INSERT_DISK:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible: false
Children:
Label@INFO:
Y:50
Width:PARENT_RIGHT
Height:25
Text:Disk not found.
Align:Center
Label@INFO2:
Y:70
Width:PARENT_RIGHT
Height:25
Text:Please insert the Dune 2000 install CDs then click Retry.
Align:Center
Button@RETRY_BUTTON:
X:PARENT_RIGHT - 280
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Retry
Font:Bold
Key:return
Button@BACK_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Back
Font:Bold
Key:escape
Background@EXTRACT_GAMEFILES_PANEL:
Logic:D2kExtractGameFilesLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:500
Height:160
Children:
Label@TITLE:
X:0
Y:20
Width:PARENT_RIGHT
Height:25
Text:Extracting and Converting Dune 2000 Gamefiles
Align:Center
Font:Bold
Container@EXTRACTING:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible: false
Children:
ProgressBar@PROGRESS_BAR:
X:50
Y:55
Width:PARENT_RIGHT - 100
Height:25
Label@STATUS_LABEL:
X:50
Y:80
Width:PARENT_RIGHT - 100
Height:25
Align:Left
Container@COPY_FILES:
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible: false
Children:
Label@INFO:
Y:50
Width:PARENT_RIGHT
Height:25
Text:Gamefiles not not found.
Align:Center
Label@INFO2:
Y:70
Width:PARENT_RIGHT
Height:25
Text:Please copy the Data/*.R8 files from your Dune 2000 installation to OpenRAs Content/d2k directory then click Retry.
Align:Center
Button@RETRY_BUTTON:
X:PARENT_RIGHT - 280
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Retry
Font:Bold
Key:return
Button@BACK_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Back
Font:Bold
Key:escape

View File

@@ -1,455 +0,0 @@
Background@SERVER_LOBBY:
Delegate:LobbyDelegate
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800
Height:600
Visible:false
Children:
Label@LOBBY_TITLE:
X:0
Y:20
Align:Center
Width:800
Height:20
Bold:True
Text:OpenRA Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:39
Width:252
Height:252
Background:dialog3
Children:
MapPreview@LOBBY_MAP_PREVIEW:
X:4
Y:4
Width:244
Height:244
Container@PLAYERS:
X:20
Y:75
Width:500
Height:200
Children:
Container@TEMPLATE_LOCAL:
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
TextField@NAME:
Text:Name
Width:139
Height:25
X:0
Y:0
MaxLength:16
Button@COLOR:
Width:65
Height:25
X:159
Y:0
Children:
ColorBlock@COLORBLOCK:
X:5
Y:7
Width:PARENT_RIGHT-10
Height:PARENT_BOTTOM-12
Button@FACTION:
Width:110
Height:25
X:244
Y:0
Children:
Image@FACTIONFLAG:
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Text:Faction
Width:60
Height:25
X:40
Y:0
Button@TEAM:
Text:Team
Width:25
Height:25
X:374
Y:0
Checkbox@STATUS:
X:455
Y:2
Width:20
Height:20
Container@TEMPLATE_REMOTE:
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Label@NAME:
Text:Name
Width:139
Height:25
X:0
Y:0
ColorBlock@COLOR:
X:164
Y:7
Width:55
Height:13
Label@FACTION:
Width:110
Height:25
X:244
Y:0
Children:
Image@FACTIONFLAG:
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Text:Team
Width:70
Height:25
X:351
Y:0
Align:Center
Bold: false
Checkbox@STATUS:
X:455
Y:2
Width:20
Height:20
Container@TEMPLATE_EMPTY:
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Label@NAME:
Text:Name
Width:139
Height:25
X:0
Y:0
Button@JOIN:
Text:Play in this slot
Width:PARENT_RIGHT - 160
Height:25
X:160
Y:0
Container@TEMPLATE_EMPTY_HOST:
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Button@NAME: -- TODO: replace with dropdown
Text:Name
Width:155
Height:25
X:0
Y:0
Button@JOIN:
Text:Play in this slot
Width:PARENT_RIGHT - 160
Height:25
X:160
Y:0
Container@LABEL_CONTAINER:
X:30
Y:45
Children:
Label@LABEL_LOBBY_NAME:
Width:139
Height:25
X:0
Y:0
Text:Name
Align:Center
Bold:True
Label@LABEL_LOBBY_COLOR:
Width:65
Height:25
X:159
Y:0
Text:Color
Align:Center
Bold:True
Label@LABEL_LOBBY_FACTION:
Width:110
Height:25
X:244
Y:0
Text:Faction
Align:Center
Bold:True
Label@LABEL_LOBBY_TEAM:
Width:70
Height:25
X:351
Y:0
Text:Team
Align:Center
Bold:True
Label@LABEL_LOBBY_STATUS:
X:432
Y:0
Width:70
Height:25
Text:Ready
Align:Center
Bold:True
Button@CHANGEMAP_BUTTON:
Visible:true
X:PARENT_RIGHT-160
Y:PARENT_BOTTOM-269
Width:120
Height:25
Text:Change Map
Bold:True
ChatDisplay@CHAT_DISPLAY:
Visible:true
X:20
Notification:
Height:230
Y:PARENT_BOTTOM - 289
Width:PARENT_RIGHT - 200
Label@LABEL_CHATTYPE:
Width:65
Height:25
X:0
Y:PARENT_BOTTOM - 50
Text:Chat:
Align:Right
TextField@CHAT_TEXTFIELD:
Visible:true
X:70
Y:PARENT_BOTTOM - 49
Width:550
Height:25
Button@START_GAME_BUTTON:
Visible:true
X:PARENT_RIGHT-160
Y:PARENT_BOTTOM-49
Width:120
Height:25
Text:Start Game
Bold:True
Button@DISCONNECT_BUTTON:
Visible:true
X:PARENT_RIGHT-160
Y:PARENT_BOTTOM-189
Width:120
Height:25
Text:Disconnect
Bold:True
Checkbox@LOCKTEAMS_CHECKBOX:
Visible: true
X: PARENT_RIGHT-160
Y: PARENT_BOTTOM-229
Width: 80
Height: 20
Text: Lock Teams
Background@COLOR_CHOOSER:
Width:500
Height:195
X:(WINDOW_RIGHT - WIDTH)/2 - PARENT_LEFT
Y:100
Visible:false
Children:
Button@BUTTON_OK:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Ok
Bold:True
ShpImage@MCV:
X:PARENT_RIGHT - 90
Y:20
Image:mcv
Frame:20
Palette:colorpicker
# ShpImage@FACT:
# X:PARENT_RIGHT - 100
# Y:70
# Image:fact
# Palette:colorpicker
Label@HUE_LABEL:
X:0
Y:30
Width:110
Height:20
Align: Right
Text: Hue:
Slider@HUE:
X:120
Y:30
Width:260
Height:20
Ticks:5
Label@SAT_LABEL:
X:0
Y:60
Width:110
Height:20
Align: Right
Text: Saturation:
Slider@SAT:
X:120
Y:60
Width:260
Height:20
Ticks:5
Label@LUM_LABEL:
X:0
Y:90
Width:110
Height:20
Align: Right
Text: Brightness:
Slider@LUM:
X:120
Y:90
Width:260
Height:20
Ticks:5
Label@RANGE_LABEL:
X:0
Y:120
Width:110
Height:20
Align: Right
Text: Range:
Slider@RANGE:
X:120
Y:120
Width:260
Height:20
Ticks:5
Background@MAP_CHOOSER:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Delegate:MapChooserDelegate
Width:800
Height:600
Visible:false
Children:
Label@MAPCHOOSER_TITLE:
X:0
Y:20
Align:Center
Width:800
Height:20
Text:Choose Map
Bold:True
ScrollPanel@MAP_LIST:
X:20
Y:50
Width:500
Height:480
Children:
Label@MAP_TEMPLATE:
Width:PARENT_RIGHT-28
Height:25
X:2
Y:0
Visible:false
Background@MAPCHOOSER_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@MAPCHOOSER_MAP_PREVIEW:
X:4
Y:4
Width:244
Height:244
Label@CURMAP_TITLE_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:311
Align:Right
Width:70
Height:20
Text:Title:
Bold:True
Label@CURMAP_TITLE:
X:PARENT_RIGHT - 195
Y:311
Align:Left
Width:70
Height:20
Label@CURMAP_SIZE_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:331
Align:Right
Width:70
Height:20
Text:Size:
Bold:True
Label@CURMAP_SIZE:
X:PARENT_RIGHT - 195
Y:331
Align:Left
Width:70
Height:20
Label@CURMAP_THEATER_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:351
Align:Right
Width:70
Height:20
Text:Theater:
Bold:True
Label@CURMAP_THEATER:
X:PARENT_RIGHT - 195
Y:351
Align:Left
Width:70
Height:20
Label@CURMAP_PLAYERS_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:371
Align:Right
Width:70
Height:20
Text:Players:
Bold:True
Label@CURMAP_PLAYERS:
X:PARENT_RIGHT - 195
Y:371
Align:Left
Width:70
Height:20
Button@BUTTON_OK:
X:PARENT_RIGHT - 360
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Ok
Bold:True
Button@BUTTON_CANCEL:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Cancel
Bold:True

View File

@@ -1,8 +1,7 @@
Container@INGAME_ROOT:
Delegate:IngameChromeDelegate
Visible:false
Logic:IngameChromeLogic
Children:
WorldInteractionController:
WorldInteractionController@INTERACTION_CONTROLLER:
X:0
Y:0
Width:WINDOW_RIGHT
@@ -12,9 +11,17 @@ Container@INGAME_ROOT:
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
WorldCommand:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Timer@GAME_TIMER:
X: WINDOW_RIGHT/2
Y: 10
Y: 0-10
StrategicProgress@STRATEGIC_PROGRESS:
X: WINDOW_RIGHT/2
Y: 40
Background@POSTGAME_BG:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
@@ -25,11 +32,24 @@ Container@INGAME_ROOT:
Children:
Label@TEXT:
X:(PARENT_RIGHT - WIDTH)/2
Y:(PARENT_BOTTOM - HEIGHT)/2
Y:0
Width:200
Height:40
Height:80
Align:Center
Bold:True
Button@POSTGAME_OBSERVE:
X:10
Y:(PARENT_BOTTOM - HEIGHT - 10)
Width:150
Height:25
Font:Bold
Text:Observe
Button@POSTGAME_QUIT:
X:(PARENT_RIGHT - WIDTH - 10)
Y:(PARENT_BOTTOM - HEIGHT - 10)
Width:150
Height:25
Font:Bold
Text:Leave
SupportPowerBin@INGAME_POWERS_BIN:
X:0
Y:25
@@ -44,24 +64,25 @@ Container@INGAME_ROOT:
Width:160
Height:25
Text:Options
Bold:True
Font:Bold
Key: escape
Button@INGAME_DIPLOMACY_BUTTON:
X:162
Y:0
Width:160
Height:25
Text:Diplomacy
Bold:True
WorldTooltip@INGAME_WORLD_TOOLTIP:
Button@INGAME_DEVELOPERMODE_BUTTON:
Font:Bold
Button@CHEATS_BUTTON:
X:324
Y:0
Width:160
Height:25
Text:Developer Mode
Text:Cheats
Visible:false
Bold:True
Font:Bold
RadarBin@INGAME_RADAR_BIN:
WorldInteractionController:INTERACTION_CONTROLLER
PowerBin@INGAME_POWER_BIN:
MoneyBin@INGAME_MONEY_BIN:
X:WINDOW_RIGHT - WIDTH
@@ -70,7 +91,7 @@ Container@INGAME_ROOT:
Height: 32
Children:
OrderButton@SELL:
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:3
Y:0
Width:30
@@ -79,7 +100,7 @@ Container@INGAME_ROOT:
Description:Sell
LongDesc:Sell buildings, reclaiming a \nproportion of their build cost
OrderButton@POWER_DOWN:
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:39
Y:0
Width:30
@@ -88,7 +109,7 @@ Container@INGAME_ROOT:
Description:Powerdown
LongDesc:Disable unneeded structures so their \npower can be used elsewhere
OrderButton@REPAIR:
Delegate:OrderButtonsChromeDelegate
Logic:OrderButtonsChromeLogic
X:75
Y:0
Width:30
@@ -101,7 +122,7 @@ Container@INGAME_ROOT:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:300
Height:320
Height:295
Visible:false
Children:
Label@LABEL_TITLE:
@@ -111,51 +132,45 @@ Container@INGAME_ROOT:
Height:25
Text:Options
Align:Center
Bold:True
Font:Bold
Button@RESUME:
X:(PARENT_RIGHT - WIDTH)/2
Y:60
Width:160
Height:25
Text:Resume
Bold:True
Font:Bold
Key:escape
Button@SETTINGS:
X:(PARENT_RIGHT - WIDTH)/2
Y:100
Width:160
Height:25
Text:Settings
Bold:True
Font:Bold
Button@MUSIC:
X:(PARENT_RIGHT - WIDTH)/2
Y:140
Width:160
Height:25
Text:Music
Bold:True
Font:Bold
Button@SURRENDER:
X:(PARENT_RIGHT - WIDTH)/2
Y:180
Width:160
Height:25
Text:Surrender
Bold:True
Font:Bold
Button@DISCONNECT:
X:(PARENT_RIGHT - WIDTH)/2
Y:220
Width:160
Height:25
Text:Disconnect
Bold:True
Button@QUIT:
X:(PARENT_RIGHT - WIDTH)/2
Y:260
Width:160
Height:25
Text:Quit
Bold:True
Text:Abort Mission
Font:Bold
Background@DIPLOMACY_BG:
Delegate:DiplomacyDelegate
Logic:DiplomacyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450
@@ -169,7 +184,148 @@ Container@INGAME_ROOT:
Height:25
Text:Diplomacy
Align:Center
Bold:True
Font:Bold
ChatDisplay@CHAT_DISPLAY:
X:250
Y:WINDOW_BOTTOM - HEIGHT - 30
Width: 760
Height: 200
DrawBackground: False
RemoveTime:250
UseContrast: yes
ChatEntry@CHAT_ENTRY:
X:250
Y:WINDOW_BOTTOM - HEIGHT
Width: 760
Height: 30
UseContrast: yes
Background@PERF_BG:
ClickThrough:true
Background:dialog4
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
Height: 250
Children:
PerfGraph@GRAPH:
X:5
Y:5
Width:200
Height:200
Label@TEXT:
X:20
Y:205
Width:170
Height:40
Container@OBSERVER_ROOT:
Visible:true
Logic:IngameObserverChromeLogic
Children:
WorldInteractionController@INTERACTION_CONTROLLER:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
ViewportScrollController:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Timer@GAME_TIMER:
X: WINDOW_RIGHT/2
Y: 0-10
Background@POSTGAME_BG:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
Height:100
Background:dialog4
Visible:false
Children:
Label@TEXT:
X:(PARENT_RIGHT - WIDTH)/2
Y:0
Width:200
Height:80
Align:Center
Button@POSTGAME_OBSERVE:
X:10
Y:(PARENT_BOTTOM - HEIGHT - 10)
Width:150
Height:25
Font:Bold
Text:Observe
Button@POSTGAME_QUIT:
X:(PARENT_RIGHT - WIDTH - 10)
Y:(PARENT_BOTTOM - HEIGHT - 10)
Width:150
Height:25
Font:Bold
Text:Leave
SupportPowerBin@INGAME_POWERS_BIN:
X:0
Y:25
Button@INGAME_OPTIONS_BUTTON:
X:0
Y:0
Width:160
Height:25
Text:Options
Font:Bold
Key:escape
WorldTooltip:
Background@INGAME_OPTIONS_BG:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:300
Height:295
Visible:false
Children:
Label@LABEL_TITLE:
X:(PARENT_RIGHT - WIDTH)/2
Y:20
Width:250
Height:25
Text:Options
Align:Center
Font:Bold
Button@RESUME:
X:(PARENT_RIGHT - WIDTH)/2
Y:60
Width:160
Height:25
Text:Resume
Font:Bold
Key:escape
Button@SETTINGS:
X:(PARENT_RIGHT - WIDTH)/2
Y:100
Width:160
Height:25
Text:Settings
Font:Bold
Button@MUSIC:
X:(PARENT_RIGHT - WIDTH)/2
Y:140
Width:160
Height:25
Text:Music
Font:Bold
Button@SURRENDER:
X:(PARENT_RIGHT - WIDTH)/2
Y:180
Width:160
Height:25
Text:Surrender
Font:Bold
Button@DISCONNECT:
X:(PARENT_RIGHT - WIDTH)/2
Y:220
Width:160
Height:25
Text:Abort Mission
Font:Bold
ChatDisplay@CHAT_DISPLAY:
X:250
Y:WINDOW_BOTTOM - HEIGHT - 30
@@ -182,66 +338,32 @@ Container@INGAME_ROOT:
Y:WINDOW_BOTTOM - HEIGHT
Width: 760
Height: 30
Background@DEVELOPERMODE_BG:
Delegate:DeveloperModeDelegate
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:350
Height:330
Visible:false
Background@PERF_BG:
ClickThrough:true
Background:dialog4
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
Height: 250
Children:
Label@LABEL_TITLE:
X:(PARENT_RIGHT - WIDTH)/2
Y:20
Width:250
Height:25
Text:Developer Mode
Align:Center
Checkbox@CHECKBOX_SHROUD
X:30
Y:50
Height:20
Width:PARENT_RIGHT - 30
Text:Disable Shroud
Checkbox@CHECKBOX_UNITDEBUG:
X:30
Y:80
Width:PARENT_RIGHT - 30
Height:20
Text:Show Occupied Cells
Checkbox@CHECKBOX_PATHDEBUG:
X:30
Y:110
Width:PARENT_RIGHT - 30
Height:20
Text:Show Unit Paths
Button@GIVE_CASH
X:30
Y:140
PerfGraph@GRAPH:
X:5
Y:5
Width:200
Height:20
Text: Give Cash
Checkbox@INSTANT_BUILD
X:30
Y:170
Width:PARENT_RIGHT - 30
Height:20
Text:Instant Build Speed
Checkbox@INSTANT_CHARGE
X:30
Y:200
Width:PARENT_RIGHT - 30
Height:20
Text:Instant Charge Time (Special Powers)
Checkbox@ENABLE_TECH
X:30
Y:230
Width:PARENT_RIGHT - 30
Height:20
Text:Build Everything
Button@GIVE_EXPLORATION
X:30
Y:260
Width:200
Height:20
Text: Give Exploration
Height:200
Label@TEXT:
X:20
Y:205
Width:170
Height:40
Background@FMVPLAYER:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:dialog4
Children:
VqaPlayer:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM

465
mods/d2k/chrome/lobby.yaml Normal file
View File

@@ -0,0 +1,465 @@
Background@SERVER_LOBBY:
Logic:LobbyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800
Height:600
Children:
Label@TITLE:
X:0
Y:17
Align:Center
Width:800
Height:20
Font:Bold
Text:OpenD2k Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@MAP_PREVIEW:
X:4
Y:4
Width:244
Height:244
ScrollPanel@PLAYERS:
X:20
Y:67
ItemSpacing:5
Width:504
Height:235
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Text:Name
Width:150
Height:25
X:0
Y:0
MaxLength:16
DropDownButton@BOT_DROPDOWN:
Text:Name
Width:150
Height:25
Font:Regular
Visible:false
DropDownButton@COLOR:
Width:80
Height:25
X:160
Y:0
Children:
ColorBlock@COLORBLOCK:
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
DropDownButton@FACTION:
Width:130
Height:25
X:250
Y:0
Children:
Image@FACTIONFLAG:
Width:23
Height:23
X:5
Y:0
Label@FACTIONNAME:
Text:Faction
Width:70
Height:25
X:30
Y:0
DropDownButton@TEAM:
Text:Team
Width:48
Height:25
X:390
Y:0
Checkbox@STATUS_CHECKBOX:
X:448
Y:2
Width:20
Height:20
Visible:false
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Visible:false
Container@TEMPLATE_NONEDITABLE_PLAYER:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
X:165
Y:6
Width:45
Height:13
Label@FACTION:
Width:130
Height:25
X:250
Y:0
Children:
Image@FACTIONFLAG:
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Text:Team
Width:23
Height:25
Align:Center
X:390
Y:0
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Container@TEMPLATE_EMPTY:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Text:Name
Width:145
Height:25
X:5
Y:0-1
DropDownButton@NAME_HOST:
Text:Name
Width:150
Height:25
X:0
Y:0
Visible:false
Button@JOIN:
Text:Play in this slot
Width:278
Height:25
X:160
Y:0
Container@TEMPLATE_EDITABLE_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
TextField@NAME:
Text:Name
Width:150
Height:25
MaxLength:16
DropDownButton@COLOR:
Width:80
Height:25
X:160
Font:Regular
Children:
ColorBlock@COLORBLOCK:
X:5
Y:6
Width:PARENT_RIGHT-35
Height:PARENT_BOTTOM-12
Label@SPECTATOR:
Text:Spectator
Width:198
Height:25
X:240
Y:0
Align:Center
Font:Bold
Checkbox@STATUS_CHECKBOX:
X:448
Y:2
Width:20
Height:20
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Container@TEMPLATE_NONEDITABLE_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Label@NAME:
Text:Name
Width:145
Height:25
X:5
Y:0-1
Button@KICK:
Text:X
Width:25
Height:23
X:125
Y:2
Font:Bold
ColorBlock@COLOR:
X:165
Y:6
Width:45
Height:13
Label@SPECTATOR:
Text:Spectator
Width:198
Height:25
X:240
Y:0
Align:Center
Font:Bold
Image@STATUS_IMAGE:
Visible:false
X:450
Y:4
Width:20
Height:20
ImageCollection:checkbox-bits
ImageName:checked
Container@TEMPLATE_NEW_SPECTATOR:
X:5
Y:0
Width:475
Height:25
Visible:false
Children:
Button@SPECTATE:
Text:Spectate
Font:Regular
Width:278
Height:25
X:160
Y:0
Container@LABEL_CONTAINER:
X:25
Y:40
Children:
Label@LABEL_LOBBY_NAME:
Width:150
Height:25
X:0
Y:0
Text:Name
Align:Center
Font:Bold
Label@LABEL_LOBBY_COLOR:
Width:80
Height:25
X:160
Y:0
Text:Color
Align:Center
Font:Bold
Label@LABEL_LOBBY_FACTION:
Width:130
Height:25
X:250
Y:0
Text:Faction
Align:Center
Font:Bold
Label@LABEL_LOBBY_TEAM:
Width:48
Height:25
X:390
Y:0
Text:Team
Align:Center
Font:Bold
Label@LABEL_LOBBY_STATUS:
X:448
Y:0
Width:20
Height:25
Text:Ready
Align:Left
Font:Bold
Button@CHANGEMAP_BUTTON:
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-269
Width:120
Height:25
Text:Change Map
Font:Bold
ScrollPanel@CHAT_DISPLAY:
X:20
Y:PARENT_BOTTOM - 289
Width:PARENT_RIGHT - 200
Height:230
ItemSpacing:1
Children:
Container@CHAT_TEMPLATE:
Width:PARENT_RIGHT-27
Height:16
X:2
Y:0
Children:
Label@TIME:
X:3
Width:50
Height:15
VAlign:Top
Label@NAME:
X:45
Width:50
Height:15
VAlign:Top
Label@TEXT:
X:55
Width:PARENT_RIGHT - 60
Height:15
WordWrap:true
VAlign:Top
Label@LABEL_CHATTYPE:
Width:65
Height:25
X:0
Y:PARENT_BOTTOM - 50
Text:Chat:
Align:Right
TextField@CHAT_TEXTFIELD:
X:70
Y:PARENT_BOTTOM - 49
Width:550
Height:25
Button@START_GAME_BUTTON:
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-49
Width:120
Height:25
Text:Start Game
Font:Bold
Button@DISCONNECT_BUTTON:
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-189+25
Width:120
Height:25
Text:Disconnect
Font:Bold
Checkbox@ALLOWCHEATS_CHECKBOX:
X: PARENT_RIGHT-154
Y: PARENT_BOTTOM-229
Width: 80
Height: 20
Text: Allow Cheats
Background@COLOR_CHOOSER:
Logic:ColorPickerLogic
Background:dialog2
Width:310
Height:120
Children:
Button@SAVE_BUTTON:
X:210
Y:85
Width:90
Height:25
Text:Save
Font:Bold
Button@RANDOM_BUTTON:
X:115
Y:85
Width:90
Height:25
Text:Random
Font:Bold
ShpImage@FACT:
X:220
Y:10
Image:fact
Palette:colorpicker
Label@HUE_LABEL:
X:0
Y:5
Width:40
Height:20
Align: Right
Text: Hue:
Slider@HUE:
X:43
Y:10
Width:160
Height:20
Ticks:5
Label@SAT_LABEL:
X:0
Y:30
Width:40
Height:20
Align: Right
Text: Sat:
Slider@SAT:
X:43
Y:35
Width:160
Height:20
Ticks:5
Label@LUM_LABEL:
X:0
Y:55
Width:40
Height:20
Align: Right
Text: Lum:
Slider@LUM:
X:43
Y:60
Width:160
Height:20
Ticks:5
MinimumValue: 0.2
MaximumValue: 1

View File

@@ -2,72 +2,78 @@ Background@MAINMENU_BG:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:250
Height:290
Delegate:MainMenuButtonsDelegate
Height:420
Visible:true
Logic:MainMenuButtonsLogic
Children:
Label@MAINMENU_LABEL_TITLE:
X:0
Y:20
Width:250
Height:25
Text:OpenRA Main Menu
Text:OpenD2k Main Menu
Align:Center
Bold:True
Font:Bold
Button@MAINMENU_BUTTON_JOIN:
X:45
Y:70
Width:160
Height:25
Text:Join Game
Bold:True
Font:Bold
Button@MAINMENU_BUTTON_CREATE:
X:45
Y:110
Width:160
Height:25
Text:Create Game
Bold:True
Button@MAINMENU_BUTTON_SETTINGS:
Font:Bold
Button@MAINMENU_BUTTON_DIRECTCONNECT:
X:45
Y:150
Width:160
Height:25
Text:Settings
Bold:True
Button@MAINMENU_BUTTON_MUSIC:
Text:Direct Connect
Font:Bold
Button@MAINMENU_BUTTON_SETTINGS:
X:45
Y:190
Width:160
Height:25
Text:Music
Bold:True
Button@MAINMENU_BUTTON_QUIT:
Text:Settings
Font:Bold
Button@MAINMENU_BUTTON_MODS:
X:45
Y:230
Width:160
Height:25
Text:Quit
Bold:True
Button@MAINMENU_BUTTON_VIDEOPLAYER:
Visible:false
Text:Mods
Font:Bold
Button@MAINMENU_BUTTON_MUSIC:
X:45
Y:260
Y:270
Width:160
Height:25
Text:Video Player
Bold:True
Label@VERSION_STRING:
X:WINDOW_RIGHT - PARENT_LEFT - WIDTH - 15
Y:WINDOW_BOTTOM - PARENT_TOP - 25
Width:400
Height:35
Text:
Align:Right
Bold:True
Text:Music
Font:Bold
Button@MAINMENU_BUTTON_REPLAY_VIEWER:
X:45
Y:310
Width:160
Height:25
Text:Replay Viewer
Font:Bold
Button@MAINMENU_BUTTON_QUIT:
X:45
Y:350
Width:160
Height:25
Text:Quit
Font:Bold
Background@PERF_BG:
ClickThrough:true
Background:dialog4
Delegate:PerfDebugDelegate
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
@@ -79,18 +85,17 @@ Background@PERF_BG:
Width:200
Height:200
Label@TEXT:
Bold: false
X:20
Y:205
Width:170
Height:40
Background@MUSIC_MENU:
Delegate:MusicPlayerDelegate
Logic:MusicPlayerLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width: 450
Height: 250
Visible: false
Visible: true
Children:
Label@SETTINGS_LABEL_TITLE:
X:0
@@ -99,14 +104,22 @@ Background@MUSIC_MENU:
Height:25
Text:Music
Align:Center
Bold:True
Font:Bold
Button@BUTTON_INSTALL:
X:20
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Install Music
Font:Bold
Button@BUTTON_CLOSE:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Close
Bold:True
Font:Bold
Key:escape
Container@BUTTONS:
X:PARENT_RIGHT - 150
Y:50
@@ -189,8 +202,8 @@ Background@MUSIC_MENU:
Width:280
Height:140
Children:
Label@MUSIC_TEMPLATE:
Width:PARENT_RIGHT-28
ScrollItem@MUSIC_TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
@@ -217,4 +230,4 @@ Background@MUSIC_MENU:
Y:140
Width:100
Height:20
Text:Repeat
Text:Loop

View File

@@ -0,0 +1,74 @@
Background@MAPCHOOSER_PANEL:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Logic:MapChooserLogic
Width:800
Height:600
Children:
Label@MAPCHOOSER_TITLE:
X:0
Y:17
Align:Center
Width:800
Height:20
Text:Choose Map
Font:Bold
ScrollPanel@MAP_LIST:
X:20
Y:47
Width:PARENT_RIGHT - 40
Height:474
Children:
ScrollItem@MAP_TEMPLATE:
Width:180
Height:208
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:2
Y:PARENT_BOTTOM-47
Width:PARENT_RIGHT-4
Height:25
Align:Center
Label@DETAILS:
Width:PARENT_RIGHT-4
X:2
Y:PARENT_BOTTOM-35
Align:Center
Height:25
Font:Tiny
Label@AUTHOR:
Width:PARENT_RIGHT-4
X:2
Y:PARENT_BOTTOM-26
Align:Center
Height:25
Font:Tiny
MapPreview@PREVIEW:
X:(PARENT_RIGHT - WIDTH)/2
Y:4
Width:160
Height:160
DropDownButton@GAMEMODE_FILTER:
X:PARENT_RIGHT - 220
Y:17
Width:200
Height:25
Button@BUTTON_OK:
X:PARENT_RIGHT - 295
Y:PARENT_BOTTOM - 49
Width:120
Height:25
Text:Ok
Font:Bold
Key:return
Button@BUTTON_CANCEL:
X:PARENT_RIGHT-154
Y:PARENT_BOTTOM-49
Width:120
Height:25
Text:Cancel
Font:Bold
Key:escape

View File

@@ -0,0 +1,84 @@
Background@MODS_PANEL:
Logic:ModBrowserLogic
Width:740
Height:500
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Children:
Label@TITLE:
Text:Select Mod
Width:PARENT_RIGHT
Y:20
Font:Bold
Align:Center
ScrollPanel@MOD_LIST:
X:15
Y:70
Width:710
Height:PARENT_BOTTOM - 125
Children:
ScrollItem@MOD_TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Width:200
Height:25
Label@AUTHOR:
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Container@MOD_LABELS:
Width:710-25
Height:25
X:15
Y:45
Children:
Label@TITLE:
Width:125
Height:25
X:0
Y:0
Text:Title
Align:Center
Font:Bold
Label@AUTHOR:
X:PARENT_RIGHT-300
Align:Center
Width:50
Height:25
Text:Author
Font:Bold
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Align:Center
Height:25
Text:Version
Font:Bold
Button@BACK_BUTTON:
Key:escape
X:PARENT_RIGHT-180
Y:PARENT_BOTTOM-45
Width:160
Height:25
Font:Bold
Text:Cancel
Button@LOAD_BUTTON:
Key:return
X:PARENT_RIGHT-360
Y:PARENT_BOTTOM-45
Width:160
Height:25
Font:Bold
Text:Load Mod

View File

@@ -0,0 +1,102 @@
Background@REPLAYBROWSER_BG:
Logic:ReplayBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:700
Height:410
Children:
Label@REPLAYBROWSER_LABEL_TITLE:
X:0
Y:20
Width:PARENT_RIGHT
Height:25
Text:Choose Replay
Align:Center
Font:Bold
ScrollPanel@REPLAY_LIST:
X:20
Y:50
Width:390
Height:300
Children:
ScrollItem@REPLAY_TEMPLATE:
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Visible:false
Children:
Label@TITLE:
X:10
Width:PARENT_RIGHT-20
Height:25
Container@REPLAY_INFO:
X:0
Y:0
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible:false
Children:
MapPreview@MAP_PREVIEW:
X:PARENT_RIGHT-241
Y:30
Width:192
Height:192
Label@MAP_TITLE_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:250
Align:Right
Width:70
Height:20
Text:Map:
Font:Bold
Label@MAP_TITLE:
X:PARENT_RIGHT - 195
Y:250
Align:Left
Width:70
Height:20
Label@DURATION_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:270
Align:Right
Width:70
Height:20
Text:Duration:
Font:Bold
Label@DURATION:
X:PARENT_RIGHT - 195
Y:270
Align:Left
Width:70
Height:20
Label@PLAYERS_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:290
Align:Right
Width:70
Height:20
Text:Players:
Font:Bold
Label@PLAYERS:
X:PARENT_RIGHT - 195
Y:290
Align:Left
Width:70
Height:20
Button@WATCH_BUTTON:
X:PARENT_RIGHT - 140 - 130
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Watch
Font:Bold
Key:return
Button@CANCEL_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Cancel
Font:Bold
Key:escape

View File

@@ -1,93 +1,9 @@
Background@CREATESERVER_BG:
Delegate:CreateServerMenuDelegate
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
Height:240
Visible:false
Children:
Label@LABEL_TITLE:
X:0
Y:20
Width:400
Height:25
Text:Create Server
Align:Center
Bold:True
Label@GAME_TITLE_LABEL:
X:50
Y:59
Width:95
Height:25
Align: Right
Text:Game Title:
TextField@GAME_TITLE:
X:150
Y:60
Width:210
MaxLength:50
Height:25
Text:OpenRA Game
Label@EXTERNAL_PORT_LABEL:
X:50
Y:94
Width:95
Height:25
Align: Right
Text:External Port:
TextField@EXTERNAL_PORT:
X:150
Y:95
Width:50
MaxLength:5
Height:25
Text:OpenRA Game
Label@LISTEN_PORT_LABEL:
X:210
Y:94
Width:95
Height:25
Align: Right
Text:Listen Port:
TextField@LISTEN_PORT:
X:310
Y:95
Width:50
MaxLength:5
Height:25
Checkbox@CHECKBOX_ONLINE:
X:165
Y:130
Width:300
Height:20
Text:Advertise game Online
Checkbox@CHECKBOX_CHEATS:
X:165
Y:160
Width:300
Height:20
Text:Allow Cheats
Button@BUTTON_START:
X:130
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Create
Bold:True
Button@BUTTON_CANCEL:
X:260
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Cancel
Bold:True
Background@JOINSERVER_BG:
Delegate:ServerBrowserDelegate
Logic:ServerBrowserLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:700
Height:410
Visible:false
Width:540
Height:535
Children:
Label@JOINSERVER_LABEL_TITLE:
X:0
@@ -96,130 +12,95 @@ Background@JOINSERVER_BG:
Height:25
Text:Join Server
Align:Center
Bold:True
Font:Bold
ScrollPanel@SERVER_LIST:
X:20
Y:50
Width:390
Height:300
Width:500
Height:425
Children:
Label@SERVER_TEMPLATE:
Width:PARENT_RIGHT-28
Height:25
ScrollItem@SERVER_TEMPLATE:
Width:PARENT_RIGHT-27
Height:68
X:2
Y:0
Visible:false
Label@JOINSERVER_PROGRESS_TITLE:
X:150
Children:
MapPreview@MAP_PREVIEW:
X:2
Y:2
Width:64
Height:64
ShowSpawnPoints:no
Label@TITLE:
X:70
Width:200
Height:25
Font:Bold
Label@MAP:
X:70
Y:20
Width:250
Height:25
Label@PLAYERS:
X:70
Y:40
Width:50
Height:25
Label@STATE:
Width:140
X:PARENT_RIGHT-150
Align:Right
Height:25
Font:Bold
Label@IP:
Width:140
X:PARENT_RIGHT-150
Y:20
Align:Right
Height:25
Label@VERSION:
Width:140
X:PARENT_RIGHT-150
Y:40
Align:Right
Height:25
Label@PROGRESS_LABEL:
X:(PARENT_RIGHT - WIDTH) / 2
Y:PARENT_BOTTOM / 2 - HEIGHT
Width:150
Height:30
Background:dialog4
Text:Fetching games...
Align:Center
Container@SERVER_INFO:
X:0
Y:0
Width:PARENT_RIGHT
Height:PARENT_BOTTOM
Visible:false
Children:
Label@SERVER_IP_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:50
Align:Right
Width:70
Height:20
Text:Server:
Bold:True
Label@SERVER_IP:
X:PARENT_RIGHT - 195
Y:50
Align:Left
Width:70
Height:20
Label@SERVER_MODS_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:70
Align:Right
Width:70
Height:20
Text:Mods:
Bold:True
Label@SERVER_MODS:
X:PARENT_RIGHT - 195
Y:70
Align:Left
Width:70
Height:20
Label@MAP_TITLE_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:90
Align:Right
Width:70
Height:20
Text:Map:
Bold:True
Label@MAP_TITLE:
X:PARENT_RIGHT - 195
Y:90
Align:Left
Width:70
Height:20
Label@MAP_PLAYERS_LABEL:
X:PARENT_RIGHT - 200 - WIDTH
Y:110
Align:Right
Width:70
Height:20
Text:Players:
Bold:True
Label@MAP_PLAYERS:
X:PARENT_RIGHT - 195
Y:110
Align:Left
Width:70
Height:20
MapPreview@MAP_PREVIEW:
X:PARENT_RIGHT-241
Y:140
Width:192
Height:192
Button@DIRECTCONNECT_BUTTON:
X:20
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Direct Connect
Bold:True
Align:Center
Button@REFRESH_BUTTON:
X:160
X:20
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Refresh
Bold:True
Font:Bold
Button@JOIN_BUTTON:
X:PARENT_RIGHT - 140 - 130
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Join
Bold:True
Button@CANCEL_BUTTON:
Font:Bold
Key:return
Button@BACK_BUTTON:
X:PARENT_RIGHT - 140
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Cancel
Bold:True
Font:Bold
Key:escape
Background@DIRECTCONNECT_BG:
Delegate:ServerBrowserDelegate
Logic:DirectConnectLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
Height:155
Visible:false
Children:
Label@DIRECTCONNECT_LABEL_TITLE:
X:0
@@ -228,7 +109,7 @@ Background@DIRECTCONNECT_BG:
Height:25
Text:Direct Connect
Align:Center
Bold:True
Font:Bold
Label@ADDRESS_LABEL:
X:50
Y:59
@@ -236,33 +117,40 @@ Background@DIRECTCONNECT_BG:
Height:25
Align:Right
Text:Server Address:
TextField@SERVER_ADDRESS:
TextField@IP:
X:150
Y:60
Width:200
Width:160
MaxLength:50
Height:25
TextField@PORT:
X:315
Y:60
Width:55
MaxLength:5
Height:25
Button@JOIN_BUTTON:
X:130
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Join
Bold:True
Button@CANCEL_BUTTON:
Font:Bold
Key:return
Button@BACK_BUTTON:
X:260
Y:PARENT_BOTTOM - 45
Width:120
Height:25
Text:Cancel
Bold:True
Background@CONNECTION_FAILED_BG:
Delegate:ConnectionDialogsDelegate
Font:Bold
Key:escape
Background@CONNECTIONFAILED_PANEL:
Logic:ConnectionFailedLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450
Height:150
Visible:false
Children:
Label@CONNECTION_FAILED_TITLE:
X:0
@@ -271,35 +159,36 @@ Background@CONNECTION_FAILED_BG:
Height:25
Text:Connection Failed
Align:Center
Bold:True
Label@CONNECTION_FAILED_DESC:
Font:Bold
Label@CONNECTING_DESC:
X:0
Y:60
Width:PARENT_RIGHT
Height:25
Text:Could not connect to AAA.BBB.CCC.DDD:EEEE
Align:Center
Button@CONNECTION_BUTTON_RETRY:
Button@RETRY_BUTTON:
X:PARENT_RIGHT - 360
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Retry
Bold:True
Button@CONNECTION_BUTTON_CANCEL:
Font:Bold
Key:return
Button@ABORT_BUTTON:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Cancel
Bold:True
Background@CONNECTING_BG:
Delegate:ConnectionDialogsDelegate
Font:Bold
Key:escape
Background@CONNECTING_PANEL:
Logic:ConnectionLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:450
Height:150
Visible:false
Children:
Label@CONNECTING_TITLE:
X:0
@@ -308,7 +197,7 @@ Background@CONNECTING_BG:
Height:25
Text:Connecting
Align:Center
Bold:True
Font:Bold
Label@CONNECTING_DESC:
X:0
Y:60
@@ -316,10 +205,11 @@ Background@CONNECTING_BG:
Height:25
Text:Connecting to AAA.BBB.CCC.DDD:EEEE...
Align:Center
Button@CONNECTION_BUTTON_ABORT:
Button@ABORT_BUTTON:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Abort
Bold:True
Font:Bold
Key:escape

View File

@@ -1,10 +1,9 @@
Background@SETTINGS_MENU:
Delegate:SettingsMenuDelegate
Logic:SettingsMenuLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM- HEIGHT)/2
Width: 450
Height: 350
Visible: false
Children:
Label@SETTINGS_LABEL_TITLE:
X:0
@@ -13,14 +12,15 @@ Background@SETTINGS_MENU:
Height:25
Text:Settings
Align:Center
Bold:True
Font:Bold
Button@BUTTON_CLOSE:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Close
Bold:True
Font:Bold
Key:escape
Container@TAB_CONTAINER:
X:0
Y:50
@@ -33,28 +33,28 @@ Background@SETTINGS_MENU:
Width:90
Height:25
Text:General
Bold:True
Font:Bold
Button@AUDIO:
X:135
Y:0
Width:90
Height:25
Text:Audio
Bold:True
Font:Bold
Button@DISPLAY:
X:225
Y:0
Width:90
Height:25
Text:Display
Bold:True
Font:Bold
Button@DEBUG:
X:315
Y:0
Width:90
Height:25
Text:Debug
Bold:True
Font:Bold
Container@GENERAL_PANE:
X:37
Y:100
@@ -79,12 +79,36 @@ Background@SETTINGS_MENU:
Width:200
Height:20
Text: Enable Edge Scrolling
Label@EDGE_SCROLL_AMOUNT_LABEL:
X:0
Y:70
Text: Scroll Speed
Slider@EDGE_SCROLL_AMOUNT:
X:130
Y:60
Width:250
Height:20
Ticks:5
MinimumValue: 10
MaximumValue: 50
Checkbox@INVERSE_SCROLL:
X:0
Y:60
Y:90
Width:200
Height:20
Text: Invert Mouse Drag Scrolling
Checkbox@TEAMCHAT_TOGGLE:
X:0
Y:120
Width:200
Height:20
Text: Shift-Enter Toggles Team Chat
Checkbox@SHOW_SHELLMAP:
X:0
Y:150
Width:200
Height:20
Text: Show Shellmap
Container@AUDIO_PANE:
X:37
Y:100
@@ -119,38 +143,61 @@ Background@SETTINGS_MENU:
Height:PARENT_BOTTOM - 100
Visible: false
Children:
Checkbox@FULLSCREEN_CHECKBOX:
Label@MODE_LABEL:
X:0
Y:0
Width:300
Width:45
Height:25
Text:Mode:
DropDownButton@MODE_DROPDOWN:
X:50
Y:1
Width:170
Height:25
Font:Regular
Text:Windowed
Container@WINDOW_RESOLUTION:
X:220
Y:0
Children:
Label@At:
Text:@
Font:Bold
Y:0-1
Height:25
Width:25
Align:Center
TextField@WINDOW_WIDTH:
X:25
Width:45
Height:25
MaxLength:5
Label@X:
Text:x
Font:Bold
X:70
Y:0-1
Height:25
Width:15
Align:Center
TextField@WINDOW_HEIGHT:
X:85
Width:45
Height:25
MaxLength:5
Label@VIDEO_DESC:
Y:25
Width:PARENT_RIGHT
Height:25
Font:Tiny
Align:Center
Text:Mode/Resolution changes will be applied after the game is restarted
Checkbox@PIXELDOUBLE_CHECKBOX:
Y:50
Width:200
Height:20
Text:Fullscreen
Label@RESOLUTION_LABEL:
X:0
Y:50
Text: Window Resolution:
TextField@SCREEN_WIDTH:
Text:Width
Width:50
Height:25
X:130
Y:40
MaxLength:5
Label@X:
Text:x
X:185
Y:50
TextField@SCREEN_HEIGHT:
Text:Height
Width:50
Height:25
X:195
Y:40
MaxLength:5
Label@RESTART:
Text: Restart Game To Apply Changes
X:0
Y:PARENT_BOTTOM - 30
Font:Regular
Text:Enable Pixel Doubling
Container@DEBUG_PANE:
X:37
Y:100
@@ -164,15 +211,9 @@ Background@SETTINGS_MENU:
Width:300
Height:20
Text:Show Performance Information
Checkbox@SYNCREPORTS_CHECKBOX:
Checkbox@CHECKUNSYNCED_CHECKBOX:
X:0
Y:30
Width:300
Height:20
Text:Collect Sync Reports
Checkbox@GAMETIME_CHECKBOX:
X:0
Y:60
Width:300
Height:20
Text:Show Game Time Counter
Text:Check Sync around Unsynced Code

View File

@@ -1,67 +0,0 @@
Background@VIDEOPLAYER_MENU:
Delegate:VideoPlayerDelegate
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM- HEIGHT)/2
Width: 700
Height: 680
Visible: false
Children:
Label@VIDEOPLAYER_TITLE:
X:0
Y:20
Align:Center
Width:PARENT_RIGHT
Height:20
Text:Video Player
Bold:True
VqaPlayer:
X:30
Y:50
Width:640
Height:400
ScrollPanel@VIDEO_LIST:
X:20
Y:460
Width:480
Height:200
Children:
Label@VIDEO_TEMPLATE:
Width:PARENT_RIGHT-28
Height:25
X:2
Y:0
Visible:false
Button@BUTTON_PLAYPAUSE:
X:600 - WIDTH - 10
Y:460
Width:25
Height:25
Children:
Image@PLAY:
Width:25
Height:25
ImageCollection:music
ImageName:play
Image@PAUSE:
Width:25
Height:25
ImageCollection:music
ImageName:pause
Button@BUTTON_STOP:
X:610
Y:460
Width:25
Height:25
Children:
Image:
Width:25
Height:25
ImageCollection:music
ImageName:stop
Button@BUTTON_CLOSE:
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Close
Bold:True

View File

@@ -1,68 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<sequences>
<cursor src="mouse" palette="cursor">
<sequence name="scroll-t" start="1" x="12" y="12" />
<sequence name="scroll-tr" start="2" x="12" y="12" />
<sequence name="scroll-r" start="3" x="12" y="12" />
<sequence name="scroll-br" start="4" x="12" y="12" />
<sequence name="scroll-b" start="5" x="12" y="12" />
<sequence name="scroll-bl" start="6" x="12" y="12" />
<sequence name="scroll-l" start="7" x="12" y="12" />
<sequence name="scroll-tl" start="8" x="12" y="12" />
<sequence name="scroll-t-blocked" start="124" x="12" y="12" />
<sequence name="scroll-tr-blocked" start="125" x="12" y="12" />
<sequence name="scroll-r-blocked" start="126" x="12" y="12" />
<sequence name="scroll-br-blocked" start="127" x="12" y="12" />
<sequence name="scroll-b-blocked" start="128" x="12" y="12" />
<sequence name="scroll-bl-blocked" start="129" x="12" y="12" />
<sequence name="scroll-l-blocked" start="130" x="12" y="12" />
<sequence name="scroll-tl-blocked" start="131" x="12" y="12" />
<sequence name="select" start="15" length="6" x="12" y="12" />
<sequence name="default" start="0" />
<sequence name="default-minimap" start="80" />
<sequence name="generic-blocked" start="9" />
<sequence name="generic-blocked-minimap" start="33" />
<sequence name="move" start="10" length="4" x="12" y="12" />
<sequence name="move-minimap" start="29" length="4" x="12" y="12" />
<sequence name="move-blocked" start="14" x="12" y="12" />
<sequence name="move-blocked-minimap" start="33" x="12" y="12" />
<sequence name="attack" start="195" length="8" x="12" y="12" />
<sequence name="attack-minimap" start="203" length="8" x="12" y="12" />
<sequence name="attackmove" start="21" length="8" x="12" y="12" />
<sequence name="attackmove-minimap" start="134" length="8" x="12" y="12" />
<sequence name="enter" start="113" length="3" x="12" y="12" />
<sequence name="enter-minimap" start="139" length="3" x="12" y="12" />
<sequence name="enter-blocked" start="212" length="1" x="12" y="12" />
<sequence name="enter-blocked-minimap" start="33" />
<sequence name="c4" start="116" length="3" x="12" y="12" />
<sequence name="c4-minimap" start="121" length="3" x="12" y="12" />
<sequence name="guard" start="147" length="1" x="12" y="12" />
<sequence name="guard-minimap" start="146" length="1" x="12" y="12" />
<sequence name="capture" start="164" length="3" x="12" y="12" />
<sequence name="capture-minimap" start="167" length="3" x="12" y="12" />
<sequence name="heal" start="160" length="4" x="12" y="12" />
<sequence name="heal-minimap" start="194" length="1" x="12" y="12" />
<sequence name="ability" start="82" length="8" x="12" y="12" />
<sequence name="ability-minimap" start="214" length="8" x="12" y="12" />
<!-- Want minimap cursors -->
<sequence name="deploy" start="59" length="9" x="12" y="12" />
<sequence name="deploy-blocked" start="211" length="1" x="12" y="12" />
<sequence name="goldwrench" start="170" length="24" x="12" y="12" />
<sequence name="goldwrench-blocked" start="213" length="1" x="12" y="12" />
<sequence name="nuke" start="90" length="7" x="12" y="12" />
<sequence name="chrono-select" start="97" length="8" x="12" y="12" />
<sequence name="chrono-target" start="105" length="8" x="12" y="12" />
<sequence name="sell" start="68" length="12" x="12" y="12" />
<sequence name="sell-blocked" start="119" length="1" x="12" y="12" />
<sequence name="repair" start="35" length="24" x="12" y="12" />
<sequence name="repair-blocked" start="120" length="1" x="12" y="12" />
<sequence name="sell2" start="148" length="12" />
</cursor>
<cursor src="nopower" palette="cursor">
<sequence name="powerdown-blocked" start="0" length="1" x="12" y="12" />
<sequence name="powerdown" start="1" length="3" x="12" y="12" />
</cursor>
</sequences>

238
mods/d2k/cursors.yaml Normal file
View File

@@ -0,0 +1,238 @@
Palettes:
cursor: d2k.pal
Cursors:
mouse: cursor
scroll-t:
start:112
x: 12
y: 12
scroll-tr:
start: 120
x: 12
y: 12
scroll-r:
start: 128
x: 12
y: 12
scroll-br:
start: 136
x: 12
y: 12
scroll-b:
start:148
x: 12
y: 12
scroll-bl:
start:156
x: 12
y: 12
scroll-l:
start:164
x: 12
y: 12
scroll-tl:
start:172
x: 12
y: 12
scroll-t-blocked:
start:180
x: 12
y: 12
scroll-tr-blocked:
start:188
x: 12
y: 12
scroll-r-blocked:
start:196
x: 12
y: 12
scroll-br-blocked:
start:204
x: 12
y: 12
scroll-b-blocked:
start:212
x: 12
y: 12
scroll-bl-blocked:
start:220
x: 12
y: 12
scroll-l-blocked:
start:228
x: 12
y: 12
scroll-tl-blocked:
start:236
x: 12
y: 12
select:
start:40
length: 8
x: 12
y: 12
default:
start:0
default-minimap:
start:0
generic-blocked:
start:24
generic-blocked-minimap:
start:24
move:
start:8
length: 8
x: 12
y: 12
move-minimap:
start:48
length: 8
x: 12
y: 12
move-blocked:
start:24
x: 12
y: 12
move-blocked-minimap:
start:24
x: 12
y: 12
attack:
start:16
length: 8
x: 12
y: 12
attack-minimap:
start:16
length: 8
x: 12
y: 12
attackmove:
start:16
length: 8
x: 12
y: 12
attackmove-minimap:
start:16
length: 8
x: 12
y: 12
harvest:
start:16
length: 8
x: 12
y: 12
harvest-minimap:
start:203
length: 8
x: 12
y: 12
enter:
start:32
length: 8
x: 12
y: 12
enter-minimap:
start:32
length: 8
x: 12
y: 12
enter-blocked:
start:104
length: 1
x: 12
y: 12
enter-blocked-minimap:
start:104
c4:
start:252
length: 8
x: 12
y: 12
c4-minimap:
start:252
length: 8
x: 12
y: 12
guard:
start:72
length: 8
x: 12
y: 12
guard-minimap:
start:72
length: 8
x: 12
y: 12
capture:
start:32
length: 8
x: 12
y: 12
capture-minimap:
start:32
length: 8
x: 12
y: 12
ability:
start:96
length: 8
x: 12
y: 12
ability-minimap:
start:96
length: 8
x: 12
y: 12
# Cursors that need minimap variants
deploy:
start:96
length: 8
x: 12
y: 12
deploy-blocked:
start:104
length: 1
x: 12
y: 12
nuke:
start:244
length: 8
x: 12
y: 12
sell:
start:80
length: 8
x: 12
y: 12
sell-blocked:
start:56
length: 1
x: 12
y: 12
repair:
start:88
length: 8
x: 12
y: 12
repair-blocked:
start:64
length: 1
x: 12
y: 12
nopower: cursor
powerdown-blocked:
start:0
length: 1
x: 12
y: 12
powerdown:
start:1
length: 3
x: 12
y: 12

BIN
mods/d2k/maps/blank.oramap Normal file

Binary file not shown.

BIN
mods/d2k/maps/test.oramap Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,44 +0,0 @@
Selectable: True
MapFormat: 3
Title: Name your map here
Description: Describe your map here
Author: Your name here
PlayerCount: 1
Tileset: ARRAKIS
MapSize: 128,128
TopLeft: 16,16
BottomRight: 112,112
Players:
PlayerReference@Neutral:
Name: Neutral
Palette:
Race: allies
OwnsWorld: True
NonCombatant: True
Playable: False
DefaultStartingUnits: False
Color: 255,238,238,238
Color2: 255,44,28,24
InitialCash: 0
Allies:
Enemies:
Actors:
Waypoints:
wp0: 20,20
Smudges:
Rules:

6
mods/d2k/metrics.yaml Normal file
View File

@@ -0,0 +1,6 @@
# General dumping-ground for UI element sizes, etc.
Metrics:
ButtonDepth: 1
ButtonFont: Regular
CheckboxPressedState: false

View File

@@ -1,41 +1,122 @@
Metadata:
Title: Dune 2000
Description: Work in progress d2k port
Version: a0001
Author: The OpenRA Developers
Description: early version of the Dune 2000 mod
Version: {DEV_VERSION}
Author: The OpenD2k Developers
Folders:
.
mods/d2k
mods/d2k/bits
mods/ra/uibits
./mods/d2k
./mods/d2k/bits
./mods/d2k/uibits
~^/Content/d2k
~^/Content/d2k/GAMESFX
~^/Content/d2k/Music
~^/Content/d2k/Tilesets
~^/Content/d2k/SHPs
./mods/ra/bits
./mods/ra/uibits
~^/Content/ra
Packages:
mods/d2k/bits/arrakis.mix
~main.mix
redalert.mix
conquer.mix
hires.mix
local.mix
sounds.mix
speech.mix
allies.mix
russian.mix
temperat.mix
snow.mix
interior.mix
~scores.mix
~movies1.mix
~movies2.mix
Rules:
mods/d2k/rules/system.yaml
mods/d2k/rules/defaults.yaml
mods/d2k/rules/vehicles.yaml
mods/d2k/rules/system.yaml
mods/d2k/rules/structures.yaml
mods/d2k/rules/aircraft.yaml
mods/d2k/rules/infantry.yaml
mods/d2k/rules/atreides.yaml
mods/d2k/rules/harkonnen.yaml
mods/d2k/rules/ordos.yaml
Sequences:
mods/d2k/sequences.yaml
Cursors:
mods/d2k/cursors.xml
mods/d2k/cursors.yaml
Chrome:
mods/ra/chrome.xml
mods/d2k/chrome.yaml
Assemblies:
mods/d2k/OpenRA.Mods.D2k.dll
mods/ra/OpenRA.Mods.RA.dll
mods/cnc/OpenRA.Mods.Cnc.dll
ChromeLayout:
mods/d2k/chrome/gameinit.yaml
mods/d2k/chrome/ingame.yaml
mods/d2k/chrome/mainmenu.yaml
mods/d2k/chrome/videoplayer.yaml
mods/d2k/chrome/settings.yaml
mods/d2k/chrome/gamelobby.yaml
mods/d2k/chrome/lobby.yaml
mods/d2k/chrome/map-chooser.yaml
mods/d2k/chrome/create-server.yaml
mods/d2k/chrome/serverbrowser.yaml
mods/d2k/chrome/replaybrowser.yaml
mods/d2k/chrome/dropdowns.yaml
mods/d2k/chrome/modchooser.yaml
mods/d2k/chrome/cheats.yaml
Weapons:
mods/d2k/weapons.yaml
Voices:
mods/d2k/voices.yaml
TileSets:
mods/d2k/tilesets/arrakis.yaml
mods/d2k/tilesets/base.yaml
TileSize: 32
Music:
mods/d2k/music.yaml
Movies:
LoadScreen: NullLoadScreen
ShellmapUid:1e36d6874ef7960ac0e21edf36bbe1490a4650eb
TileSize:32
LoadScreen: D2kLoadScreen
InstallerMenuWidget: INSTALL_PANEL
TestFile: carryall.shp
ServerTraits:
LobbyCommands
MasterServerPinger
ChromeMetrics:
mods/d2k/metrics.yaml
Fonts:
Regular:
Font:FreeSans.ttf
Size:14
Bold:
Font:FreeSansBold.ttf
Size:14
Title:
Font:titles.ttf
Size:48
BigBold:
Font:FreeSansBold.ttf
Size:24
Tiny:
Font:FreeSans.ttf
Size:10
TinyBold:
Font:FreeSansBold.ttf
Size:10

35
mods/d2k/music.yaml Normal file
View File

@@ -0,0 +1,35 @@
# requires Dune 2000/DATA/Music copied to OpenRA/Content/d2k
AMBUSH: The Ambush
Extension: AUD
ARAKATAK: Attack on Arrakis
Extension: AUD
ATREGAIN: The Atreides Gain
Extension: AUD
ENTORDOS: Enter the Ordos
Extension: AUD
FIGHTPWR: Fight for Power
Extension: AUD
FREMEN: The Fremen
Extension: AUD
HARK_BAT: Harkonnen Battle
Extension: AUD
LANDSAND: Land of Sand
Extension: AUD
OPTIONS: Options
Extension: AUD
PLOTTING: Plotting
Extension: AUD
RISEHARK: Rise of Harkonnen
Extension: AUD
ROBOTIX: Robotix
Extension: AUD
SCORE: Score
Extension: AUD
SOLDAPPR: The Soldiers Approach
Extension: AUD
SPICESCT: Spice Scouting
Extension: AUD
UNDERCON: Under Construction
Extension: AUD
WAITGAME: The Waiting Game
Extension: AUD

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 801 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,101 @@
CARRYALL:
Inherits: ^Helicopter
Buildable:
Queue: Plane
BuildPaletteOrder: 110
Prerequisites: anyhightech
BuiltAt: hightecha
Owner: atreides,harkonnen,ordos
Valued:
Cost: 1200
Tooltip:
Name: Carryall
Description: Fast drop ship.\n Unarmed
Health:
HP: 500
Armor:
Type: Light
RevealsShroud:
Range: 12
Helicopter:
InitialFacing: 0
ROT: 5
Speed: 15
LandableTerrainTypes: Sand, Rock, Spice, Dune
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
RenderUnit:
RenderCargo:
WithShadow:
Cargo:
Types: Vehicle
MaxWeight: 1
PipCount: 1
FallsToEarth:
Explosion: UnitExplode
FRIGATE:
ParaDrop:
LZRange: 1
Inherits: ^Plane
Tooltip:
Name: Frigate
Description: Supply spacecraft
Plane:
ROT: 5
Speed: 35
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
Health:
HP: 25
Armor:
Type: Heavy
RenderUnit:
Image: frigate
WithShadow:
Cargo:
MaxWeight: 10
PipCount: 10
Invulnerable:
-Selectable:
-GainsExperience:
FlyAwayOnIdle:
ORNI:
Inherits: ^Helicopter
Buildable:
Queue: Plane
BuildPaletteOrder: 90
Prerequisites: researcha
BuiltAt: hightecha
Owner: atreides
Valued:
Cost: 1000
Tooltip:
Name: Ornithocopter
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 10
AttackHeli:
PrimaryWeapon: ChainGun
PrimaryOffset: -5,-2,0,2
FacingTolerance: 20
Helicopter:
LandWhenIdle: false
InitialFacing: 20
ROT: 4
Speed: 12
RepairBuildings: repaira,repairo,repairh
RearmBuildings: hightecha
RenderUnit:
WithShadow:
Selectable:
Bounds: 38,32,0,0
FallsToEarth:
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0,-10

View File

@@ -0,0 +1,139 @@
CONYARDA:
Inherits: ^CONYARD
Buildable:
Owner: atreides
Transforms:
IntoActor: mcva
Offset:1,1
Facing: 270
PWRA:
Inherits: ^POWER
Buildable:
Prerequisites: conyarda
Owner: atreides
REFA:
Inherits: ^REFINERY
Buildable:
Prerequisites: pwra
Owner: atreides
RenderBuildingWarFactory:
Image: REFA
BARRA:
Inherits: ^BARRACKS
Buildable:
Prerequisites: pwra
Owner: atreides
HIGHTECHA:
Inherits: ^HIGHTECH
Buildable:
Prerequisites: radara
Owner: atreides
RESEARCHA:
Inherits: ^RESEARCH
Buildable:
Prerequisites: radara,heavya
Owner: atreides
PALACEA:
Inherits: ^PALACE
Buildable:
Prerequisites: researcha
Owner: atreides
SILOA:
Inherits: ^SILO
Buildable:
Prerequisites: refa
Owner: atreides
LIGHTA:
Inherits: ^LIGHT
Buildable:
Prerequisites: refa
Owner: atreides
RenderBuildingWarFactory:
Image: LIGHTA
HEAVYA:
Inherits: ^HEAVY
Buildable:
Prerequisites: lighta
Owner: atreides
RenderBuildingWarFactory:
Image: HEAVYA
RADARA:
Inherits: ^RADAR
Buildable:
Prerequisites: barra
Owner: atreides
STARPORTA:
Inherits: ^STARPORT
Buildable:
Prerequisites: radara
Owner: atreides
ProductionQueue:
QueuedAudio: AI_ORDER.AUD
ReadyAudio: AI_REINF.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
REPAIRA:
Inherits: ^REPAIR
Buildable:
Prerequisites: heavya
Owner: atreides
MCVA:
Inherits: ^MCV
Buildable:
Prerequisites: heavya,repaira
Owner: atreides
Transforms:
Facing: 10
IntoActor: conyarda
Offset:-1,-1
TransformSounds:
NoTransformSounds: AI_DPLOY.AUD
RenderUnit:
Image: DMCV
COMBATA:
Inherits: ^COMBAT
Buildable:
Prerequisites: heavya
Owner: atreides
SONIC:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 15
Prerequisites: heavya,researcha
Owner: atreides
Valued:
Cost: 1500
Tooltip:
Name: Sonic Tank
Description: Fires a sound wave\n Strong vs Infantry.\n Weak vs Tanks
Selectable:
Bounds: 24,24
Health:
HP: 150
Armor:
Type: Light
Mobile:
Speed: 8
RevealsShroud:
Range: 7
RenderUnit:
AttackFrontal:
PrimaryWeapon: TTankZap
PrimaryOffset: 0,0,0,-5
AutoTarget:

View File

@@ -1,16 +1,171 @@
^Vehicle:
AppearsOnRadar:
Mobile:
Crushes: crate
TerrainSpeeds:
Clear: 100%
Sand: 80
Rock: 90
Concrete: 100
Spice: 70
SpiceBlobs: 70
Dune: 40
ROT: 5
SelectionDecorations:
Selectable:
Targetable:
Voice: VehicleVoice
TargetableUnit:
TargetTypes: Ground
Repairable:
Passenger:
CargoType: Vehicle
AttackMove:
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
DrawLineToTarget:
ActorLostNotification:
Notification:
ProximityCaptor:
Types:Vehicle
GivesBounty:
WithSmoke:
Repairable:
RepairBuildings: repaira,repairh,repairo
^Tank:
AppearsOnRadar:
Mobile:
Crushes: crate
TerrainSpeeds:
Sand: 80
Rock: 90
Concrete: 100
Spice: 70
SpiceBlobs: 70
Dune: 40
ROT: 5
SelectionDecorations:
Selectable:
Voice: VehicleVoice
TargetableUnit:
TargetTypes: Ground
Passenger:
CargoType: Vehicle
AttackMove:
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification:
ProximityCaptor:
Types:Tank
GivesBounty:
WithSmoke:
Repairable:
RepairBuildings: repaira,repairh,repairo
^Infantry:
AppearsOnRadar:
Health:
Radius: 3
Armor:
Type: None
RevealsShroud:
Range: 4
Mobile:
Crushes: crate
SharesCell: true
TerrainSpeeds:
Sand: 80
Rock: 90
Concrete: 100
Spice: 70
SpiceBlobs: 70
Dune: 40
Rough: 60
SelectionDecorations:
Selectable:
Voice: GenericVoice
TargetableUnit:
TargetTypes: Ground
RenderInfantry:
AutoTarget:
AttackMove:
Passenger:
CargoType: Infantry
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification:
ProximityCaptor:
Types:Infantry
GivesBounty:
CrushableInfantry:
CrushSound:
^Plane:
AppearsOnRadar:
UseLocation: yes
SelectionDecorations:
Selectable:
Voice: GenericVoice
TargetableAircraft:
TargetTypes: Air
GroundedTargetTypes: Ground
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification:
DebugAircraftFacing:
DebugAircraftSubPxX:
DebugAircraftSubPxY:
DebugAircraftAltitude:
ProximityCaptor:
Types:Plane
EjectOnDeath:
PilotActor: RIFLE
SuccessRate: 50
GivesBounty:
^Helicopter:
Inherits: ^Plane
^Building:
AppearsOnRadar:
SelectionDecorations:
Selectable:
Priority: 3
TargetableBuilding:
TargetTypes: Ground
Building:
Dimensions: 1,1
Footprint: x
TerrainTypes: Rock, Concrete
GivesBuildableArea:
Capturable:
CapturableBar:
SoundOnDamageTransition:
DamagedSound:
DestroyedSound:
RenderBuilding:
WithBuildingExplosion:
RepairableBuilding:
EmitInfantryOnSell:
ActorTypes: rifle,rifle,rifle,rifle,rifle,rifle
MustBeDestroyed:
GivesExperience:
# FrozenUnderFog:
CaptureNotification:
Notification:
EditorAppearance:
RelativeToTopLeft: yes
ShakeOnDeath:
ProximityCaptor:
Types:Building
Sellable:
AcceptsSupplies:
GivesBounty:

View File

@@ -0,0 +1,146 @@
CONYARDH:
Inherits: ^CONYARD
Buildable:
Owner: harkonnen
Transforms:
IntoActor: mcvh
Offset:1,1
Facing: 270
PWRH:
Inherits: ^POWER
Buildable:
Prerequisites: conyardh
Owner: harkonnen
REFH:
Inherits: ^REFINERY
Buildable:
Prerequisites: pwrh
Owner: harkonnen
RenderBuildingWarFactory:
Image: REFH
BARRH:
Inherits: ^BARRACKS
Buildable:
Prerequisites: pwrh
Owner: harkonnen
HIGHTECHH:
Inherits: ^HIGHTECH
Buildable:
Prerequisites: radarh
Owner: harkonnen
RESEARCHH:
Inherits: ^RESEARCH
Buildable:
Prerequisites: radarh,heavyh
Owner: harkonnen
PALACEH:
Inherits: ^PALACE
Buildable:
Prerequisites: researchh
Owner: harkonnen
SILOH:
Inherits: ^SILO
Buildable:
Prerequisites: refh
Owner: harkonnen
LIGHTH:
Inherits: ^LIGHT
Buildable:
Prerequisites: refh
Owner: harkonnen
RenderBuildingWarFactory:
Image: LIGHTH
HEAVYH:
Inherits: ^HEAVY
Buildable:
Prerequisites: lighth
Owner: harkonnen
RenderBuildingWarFactory:
Image: HEAVYH
RADARH:
Inherits: ^RADAR
Buildable:
Prerequisites: barrh
Owner: harkonnen
STARPORTH:
Inherits: ^STARPORT
Buildable:
Prerequisites: radarh
Owner: harkonnen
ProductionQueue:
QueuedAudio: HI_ORDER.AUD
ReadyAudio: HI_REINF.AUD
OnHoldAudio: HI_HOLD.AUD
CancelledAudio: HI_CANCL.AUD
REPAIRH:
Inherits: ^REPAIR
Buildable:
Prerequisites: heavyh
Owner: harkonnen
MCVH:
Inherits: ^MCV
Buildable:
Prerequisites: heavyh,repairh
Owner: harkonnen
Transforms:
Facing: 10
IntoActor: conyardh
Offset:-1,-1
TransformSounds:
NoTransformSounds: HI_DPLOY.AUD
RenderUnit:
Image: DMCV
COMBATH:
Inherits: ^COMBAT
Buildable:
Prerequisites: heavyh
Owner: harkonnen
DEVAST:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
Prerequisites: repairh,researchh
Owner: harkonnen
Valued:
Cost: 1800
Tooltip:
Name: Devastator
Description: Big and slow tank.\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Health:
HP: 900
Armor:
Type: Heavy
Mobile:
Speed: 3
Crushes: crate, infantry
RevealsShroud:
Range: 6
RenderUnit:
AttackFrontal:
PrimaryWeapon: 120mm
PrimaryLocalOffset: -4,-5,0,0,0, 4,-5,0,0,0
PrimaryRecoil: 4
PrimaryRecoilRecovery: 0.7
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
Selectable:
Bounds: 44,38,0,-4

View File

@@ -0,0 +1,22 @@
RIFLE:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: atreides,harkonnen,ordos
Valued:
Cost: 100
Tooltip:
Name: Rifle Infantry
Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,0
Health:
HP: 50
Mobile:
Speed: 4
AttackFrontal:
PrimaryWeapon: M1Carbine
TakeCover:
-RenderInfantry:
RenderInfantryProne:

169
mods/d2k/rules/ordos.yaml Normal file
View File

@@ -0,0 +1,169 @@
CONYARDO:
Inherits: ^CONYARD
Buildable:
Owner: ordos
Transforms:
IntoActor: mcvo
Offset:1,1
Facing: 270
PWRO:
Inherits: ^POWER
Buildable:
Prerequisites: conyardo
Owner: ordos
REFO:
Inherits: ^REFINERY
Buildable:
Prerequisites: pwro
Owner: ordos
RenderBuildingWarFactory:
Image: REFO
BARRO:
Inherits: ^BARRACKS
Buildable:
Prerequisites: pwro
Owner: ordos
HIGHTECHO:
Inherits: ^HIGHTECH
Buildable:
Prerequisites: radaro
Owner: ordos
RESEARCHO:
Inherits: ^RESEARCH
Buildable:
Prerequisites: radaro,heavyo
Owner: ordos
PALACEO:
Inherits: ^PALACE
Buildable:
Prerequisites: researcho
Owner: ordos
SILOO:
Inherits: ^SILO
Buildable:
Prerequisites: refo
Owner: ordos
LIGHTO:
Inherits: ^LIGHT
Buildable:
Prerequisites: refo
Owner: ordos
RenderBuildingWarFactory:
Image: LIGHTO
HEAVYO:
Inherits: ^HEAVY
Buildable:
Prerequisites: lighto
Owner: ordos
RenderBuildingWarFactory:
Image: HEAVYO
RADARO:
Inherits: ^RADAR
Buildable:
Prerequisites: barro
Owner: ordos
STARPORTO:
Inherits: ^STARPORT
Buildable:
Prerequisites: radaro
Owner: ordos
ProductionQueue:
QueuedAudio: OI_ORDER.AUD
ReadyAudio: OI_REINF.AUD
OnHoldAudio: OI_HOLD.AUD
CancelledAudio: OI_CANCL.AUD
REPAIRO:
Inherits: ^REPAIR
Buildable:
Prerequisites: heavyo
Owner: ordos
MCVO:
Inherits: ^MCV
Buildable:
Prerequisites: heavyo,repairo
Owner: ordos
Transforms:
Facing: 10
IntoActor: conyardo
Offset:-1,-1
TransformSounds:
NoTransformSounds: OI_DPLOY.AUD
RenderUnit:
Image: DMCV
COMBATO:
Inherits: ^COMBAT
Buildable:
Prerequisites: heavyo
Owner: ordos
RAIDER:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 15
Prerequisites: anylight
Owner: ordos
Valued:
Cost: 200
Tooltip:
Name: Raider
Description: Weak Scout.\n Decent vs. Infantry
Selectable:
Bounds: 24,24
Health:
HP: 125
Armor:
Type: Light
Mobile:
ROT: 15
Speed: 20
RevealsShroud:
Range: 8
RenderUnit:
AttackFrontal:
PrimaryWeapon: M60mg
PrimaryOffset: 0,0,0,-4
SecondaryWeapon: M60mg
SecondaryOffset: 0,0,0,-4
AutoTarget:
DEVIATOR:
Inherits: ^Tank
Valued:
Cost: 800
Tooltip:
Name: Deviator
Description: Long range artillery.\n Strong vs Infantry, Tanks, Air\n Weak vs Buildings
Buildable:
Queue: Vehicle
BuildPaletteOrder: 50
Prerequisites: anyheavy
Owner: ordos
Mobile:
Speed: 6
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 6
RenderUnit:
AttackFrontal:
PrimaryWeapon: MammothTusk
PrimaryLocalOffset: -7,2,0,0,25, 7,2,0,0,-25
PrimaryRecoil: 1
AutoTarget:

View File

@@ -0,0 +1,458 @@
^CONYARD:
Inherits: ^Building
Building:
Power: 0
Footprint: xxx xxx xxx
Dimensions: 3,3
Health:
HP: 1000
Armor:
Type: Heavy
RevealsShroud:
Range: 5
Bib:
Production:
Produces: Building,Defense
Valued:
Cost: 2500
Tooltip:
Name: Construction Yard
CustomSellValue:
Value: 2500
BaseBuilding:
ProductionBar:
^POWER:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 0
Hotkey: w
Valued:
Cost: 300
Tooltip:
Name: Windtrap
Description: Provides power for other structures
ProvidesCustomPrerequisite:
Prerequisite: anypower
Building:
Power: 100
Footprint: xx xx xx
Dimensions: 2,3
Health:
HP: 400
Armor:
Type: Wood
RevealsShroud:
Range: 4
Bib:
^BARRACKS:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 30
Prerequisites: anypower
Hotkey: b
Valued:
Cost: 400
Tooltip:
Name: Barracks
Description: Trains infantry
Building:
Power: -20
Footprint: xx xx xx
Dimensions: 2,3
Health:
HP: 800
Armor:
Type: Wood
RevealsShroud:
Range: 5
Bib:
RallyPoint:
Exit@1:
SpawnOffset: -1,19
ExitCell: 0,2
Exit@2:
SpawnOffset: -17,15
ExitCell: 0,2
Production:
Produces: Infantry
PrimaryBuilding:
ProductionBar:
^HIGHTECH:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
Valued:
Cost: 2000
Tooltip:
Name: High Tech Factory
Description: Produces Carryalls
ProvidesCustomPrerequisite:
Prerequisite: anyhightech
Building:
Power: -30
Footprint: _x_ xxx xxx
Dimensions: 3,3
Health:
HP: 1500
Armor:
Type: Light
RevealsShroud:
Range: 4
Bib:
RallyPoint:
Exit@1:
SpawnOffset: 5,0
ExitCell: 1,1
Production:
Produces: Plane
PrimaryBuilding:
ProductionBar:
^RESEARCH:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
Valued:
Cost: 2000
Tooltip:
Name: IX Research Center
Description: Provides advanced units
Building:
Power: -30
Footprint: _x_ xxx xxx
Dimensions: 3,3
Health:
HP: 1000
Armor:
Type: Light
RevealsShroud:
Range: 4
Bib:
^PALACE:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
Valued:
Cost: 2000
Tooltip:
Name: Palace
Description: Provides advanced technology
Building:
Power: -30
Footprint: xxx xxx xxx
Dimensions: 3,3
Health:
HP: 2000
Armor:
Type: Light
RevealsShroud:
Range: 4
Bib:
^REFINERY:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 10
Prerequisites: anypower
ProvidesCustomPrerequisite:
Prerequisite: anyref
Valued:
Cost: 1400
Tooltip:
Name: Spice Refinery
Description: Harvesters unload spice here.
Building:
Power: -30
Footprint: xxx xxx x==
Dimensions: 3,3
Health:
HP: 900
Armor:
Type: Wood
RevealsShroud:
Range: 6
Bib:
-RenderBuilding:
OreRefinery:
StoresOre:
PipCount: 17
Capacity: 2000
CustomSellValue:
Value: 600
FreeActor:
Actor: HARVESTER
InitialActivity: FindResources
SpawnOffset: 1,2
Facing: 64
^SILO:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 40
Valued:
Cost: 150
Tooltip:
Name: Silo
Description: Stores excess harvested Spice
Building:
Power: -10
-GivesBuildableArea:
Health:
HP: 300
Armor:
Type: Wood
RevealsShroud:
Range: 4
-RenderBuilding:
RenderBuildingSilo:
StoresOre:
PipCount: 5
Capacity: 1500
-EmitInfantryOnSell:
^LIGHT:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
ProvidesCustomPrerequisite:
Prerequisite: anylight
Valued:
Cost: 1000
Tooltip:
Name: Light Factory
Description: produces light vehicles.
Building:
Power: -30
Footprint: xxx xxx
Dimensions: 3,2
Health:
HP: 750
Armor:
Type: Light
RevealsShroud:
Range: 4
Bib:
-RenderBuilding:
RallyPoint:
Exit@1:
SpawnOffset: 10,0
ExitCell: 1,3
Production:
Produces: Vehicle
PrimaryBuilding:
ProductionBar:
^HEAVY:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 50
ProvidesCustomPrerequisite:
Prerequisite: anyheavy
Valued:
Cost: 2000
Tooltip:
Name: Heavy Factory
Description: produces tanks
Building:
Power: -30
Footprint: _x_ xxx xxx
Dimensions: 3,3
Health:
HP: 1500
Armor:
Type: Light
RevealsShroud:
Range: 4
Bib:
-RenderBuilding:
RallyPoint:
Exit@1:
SpawnOffset: 10,0
ExitCell: 1,3
Production:
Produces: Vehicle
PrimaryBuilding:
ProductionBar:
^RADAR:
RequiresPower:
CanPowerDown:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 60
ProvidesCustomPrerequisite:
Prerequisite: anyradar
Valued:
Cost: 1400
Tooltip:
Name: Outpost
Description: Provides a radar map of the battlefield.\n Requires power to operate.
Building:
Power: -40
Footprint: xxx xxx xxx
Dimensions: 3,3
Health:
HP: 1000
Armor:
Type: Wood
RevealsShroud:
Range: 10
Bib:
ProvidesRadar:
^STARPORT:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Starport
Description: Provides a dropzone for vehicle reinforcements
ProvidesCustomPrerequisite:
Prerequisite: anystarport
Buildable:
Queue: Building
BuildPaletteOrder: 60
Building:
Power: -30
Footprint: xxx xxx xxx
Dimensions: 3,3
Health:
HP: 1000
RevealsShroud:
Range: 7
Bib:
RallyPoint:
RallyPoint: 4,2
BelowUnits:
Exit@1:
SpawnOffset: -24,0
ExitCell: 3,1
ProductionAirdrop:
Produces: Vehicle
ReadyAudio: AI_REINF.AUD
ActorType: frigate
ProductionQueue:
Type: Vehicle
Group: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionBar:
WALL:
Buildable:
Queue: Defense
BuildPaletteOrder: 1000
Owner: atreides,harkonnen,ordos
SoundOnDamageTransition:
DamagedSound:
DestroyedSound:
Valued:
Cost: 100
CustomSellValue:
Value: 0
Tooltip:
Name: Concrete Wall
Description: Stop units and blocks enemy fire.
AppearsOnRadar:
Building:
Dimensions: 1,1
Footprint: x
BuildSounds:
Adjacent: 7
TerrainTypes: Clear,Road
Health:
HP: 500
Armor:
Type: Concrete
Wall:
CrushClasses: heavywall
LineBuild:
Range: 8
SelectionDecorations:
Selectable:
Priority: 1
TargetableBuilding:
TargetTypes: Ground
RenderBuildingWall:
HasMakeAnimation: false
Palette: d2k
GivesExperience:
EditorAppearance:
RelativeToTopLeft: yes
AutoTargetIgnore:
ProximityCaptor:
Types:Wall
Sellable:
GUNTOWER:
Inherits: ^Building
Buildable:
Queue: Defense
BuildPaletteOrder: 40
Owner: atreides,harkonnen,ordos
Valued:
Cost: 600
Tooltip:
Name: Turret
Description: Anti-Armor base defense.\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Icon: turreticon
Building:
Power: -40
-GivesBuildableArea:
Health:
HP: 400
Armor:
Type: Heavy
RevealsShroud:
Range: 7
RenderRangeCircle:
-RenderBuilding:
RenderBuildingTurreted:
Palette: d2k
Turreted:
ROT: 12
InitialFacing: 50
AttackTurreted:
PrimaryWeapon: TurretGun
AutoTarget:
^REPAIR:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 30
Valued:
Cost: 1000
Tooltip:
Name: Repair Pad
Description: Repairs vehicles and allows\n the construction of additional bases.
Building:
Power: -30
Footprint: xxx xxx xxx
Dimensions: 3,3
Health:
HP: 800
Armor:
Type: Wood
RevealsShroud:
Range: 5
BelowUnits:
Reservable:
RepairsUnits:
Interval: 10
RallyPoint:

View File

@@ -1,79 +1,286 @@
#TODO: Currently only uses the Atreides voices.
Player:
TechTree:
ClassicProductionQueue@Building:
Type: Building
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: AI_BUILD.AUD
OnHoldAudio: AI_HOLD.AUD
ReadyAudio: AI_BDRDY.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Defense:
Type: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
QueuedAudio: AI_BUILD.AUD
OnHoldAudio: AI_HOLD.AUD
ReadyAudio: AI_BDRDY.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Vehicle:
Type: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Infantry:
Type: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
ClassicProductionQueue@Plane:
Type: Plane
BuildSpeed: .4
LowPowerSlowdown: 3
ReadyAudio: AI_UNRDY.AUD
QueuedAudio:AI_TRAIN.AUD
OnHoldAudio: AI_HOLD.AUD
CancelledAudio: AI_CANCL.AUD
BlockedAudio: AI_NROOM.AUD
PlaceBuilding:
SupportPowerManager:
ConquestVictoryConditions:
WinNotification:AI_MWIN.AUD
LoseNotification:AI_MFAIL.AUD
PowerManager:
AllyRepair:
PlayerResources:
InitialCash: 5000
ActorGroupProxy:
DeveloperMode:
HackyAI@Omnius:
Name:Omnius
RallypointTestBuilding: conyarda
BuildingFractions:
refa: 25.1%
refh: 25.1%
refo: 25.1%
barra: 0.1%
barrh: 0.1%
barro: 0.1%
lighta: 0.1%
lighth: 0.1%
lighto: 0.1%
heavya: 0.1%
heavyh: 0.1%
heavyo: 0.1%
researcha: 0.1%
researchh: 0.1%
researcho: 0.1%
repaira: 0.1%
repairh: 0.1%
repairo: 0.1%
radara: 0.1%
radaro: 0.1%
radarh: 0.1%
powra: 35%
powrh: 35%
powro: 35%
UnitsToBuild:
trike: 30%
raider: 30%
quad: 40%
siege: 15%
combata: 70%
combath: 70%
combato: 70%
sonic: 25%
devast: 25%
deviator: 25%
SquadSize: 10
PlayerColorPalette:
BasePalette: d2k
PaletteFormat: d2k
BaseAttackNotifier:
Audio: AI_ATACK.AUD
World:
World:
OpenWidgetAtGameStart:
Widget: INGAME_ROOT
ObserverWidget: OBSERVER_ROOT
ScreenShaker:
ColorPickerPaletteModifier:
NukePaletteEffect:
BuildingInfluence:
UnitInfluence:
ChooseBuildTabOnSelect:
CrateSpawner:
Minimum: 1
Maximum: 3
SpawnInterval: 120
WaterChance: 0
PaletteFromCurrentTileset:
Name: terrain
PlayerColorPalette:
BasePalette: units
PaletteFormat: d2k
PaletteFromFile@units:
Name: units
Filename: units.pal
PaletteFromFile@d2k:
Name: d2k
Filename: d2k.pal
PaletteFromFile@chrome:
Name: chrome
Filename: temperat.pal
Filename: d2k.pal
PaletteFromFile@effect:
Name: effect
Filename: temperat.pal
PaletteFromFile@cursor:
Name: cursor
Filename: temperat.pal
PaletteFromRGBA@shadow:
Name: shadow
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@cloak:
Name: cloak
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@highlight:
Name: highlight
R: 255
G: 255
B: 255
A: 128
PaletteFromRGBA@invuln:
Name: invuln
R: 128
G: 0
B: 0
A: 128
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
ColorPickerPaletteModifier:
ShroudPalette@shroud:
ShroudPalette@fog:
IsFog: yes
Name: fog
Country@0:
Name: Allies
Race: allies
Country@Atreides:
Name: Atreides
Race: atreides
Country@Harkonnen:
Name: Harkonnen
Race: harkonnen
Country@Ordos:
Name: Ordos
Race: ordos
# BibLayer:
ResourceLayer:
ResourceType@spice:
ResourceType: 1
Palette: d2k
TerrainType: Spice
SpriteNames: spice0
ValuePerUnit: 35
Name: Spice
PipColor: Yellow
AllowedTerrainTypes: Sand
AllowUnderActors: false
SmudgeLayer@CRATER:
Type:Crater
Types:rockcrater1,rockcrater2,sandcrater1,sandcrater2
Depths:15,15,15,15
SpawnMapActors:
CreateMPPlayers:
MPStartLocations:
SpawnMPUnits:
SpawnMPUnits@atreides:
InitialUnit: mcva
Faction: atreides
SpawnMPUnits@harkonnen:
InitialUnit: mcvh
Faction: harkonnen
SpawnMPUnits@ordos:
InitialUnit: mcvo
Faction: ordos
#TODO: These are just the Atreides sounds.
EvaAlerts:
RadarUp:
RadarDown:
BuildingSelectAudio:
BuildingReadyAudio:
BuildingCannotPlaceAudio:
UnitSelectAudio:
UnitReadyAudio:
OnHoldAudio:
CancelledAudio:
BuildingCannotPlaceAudio: AI_PLACE.AUD
CashTickUp:
CashTickDown:
LowPower:
SilosNeeded:
PrimaryBuildingSelected:
NewOptions: AI_NEWOP.AUD
LowPower: AI_POWER.AUD
SilosNeeded: AI_SILOS.AUD
PrimaryBuildingSelected: AI_PRMRY.AUD
AbilityInsufficientPower:
LevelUp:
SpatialBins:
BinSize: 4
Shroud:
Shroud:
PathFinder:
ValidateOrder:
CRATE:
Tooltip:
Name: Crate
Crate:
Lifetime: 120
TerrainTypes: Sand, Dune, Rock
GiveCashCrateAction:
Amount: 1000
SelectionShares: 50
UseCashTick: yes
LevelUpCrateAction:
SelectionShares: 40
ExplodeCrateAction@boom:
Weapon: CrateExplosion
SelectionShares: 5
ExplodeCrateAction@nuke:
Weapon: CrateNuke
SelectionShares: 5
HideMapCrateAction:
SelectionShares: 5
Effect: hide-map
RevealMapCrateAction:
SelectionShares: 1
Effect: reveal-map
#TODO: Currently only gives you an Atreides MCV
GiveMcvCrateAction:
SelectionShares: 2
NoBaseSelectionShares: 9001
Unit: mcva
GiveUnitCrateAction@trike:
SelectionShares: 7
Unit: trike
GiveUnitCrateAction@quad:
SelectionShares: 6
Unit: quad
RenderSimple:
BelowUnits:
ProximityCaptor:
Types:Crate
Passenger:
mpspawn:
Waypoint:
RenderEditorOnly:
waypoint:
Waypoint:
RenderEditorOnly:
SPICEBLOOM:
RenderBuilding:
Palette: d2k
Building:
Footprint: x
Dimensions: 1,1
AppearsOnRadar:
EditorAppearance:
RelativeToTopLeft: yes
ProximityCaptor:
Types:Tree
BelowUnits:
Tooltip:
Name: Spice Bloom
SeedsResource:
ResourceType: Spice
RadarColorFromTerrain:
Terrain: Spice

View File

@@ -1,10 +1,14 @@
MCV:
^MCV:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 110
Valued:
Cost: 2000
Tooltip:
Name: Mobile Construction Vehicle
Description: Deploys into another Construction Yard.\n Unarmed
Icon: mcvicon
Selectable:
Priority: 3
Bounds: 42,42
@@ -14,8 +18,190 @@ MCV:
Type: Light
Mobile:
Speed: 6
Crushes: crate, infantry
RevealsShroud:
Range: 4
RenderUnit:
MustBeDestroyed:
BaseBuilding:
BaseBuilding:
-AttackMove:
HARVESTER:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
Prerequisites: anyref,anyheavy
Owner: atreides,harkonnen,ordos
Valued:
Cost: 1100
Tooltip:
Name: Spice Harvester
Description: Collects Spice for processing.\n Unarmed
Selectable:
Priority: 7
Bounds: 42,42
Harvester:
Capacity: 20
Resources: Spice
UnloadTicksPerBale: 1
Health:
HP: 600
Armor:
Type: Heavy
Mobile:
Speed: 6
Crushes: crate, infantry
RenderUnit:
RevealsShroud:
Range: 4
-AttackMove:
TRIKE:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 15
Prerequisites: anylight
Owner: atreides,harkonnen
Valued:
Cost: 200
Tooltip:
Name: Scout Trike
Description: Weak Scout.\n Decent vs. Infantry
Selectable:
Bounds: 24,24
Health:
HP: 75
Armor:
Type: Light
Mobile:
ROT: 15
Speed: 20
RevealsShroud:
Range: 8
RenderUnit:
AttackFrontal:
PrimaryWeapon: M60mg
PrimaryOffset: 0,0,0,-4
AutoTarget:
QUAD:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: anylight
Owner: atreides,harkonnen,ordos
Valued:
Cost: 400
Tooltip:
Name: Quad
Description: Fast scout vehicle, armed with \nrockets.\n Strong vs Vehicles\n Weak vs Infantry
Health:
HP: 120
Armor:
Type: Light
Mobile:
ROT: 10
Speed: 13
RevealsShroud:
Range: 7
RenderUnit:
AttackFrontal:
PrimaryWeapon: QuadRockets
PrimaryOffset: 0,0,0,-2
PrimaryLocalOffset: -4,0,0,0,25, 4,0,0,0,-25
AutoTarget:
^COMBAT:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 60
Valued:
Cost: 850
Tooltip:
Name: Combat Tank
Description: Main Battle Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Health:
HP: 450
Armor:
Type: Heavy
Mobile:
Speed: 6
Crushes: crate, infantry
RevealsShroud:
Range: 5
Turreted:
ROT: 5
AttackTurreted:
PrimaryWeapon: 90mm
PrimaryRecoil: 3
PrimaryRecoilRecovery: 0.9
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
SIEGE:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 80
Prerequisites: anyradar
Owner: atreides,harkonnen,ordos
Valued:
Cost: 600
Tooltip:
Name: Siege Tank
Description: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 75
Armor:
Type: Light
Mobile:
Speed: 6
Crushes: crate, infantry
RevealsShroud:
Range: 5
Turreted:
ROT: 5
AttackTurreted:
PrimaryWeapon: 155mm
PrimaryRecoil: 3
PrimaryRecoilRecovery: 0.9
RenderUnitTurreted:
Explodes:
Weapon: UnitExplode
Chance: 75
AutoTarget:
MISSILE:
Inherits: ^Tank
Valued:
Cost: 800
Tooltip:
Name: Missile Tank
Description: Long range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Buildable:
Queue: Vehicle
BuildPaletteOrder: 50
Prerequisites: anyheavy
Owner: atreides,harkonnen,ordos
Mobile:
Speed: 6
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 6
RenderUnit:
AttackFrontal:
PrimaryWeapon: 227mm
PrimaryOffset: 0,6,0,-3
PrimaryLocalOffset: 3,-5,0,0,0, -3,-5,0,0,0
AutoTarget:

View File

@@ -1,12 +1,671 @@
mcv:
dmcv:
idle:
Start: 0
Facings: 32
moveflsh:
harvester:
idle:
Start: 0
Facings: 32
harvest:
Start: 0
Length: 0
Facings: 8
dock:
Start: 0
Length: 1
dock-loop:
Start: 0
Length: 1
wall:
idle:
Start: 0
Length: 16
scratched-idle:
Start: 0
Length: 16
damaged-idle:
Start: 16
Length: 16
critical-idle:
Start: 16
Length: 16
carryall:
idle:
Start: 0
Facings: 32
unload:
Start: 0
Facings: 32
orni:
idle:
Start: 0
Facings: 32
trike:
idle:
Start: 0
Facings: 32
quad:
idle:
Start: 0
Facings: 32
siege:
idle:
Start: 0
Facings: 32
turret: siegeturret
Start: 0
Facings: 32
missile:
idle:
Start: 0
Facings: 32
sonic:
idle:
Start: 0
Facings: 32
guntower:
idle:
Start: 0
Facings: 1
recoil:
Start: 0
Facings: 1
make: silomake
Start: 0
Length: *
damaged-idle:
Start: 0
Facings: 1
damaged-recoil:
Start: 0
Facings: 1
turret: gunturret
Start: 0
Facings: 32
frigate:
idle:
Start: 0
Facings: 1
rifle:
stand:
Start: 0
Facings: 8
stand2:
Start: 0
Facings: 8
stand3:
Start: 0
Facings: 8
run:
Start: 8
Length: 6
Facings: 8
shoot:
Start: 56
Length: 5
Facings: 8
prone-stand:
Start: 104
Length: 1
Facings: 8
prone-run:
Start: 112
Length: 3
Facings: 8
standup-0:
Start: 96
Length: 1
Facings: 8
prone-shoot:
Start: 136
Length: 5
Facings: 8
die1: rifledeath
Start: 0
Length: 5
die2: rifledeath
Start: 5
Length: 7
die3: rifledeath
Start: 12
Length: 7
die4: rifledeath
Start: 19
Length: 7
die5: rifledeath
Start: 26
Length: 7
die-crushed: rifledeath
Start: 54
Length: 22
Tick: 1600
conyarda:
idle:
Start: 0
make: conmake
Start: 0
Length: *
damaged-idle:
Start: 1
repaira:
idle:
Start: 0
make: repairmake
Start: 0
Length: *
damaged-idle:
Start: 1
starporta:
idle:
Start: 0
active:
Start: 0
Length: 1
damaged-idle:
Start: 1
damaged-active:
Start: 1
make: starportmake
Start: 0
Length: *
pwra:
idle:
Start: 0
make: wtrpmake
Start: 0
Length: *
damaged-idle:
Start: 1
barra:
idle:
Start: 0
make: barramake
Start: 0
Length: *
damaged-idle:
Start: 1
radara:
idle:
Start: 0
make: radarmake
Start: 0
Length: *
damaged-idle:
Start: 1
refa:
idle:
Start: 0
Length: 1
make: refmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
siloa:
idle:
Start: 0
Length: 4
damaged-idle:
Start: 4
Length: 1
make: silomake
Start: 0
Length: *
hightecha:
idle:
Start: 0
make: highmake
Start: 0
Length: *
damaged-idle:
Start: 1
researcha:
idle:
Start: 0
make: researchmake
Start: 0
Length: *
damaged-idle:
Start: 1
palacea:
idle:
Start: 0
make: palacemake
Start: 0
Length: *
damaged-idle:
Start: 1
lighta:
idle:
Start: 0
Length: 1
make: lightmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
heavya:
idle:
Start: 0
Length: 1
make: heavymake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
combata:
idle:
Start: 0
Facings: 32
turret: combataturret
Start: 0
Facings: 32
conyardh:
idle:
Start: 0
make: conmake
Start: 0
Length: *
damaged-idle:
Start: 1
repairh:
idle:
Start: 0
make: repairmake
Start: 0
Length: *
damaged-idle:
Start: 1
starporth:
idle:
Start: 0
active:
Start: 0
Length: 1
damaged-idle:
Start: 1
damaged-active:
Start: 1
make: starportmake
Start: 0
Length: *
pwrh:
idle:
Start: 0
make: wtrpmake
Start: 0
Length: *
damaged-idle:
Start: 1
barrh:
idle:
Start: 0
make: barramake
Start: 0
Length: *
damaged-idle:
Start: 1
radarh:
idle:
Start: 0
make: radarmake
Start: 0
Length: *
damaged-idle:
Start: 1
refh:
idle:
Start: 0
Length: 1
make: refmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
siloh:
idle:
Start: 0
Length: 4
damaged-idle:
Start: 4
Length: 1
make: silomake
Start: 0
Length: *
hightechh:
idle:
Start: 0
make: highmake
Start: 0
Length: *
damaged-idle:
Start: 1
researchh:
idle:
Start: 0
make: researchmake
Start: 0
Length: *
damaged-idle:
Start: 1
palaceh:
idle:
Start: 0
make: palacemake
Start: 0
Length: *
damaged-idle:
Start: 1
lighth:
idle:
Start: 0
Length: 1
make: lightmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
heavyh:
idle:
Start: 0
Length: 1
make: heavymake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
combath:
idle:
Start: 0
Facings: 32
turret: combathturret
Start: 0
Facings: 32
devast:
idle:
Start: 0
Facings: 32
conyardo:
idle:
Start: 0
make: conmake
Start: 0
Length: *
damaged-idle:
Start: 1
repairo:
idle:
Start: 0
make: repairmake
Start: 0
Length: *
damaged-idle:
Start: 1
starporto:
idle:
Start: 0
active:
Start: 0
Length: 1
damaged-idle:
Start: 1
damaged-active:
Start: 1
make: starportmake
Start: 0
Length: *
pwro:
idle:
Start: 0
make: wtrpmake
Start: 0
Length: *
damaged-idle:
Start: 1
barro:
idle:
Start: 0
make: barramake
Start: 0
Length: *
damaged-idle:
Start: 1
radaro:
idle:
Start: 0
make: radarmake
Start: 0
Length: *
damaged-idle:
Start: 1
refo:
idle:
Start: 0
Length: 1
make: refmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
siloo:
idle:
Start: 0
Length: 4
damaged-idle:
Start: 4
Length: 1
make: silomake
Start: 0
Length: *
hightecho:
idle:
Start: 0
make: highmake
Start: 0
Length: *
damaged-idle:
Start: 1
researcho:
idle:
Start: 0
make: researchmake
Start: 0
Length: *
damaged-idle:
Start: 1
palaceo:
idle:
Start: 0
make: palacemake
Start: 0
Length: *
damaged-idle:
Start: 1
lighto:
idle:
Start: 0
Length: 1
make: lightmake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
heavyo:
idle:
Start: 0
Length: 1
make: heavymake
Start: 0
Length: *
damaged-idle:
Start: 0
build-top:
Start: 1
Length: 1
damaged-build-top:
Start: 2
Length: 1
idle-top:
Start: 1
damaged-idle-top:
Start: 2
combato:
idle:
Start: 0
Facings: 32
turret: combatoturret
Start: 0
Facings: 32
raider:
idle:
Start: 0
Facings: 32
deviator:
idle:
Start: 0
Facings: 32
pips:
groups:
@@ -18,27 +677,218 @@ pips:
Start: 3
hold:
Start: 4
pip-empty:
Start: 0
pip-green:
Start: 1
pip-yellow:
Start: 5
pip-gray:
Start: 6
pip-red:
Start: 7
tag-fake:
Start: 18
tag-primary:
Start: 2
pip-empty: pips2
Start: 0
pip-green: pips2
Start: 1
pip-yellow: pips2
Start: 2
pip-gray: pips2
Start: 3
pip-red: pips2
Start: 4
pip-blue: pips2
Start: 5
clock:
idle:
Start: 0
Length: *
powerdown:
disabled: speed
Start: 3
poweroff:
offline:
Start: 0
Length: *
Tick: 160
rank:
rank:
Start: 0
Length: *
Length: *
overlay:
build-valid:
Start: 0
build-invalid:
Start: 1
target-select:
Start: 2
target-valid:
Start: 0
target-invalid:
Start: 1
rallypoint:
flag:flagfly
Start: 0
Length: *
circles:fpls
Start: 0
Length: *
dragon:
idle:
Start: 0
Facings: 32
explosion:
piff: piff
Start: 0
Length: *
piffs: piffpiff
Start: 0
Length: *
small_explosion: veh-hit3
Start: 0
Length: *
med_explosion: veh-hit2
Start: 0
Length: *
large_splash: h2o_exp1
Start: 0
Length: *
napalm: napalm2
Start: 0
Length: *
nuke: atomsfx
Start: 0
Length: *
med_splash: h2o_exp2
Start: 0
Length: *
self_destruct: art-exp1
Start: 0
Length: *
building: fball1
Start: 0
Length: *
small_splash: h2o_exp3
Start: 0
Length: *
large_explosion: frag1
Start: 0
Length: *
small_napalm: napalm1
Start: 0
Length: *
smokey:
idle:
Start: 0
Length: *
smoke_m:
idle:
Start: 0
Length: *
loop:
Start: 49
Length: 42
end:
Start: 0
Length: 26
120mm:
idle:
Start: 0
litning:
bright:
Start: 0
Length: 4
dim:
Start: 4
Length: 4
crate:
idle: crates
Start: 0
land: crates
Start: 0
crate-effects:
speed: speed
Start: 0
Length: *
dollar: dollar
Start: 0
Length: *
reveal-map: earth
Start: 0
Length: *
hide-map: empulse
Start: 0
Length: *
fpower: fpower
Start: 0
Length: *
gps: gpsbox
Start: 0
Length: *
invuln: invulbox
Start: 0
Length: *
heal: invun
Start: 0
Length: *
nuke: missile2
Start: 0
Length: *
parabombs: parabox
Start: 0
Length: *
sonar: sonarbox
Start: 0
Length: *
stealth: stealth2
Start: 0
Length: *
timequake: tquake
Start: 0
Length: *
armor: armor
Start: 0
Length: *
chrono: chronbox
Start: 0
Length: *
airstrike: deviator
Start: 0
Length: *
levelup: levelup
Start: 0
Length: *
Tick: 200
allyrepair:
repair:
Start: 0
Length: *
Tick: 160
parach:
open:
Start: 0
Length: 5
idle:
Start: 5
Length: 11
spicebloom:
make:
Start: 0
Length: 3
active:
Start: 2
Length: 1
idle:
Start: 2

1930
mods/d2k/tilesets/BASE.tsx Normal file

File diff suppressed because it is too large Load Diff

1907
mods/d2k/tilesets/BAT.tsx Normal file

File diff suppressed because it is too large Load Diff

225
mods/d2k/tilesets/BGBS.tsx Normal file
View File

@@ -0,0 +1,225 @@
<?xml version="1.0" encoding="utf-8"?>
<tileset>
<name value="Temperat" />
<template>
<cell x="0" y="0" />
</template>
<template>
<cell x="12" y="0" />
<cell x="13" y="0" />
<cell x="13" y="1" />
<cell x="12" y="1" />
</template>
<template>
<cell x="14" y="1" />
<cell x="15" y="1" />
<cell x="15" y="0" />
<cell x="14" y="0" />
</template>
<template>
<cell x="13" y="2" />
<cell x="13" y="3" />
</template>
<template>
<cell x="12" y="3" />
<cell x="11" y="3" />
<cell x="10" y="3" />
<cell x="9" y="3" />
<cell x="8" y="3" />
<cell x="8" y="2" />
<cell x="9" y="2" />
<cell x="10" y="2" />
<cell x="11" y="2" />
<cell x="12" y="2" />
</template>
<template>
<cell x="14" y="2" />
<cell x="14" y="3" />
<cell x="15" y="3" />
<cell x="15" y="2" />
</template>
<template>
<cell x="16" y="2" />
<cell x="17" y="2" />
<cell x="17" y="3" />
<cell x="16" y="3" />
</template>
<template>
<cell x="18" y="3" />
<cell x="19" y="3" />
<cell x="19" y="2" />
<cell x="18" y="2" />
</template>
<template>
<cell x="18" y="1" />
<cell x="18" y="0" />
<cell x="19" y="0" />
<cell x="19" y="1" />
</template>
<template>
<cell x="17" y="1" />
<cell x="16" y="1" />
<cell x="16" y="0" />
<cell x="17" y="0" />
</template>
<template>
<cell x="18" y="4" />
<cell x="18" y="5" />
<cell x="19" y="5" />
<cell x="19" y="4" />
</template>
<template>
<cell x="18" y="6" />
<cell x="18" y="7" />
<cell x="19" y="7" />
<cell x="19" y="6" />
</template>
<template>
<cell x="16" y="5" />
<cell x="15" y="5" />
<cell x="15" y="4" />
<cell x="16" y="4" />
</template>
<template>
<cell x="14" y="4" />
<cell x="13" y="4" />
<cell x="13" y="5" />
<cell x="14" y="5" />
</template>
<template>
<cell x="12" y="5" />
<cell x="11" y="5" />
<cell x="11" y="4" />
<cell x="12" y="4" />
</template>
<template>
<cell x="10" y="4" />
<cell x="9" y="4" />
<cell x="9" y="5" />
<cell x="10" y="5" />
</template>
<template>
<cell x="8" y="5" />
<cell x="7" y="5" />
<cell x="7" y="4" />
<cell x="8" y="4" />
</template>
<template>
<cell x="6" y="4" />
<cell x="5" y="4" />
<cell x="5" y="5" />
<cell x="6" y="5" />
</template>
<template>
<cell x="0" y="6" />
<cell x="1" y="6" />
<cell x="1" y="7" />
<cell x="0" y="7" />
</template>
<template>
<cell x="2" y="7" />
<cell x="3" y="7" />
<cell x="3" y="6" />
<cell x="2" y="6" />
</template>
<template>
<cell x="4" y="7" />
<cell x="5" y="7" />
<cell x="5" y="6" />
<cell x="4" y="6" />
</template>
<template>
<cell x="6" y="7" />
<cell x="7" y="7" />
<cell x="7" y="6" />
<cell x="6" y="6" />
</template>
<template>
<cell x="8" y="6" />
<cell x="8" y="7" />
<cell x="9" y="7" />
<cell x="9" y="6" />
</template>
<template>
<cell x="10" y="6" />
<cell x="10" y="7" />
<cell x="11" y="7" />
<cell x="11" y="6" />
</template>
<template>
<cell x="12" y="6" />
<cell x="12" y="7" />
<cell x="13" y="7" />
<cell x="13" y="6" />
</template>
<template>
<cell x="14" y="6" />
<cell x="14" y="7" />
<cell x="15" y="7" />
<cell x="15" y="6" />
</template>
<template>
<cell x="16" y="6" />
<cell x="16" y="7" />
<cell x="17" y="7" />
<cell x="17" y="6" />
</template>
<template>
<cell x="1" y="8" />
<cell x="1" y="9" />
<cell x="0" y="9" />
<cell x="0" y="8" />
</template>
<template>
<cell x="2" y="8" />
<cell x="2" y="9" />
<cell x="3" y="9" />
<cell x="3" y="8" />
</template>
<template>
<cell x="4" y="8" />
<cell x="4" y="9" />
<cell x="5" y="9" />
<cell x="5" y="8" />
</template>
<template>
<cell x="6" y="8" />
<cell x="6" y="9" />
<cell x="7" y="9" />
<cell x="7" y="8" />
</template>
<template>
<cell x="8" y="8" />
<cell x="8" y="9" />
<cell x="9" y="9" />
<cell x="9" y="8" />
</template>
<template>
<cell x="10" y="8" />
<cell x="10" y="9" />
<cell x="11" y="9" />
<cell x="11" y="8" />
<cell x="12" y="8" />
<cell x="12" y="9" />
<cell x="13" y="9" />
<cell x="13" y="8" />
</template>
<template>
<cell x="14" y="8" />
<cell x="14" y="9" />
<cell x="15" y="9" />
<cell x="15" y="8" />
</template>
<template>
<cell x="16" y="8" />
<cell x="16" y="9" />
<cell x="17" y="9" />
<cell x="17" y="8" />
</template>
<template>
<cell x="18" y="8" />
<cell x="18" y="9" />
<cell x="19" y="9" />
<cell x="19" y="8" />
</template>
</tileset>

View File

@@ -1,285 +0,0 @@
General:
Name: Arrakis
TileSize: 32
Id: ARRAKIS
Palette: arrakis.pal
Extensions: .arr,.shp
Terrain:
TerrainType@Clear:
Type: Clear
Buildable: True
AcceptSmudge: True
IsWater: False
Color: 255,255,255,255
Templates:
Template@0:
Id: 0
Image: t00
Size: 1,1
PickAny: False
Tiles:
0: Clear
Template@1:
Id: 1
Image: t01
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@2:
Id: 2
Image: t02
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@3:
Id: 3
Image: t03
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@4:
Id: 4
Image: t04
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@5:
Id: 5
Image: t05
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@6:
Id: 6
Image: t06
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@7:
Id: 7
Image: t07
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@8:
Id: 8
Image: t08
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@9:
Id: 9
Image: t09
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@10:
Id: 10
Image: t10
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@11:
Id: 11
Image: t11
Size: 5,3
PickAny: False
Tiles:
0: Clear
6: Clear
1: Clear
5: Clear
10: Clear
11: Clear
12: Clear
13: Clear
14: Clear
9: Clear
4: Clear
3: Clear
2: Clear
7: Clear
8: Clear
Template@12:
Id: 12
Image: t12
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@13:
Id: 13
Image: t13
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@14:
Id: 14
Image: t14
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@15:
Id: 15
Image: t15
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@16:
Id: 16
Image: t16
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@17:
Id: 17
Image: t17
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@18:
Id: 18
Image: t18
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@19:
Id: 19
Image: t19
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@20:
Id: 20
Image: t20
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@21:
Id: 21
Image: t21
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@22:
Id: 22
Image: t22
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@23:
Id: 23
Image: t23
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@24:
Id: 24
Image: t24
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear
Template@25:
Id: 25
Image: t25
Size: 2,2
PickAny: False
Tiles:
0: Clear
1: Clear
3: Clear
2: Clear

2408
mods/d2k/tilesets/base.yaml Normal file

File diff suppressed because it is too large Load Diff

BIN
mods/d2k/uibits/buttons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
mods/d2k/uibits/dialog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

19
mods/d2k/voices.yaml Normal file
View File

@@ -0,0 +1,19 @@
# requires Dune 2000/DATA/GAMESFX copied to ~/.openra/Content/d2k
GenericVoice:
Variants:
atreides: .AUD
harkonnen: .AUD
ordos: .AUD
Voices:
Select: G_SSEL1,G_SSEL2,G_SSEL3
Move: G_SCONF1,G_SCONF2,G_SCONF3
VehicleVoice:
Variants:
atreides: .AUD
harkonnen: .AUD
ordos: .AUD
Voices:
Select: G_SSEL1,G_SSEL2,G_SSEL3
Move: G_SCONF1,G_SCONF2,G_SCONF3

431
mods/d2k/weapons.yaml Normal file
View File

@@ -0,0 +1,431 @@
M1Carbine:
ROF: 20
Range: 5
Report: GUN11
Projectile: Bullet
Speed: 100
Warhead:
Spread: 3
Versus:
Wood: 25%
Light: 30%
Heavy: 10%
Concrete: 10%
Explosion: piffs
InfDeath: 1
Damage: 15
Dragon:
ROF: 50
Range: 5
Report: MISSILE6
ValidTargets: Ground
Projectile: Missile
Speed: 25
Arm: 2
High: true
Shadow: false
Proximity: true
Trail: smokey
ContrailLength: 10
Inaccuracy: 3
Image: DRAGON
ROT: 5
RangeLimit: 35
Warhead:
Spread: 3
Versus:
None: 10%
Wood: 75%
Light: 35%
Concrete: 20%
Explosion: med_explosion
WaterExplosion: med_splash
InfDeath: 3
SmudgeType: Crater
Damage: 50
ImpactSound: kaboom12
QuadRockets:
ROF: 60
Range: 7
Report: MISSILE6
ValidTargets: Ground, Air
Burst: 2
BurstDelay: 0
Projectile: Missile
Arm: 0
High: yes
Shadow: no
Proximity: yes
Inaccuracy: 3
Image: DRAGON
ROT: 10
Trail: smokey
Speed: 35
RangeLimit: 40
Warhead:
Spread: 3
Versus:
None: 50%
Wood: 30%
Light: 75%
Heavy: 30%
InfDeath: 3
Explosion: med_explosion
WaterExplosion: med_splash
ImpactSound: kaboom12
SmudgeType: Crater
Damage: 35
TurretGun:
ROF: 30
Range: 7
Report: TURRET1
Projectile: Bullet
Speed: 40
Image: 120MM
Warhead:
Spread: 3
Versus:
None: 20%
Wood: 75%
Light: 75%
Concrete: 50%
Explosion: small_explosion
WaterExplosion: small_splash
InfDeath: 3
SmudgeType: Crater
Damage: 60
25mm:
ROF: 13
Range: 4
Report: CANNON2
Projectile: Bullet
Speed: 50
Image: 120MM
Warhead:
Spread: 3
Versus:
None: 30%
Wood: 40%
Heavy: 40%
Concrete: 30%
Explosion: small_explosion
WaterExplosion: small_splash
InfDeath: 3
SmudgeType: Crater
Damage: 16
90mm:
ROF: 50
Range: 4.75
Report: CANNON1
Projectile: Bullet
Speed: 40
Image: 120MM
Warhead:
Spread: 3
Versus:
None: 20%
Wood: 75%
Light: 75%
Concrete: 50%
Explosion: small_explosion
WaterExplosion: small_splash
InfDeath: 3
SmudgeType: Crater
Damage: 30
105mm:
ROF: 70
Range: 4.75
Report: CANNON1
Burst: 2
BurstDelay: 4
Projectile: Bullet
Speed: 40
Image: 120MM
Warhead:
Spread: 3
Versus:
None: 20%
Wood: 75%
Light: 75%
Concrete: 50%
Explosion: small_explosion
WaterExplosion: small_splash
InfDeath: 3
SmudgeType: Crater
Damage: 40
120mm:
ROF: 90
Range: 4.75
Report: CANNON1
Burst: 2
Projectile: Bullet
Speed: 40
Image: 120MM
Warhead:
Spread: 3
Versus:
None: 20%
Wood: 75%
Light: 75%
Concrete: 50%
Explosion: small_explosion
WaterExplosion: small_splash
InfDeath: 3
SmudgeType: Crater
Damage: 50
227mm:
ROF: 80
Range: 10
MinRange: 2
Burst: 6
BurstDelay: 1
Report: MISSILE6
ValidTargets: Ground
Projectile: Bullet
Arm: 5
High: yes
Shadow: yes
Inaccuracy: 30
Angle: 0.1
Image: DRAGON
ROT: 5
Trail: smokey
Speed: 15
Warhead:
Spread: 10
Versus:
None: 30%
Wood: 75%
Light: 75%
Heavy: 50%
InfDeath: 3
Explosion: med_explosion
WaterExplosion: med_splash
ImpactSound: kaboom12
SmudgeType: Crater
Damage: 25
#for rocket turret
MammothTusk:
ROF: 60
Range: 8
Report: MISSILE6
Burst: 2
ValidTargets: Ground, Air
Projectile: Missile
Speed: 30
Arm: 2
High: true
Shadow: false
Proximity: true
# Trail: smokey
ContrailLength: 10
Inaccuracy: 3
Image: DRAGON
ROT: 5
RangeLimit: 40
Warhead:
Spread: 6
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Explosion: med_explosion
WaterExplosion: med_splash
InfDeath: 2
SmudgeType: Crater
Damage: 45
155mm:
ROF: 85
Range: 14
MinRange: 3
Report: TANK5
Projectile: Bullet
Speed: 12
High: true
Angle: .1
Inaccuracy: 40
Image: 120MM
ContrailLength: 30
Warhead:
Spread: 10
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Concrete: 50%
Explosion: large_explosion
WaterExplosion: med_splash
InfDeath: 2
SmudgeType: Crater
Damage: 220
TTankZap:
ROF: 120
Range: 7
Report: TESLA1
Charges: yes
Projectile: TeslaZap
Warhead:
Spread: 1
InfDeath: 5
Damage: 100
ChainGun:
ROF: 10
Range: 5
MinRange: 1
Report: GUN13
Projectile: Bullet
Speed: 100
High: true
Warhead:
Spread: 3
Versus:
Wood: 50%
Light: 60%
Heavy: 25%
Concrete: 25%
Explosion: piffs
WaterExplosion: small_splash
InfDeath: 1
Damage: 20
M60mg:
ROF: 30
Range: 4
Report: PILLBOX1
Burst: 5
Projectile: Bullet
Speed: 100
Warhead:
Spread: 3
Versus:
Wood: 10%
Light: 30%
Heavy: 10%
Concrete: 10%
Explosion: piffs
WaterExplosion: small_splash
InfDeath: 1
Damage: 15
Demolish:
Warhead:
ImpactSound: kaboom25
Explosion: building
Crush:
Warhead:
ImpactSound: squishy2
Damage: 100
Atomic:
Warhead@impact:
Damage: 1000
Spread: 6
Ore: true
Versus:
None: 90%
Light: 60%
Heavy: 25%
Concrete: 50%
Explosion: nuke
WaterExplosion: nuke
InfDeath: 4
ImpactSound: kaboom1
Warhead@areanuke:
DamageModel: PerCell
Damage: 250
# SmudgeType: Scorch
Size: 5,4
Ore: true
Versus:
None: 90%
Light: 60%
Heavy: 25%
Concrete: 50%
Delay: 4
InfDeath: 4
ImpactSound: kaboom22
CrateNuke:
Warhead@impact:
Damage: 1000
Spread: 6
Ore: true
Versus:
None: 90%
Light: 60%
Heavy: 25%
Concrete: 50%
Explosion: nuke
WaterExplosion: nuke
InfDeath: 4
ImpactSound: kaboom1
Warhead@areanuke:
DamageModel: PerCell
Damage: 250
# SmudgeType: Scorch
Size: 5,4
Ore: true
Versus:
None: 90%
Light: 60%
Heavy: 25%
Concrete: 50%
Delay: 4
InfDeath: 4
ImpactSound: kaboom22
CrateExplosion:
Warhead:
Damage: 500
Spread: 10
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Explosion: self_destruct
WaterExplosion: self_destruct
InfDeath: 3
ImpactSound: kaboom15
UnitExplode:
Warhead:
Damage: 500
Spread: 10
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Explosion: self_destruct
WaterExplosion: large_splash
InfDeath: 3
ImpactSound: kaboom22
UnitExplodeSmall:
Warhead:
Damage: 40
Spread: 10
Versus:
None: 90%
Wood: 75%
Light: 60%
Heavy: 25%
Explosion: large_explosion
InfDeath: 3
ImpactSound: kaboom15

Binary file not shown.

View File

@@ -1,35 +0,0 @@
<chrome>
<collection name="dialog2" src="dialog.png">
<image name="background" x="513" y="1" width="126" height="126" />
<image name="border-r" x="639" y="1" width="1" height="126" />
<image name="border-l" x="512" y="1" width="1" height="126" />
<image name="border-b" x="513" y="127" width="126" height="1" />
<image name="border-t" x="513" y="0" width="126" height="1" />
<image name="corner-tl" x="512" y="0" width="1" height="1" />
<image name="corner-tr" x="594" y="0" width="1" height="1" />
<image name="corner-bl" x="512" y="82" width="1" height="1" />
<image name="corner-br" x="594" y="82" width="1" height="1" />
</collection>
<collection name="dialog3" src="dialog.png">
<image name="background" x="641" y="1" width="126" height="126" />
<image name="border-r" x="767" y="1" width="1" height="126" />
<image name="border-l" x="640" y="1" width="1" height="126" />
<image name="border-b" x="641" y="127" width="126" height="1" />
<image name="border-t" x="641" y="0" width="126" height="1" />
<image name="corner-tl" x="640" y="0" width="1" height="1" />
<image name="corner-tr" x="722" y="0" width="1" height="1" />
<image name="corner-bl" x="640" y="82" width="1" height="1" />
<image name="corner-br" x="722" y="82" width="1" height="1" />
</collection>
<collection name="dialog" src="dialog.png">
<image name="background" x="0" y="0" width="480" height="480" />
<image name="border-r" x="489" y="0" width="9" height="192" />
<image name="border-l" x="480" y="0" width="9" height="192" />
<image name="border-b" x="0" y="489" width="191" height="9" />
<image name="border-t" x="0" y="480" width="191" height="9" />
<image name="corner-tl" x="191" y="480" width="9" height="9" />
<image name="corner-tr" x="200" y="480" width="9" height="9" />
<image name="corner-bl" x="191" y="489" width="9" height="9" />
<image name="corner-br" x="200" y="489" width="9" height="9" />
</collection>
</chrome>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<sequences>
<cursor src="mouse" palette="cursor">
<sequence name="default" start="0" />
</cursor>
</sequences>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

View File

@@ -1,15 +0,0 @@
Selectable: False
MapFormat: 2
Title: Default Shellmap
Description: A default empty map to use when no custom shellmap is wanted
Author: alzeih
PlayerCount: 0
Tileset: DUMMY
MapSize: 128,128
TopLeft: 16,16
BottomRight: 112,112
Players:
Actors:
Waypoints:
Smudges:
Rules:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 971 B

View File

@@ -1,15 +0,0 @@
Background@MAINMENU_BG:
Id:MAINMENU_BG
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:250
Height:65
Delegate:MainMenuButtonsDelegate
Children:
Button@MAINMENU_BUTTON_QUIT:
Id:MAINMENU_BUTTON_QUIT
X:45
Y:20
Width:160
Height:25
Text:Quit

View File

@@ -1,24 +0,0 @@
Metadata:
Title: Default Mod Template
Description: Minimal template for creating a base mod
Version: a0001
Author: The OpenRA Developers
Folders:
.
mods/default
Rules:
mods/default/system.yaml
Cursors:
mods/default/cursors.xml
Assemblies:
mods/ra/OpenRA.Mods.RA.dll
TileSets:
mods/default/tileset-dummy.yaml
Chrome:
mods/default/chrome.xml:
ChromeLayout:
mods/default/menus.yaml:
LoadScreen: NullLoadScreen
ShellmapUid: 95c34889e85a903d7dbb41f13d6c373b44a8b62e

Binary file not shown.

View File

@@ -1,9 +0,0 @@
World:
PaletteFromFile@chrome:
Name: chrome
Filename: temperat.pal
PaletteFromFile@cursor:
Name: cursor
Filename: temperat.pal
SpatialBins:
UnitInfluence:

Binary file not shown.

View File

@@ -1,15 +0,0 @@
General:
Name: Dummy
Id: DUMMY
Extensions: .shp, .tem
Palette: temperat.pal
Terrain:
TerrainType@Blank:
Type: Blank
Templates:
Template@255:
Id: 255
Image: bogus
Size: 1,1
Tiles:
0: Blank

Binary file not shown.

View File

@@ -1,13 +0,0 @@
MCV:
RenderUnit:
PlayerPalette: d2kplayer
Player:
PlayerColorPalette@d2k:
BasePalette: d2k
BaseName: d2kplayer
PaletteFormat: d2k
World:
PaletteFromFile@d2k:
Name: d2k
Filename: d2k.pal

View File

@@ -1,11 +0,0 @@
Metadata:
Title: Player Palette Test
Description: Replaces the mcv artwork with the d2k mcv
Version: a0001
Author: The OpenRA Developers
Requires: ra
Folders:
mods/palettetest
Rules:
mods/palettetest/mcv.yaml