Files
vcmi/config/mainmenu.json
T
2025-07-05 12:34:01 +02:00

108 lines
4.3 KiB
JSON

{
//images used in game selection screen
"scenario-selection" :
{
"background" : ["gamselb0", "gamselb1"],
// Additional images
//"images":
//[
// { "x": 10, "y": 0, "name": ["img1", "img2" ]},
// { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
//]
},
"loading" :
{
"background" : ["loadbar"],
"loadbar" : {
"name": ["loadprog"],
"x": 395, "y": 548, "size": 18, "amount": 20,
},
//"loadframe" : {
// "name": ["loadframe0", "loadframe1", "loadframe2", "loadframe3"],
// "x": 390, "y": 543
//},
// Additional images
//"images":
//[
// { "x": 10, "y": 0, "name": ["img1", "img2" ]},
// { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
//]
},
//Multiplayer selection image
"multiplayer" : ["mumap"],
//Main menu window, consists of several sub-menus aka items
"window":
{
//"scalable" : true, //background will be scaled to screen size
"background" : ["gamselbk"],
//"video" : {"x": 8, "y": 105, "name":"CREDITS.SMK" },//Floating WoG logo. Disabled due to different position in various versions of H3.
// Additional images
//"images":
//[
// { "x": 10, "y": 0, "name": ["img1", "img2" ]},
// { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
//]
"items" :
[
{
"name" : "main",
"buttons":
[
{"x": 644, "y": 70, "center" : true, "name":"MMENUNG", "shortcut" : "mainMenuNewGame", "help": 3, "command": "to new"},
{"x": 645, "y": 192, "center" : true, "name":"MMENULG", "shortcut" : "mainMenuLoadGame", "help": 4, "command": "to load"},
{"x": 643, "y": 296, "center" : true, "name":"MMENUHS", "shortcut" : "mainMenuHighScores", "help": 5, "command": "highscores"},
{"x": 643, "y": 414, "center" : true, "name":"MMENUCR", "shortcut" : "mainMenuCredits", "help": 6, "command": "to credits"},
{"x": 643, "y": 520, "center" : true, "name":"MMENUQT", "shortcut" : "mainMenuQuit", "help": 7, "command": "exit"}
]
},
{
"name" : "new",
"buttons":
[
{"x": 649, "y": 65, "center" : true, "name":"GTSINGL", "shortcut" : "mainMenuSingleplayer", "help": 10, "command": "start single"},
{"x": 649, "y": 180, "center" : true, "name":"GTMULTI", "shortcut" : "mainMenuMultiplayer", "help": 12, "command": "start multi"},
{"x": 646, "y": 298, "center" : true, "name":"GTCAMPN", "shortcut" : "mainMenuCampaign", "help": 11, "command": "to campaign"},
{"x": 647, "y": 412, "center" : true, "name":"GTTUTOR", "shortcut" : "mainMenuTutorial", "help": 13, "command": "start tutorial"},
{"x": 645, "y": 517, "center" : true, "name":"GTBACK", "shortcut" : "mainMenuBack", "help": 14, "command": "to main"}
],
"images": [ {"x": 114, "y": 312, "name":"NEWGAME"} ]
},
{
"name" : "load",
"buttons":
[
{"x": 649, "y": 65, "center" : true, "name":"GTSINGL", "shortcut" : "mainMenuSingleplayer", "help": 10, "command": "load single"},
{"x": 649, "y": 180, "center" : true, "name":"GTMULTI", "shortcut" : "mainMenuMultiplayer", "help": 12, "command": "load multi"},
{"x": 646, "y": 298, "center" : true, "name":"GTCAMPN", "shortcut" : "mainMenuCampaign", "help": 11, "command": "load campaign"},
{"x": 647, "y": 412, "center" : true, "name":"GTTUTOR", "shortcut" : "mainMenuTutorial", "help": 13, "command": "load tutorial"},
{"x": 645, "y": 517, "center" : true, "name":"GTBACK", "shortcut" : "mainMenuBack", "help": 14, "command": "to main"}
],
"images": [ {"x": 114, "y": 312, "name":"LOADGAME"} ]
},
{
"name" : "campaign",
"buttons":
[
{"x": 634, "y": 67, "center" : true, "name":"CSSSOD", "shortcut" : "mainMenuCampaignSod", "help": "core.genrltxt.734", "command": "campaigns sod"},
{"x": 637, "y": 181, "center" : true, "name":"CSSROE", "shortcut" : "mainMenuCampaignRoe", "help": "core.genrltxt.725", "command": "campaigns roe"},
{"x": 638, "y": 301, "center" : true, "name":"CSSARM", "shortcut" : "mainMenuCampaignAb", "help": "core.genrltxt.724", "command": "campaigns ab"},
{"x": 638, "y": 413, "center" : true, "name":"CSSCUS", "shortcut" : "mainMenuCampaign", "help": "core.genrltxt.726", "command": "start campaign"},
{"x": 639, "y": 518, "center" : true, "name":"CSSEXIT", "shortcut" : "mainMenuBack", "help": "core.genrltxt.727", "command": "to new"}
],
}
]
}
}