mainmenu.json 4.1 KB

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