diff --git a/mods/ra/chrome/ingame.yaml b/mods/ra/chrome/ingame.yaml index 7202106cee..fcfb2fb387 100644 --- a/mods/ra/chrome/ingame.yaml +++ b/mods/ra/chrome/ingame.yaml @@ -81,6 +81,14 @@ Container@INGAME_ROOT: Text:Cheats Visible:false Font:Bold + Button@OBJECTIVES_BUTTON: + X:486 + Y:0 + Width:160 + Height:25 + Text:Objectives + Visible:false + Font:Bold RadarBin@INGAME_RADAR_BIN: WorldInteractionController:INTERACTION_CONTROLLER PowerBin@INGAME_POWER_BIN: diff --git a/mods/ra/chrome/objectives.yaml b/mods/ra/chrome/objectives.yaml new file mode 100644 index 0000000000..c01521fd2f --- /dev/null +++ b/mods/ra/chrome/objectives.yaml @@ -0,0 +1,101 @@ +Container@MISSION_OBJECTIVES: + X:25 + Y:50 + Width:512 + Height:530 + Children: + Background@BACKGROUND: + Width:512 + Height:530 + Background:dialog + Children: + Label@TITLE: + X:0 + Y:15 + Width:PARENT_RIGHT + Height:25 + Font:Bold + Align:Center + Text:Objectives + Label@PRIMARY_OBJECTIVE_HEADER: + X:40 + Y:40 + Width:300 + Height:25 + Font:Bold + Text:Primary Objectives + Label@PRIMARY_STATUS_HEADER: + X:350 + Y:40 + Width:122 + Height:25 + Font:Bold + Text:Status + ScrollPanel@PRIMARY_OBJECTIVES: + X:25 + Y:70 + Width:PARENT_RIGHT-50 + Height:200 + ItemSpacing:5 + Children: + Container@PRIMARY_OBJECTIVE_TEMPLATE: + X:15 + Y:0-15 + Width:PARENT_RIGHT + Height:60 + Children: + Label@PRIMARY_OBJECTIVE: + X:0 + Y:0 + Width:300 + Height:PARENT_BOTTOM + Font:Regular + WordWrap:True + Label@PRIMARY_STATUS: + X:310 + Y:0 + Width:122 + Height:PARENT_BOTTOM + Font:Bold + WordWrap:True + Label@SECONDARY_OBJECTIVE_HEADER: + X:40 + Y:275 + Width:300 + Height:25 + Font:Bold + Text:Secondary Objectives + Label@SECONDARY_STATUS_HEADER: + X:350 + Y:275 + Width:122 + Height:25 + Font:Bold + Text:Status + ScrollPanel@SECONDARY_OBJECTIVES: + X:25 + Y:305 + Width:PARENT_RIGHT-50 + Height:200 + ItemSpacing:5 + Children: + Container@SECONDARY_OBJECTIVE_TEMPLATE: + X:15 + Y:0-15 + Width:PARENT_RIGHT + Height:60 + Children: + Label@SECONDARY_OBJECTIVE: + X:0 + Y:0 + Width:300 + Height:PARENT_BOTTOM + Font:Regular + WordWrap:True + Label@SECONDARY_STATUS: + X:310 + Y:0 + Width:122 + Height:PARENT_BOTTOM + Font:Bold + WordWrap:True \ No newline at end of file diff --git a/mods/ra/mod.yaml b/mods/ra/mod.yaml index 541f24fbc1..1503199386 100644 --- a/mods/ra/mod.yaml +++ b/mods/ra/mod.yaml @@ -64,6 +64,7 @@ ChromeLayout: mods/ra/chrome/dropdowns.yaml mods/ra/chrome/modchooser.yaml mods/ra/chrome/cheats.yaml + mods/ra/chrome/objectives.yaml Weapons: mods/ra/weapons.yaml