mainmenu.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. // Image around main menu
  3. "backgroundAround" : "diboxbck",
  4. // Images used in game selection screen
  5. "scenario-selection" :
  6. {
  7. "background" : ["gamselb0", "gamselb1"],
  8. // Additional images
  9. //"images":
  10. //[
  11. // { "x": 10, "y": 0, "name": ["img1", "img2" ]},
  12. // { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
  13. //]
  14. },
  15. "loading" :
  16. {
  17. "background" : ["loadbar"],
  18. "loadbar" : {
  19. "name": ["loadprog"],
  20. "x": 395, "y": 548, "size": 18, "amount": 20,
  21. },
  22. //"loadframe" : {
  23. // "name": ["loadframe0", "loadframe1", "loadframe2", "loadframe3"],
  24. // "x": 390, "y": 543
  25. //},
  26. // Additional images
  27. //"images":
  28. //[
  29. // { "x": 10, "y": 0, "name": ["img1", "img2" ]},
  30. // { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
  31. //]
  32. },
  33. // Multiplayer selection image
  34. "multiplayer" : ["mumap"],
  35. // Main menu window, consists of several sub-menus aka items
  36. "window":
  37. {
  38. //"scalable" : true, // Background will be scaled to screen size
  39. "background" : ["gamselbk"],
  40. //"video" : {"x": 8, "y": 105, "name":"CREDITS.SMK" }, // Floating WoG logo. Disabled due to different position in various versions of H3.
  41. // Additional images
  42. //"images":
  43. //[
  44. // { "x": 10, "y": 0, "name": ["img1", "img2" ]},
  45. // { "x": 10, "y": 140, "name": ["pic1", "pic2" ]}
  46. //]
  47. "items" :
  48. [
  49. {
  50. "name" : "main",
  51. "buttons":
  52. [
  53. {"x": 644, "y": 70, "center" : true, "name":"MMENUNG", "shortcut" : "mainMenuNewGame", "help": 3, "command": "to new"},
  54. {"x": 645, "y": 192, "center" : true, "name":"MMENULG", "shortcut" : "mainMenuLoadGame", "help": 4, "command": "to load"},
  55. {"x": 643, "y": 296, "center" : true, "name":"MMENUHS", "shortcut" : "mainMenuHighScores", "help": 5, "command": "highscores"},
  56. {"x": 643, "y": 414, "center" : true, "name":"MMENUCR", "shortcut" : "mainMenuCredits", "help": 6, "command": "to credits"},
  57. {"x": 643, "y": 520, "center" : true, "name":"MMENUQT", "shortcut" : "mainMenuQuit", "help": 7, "command": "exit"}
  58. ]
  59. },
  60. {
  61. "name" : "new",
  62. "buttons":
  63. [
  64. {"x": 649, "y": 65, "center" : true, "name":"GTSINGL", "shortcut" : "mainMenuSingleplayer", "help": 10, "command": "start single"},
  65. {"x": 649, "y": 180, "center" : true, "name":"GTMULTI", "shortcut" : "mainMenuMultiplayer", "help": 12, "command": "start multi"},
  66. {"x": 646, "y": 298, "center" : true, "name":"GTCAMPN", "shortcut" : "mainMenuCampaign", "help": 11, "command": "to campaign"},
  67. {"x": 647, "y": 412, "center" : true, "name":"GTTUTOR", "shortcut" : "mainMenuTutorial", "help": 13, "command": "start tutorial"},
  68. {"x": 645, "y": 517, "center" : true, "name":"GTBACK", "shortcut" : "mainMenuBack", "help": 14, "command": "to main"}
  69. ],
  70. "images": [ {"x": 114, "y": 312, "name":"NEWGAME"} ]
  71. },
  72. {
  73. "name" : "load",
  74. "buttons":
  75. [
  76. {"x": 649, "y": 65, "center" : true, "name":"GTSINGL", "shortcut" : "mainMenuSingleplayer", "help": 10, "command": "load single"},
  77. {"x": 649, "y": 180, "center" : true, "name":"GTMULTI", "shortcut" : "mainMenuMultiplayer", "help": 12, "command": "load multi"},
  78. {"x": 646, "y": 298, "center" : true, "name":"GTCAMPN", "shortcut" : "mainMenuCampaign", "help": 11, "command": "load campaign"},
  79. {"x": 647, "y": 412, "center" : true, "name":"GTTUTOR", "shortcut" : "mainMenuTutorial", "help": 13, "command": "load tutorial"},
  80. {"x": 645, "y": 517, "center" : true, "name":"GTBACK", "shortcut" : "mainMenuBack", "help": 14, "command": "to main"}
  81. ],
  82. "images": [ {"x": 114, "y": 312, "name":"LOADGAME"} ]
  83. },
  84. {
  85. "name" : "campaign",
  86. "buttons":
  87. [
  88. {"x": 634, "y": 67, "center" : true, "name":"CSSSOD", "shortcut" : "mainMenuCampaignSod", "help": "core.genrltxt.734", "command": "campaigns sod"},
  89. {"x": 637, "y": 181, "center" : true, "name":"CSSROE", "shortcut" : "mainMenuCampaignRoe", "help": "core.genrltxt.725", "command": "campaigns roe"},
  90. {"x": 638, "y": 301, "center" : true, "name":"CSSARM", "shortcut" : "mainMenuCampaignAb", "help": "core.genrltxt.724", "command": "campaigns ab"},
  91. {"x": 638, "y": 413, "center" : true, "name":"CSSCUS", "shortcut" : "mainMenuCampaign", "help": "core.genrltxt.726", "command": "start campaign"},
  92. {"x": 639, "y": 518, "center" : true, "name":"CSSEXIT", "shortcut" : "mainMenuBack", "help": "core.genrltxt.727", "command": "to new"}
  93. ],
  94. }
  95. ]
  96. }
  97. }