Add singleplayer mission menu to ra/td
This commit is contained in:
@@ -80,6 +80,40 @@ Container@MAINMENU:
|
||||
Height:30
|
||||
Text:Quit
|
||||
Font:Bold
|
||||
Background@SINGLEPLAYER_MENU:
|
||||
Width:PARENT_RIGHT
|
||||
Height:PARENT_BOTTOM
|
||||
Children:
|
||||
Label@SINGLEPLAYER_MENU_TITLE:
|
||||
X:0
|
||||
Y:20
|
||||
Width:200
|
||||
Height:30
|
||||
Text:Singleplayer
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Button@SKIRMISH_BUTTON:
|
||||
X:PARENT_RIGHT/2-WIDTH/2
|
||||
Y:60
|
||||
Width:140
|
||||
Height:30
|
||||
Text:Skirmish
|
||||
Font:Bold
|
||||
Button@MISSIONS_BUTTON:
|
||||
X:PARENT_RIGHT/2-WIDTH/2
|
||||
Y:100
|
||||
Width:140
|
||||
Height:30
|
||||
Text:Missions
|
||||
Font:Bold
|
||||
Button@BACK_BUTTON:
|
||||
X:PARENT_RIGHT/2-WIDTH/2
|
||||
Key:escape
|
||||
Y:260
|
||||
Width:140
|
||||
Height:30
|
||||
Text:Back
|
||||
Font:Bold
|
||||
Background@EXTRAS_MENU:
|
||||
Width:PARENT_RIGHT
|
||||
Height:PARENT_BOTTOM
|
||||
|
||||
78
mods/ra/chrome/missionbrowser.yaml
Normal file
78
mods/ra/chrome/missionbrowser.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
Background@MISSIONBROWSER_PANEL:
|
||||
Logic:MissionBrowserLogic
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:634
|
||||
Height:440
|
||||
Children:
|
||||
Label@MISSIONBROWSER_LABEL_TITLE:
|
||||
X:0
|
||||
Y:20
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Text:Missions
|
||||
Align:Center
|
||||
Font:Bold
|
||||
ScrollPanel@MISSION_LIST:
|
||||
X:20
|
||||
Y:50
|
||||
Width:260
|
||||
Height:330
|
||||
Children:
|
||||
ScrollItem@MISSION_TEMPLATE:
|
||||
Width:PARENT_RIGHT-27
|
||||
Height:25
|
||||
X:2
|
||||
Y:0
|
||||
Children:
|
||||
Label@TITLE:
|
||||
X:10
|
||||
Width:PARENT_RIGHT-20
|
||||
Height:25
|
||||
Container@MISSION_INFO:
|
||||
X:290
|
||||
Y:50
|
||||
Width:324
|
||||
Height:330
|
||||
Children:
|
||||
Background@MISSION_BG:
|
||||
X:0
|
||||
Y:0
|
||||
Width:324
|
||||
Height:160
|
||||
Background:dialog3
|
||||
Children:
|
||||
MapPreview@MISSION_PREVIEW:
|
||||
X:2
|
||||
Y:2
|
||||
Width:PARENT_RIGHT-4
|
||||
Height:PARENT_BOTTOM-4
|
||||
IgnoreMouseOver:True
|
||||
IgnoreMouseInput:True
|
||||
ShowSpawnPoints:False
|
||||
ScrollPanel@MISSION_DESCRIPTION_PANEL:
|
||||
X:0
|
||||
Y:170
|
||||
Width:324
|
||||
Height:160
|
||||
Children:
|
||||
Label@MISSION_DESCRIPTION:
|
||||
X:5
|
||||
Y:5
|
||||
Width:290
|
||||
VAlign:Top
|
||||
Button@STARTGAME_BUTTON:
|
||||
X:PARENT_RIGHT - 140 - 130
|
||||
Y:PARENT_BOTTOM - 45
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Start Game
|
||||
Font:Bold
|
||||
Button@BACK_BUTTON:
|
||||
X:PARENT_RIGHT - 140
|
||||
Y:PARENT_BOTTOM - 45
|
||||
Width:120
|
||||
Height:25
|
||||
Text:Back
|
||||
Font:Bold
|
||||
Key:escape
|
||||
BIN
mods/ra/maps/allies-01-classic/map.png
Normal file
BIN
mods/ra/maps/allies-01-classic/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: ra
|
||||
|
||||
Title: Allies 01: In the thick of it
|
||||
|
||||
Description: In the thick of it
|
||||
Description: Rescue Einstein from the Headquarters inside this Soviet complex.\n\nOnce found, evacuate him via the helicopter at the signal flare.\n\nEinstein and Tanya must be kept alive at all costs.\n\nBeware the Soviet's Tesla Coils.\n\nDirect Tanya to destroy the westmost power plants to take them off-line.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/ra/maps/allies-02-classic/map.png
Normal file
BIN
mods/ra/maps/allies-02-classic/map.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: ra
|
||||
|
||||
Title: Allies 02: Five to one
|
||||
|
||||
Description: Five to one
|
||||
Description: A critical supply convoy is due through this area in 25 minutes, but Soviet forces have blocked the road in several places.\n\nUnless you can clear them out, those supplies will never make it to the front.\n\nThe convoy will come from the northwest, and time is short so work quickly.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
3
mods/ra/missions.yaml
Normal file
3
mods/ra/missions.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Missions:
|
||||
mods/ra/maps/allies-01-classic
|
||||
mods/ra/maps/allies-02-classic
|
||||
@@ -99,6 +99,7 @@ ChromeLayout:
|
||||
mods/ra/chrome/tooltips.yaml
|
||||
mods/ra/chrome/assetbrowser.yaml
|
||||
mods/ra/chrome/irc.yaml
|
||||
mods/ra/chrome/missionbrowser.yaml
|
||||
|
||||
Weapons:
|
||||
mods/ra/weapons.yaml
|
||||
@@ -181,3 +182,6 @@ LuaScripts:
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
Missions:
|
||||
mods/ra/missions.yaml
|
||||
Reference in New Issue
Block a user