diff options
author | F1F7Y <64418963+F1F7Y@users.noreply.github.com> | 2022-02-16 23:28:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 19:28:00 -0300 |
commit | 41a3025396e05c960ce972ed83e9c9e0a9c70e9e (patch) | |
tree | 65d9e829340db8813fd4581ad93761c9457d9e34 /Northstar.Client/mod/resource/ui/menus/panels | |
parent | 8c26a0b08d8327d6db14718754ff1b44e476acd2 (diff) | |
download | NorthstarMods-41a3025396e05c960ce972ed83e9c9e0a9c70e9e.tar.gz NorthstarMods-41a3025396e05c960ce972ed83e9c9e0a9c70e9e.zip |
Update private match map select menu (#194)
Diffstat (limited to 'Northstar.Client/mod/resource/ui/menus/panels')
-rw-r--r-- | Northstar.Client/mod/resource/ui/menus/panels/map_grid.res | 201 | ||||
-rw-r--r-- | Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res | 90 |
2 files changed, 291 insertions, 0 deletions
diff --git a/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res b/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res new file mode 100644 index 00000000..3853faa1 --- /dev/null +++ b/Northstar.Client/mod/resource/ui/menus/panels/map_grid.res @@ -0,0 +1,201 @@ +"resource/ui/menus/panels/map_grid.res" +{ + GridButton0x0 + { + ControlName CNestedPanel + wide 286 + tall 165 + + Classname MapGridButtons + scriptID 0 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + } + + GridButton1x0 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 1 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton2x0 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 2 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton1x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton0x1 + { + ControlName CNestedPanel + wide 286 + tall 165 + ypos 2 + + Classname MapGridButtons + scriptID 3 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x0 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT + } + + GridButton1x1 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 4 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton2x1 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 5 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton1x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton0x2 + { + ControlName CNestedPanel + wide 286 + tall 165 + ypos 2 + + Classname MapGridButtons + scriptID 6 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x1 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT + } + + GridButton1x2 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 7 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton2x2 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 8 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton1x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton0x3 + { + ControlName CNestedPanel + wide 286 + tall 165 + ypos 2 + + Classname MapGridButtons + scriptID 9 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x2 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner BOTTOM_LEFT + } + + GridButton1x3 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 10 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton0x3 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } + + GridButton2x3 + { + ControlName CNestedPanel + wide 286 + tall 165 + xpos 2 + + Classname MapGridButtons + scriptID 11 + + controlSettingsFile "resource/ui/menus/panels/map_grid_button.res" + + pin_to_sibling GridButton1x3 + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_RIGHT + } +}
\ No newline at end of file diff --git a/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res b/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res new file mode 100644 index 00000000..3a8a915a --- /dev/null +++ b/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res @@ -0,0 +1,90 @@ +"resource/ui/menus/panels/map_grid_button.res" +{ + MapImage + { + ControlName RuiPanel + wide 286 + tall 165 + visible 1 + scaleImage 1 + zpos 0 + + // Hud_GetRui() requires this to work + rui "ui/basic_menu_image.rpak" + } + + MapName + { + ControlName Label + zpos 2 + wide 286 + xpos 4 + ypos -4 + + labelText "forwardbase kodaiiiiii" + use_proportional_insets 1 + textinsetx 2 + font Default_21_DropShadow + allcaps 1 + fgcolor_override "255 255 255 255" + + pin_to_sibling MapImage + pin_corner_to_sibling BOTTOM_RIGHT + pin_to_sibling_corner BOTTOM_RIGHT + } + + MapNameBackground + { + ControlName RuiPanel + wide 286 + tall 34 + + rui "ui/knowledgebase_panel.rpak" + + visible 1 + zpos 1 + + pin_to_sibling MapImage + pin_corner_to_sibling BOTTOM_RIGHT + pin_to_sibling_corner BOTTOM_RIGHT + } + + MapButton + { + ControlName RuiButton + InheritProperties RuiSmallButton + wide 286 + tall 165 + } + + MapNameLockedForeground + { + ControlName RuiPanel + wide 286 + tall 165 + + rui "ui/knowledgebase_panel.rpak" + + visible 0 + zpos 5 + + //bgcolor_override "255 255 255 255" + //fgcolor_override "255 255 255 255" + + pin_to_sibling MapImage + pin_corner_to_sibling TOP_LEFT + pin_to_sibling_corner TOP_LEFT + } + + MapLockedImage + { + ControlName ImagePanel + xpos 71 + ypos 0 // 18 to center vertically, looks weird tho + wide 108 + tall 108 + visible 0 + scaleImage 1 + image "ui/menu/common/locked_icon" + } +}
\ No newline at end of file |