adventureMap.json 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913
  1. {
  2. "options" : {
  3. // player-colored images used for background
  4. "imagesPlayerColored" : [ "AdvMap.pcx" ]
  5. },
  6. "items":
  7. [
  8. // Background sections - left side
  9. {
  10. "type": "adventureMapImage",
  11. "name" : "backgroundLeftTop",
  12. "image" : "AdvMap.pcx",
  13. "area" : { "left": 0, "top" : 0, "width" : 7, "height" : 52 }
  14. },
  15. {
  16. "type": "adventureMapImage",
  17. "name" : "backgroundLeftCenter",
  18. "image" : "AdvMap.pcx",
  19. "area" : { "left": 0, "top" : 52, "width" : 7, "bottom" : 91 }
  20. },
  21. {
  22. "type": "adventureMapImage",
  23. "name" : "backgroundLeftBottom",
  24. "image" : "AdvMap.pcx",
  25. "area" : { "left": 0, "bottom" : 0, "width" : 7, "height" : 91 }
  26. },
  27. // Background sections - top side
  28. {
  29. "type": "adventureMapImage",
  30. "name" : "backgroundTopLeft",
  31. "image" : "AdvMap.pcx",
  32. "area" : { "left": 7, "top" : 0, "width" : 193, "height" : 7 }
  33. },
  34. {
  35. "type": "adventureMapImage",
  36. "name" : "backgroundTopCenter",
  37. "image" : "AdvMap.pcx",
  38. "area" : { "left": 200, "top" : 0, "right" : 244, "height" : 7 }
  39. },
  40. {
  41. "type": "adventureMapImage",
  42. "name" : "backgroundTopRight",
  43. "image" : "AdvMap.pcx",
  44. "area" : { "width": 45, "top" : 0, "right" : 199, "height" : 7 }
  45. },
  46. // Background sections - bottom side
  47. {
  48. "type": "adventureMapImage",
  49. "name" : "backgroundBottomLeft",
  50. "image" : "AdvMap.pcx",
  51. "area" : { "left": 7, "bottom" : 0, "width" : 44, "height" : 47 }
  52. },
  53. {
  54. "type": "adventureMapImage",
  55. "name" : "backgroundBottomCenter",
  56. "image" : "AdvMap.pcx",
  57. "area" : { "left": 51, "bottom" : 0, "right" : 244, "height" : 47 }
  58. },
  59. {
  60. "type": "adventureMapImage",
  61. "name" : "backgroundBottomRight",
  62. "image" : "AdvMap.pcx",
  63. "area" : { "width": 45, "bottom" : 0, "right" : 199, "height" : 47 }
  64. },
  65. // Background sections - side panel
  66. {
  67. "type": "adventureMapImage",
  68. "name" : "backgroundRightMinimap",
  69. "image" : "AdvMap.pcx",
  70. "area" : { "right": 0, "top" : 0, "width" : 199, "height" : 196 }
  71. },
  72. {
  73. "type": "adventureMapImage",
  74. "name": "backgroundHeroListBorderLeft",
  75. "image" : "AdvMap.pcx",
  76. "area": { "top": 196, "bottom" : 210, "right" : 191, "width" : 8 }
  77. },
  78. {
  79. "type": "adventureMapImage",
  80. "name": "backgroundTownListBorderRight",
  81. "image" : "AdvMap.pcx",
  82. "area": { "top": 196, "bottom" : 210, "right" : 0, "width" : 5 }
  83. },
  84. // Game area
  85. {
  86. "type": "adventureMapGameArea",
  87. "name": "mapView",
  88. "area": { "top": 7, "bottom" : 47, "left" : 7, "right" : 199 }
  89. },
  90. // Minimap
  91. {
  92. "type": "adventureMinimap",
  93. "name": "minimap",
  94. "area": { "top": 26, "right" : 26, "width" : 144, "height" : 144 }
  95. },
  96. // Adventure map buttons
  97. {
  98. "type": "adventureMapContainer",
  99. "name" : "buttonsContainer",
  100. "hideWhen" : "worldViewMode",
  101. "area": { "top": 196, "right" : 57, "width" : 64, "height" : 192 },
  102. "items" : [
  103. {
  104. "type" : "adventureMapButton",
  105. "name" : "buttonKingdomOverview",
  106. "image" : "IAM002.DEF",
  107. "help" : "core.help.293",
  108. "hotkey": "adventureKingdomOverview",
  109. "playerColored" : true,
  110. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  111. },
  112. {
  113. "type": "adventureMapContainer",
  114. "hideWhen" : "mapLayerSurface",
  115. "area": { "top" : 0, "left": 32, "width" : 32, "height" : 32 },
  116. "items" : [
  117. {
  118. "type": "adventureMapButton",
  119. "name": "buttonUnderground",
  120. "image" : "IAM010.DEF",
  121. "help" : "core.help.294",
  122. "hotkey": "adventureToggleMapLevel",
  123. "playerColored" : true,
  124. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  125. }
  126. ]
  127. },
  128. {
  129. "type": "adventureMapContainer",
  130. "hideWhen" : "mapLayerUnderground",
  131. "area": { "top" : 0, "left": 32, "width" : 32, "height" : 32 },
  132. "items" : [
  133. {
  134. "type": "adventureMapButton",
  135. "name": "buttonSurface",
  136. "image" : "IAM003.DEF",
  137. "help" : "core.help.294",
  138. "hotkey": "adventureToggleMapLevel",
  139. "playerColored" : true,
  140. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  141. }
  142. ]
  143. },
  144. {
  145. "type": "adventureMapContainer",
  146. "hideWhen" : "mapLayerOther",
  147. "area": { "top" : 0, "left": 32, "width" : 32, "height" : 32 },
  148. "items" : [
  149. {
  150. "type": "adventureMapButton",
  151. "name": "buttonLayerOther",
  152. "image" : "adventureLayersButton",
  153. "help" : "core.help.294",
  154. "hotkey": "adventureToggleMapLevel",
  155. "playerColored" : true,
  156. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  157. }
  158. ]
  159. },
  160. {
  161. "type": "adventureMapButton",
  162. "name": "buttonQuestLog",
  163. "image" : "IAM004.DEF",
  164. "help" : "core.help.295",
  165. "hotkey": "adventureQuestLog",
  166. "playerColored" : true,
  167. "area": { "top" : 32, "left": 0, "width" : 32, "height" : 32 }
  168. },
  169. {
  170. "type": "adventureMapContainer",
  171. "hideWhen" : "heroAwake",
  172. "area": { "top" : 32, "left": 32, "width" : 32, "height" : 32 },
  173. "items" : [
  174. {
  175. "type": "adventureMapButton",
  176. "name": "buttonSleep",
  177. "image" : "IAM005.DEF",
  178. "help" : "core.help.296",
  179. "hotkey": "adventureSetHeroAsleep",
  180. "playerColored" : true,
  181. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  182. }
  183. ]
  184. },
  185. {
  186. "type": "adventureMapContainer",
  187. "hideWhen" : "heroSleeping",
  188. "area": { "top" : 32, "left": 32, "width" : 32, "height" : 32 },
  189. "items" : [
  190. {
  191. "type": "adventureMapButton",
  192. "name": "buttonWake",
  193. "image" : "IAM011.DEF",
  194. "help" : "core.help.296",
  195. "hotkey": "adventureSetHeroAwake",
  196. "playerColored" : true,
  197. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  198. }
  199. ]
  200. },
  201. {
  202. "type": "adventureMapButton",
  203. "name": "buttonMove",
  204. "image" : "IAM006.DEF",
  205. "help" : "core.help.297",
  206. "hotkey": "adventureMoveHero",
  207. "playerColored" : true,
  208. "area": { "top" : 64, "left": 0, "width" : 32, "height" : 32 }
  209. },
  210. {
  211. "type": "adventureMapButton",
  212. "name": "buttonCast",
  213. "image" : "IAM007.DEF",
  214. "help" : "core.help.298",
  215. "hotkey": "adventureCastSpell",
  216. "playerColored" : true,
  217. "area": { "top" : 64, "left": 32, "width" : 32, "height" : 32 }
  218. },
  219. {
  220. "type": "adventureMapButton",
  221. "name": "buttonAdventureOptions",
  222. "image" : "IAM008.DEF",
  223. "help" : "core.help.299",
  224. "hotkey": "adventureGameOptions",
  225. "playerColored" : true,
  226. "area": { "top" : 96, "left": 0, "width" : 32, "height" : 32 }
  227. },
  228. {
  229. "type": "adventureMapButton",
  230. "name": "buttonSystemOptions",
  231. "image" : "IAM009.DEF",
  232. "help" : "core.help.300",
  233. "hotkey": "globalOptions",
  234. "playerColored" : true,
  235. "area": { "top" : 96, "left": 32, "width" : 32, "height" : 32 }
  236. },
  237. {
  238. "type": "adventureMapButton",
  239. "name": "buttonNextHero",
  240. "image" : "IAM000.DEF",
  241. "help" : "core.help.301",
  242. "hotkey": "adventureNextHero",
  243. "playerColored" : true,
  244. "area": { "top" : 128, "left": 0, "width" : 64, "height" : 32 }
  245. },
  246. {
  247. "type": "adventureMapButton",
  248. "name": "buttonEndTurn",
  249. "image" : "IAM001.DEF",
  250. "hotkey": "adventureEndTurn",
  251. "help" : "core.help.302",
  252. "playerColored" : true,
  253. "area": { "top" : 160, "left": 0, "width" : 64, "height" : 32 }
  254. }
  255. ]
  256. },
  257. // Town / Hero lists for small (600-664) vertical resolution
  258. {
  259. "type": "adventureMapContainer",
  260. "name" : "listContainerSmall",
  261. "hideWhen" : "worldViewMode",
  262. "area": { "top": 196, "right" : 0, "width" : 193, "height" : 196 },
  263. "exists" : { "heightMax" : 664 },
  264. "items" : [
  265. {
  266. "type": "adventureMapImage",
  267. "name": "backgroundHeroListBorderRight",
  268. "image" : "AdvMap.pcx",
  269. "area": { "top": 0, "bottom" : 0, "right" : 121, "width" : 6 },
  270. "sourceArea": { "top": 196, "bottom" : 210, "right" : 121, "width" : 6 }
  271. },
  272. {
  273. "type": "adventureMapImage",
  274. "name": "backgroundTownListBorderLeft",
  275. "image" : "AdvMap.pcx",
  276. "area": { "top": 0, "bottom" : 0, "right" : 53, "width" : 4 },
  277. "sourceArea": { "top": 196, "bottom" : 210, "right" : 53, "width" : 4 }
  278. },
  279. {
  280. "type": "adventureMapImage",
  281. "name" : "backgroundBelowHeroTownList",
  282. "image" : "AdvMap.pcx",
  283. "area" : { "right": 0, "left" : 0, "bottom" : 0, "height" : 4 },
  284. "sourceArea": { "bottom" : 208, "height" : 4, "right" : 0, "width" : 193 }
  285. },
  286. // Hero List
  287. {
  288. "type": "adventureMapHeroList",
  289. "name" : "heroList",
  290. "area": { "top": 0, "right" : 125, "width" : 68, "height" : 193 },
  291. "scrollUp" : {
  292. "type": "adventureMapButton",
  293. "name": "heroListScrollUp",
  294. "image" : "IAM012.DEF",
  295. "help" : "core.help.303",
  296. "area": { "top" : 0, "left": 2, "width" : 64, "height" : 16 }
  297. },
  298. "scrollDown" : {
  299. "type": "adventureMapButton",
  300. "name": "heroListScrollDown",
  301. "image" : "IAM013.DEF",
  302. "help" : "core.help.304",
  303. "area": { "bottom" : 0, "left": 2, "width" : 64, "height" : 16 }
  304. },
  305. "item" : { "top" : 16, "left": 3, "width" : 62, "height" : 32 },
  306. "itemsOffset" : { "x" : 0, "y" : 32 },
  307. "itemsCount" : 5
  308. },
  309. // Town List
  310. {
  311. "type": "adventureMapTownList",
  312. "name" : "townList",
  313. "area": { "top": 0, "right" : 3, "width" : 51, "height" : 193 },
  314. "scrollUp" : {
  315. "type": "adventureMapButton",
  316. "name": "townListScrollUp",
  317. "image" : "IAM014.DEF",
  318. "help" : "core.help.306",
  319. "area": { "top" : 0, "left": 1, "width" : 48, "height" : 16 }
  320. },
  321. "scrollDown" : {
  322. "type": "adventureMapButton",
  323. "name": "townListScrollDown",
  324. "image" : "IAM015.DEF",
  325. "help" : "core.help.307",
  326. "area": { "bottom" : 0, "left": 1, "width" : 48, "height" : 16 }
  327. },
  328. "item" : { "top" : 16, "left": 2, "width" : 48, "height" : 32 },
  329. "itemsOffset" : { "x" : 0, "y" : 32 },
  330. "itemsCount" : 5
  331. }
  332. ]
  333. },
  334. {
  335. "type": "adventureMapContainer",
  336. "name" : "emptyAreaFillSmall",
  337. "hideWhen" : "worldViewMode",
  338. "area": { "top": 392, "right" : 3, "width" : 190, "bottom" : 210 },
  339. "exists" : { "heightMax" : 664 },
  340. "items" : [
  341. {
  342. "type": "adventureMapImage",
  343. "name": "emptyAreaFillSmallImage",
  344. "image" : "DiBoxBck.pcx",
  345. "area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 },
  346. "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
  347. }
  348. ]
  349. },
  350. // Town / Hero lists for large (664+) vertical resolution
  351. {
  352. "type": "adventureMapContainer",
  353. "name" : "listContainerLarge",
  354. "hideWhen" : "worldViewMode",
  355. "area": { "top": 196, "right" : 0, "width" : 193, "height" : 260 },
  356. "exists" : { "heightMin" : 664 },
  357. "items" : [
  358. {
  359. "type": "adventureMapImage",
  360. "name": "backgroundHeroListBorderRight",
  361. "image" : "AdvMap.pcx",
  362. "area": { "top": 0, "bottom" : 0, "right" : 121, "width" : 6 },
  363. "sourceArea": { "top": 196, "bottom" : 210, "right" : 121, "width" : 6 }
  364. },
  365. {
  366. "type": "adventureMapImage",
  367. "name": "backgroundTownListBorderLeft",
  368. "image" : "AdvMap.pcx",
  369. "area": { "top": 0, "bottom" : 0, "right" : 53, "width" : 4 },
  370. "sourceArea": { "top": 196, "bottom" : 210, "right" : 53, "width" : 4 }
  371. },
  372. {
  373. "type": "adventureMapImage",
  374. "name" : "backgroundBelowHeroTownList",
  375. "image" : "AdvMap.pcx",
  376. "area" : { "right": 0, "left" : 0, "bottom" : 0, "height" : 3 },
  377. "sourceArea": { "bottom" : 209, "height" : 3, "right" : 0, "width" : 193 }
  378. },
  379. // Hero List
  380. {
  381. "type": "adventureMapHeroList",
  382. "name" : "heroList",
  383. "area": { "top": 0, "right" : 125, "width" : 68, "height" : 257 },
  384. "item" : { "top" : 1, "left": 3, "width" : 62, "height" : 32 },
  385. "itemsOffset" : { "x" : 0, "y" : 32 },
  386. "itemsCount" : 8
  387. },
  388. // Town List
  389. {
  390. "type": "adventureMapTownList",
  391. "name" : "townList",
  392. "area": { "top": 0, "right" : 3, "width" : 51, "height" : 257 },
  393. "scrollUp" : {
  394. "type": "adventureMapButton",
  395. "name": "townListScrollUp",
  396. "image" : "IAM014.DEF",
  397. "help" : "core.help.306",
  398. "area": { "top" : 0, "left": 1, "width" : 48, "height" : 16 }
  399. },
  400. "scrollDown" : {
  401. "type": "adventureMapButton",
  402. "name": "townListScrollDown",
  403. "image" : "IAM015.DEF",
  404. "help" : "core.help.307",
  405. "area": { "bottom" : 0, "left": 1, "width" : 48, "height" : 16 }
  406. },
  407. "item" : { "top" : 16, "left": 1, "width" : 48, "height" : 32 },
  408. "itemsOffset" : { "x" : 0, "y" : 32 },
  409. "itemsCount" : 7
  410. },
  411. // Fill empty area below buttons
  412. {
  413. "type": "adventureMapImage",
  414. "name" : "backgroundBelowButtons",
  415. "image" : "DiBoxBck.pcx",
  416. "area": { "top": 192, "bottom" : 3, "right" : 57, "width" : 64 },
  417. "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
  418. }
  419. ]
  420. },
  421. {
  422. "type": "adventureMapContainer",
  423. "name" : "emptyAreaFillLarge",
  424. "hideWhen" : "worldViewMode",
  425. "area": { "top": 456, "right" : 3, "width" : 190, "bottom" : 210 },
  426. "exists" : { "heightMin" : 664 },
  427. "items" : [
  428. {
  429. "type": "adventureMapImage",
  430. "name": "emptyAreaFillLargeImage",
  431. "image" : "DiBoxBck.pcx",
  432. "area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 },
  433. "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
  434. }
  435. ]
  436. },
  437. {
  438. "type": "adventureMapContainer",
  439. "name" : "adventureInfobarContainer",
  440. "hideWhen" : "worldViewMode",
  441. "area" : { "bottom": 0, "right" : 0, "width" : 199, "height" : 210 },
  442. "items" : [
  443. // Infobar
  444. {
  445. "type": "adventureMapImage",
  446. "name" : "backgroundRightInfobar",
  447. "image" : "AdvMap.pcx",
  448. "area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 },
  449. "sourceArea" : { "bottom": 0, "right" : 0, "width" : 199, "height" : 210 }
  450. },
  451. {
  452. "type": "adventureInfobar",
  453. "name": "infoBar",
  454. "area": { "bottom": 44, "right" : 19, "width" : 175, "height" : 168 }
  455. }
  456. ]
  457. },
  458. // Status bar
  459. {
  460. "type": "adventureStatusBar",
  461. "name": "statusBar",
  462. "image" : "DiBoxBck.pcx",
  463. "area": { "left": 8, "bottom" : 26, "right" : 199, "height" : 18 }
  464. },
  465. // Resource & Data bar
  466. {
  467. "type": "adventureResourceAdditional",
  468. "name" : "resourceAdditional",
  469. "area" : { "left": 3, "bottom" : 4, "right" : 797, "height" : 21 }
  470. },
  471. {
  472. "type": "adventureResourceDateBar",
  473. "name": "resourceDataBar",
  474. "image" : "AResBar.pcx",
  475. "area": { "bottom" : 3, "right" : 3, "height" : 22, "width" : 794 },
  476. "wood" : { "x" : 37, "y" : 3 },
  477. "mercury" : { "x" : 121, "y" : 3 },
  478. "ore" : { "x" : 205, "y" : 3 },
  479. "sulfur" : { "x" : 289, "y" : 3 },
  480. "crystal" : { "x" : 373, "y" : 3 },
  481. "gems" : { "x" : 457, "y" : 3 },
  482. "gold" : { "x" : 541, "y" : 3 },
  483. "date" : { "x" : 619, "y" : 3 }
  484. },
  485. // World view mode widgets
  486. {
  487. "type": "adventureMapContainer",
  488. "name" : "worldViewContainer",
  489. "hideWhen" : "mapViewMode",
  490. "area": { "top": 195, "right" : 3, "width" : 190, "bottom" : 26 },
  491. "items" : [
  492. {
  493. "type": "adventureMapImage",
  494. "name": "worldViewBackground",
  495. "image" : "VWorld.pcx",
  496. "area": { "left" : 0, "right" : 0, "top" : 0, "height" : 381 },
  497. "sourceArea": { "left" : 0, "right" : 0, "top" : 0, "bottom" : 0 }
  498. },
  499. {
  500. "type": "adventureMapButton",
  501. "name": "worldViewZoom1",
  502. "image" : "VWMAG1.DEF",
  503. "hotkey": "adventureViewWorld1",
  504. "area": { "top" : 23, "left": 1, "width" : 60, "height" : 32 }
  505. },
  506. {
  507. "type": "adventureMapButton",
  508. "name": "worldViewZoom2",
  509. "image" : "VWMAG2.DEF",
  510. "hotkey": "adventureViewWorld2",
  511. "area": { "top" : 23, "left": 64, "width" : 60, "height" : 32 }
  512. },
  513. {
  514. "type": "adventureMapButton",
  515. "name": "worldViewZoom4",
  516. "image" : "VWMAG4.DEF",
  517. "hotkey": "adventureViewWorld4",
  518. "area": { "top" : 23, "left": 128, "width" : 60, "height" : 32 }
  519. },
  520. {
  521. "type": "adventureMapContainer",
  522. "hideWhen" : "mapLayerSurface",
  523. "area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 },
  524. "items" : [
  525. {
  526. "type": "adventureMapButton",
  527. "name": "worldViewUnderground",
  528. "image" : "IAM010.DEF",
  529. "hotkey": "adventureToggleMapLevel",
  530. "playerColored" : true,
  531. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  532. }
  533. ]
  534. },
  535. {
  536. "type": "adventureMapButton",
  537. "name": "worldViewPuzzle",
  538. "borderColor" : "gold",
  539. "image" : "VWPUZ.DEF",
  540. "hotkey": "adventureViewPuzzle",
  541. "area": { "top" : 343, "left": 5, "width" : 66, "height" : 32 }
  542. },
  543. {
  544. "type": "adventureMapContainer",
  545. "hideWhen" : "mapLayerUnderground",
  546. "area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 },
  547. "items" : [
  548. {
  549. "type": "adventureMapButton",
  550. "name": "worldViewSurface",
  551. "image" : "IAM003.DEF",
  552. "playerColored" : true,
  553. "hotkey": "adventureToggleMapLevel",
  554. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  555. }
  556. ]
  557. },
  558. {
  559. "type": "adventureMapContainer",
  560. "hideWhen" : "mapLayerOther",
  561. "area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 },
  562. "items" : [
  563. {
  564. "type": "adventureMapButton",
  565. "name": "worldViewOther",
  566. "image" : "adventureLayersButton",
  567. "playerColored" : true,
  568. "hotkey": "adventureToggleMapLevel",
  569. "area": { "top" : 0, "left": 0, "width" : 32, "height" : 32 }
  570. }
  571. ]
  572. },
  573. {
  574. "type": "adventureMapButton",
  575. "name": "worldViewExit",
  576. "borderColor" : "gold",
  577. "image" : "IOKAY32.DEF",
  578. "hotkey": "adventureExitWorldView",
  579. "area": { "top" : 343, "left": 119, "width" : 66, "height" : 32 }
  580. },
  581. // World view - objects icons
  582. {
  583. "type": "adventureMapIcon",
  584. "name": "worldViewIconTown",
  585. "image" : "VwSymbol.def",
  586. "index" : 0,
  587. "perPlayer" : 19,
  588. "area": { "top" : 59, "left": 5, "width" : 32, "height" : 32 }
  589. },
  590. {
  591. "type": "adventureMapIcon",
  592. "name": "worldViewIconHero",
  593. "image" : "VwSymbol.def",
  594. "index" : 1,
  595. "perPlayer" : 19,
  596. "area": { "top" : 79, "left": 5, "width" : 32, "height" : 32 }
  597. },
  598. {
  599. "type": "adventureMapIcon",
  600. "name": "worldViewIconArtifact",
  601. "image" : "VwSymbol.def",
  602. "index" : 2,
  603. "perPlayer" : 19,
  604. "area": { "top" : 99, "left": 5, "width" : 32, "height" : 32 }
  605. },
  606. {
  607. "type": "adventureMapIcon",
  608. "name": "worldViewIconTeleporter",
  609. "image" : "VwSymbol.def",
  610. "index" : 3,
  611. "perPlayer" : 19,
  612. "area": { "top" : 119, "left": 5, "width" : 32, "height" : 32 }
  613. },
  614. {
  615. "type": "adventureMapIcon",
  616. "name": "worldViewIconGate",
  617. "image" : "VwSymbol.def",
  618. "index" : 4,
  619. "perPlayer" : 19,
  620. "area": { "top" : 139, "left": 5, "width" : 32, "height" : 32 }
  621. },
  622. // World view - mines icons
  623. {
  624. "type": "adventureMapIcon",
  625. "name": "worldViewIconMineWood",
  626. "image" : "VwSymbol.def",
  627. "index" : 5,
  628. "perPlayer" : 19,
  629. "area": { "top" : 183, "left": 5, "width" : 32, "height" : 32 }
  630. },
  631. {
  632. "type": "adventureMapIcon",
  633. "name": "worldViewIconMineMercury",
  634. "image" : "VwSymbol.def",
  635. "index" : 6,
  636. "perPlayer" : 19,
  637. "area": { "top" : 203, "left": 5, "width" : 32, "height" : 32 }
  638. },
  639. {
  640. "type": "adventureMapIcon",
  641. "name": "worldViewIconMineOre",
  642. "image" : "VwSymbol.def",
  643. "index" : 7,
  644. "perPlayer" : 19,
  645. "area": { "top" : 223, "left": 5, "width" : 32, "height" : 32 }
  646. },
  647. {
  648. "type": "adventureMapIcon",
  649. "name": "worldViewIconMineSulfur",
  650. "image" : "VwSymbol.def",
  651. "index" : 8,
  652. "perPlayer" : 19,
  653. "area": { "top" : 243, "left": 5, "width" : 32, "height" : 32 }
  654. },
  655. {
  656. "type": "adventureMapIcon",
  657. "name": "worldViewIconMineCrystal",
  658. "image" : "VwSymbol.def",
  659. "index" : 9,
  660. "perPlayer" : 19,
  661. "area": { "top" : 263, "left": 5, "width" : 32, "height" : 32 }
  662. },
  663. {
  664. "type": "adventureMapIcon",
  665. "name": "worldViewIconMineGems",
  666. "image" : "VwSymbol.def",
  667. "index" : 10,
  668. "perPlayer" : 19,
  669. "area": { "top" : 283, "left": 5, "width" : 32, "height" : 32 }
  670. },
  671. {
  672. "type": "adventureMapIcon",
  673. "name": "worldViewIconMineGold",
  674. "image" : "VwSymbol.def",
  675. "index" : 11,
  676. "perPlayer" : 19,
  677. "area": { "top" : 303, "left": 5, "width" : 32, "height" : 32 }
  678. },
  679. // World view - resources icons
  680. {
  681. "type": "adventureMapIcon",
  682. "name": "worldViewIconResourceWood",
  683. "image" : "VwSymbol.def",
  684. "index" : 12,
  685. "perPlayer" : 19,
  686. "area": { "top" : 183, "left": 154, "width" : 32, "height" : 32 }
  687. },
  688. {
  689. "type": "adventureMapIcon",
  690. "name": "worldViewIconResourceMercury",
  691. "image" : "VwSymbol.def",
  692. "index" : 13,
  693. "perPlayer" : 19,
  694. "area": { "top" : 203, "left": 154, "width" : 32, "height" : 32 }
  695. },
  696. {
  697. "type": "adventureMapIcon",
  698. "name": "worldViewIconResourceOre",
  699. "image" : "VwSymbol.def",
  700. "index" : 14,
  701. "perPlayer" : 19,
  702. "area": { "top" : 223, "left": 154, "width" : 32, "height" : 32 }
  703. },
  704. {
  705. "type": "adventureMapIcon",
  706. "name": "worldViewIconResourceSulfur",
  707. "image" : "VwSymbol.def",
  708. "index" : 15,
  709. "perPlayer" : 19,
  710. "area": { "top" : 243, "left": 154, "width" : 32, "height" : 32 }
  711. },
  712. {
  713. "type": "adventureMapIcon",
  714. "name": "worldViewIconResourceCrystal",
  715. "image" : "VwSymbol.def",
  716. "index" : 16,
  717. "perPlayer" : 19,
  718. "area": { "top" : 263, "left": 154, "width" : 32, "height" : 32 }
  719. },
  720. {
  721. "type": "adventureMapIcon",
  722. "name": "worldViewIconResourceGems",
  723. "image" : "VwSymbol.def",
  724. "index" : 17,
  725. "perPlayer" : 19,
  726. "area": { "top" : 283, "left": 154, "width" : 32, "height" : 32 }
  727. },
  728. {
  729. "type": "adventureMapIcon",
  730. "name": "worldViewIconResourceGold",
  731. "image" : "VwSymbol.def",
  732. "index" : 18,
  733. "perPlayer" : 19,
  734. "area": { "top" : 303, "left": 154, "width" : 32, "height" : 32 }
  735. },
  736. {
  737. "name": "worldViewLabelTitle",
  738. "type": "label",
  739. "font": "big",
  740. "alignment": "center",
  741. "color": "yellow",
  742. "position": {"x": 94, "y": 11},
  743. "text": "core.genrltxt.611"
  744. },
  745. {
  746. "name": "worldViewLabelMine",
  747. "type": "label",
  748. "font": "calisto",
  749. "alignment": "left",
  750. "color": "white",
  751. "position": {"x": 7, "y": 173},
  752. "text": "core.genrltxt.617"
  753. },
  754. {
  755. "name": "worldViewLabelResource",
  756. "type": "label",
  757. "font": "calisto",
  758. "alignment": "right",
  759. "color": "white",
  760. "position": {"x": 185, "y": 190},
  761. "text": "core.genrltxt.618"
  762. },
  763. {
  764. "name": "worldViewLabelsObjects",
  765. "type": "labelGroup",
  766. "font": "calisto",
  767. "alignment": "left",
  768. "color": "white",
  769. "items":
  770. [
  771. {
  772. "position": {"x": 43, "y": 66},
  773. "text": "core.genrltxt.612"
  774. },
  775. {
  776. "position": {"x": 43, "y": 86},
  777. "text": "core.genrltxt.613"
  778. },
  779. {
  780. "position": {"x": 43, "y": 106},
  781. "text": "core.genrltxt.614"
  782. },
  783. {
  784. "position": {"x": 43, "y": 126},
  785. "text": "core.genrltxt.615"
  786. },
  787. {
  788. "position": {"x": 43, "y": 146},
  789. "text": "core.genrltxt.616"
  790. }
  791. ]
  792. },
  793. {
  794. "name": "worldViewLabelsResources",
  795. "type": "labelGroup",
  796. "font": "calisto",
  797. "alignment": "center",
  798. "color": "white",
  799. "items":
  800. [
  801. {
  802. "position": {"x": 101, "y": 198},
  803. "text": "core.genrltxt.619"
  804. },
  805. {
  806. "position": {"x": 101, "y": 218},
  807. "text": "core.genrltxt.620"
  808. },
  809. {
  810. "position": {"x": 101, "y": 238},
  811. "text": "core.genrltxt.621"
  812. },
  813. {
  814. "position": {"x": 101, "y": 258},
  815. "text": "core.genrltxt.622"
  816. },
  817. {
  818. "position": {"x": 101, "y": 278},
  819. "text": "core.genrltxt.623"
  820. },
  821. {
  822. "position": {"x": 101, "y": 298},
  823. "text": "core.genrltxt.624"
  824. },
  825. {
  826. "position": {"x": 101, "y": 318},
  827. "text": "core.genrltxt.625"
  828. }
  829. ]
  830. },
  831. {
  832. "type": "adventureMapImage",
  833. "name" : "backgroundBelowWorldView",
  834. "image" : "DiBoxBck.pcx",
  835. "area": { "top": 381, "bottom" : 0, "left" : 0, "right" : 0 },
  836. "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
  837. }
  838. ]
  839. },
  840. // GEMS - set of images with different image for each player
  841. {
  842. "type": "adventureMapContainer",
  843. "name" : "overlayGemTopLeft",
  844. "overlay" : true,
  845. "area": { "left": 6, "top" : 6, "width" : 46, "height" : 46 },
  846. "items" : [
  847. {
  848. "type": "adventureMapIcon",
  849. "name" : "gemTopLeft",
  850. "image" : "agemUL.def",
  851. "index" : 0,
  852. "perPlayer" : 1,
  853. "area" : { "left": 0, "top" : 0, "right" : 0, "bottom" : 0 }
  854. }
  855. ]
  856. },
  857. {
  858. "type": "adventureMapContainer",
  859. "name" : "overlayGemTopRight",
  860. "overlay" : true,
  861. "area": { "right": 198, "top" : 6, "width" : 46, "height" : 46 },
  862. "items" : [
  863. {
  864. "type": "adventureMapIcon",
  865. "name" : "gemTopRight",
  866. "image" : "agemUR.def",
  867. "index" : 0,
  868. "perPlayer" : 1,
  869. "area" : { "left": 0, "top" : 0, "right" : 0, "bottom" : 0 }
  870. }
  871. ]
  872. },
  873. {
  874. "type": "adventureMapContainer",
  875. "name" : "overlayGemBottomLeft",
  876. "overlay" : true,
  877. "area": { "left": 6, "bottom" : 46, "width" : 46, "height" : 46 },
  878. "items" : [
  879. {
  880. "type": "adventureMapIcon",
  881. "name" : "gemBottomLeft",
  882. "image" : "agemLL.def",
  883. "index" : 0,
  884. "perPlayer" : 1,
  885. "area" : { "left": 0, "top" : 0, "right" : 0, "bottom" : 0 }
  886. }
  887. ]
  888. },
  889. {
  890. "type": "adventureMapContainer",
  891. "name" : "overlayGemBottomRight",
  892. "overlay" : true,
  893. "area": { "right": 198, "bottom" : 46, "width" : 46, "height" : 46 },
  894. "items" : [
  895. {
  896. "type": "adventureMapIcon",
  897. "name" : "gemBottomRight",
  898. "image" : "agemLR.def",
  899. "index" : 0,
  900. "perPlayer" : 1,
  901. "area" : { "left": 0, "top" : 0, "right" : 0, "bottom" : 0 }
  902. }
  903. ]
  904. }
  905. ]
  906. }