Add singleplayer mission menu to ra/td
@@ -110,6 +110,38 @@ Container@MENU_BACKGROUND:
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Quit
|
||||
Container@SINGLEPLAYER_MENU:
|
||||
Width:PARENT_RIGHT
|
||||
Visible:False
|
||||
Children:
|
||||
Label@SINGLEPLAYER_MENU_TITLE:
|
||||
X:0
|
||||
Y:0-30
|
||||
Width:PARENT_RIGHT
|
||||
Height:20
|
||||
Text:Singleplayer
|
||||
Align:Center
|
||||
Font:Bold
|
||||
Contrast:True
|
||||
Button@SKIRMISH_BUTTON:
|
||||
X:150
|
||||
Y:0
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Skirmish
|
||||
Button@MISSIONS_BUTTON:
|
||||
X:300
|
||||
Y:0
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Missions
|
||||
Button@BACK_BUTTON:
|
||||
Key:escape
|
||||
X:600
|
||||
Y:0
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Back
|
||||
Container@EXTRAS_MENU:
|
||||
Width:PARENT_RIGHT
|
||||
Visible:False
|
||||
|
||||
82
mods/cnc/chrome/missionbrowser.yaml
Normal file
@@ -0,0 +1,82 @@
|
||||
Container@MISSIONBROWSER_PANEL:
|
||||
Logic:MissionBrowserLogic
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:629
|
||||
Height:399
|
||||
Children:
|
||||
Label@MISSIONBROWSER_LABEL_TITLE:
|
||||
Y:0-25
|
||||
Width:PARENT_RIGHT
|
||||
Text:Missions
|
||||
Align:Center
|
||||
Font:BigBold
|
||||
Background@BG:
|
||||
Width:629
|
||||
Height:360
|
||||
Background:panel-black
|
||||
Children:
|
||||
ScrollPanel@MISSION_LIST:
|
||||
X:15
|
||||
Y:15
|
||||
Width:260
|
||||
Height:330
|
||||
Children:
|
||||
ScrollItem@MISSION_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@MISSION_INFO:
|
||||
X:290
|
||||
Y:15
|
||||
Width:324
|
||||
Height:334
|
||||
Children:
|
||||
Background@MISSION_BG:
|
||||
X:0
|
||||
Y:0
|
||||
Width:324
|
||||
Height:160
|
||||
Background:panel-gray
|
||||
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:171
|
||||
Width:324
|
||||
Height:159
|
||||
Children:
|
||||
Label@MISSION_DESCRIPTION:
|
||||
X:5
|
||||
Y:5
|
||||
Width:290
|
||||
VAlign:Top
|
||||
Button@BACK_BUTTON:
|
||||
X:0
|
||||
Y:359
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Back
|
||||
Font:Bold
|
||||
Key:escape
|
||||
Button@STARTGAME_BUTTON:
|
||||
X:PARENT_RIGHT - 140
|
||||
Y:359
|
||||
Width:140
|
||||
Height:35
|
||||
Text:Start Game
|
||||
Font:Bold
|
||||
BIN
mods/cnc/maps/gdi01/map.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Storm the Beachhead
|
||||
|
||||
Description: Conversion of the first GDI Mission
|
||||
Description: Use the units provided to protect the Mobile Construction Vehicle. (MCV)\n\nYou should then deploy the MCV by double clicking on it.\n\nThen you can begin to build up a base. Start with a Power Plant.\n\nFinally, search out and destroy all enemy Nod units in the surrounding area.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/cnc/maps/gdi02/map.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,6 +6,8 @@ RequiresMod: cnc
|
||||
|
||||
Title: Knock out the Refinery
|
||||
|
||||
Description: Defend your position, deploy the MCV, then build a sizable force to search out and destroy the Nod base in the area.\n\nAll Nod units and structures must be either destroyed or captured to complete objective.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
Tileset: TEMPERAT
|
||||
|
||||
BIN
mods/cnc/maps/gdi03/map.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Destroy The SAM Sites
|
||||
|
||||
Description: Build up forces to destroy Nod base. Once all Nod SAM sites are neutralized then air support will be provided to combat obstacles such as turrets. Destroy all units and structures to complete the mission objective.
|
||||
Description: Build up forces to destroy Nod base.\n\nOnce all Nod SAM sites are neutralized then air support will be provided to combat obstacles such as turrets.\n\nDestroy all units and structures to complete the mission objective.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/cnc/maps/gdi04a/map.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Get the Rods back (a)
|
||||
|
||||
Description: Nod has captured classified GDI property. You must find and retrieve the stolen equipment. It is being transported in a shipping crate. Use the new APC to strategically transport infantry through Nod forces.
|
||||
Description: Nod has captured classified GDI property.\n\nYou must find and retrieve the stolen equipment.\n\nIt is being transported in a shipping crate.\n\nUse the new APC to strategically transport infantry through Nod forces.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/cnc/maps/nod01/map.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Nikoomba's Demise
|
||||
|
||||
Description: In order for the Brotherhood to gain a foothold, we must begin by eliminating certain elements. Nikoomba, the nearby village's leader, is one such element. His views and ours do not coincide. He and his whole group must be eliminated.
|
||||
Description: In order for the Brotherhood to gain a foothold, we must begin by eliminating certain elements.\n\nNikoomba, the nearby village's leader, is one such element.\n\nHis views and ours do not coincide.\n\nHe and his whole group must be eliminated.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/cnc/maps/nod03a/map.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Sudanese Prison Break (a)
|
||||
|
||||
Description: GDI has established a prison camp, where they are detaining some of the local political leaders. Kane wishes to liberate these victims. Destroy the GDI forces and capture the prison, do not destroy it.
|
||||
Description: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
BIN
mods/cnc/maps/nod03b/map.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
@@ -1,4 +1,4 @@
|
||||
Selectable: True
|
||||
Selectable: False
|
||||
|
||||
MapFormat: 6
|
||||
|
||||
@@ -6,7 +6,7 @@ RequiresMod: cnc
|
||||
|
||||
Title: Sudanese Prison Break (b)
|
||||
|
||||
Description: GDI has established a prison camp, where they are detaining some of the local political leaders. Kane wishes to liberate these victims. Destroy the GDI forces and capture the prison, do not destroy it.
|
||||
Description: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it.
|
||||
|
||||
Author: Westwood Studios
|
||||
|
||||
|
||||
8
mods/cnc/missions.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
Missions:
|
||||
mods/cnc/maps/gdi01
|
||||
mods/cnc/maps/gdi02
|
||||
mods/cnc/maps/gdi03
|
||||
mods/cnc/maps/gdi04a
|
||||
mods/cnc/maps/nod01
|
||||
mods/cnc/maps/nod03a
|
||||
mods/cnc/maps/nod03b
|
||||
@@ -98,6 +98,7 @@ ChromeLayout:
|
||||
mods/cnc/chrome/tooltips.yaml
|
||||
mods/cnc/chrome/irc.yaml
|
||||
mods/cnc/chrome/assetbrowser.yaml
|
||||
mods/cnc/chrome/missionbrowser.yaml
|
||||
|
||||
Weapons:
|
||||
mods/cnc/weapons.yaml
|
||||
@@ -184,3 +185,6 @@ LuaScripts:
|
||||
mods/common/lua/rules.lua
|
||||
mods/common/lua/production.lua
|
||||
mods/common/lua/facing.lua
|
||||
|
||||
Missions:
|
||||
mods/cnc/missions.yaml
|
||||