2023-09-05 23:28:34 +02:00
|
|
|
{
|
|
|
|
"id": "gamemodearcade_root",
|
|
|
|
"controller": "list",
|
|
|
|
"actions": {
|
|
|
|
"activated": {
|
|
|
|
"call": {
|
|
|
|
"$if": {
|
|
|
|
"$condition": {
|
|
|
|
"$or": [
|
|
|
|
{
|
|
|
|
"$include": "menusystem/data/isheritage.json"
|
|
|
|
},
|
2023-11-27 01:59:05 +01:00
|
|
|
"$eq ($.data.Data.Type,ContractAttack)",
|
|
|
|
"$eq ($.data.Data.Type,Elusive_Target_Hits)"
|
2023-09-05 23:28:34 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"$then": {},
|
|
|
|
"$else": {
|
|
|
|
"onmenuframe": true,
|
|
|
|
"method": "setBackground",
|
|
|
|
"args": "$res images/backgrounds/gamemode_arcade.jpg"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"controller": "category",
|
|
|
|
"id": "category_controller",
|
|
|
|
"view": "menu3.containers.ScrollingTabsContainer",
|
|
|
|
"direction": "horizontal",
|
|
|
|
"data": {
|
|
|
|
"direction": "horizontal",
|
|
|
|
"topnavigation": {
|
|
|
|
"title": "$loc UI_MENU_PAGE_HUB_GAMEMODES",
|
|
|
|
"icon": "mission"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"view": "menu3.basic.CategoryElement",
|
|
|
|
"controller": "categoryitem",
|
|
|
|
"data": {
|
2023-11-27 01:59:05 +01:00
|
|
|
"$switch $.data.Data.Type": [
|
|
|
|
{
|
|
|
|
"case": "ContractAttack",
|
|
|
|
"return": {
|
|
|
|
"title": "$loc UI_PEACOCK_ESCALATIONS",
|
|
|
|
"icon": "54"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"case": "Elusive_Target_Hits",
|
|
|
|
"return": {
|
|
|
|
"title": "$loc UI_MENU_PAGE_HITS_ELEMENT_CATEGORY_Elusive_Target_Hits",
|
|
|
|
"icon": "elusive"
|
|
|
|
}
|
2023-09-05 23:28:34 +02:00
|
|
|
},
|
2023-11-27 01:59:05 +01:00
|
|
|
{
|
|
|
|
"default": {
|
|
|
|
"title": "$loc UI_ARCADE_TITLE",
|
|
|
|
"icon": "arcademode"
|
|
|
|
}
|
2023-09-05 23:28:34 +02:00
|
|
|
}
|
2023-11-27 01:59:05 +01:00
|
|
|
]
|
2023-09-05 23:28:34 +02:00
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"controller": "container",
|
|
|
|
"id": "headline_container",
|
|
|
|
"view": "menu3.containers.ListContainer",
|
|
|
|
"direction": "horizontal",
|
|
|
|
"data": {
|
|
|
|
"direction": "horizontal"
|
|
|
|
},
|
|
|
|
"row": 4.22,
|
|
|
|
"col": 0,
|
|
|
|
"selectable": false,
|
|
|
|
"pressable": false,
|
|
|
|
"children": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"controller": "container",
|
|
|
|
"row": 1,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"$include": {
|
|
|
|
"$path": {
|
2023-11-27 01:59:05 +01:00
|
|
|
"$switch $.data.Data.Type": [
|
|
|
|
{
|
|
|
|
"case": "ContractAttack",
|
|
|
|
"return": "menusystem/elements/contract/hitscategory_contractattack.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"case": "Elusive_Target_Hits",
|
|
|
|
"return": "menusystem/elements/contract/hitscategory_elusive.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"default": {
|
|
|
|
"title": "$loc UI_ARCADE_TITLE",
|
|
|
|
"icon": "menusystem/elements/contract/hitscategory.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-09-05 23:28:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|