adventureMapPortrait.json 25 KB

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