gameConfig.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. {
  2. "factions" :
  3. [
  4. "config/factions/castle.json",
  5. "config/factions/rampart.json",
  6. "config/factions/tower.json",
  7. "config/factions/necropolis.json",
  8. "config/factions/inferno.json",
  9. "config/factions/dungeon.json",
  10. "config/factions/stronghold.json",
  11. "config/factions/fortress.json",
  12. "config/factions/conflux.json",
  13. "config/factions/neutral.json"
  14. ],
  15. "creatures" :
  16. [
  17. "config/creatures/castle.json",
  18. "config/creatures/rampart.json",
  19. "config/creatures/tower.json",
  20. "config/creatures/necropolis.json",
  21. "config/creatures/inferno.json",
  22. "config/creatures/dungeon.json",
  23. "config/creatures/stronghold.json",
  24. "config/creatures/fortress.json",
  25. "config/creatures/conflux.json",
  26. "config/creatures/neutral.json",
  27. "config/creatures/special.json"
  28. ],
  29. "heroes" :
  30. [
  31. "config/heroes/castle.json",
  32. "config/heroes/rampart.json",
  33. "config/heroes/tower.json",
  34. "config/heroes/necropolis.json",
  35. "config/heroes/inferno.json",
  36. "config/heroes/dungeon.json",
  37. "config/heroes/stronghold.json",
  38. "config/heroes/fortress.json",
  39. "config/heroes/conflux.json",
  40. "config/heroes/special.json",
  41. "config/heroes/portraits.json"
  42. ],
  43. "objects" :
  44. [
  45. "config/objects/cartographer.json",
  46. "config/objects/coverOfDarkness.json",
  47. "config/objects/creatureBanks.json",
  48. "config/objects/dwellings.json",
  49. "config/objects/generic.json",
  50. "config/objects/magicSpring.json",
  51. "config/objects/magicWell.json",
  52. "config/objects/moddables.json",
  53. "config/objects/observatory.json",
  54. "config/objects/rewardableBonusing.json",
  55. "config/objects/rewardableOncePerHero.json",
  56. "config/objects/rewardableOncePerWeek.json",
  57. "config/objects/rewardableOnceVisitable.json",
  58. "config/objects/rewardablePickable.json",
  59. "config/objects/scholar.json",
  60. "config/objects/shrine.json",
  61. "config/objects/witchHut.json"
  62. ],
  63. "artifacts" :
  64. [
  65. "config/artifacts.json"
  66. ],
  67. "heroClasses" :
  68. [
  69. "config/heroClasses.json"
  70. ],
  71. "bonuses" :
  72. [
  73. "config/bonuses.json"
  74. ],
  75. "spells" :
  76. [
  77. "config/spells/adventure.json",
  78. "config/spells/offensive.json",
  79. "config/spells/other.json",
  80. "config/spells/timed.json",
  81. "config/spells/ability.json",
  82. "config/spells/vcmiAbility.json",
  83. "config/spells/moats.json"
  84. ],
  85. "skills" :
  86. [
  87. "config/skills.json"
  88. ],
  89. "terrains":
  90. [
  91. "config/terrains.json"
  92. ],
  93. "roads":
  94. [
  95. "config/roads.json"
  96. ],
  97. "rivers":
  98. [
  99. "config/rivers.json"
  100. ],
  101. "battlefields":
  102. [
  103. "config/battlefields.json"
  104. ],
  105. "obstacles":
  106. [
  107. "config/obstacles.json"
  108. ],
  109. "settings":
  110. {
  111. // Number of entries of each type to load from Heroes III text files
  112. "textData" :
  113. {
  114. "heroClass" : 18,
  115. "artifact" : 144,
  116. "creature" : 150,
  117. "faction" : 9,
  118. "hero" : 156,
  119. "spell" : 81,
  120. "object" : 256,
  121. "terrain" : 10,
  122. "river" : 5,
  123. "road" : 4,
  124. },
  125. "mapFormat" : {
  126. "restorationOfErathia" : {
  127. "supported" : true,
  128. "iconIndex" : 0,
  129. "buildingsCommon": {
  130. "townHall" : 0,
  131. "cityHall" : 1,
  132. "capitol" : 2,
  133. "fort" : 3,
  134. "citadel" : 4,
  135. "castle" : 5,
  136. "tavern" : 6,
  137. "blacksmith" : 7,
  138. "marketplace" : 8,
  139. "resourceSilo" : 9,
  140. "mageGuild1" : 11,
  141. "mageGuild2" : 12,
  142. "mageGuild3" : 13,
  143. "mageGuild4" : 14,
  144. "mageGuild5" : 15,
  145. "shipyard" : 16,
  146. "grail" : 17,
  147. "dwellingLvl1" : 22,
  148. "dwellingUpLvl1" : 23,
  149. "horde1" : 24,
  150. "dwellingLvl2" : 25,
  151. "dwellingUpLvl2" : 26,
  152. "horde2" : 27,
  153. "dwellingLvl3" : 28,
  154. "dwellingUpLvl3" : 29,
  155. "horde3" : 30,
  156. "dwellingLvl4" : 31,
  157. "dwellingUpLvl4" : 32,
  158. "horde4" : 33,
  159. "dwellingLvl5" : 34,
  160. "dwellingUpLvl5" : 35,
  161. "horde5" : 36,
  162. "dwellingLvl6" : 37,
  163. "dwellingUpLvl6" : 38,
  164. "dwellingLvl7" : 39,
  165. "dwellingUpLvl7" : 40
  166. },
  167. "buildings" : {
  168. "castle" : {
  169. "special1" : 18, // lighthouse
  170. "special2" : 20, // stables
  171. "special3" : 19 // brotherhoodOfSword
  172. },
  173. "rampart" : {
  174. "special1" : 18, // mysticPond
  175. "special2" : 19, // fountainOfFortune
  176. "special3" : 20 // treasury
  177. },
  178. "tower" : {
  179. "special1" : 10, // artifactMerchants
  180. "special2" : 20, // lookoutTower
  181. "special3" : 18, // library
  182. "special4" : 19 // wallOfKnowledge
  183. },
  184. "inferno" : {
  185. "special2" : 18, // brimstoneStormclouds
  186. "special3" : 19, // castleGate
  187. "special4" : 20 // orderOfFire
  188. },
  189. "necropolis" : {
  190. "special1" : 18, // coverOfDarkness
  191. "special2" : 19, // necromancyAmplifier
  192. "special3" : 20 // skeletonTransformer
  193. },
  194. "dungeon" : {
  195. "special1" : 10, // artifactMerchants
  196. "special2" : 18, // manaVortex
  197. "special3" : 19, // portalOfSummoning
  198. "special4" : 20 // battleScholarAcademy
  199. },
  200. "stronghold" : {
  201. "special1" : 18, // escapeTunnel
  202. "special2" : 19, // freelancersGuild
  203. "special3" : 20, // ballistaYard
  204. "special4" : 21 // hallOfValhalla
  205. },
  206. "fortress" : {
  207. "special1" : 20, // cageOfWarlords
  208. "special2" : 19, // bloodObelisk
  209. "special3" : 18 // glyphsOfFear
  210. }
  211. },
  212. "portraits" : {
  213. "catherine" : 128, // In "RoE" Catherine only has portrait
  214. "portraitGeneralKendal" : 129
  215. }
  216. },
  217. "armageddonsBlade" : {
  218. "supported" : true,
  219. "iconIndex" : 1,
  220. "buildings" : {
  221. "conflux" : {
  222. "special1" : 10, // artifactMerchants
  223. "special2" : 18 // magicUniversity
  224. }
  225. },
  226. "portraits" : {
  227. "pasis" : 128,
  228. "thunar" : 129,
  229. "portraitGeneralKendal" : 156,
  230. "portraitYoungCristian" : 157,
  231. "portraitOrdwald" : 158
  232. }
  233. },
  234. "shadowOfDeath" : {
  235. "supported" : true,
  236. "iconIndex" : 2,
  237. "portraits" : {
  238. "portraitGeneralKendal" : 156,
  239. "portraitYoungCristian" : 157,
  240. "portraitOrdwald" : 158,
  241. "portraitFinneas" : 159,
  242. "portraitYoungGem" : 160,
  243. "portraitYoungSandro" : 161,
  244. "portraitYoungYog" : 162
  245. }
  246. },
  247. "jsonVCMI" : {
  248. "supported" : true,
  249. "iconIndex" : 3
  250. },
  251. "hornOfTheAbyss" : {
  252. "supported" : false
  253. },
  254. "inTheWakeOfGods" : {
  255. "supported" : false
  256. }
  257. },
  258. "heroes" :
  259. {
  260. // number of heroes that player can have active on map at the same time
  261. "perPlayerOnMapCap" : 8,
  262. // number of heroes that player can have in total, including garrisoned
  263. "perPlayerTotalCap" : 16,
  264. // if enabled, hero that wins a battle without any non-summoned troops left will retreat and become available in tavern instead of being lost
  265. "retreatOnWinWithoutTroops" : true,
  266. // Chances for a hero with default army to receive corresponding stack out of his predefined starting troops
  267. "startingStackChances": [ 100, 88, 25],
  268. // number of artifacts that can fit in a backpack. -1 is unlimited.
  269. "backpackSize" : -1,
  270. // if heroes are invitable in tavern
  271. "tavernInvite" : false
  272. },
  273. "towns":
  274. {
  275. // How many new building can be built in a town per day
  276. "buildingsPerTurnCap" : 1,
  277. // Chances for a town with default buildings to receive corresponding dwelling level built in start
  278. "startingDwellingChances": [100, 50]
  279. },
  280. "combat":
  281. {
  282. // defines dice size of a morale roll, based on creature's morale.
  283. // Resulting chance is 1/(value). If list contains 0 values, option will be disabled
  284. "goodMoraleDice" : [ 24, 12, 8 ],
  285. "badMoraleDice" : [ 12, 6, 4],
  286. // defines dice size of a luck roll, based on creature's luck
  287. "goodLuckDice" : [ 24, 12, 8 ],
  288. "badLuckDice" : [],
  289. // every 1 attack point damage influence in battle when attack points > defense points during creature attack
  290. "attackPointDamageFactor": 0.05,
  291. // limit of damage increase that can be achieved by overpowering attack points
  292. "attackPointDamageFactorCap": 4.0,
  293. // every 1 defense point damage influence in battle when defense points > attack points during creature attack
  294. "defensePointDamageFactor": 0.025,
  295. // limit of damage reduction that can be achieved by overpowering defense points
  296. "defensePointDamageFactorCap": 0.7,
  297. // If set to true, double-wide creatures will trigger obstacle effect when moving one tile forward or backwards
  298. "oneHexTriggersObstacles": false
  299. },
  300. "creatures":
  301. {
  302. // creatures on map will grow by specified percentage each week
  303. "weeklyGrowthPercent" : 10,
  304. // creatures on map will not grow if their quantity is greater than this value
  305. "weeklyGrowthCap" : 4000,
  306. // if stack experience is on, creatures on map will get specified amount of experience daily
  307. "dailyStackExperience" : 100,
  308. // if enabled, double growth, plague and creature weeks can happen randomly. Has no effect on weeks by "Deity of Fire"
  309. "allowRandomSpecialWeeks" : true,
  310. // if enabled, every creature can get double growth month, ignoring predefined list
  311. "allowAllForDoubleMonth" : false
  312. },
  313. "dwellings" :
  314. {
  315. // if enabled, neutral dwellings will accumulate creatures
  316. "accumulateWhenNeutral" : false,
  317. // if enabled, dwellings owned by players will accumulate creatures
  318. "accumulateWhenOwned" : false,
  319. // if enabled, game will attempt to merge slots in army on recruit if all slots in hero army are in use
  320. "mergeOnRecruit" : true
  321. },
  322. "markets" :
  323. {
  324. // period between restocking of "Black Market" object found on adventure map
  325. "blackMarketRestockPeriod" : 0
  326. },
  327. "banks" :
  328. {
  329. // show guards composition when visiting creature banks
  330. "showGuardsComposition" : true
  331. },
  332. "modules":
  333. {
  334. // if enabled, creatures may collect experience (WoG feature)
  335. "stackExperience": false,
  336. // if enabled, certain artifacts can be granted to creatures (WoG feature)
  337. "stackArtifact": false,
  338. // if enabled, all heroes gain commander creature in battle (WoG feature)
  339. "commanders": false
  340. },
  341. "pathfinder" :
  342. {
  343. // if enabled, pathfinder will build path through locations guarded by wandering monsters
  344. "ignoreGuards" : false,
  345. // if enabled, pathfinder will take use of any available boats
  346. "useBoat" : true,
  347. // if enabled, pathfinder will take use of any bidirectional monoliths
  348. "useMonolithTwoWay" : true,
  349. // if enabled, pathfinder will take use of one-way monolith that only have one known exit
  350. "useMonolithOneWayUnique" : false,
  351. // if enabled, pathfinder will take use of one-way monoliths with multiple exits.
  352. "useMonolithOneWayRandom" : false,
  353. // if enabled and hero has whirlpool protection effect, pathfinder will take use of whirpools
  354. "useWhirlpool" : true,
  355. // if enabled flying will work like in original game, otherwise nerf similar to HotA flying is applied
  356. "originalFlyRules" : false
  357. },
  358. "bonuses" :
  359. {
  360. "global" :
  361. {
  362. "spellDamage" :
  363. {
  364. "type" : "SPELL_DAMAGE",
  365. "subtype" : "spellSchool.any",
  366. "val" : 100,
  367. "valueType" : "BASE_NUMBER"
  368. },
  369. "wisdom" :
  370. {
  371. "type" : "MAX_LEARNABLE_SPELL_LEVEL", //Hero can always learn level 1 and 2 spells
  372. "val" : 2,
  373. "valueType" : "BASE_NUMBER"
  374. }
  375. },
  376. "perHero":
  377. {
  378. "manaRegeneration" :
  379. {
  380. "type" : "MANA_REGENERATION", //default mana regeneration
  381. "val" : 1,
  382. "valueType" : "BASE_NUMBER"
  383. },
  384. "sightRadius" :
  385. {
  386. "type" : "SIGHT_RADIUS", //default sight radius
  387. "val" : 5,
  388. "valueType" : "BASE_NUMBER"
  389. },
  390. "experienceGain" :
  391. {
  392. "type" : "HERO_EXPERIENCE_GAIN_PERCENT", //default hero xp
  393. "val" : 100,
  394. "valueType" : "BASE_NUMBER"
  395. },
  396. "manaPerKnowledge" :
  397. {
  398. "type" : "MANA_PER_KNOWLEDGE_PERCENTAGE", //1000% mana per knowledge
  399. "val" : 1000,
  400. "valueType" : "BASE_NUMBER"
  401. },
  402. "landMovement" :
  403. {
  404. "type" : "MOVEMENT", //Basic land movement
  405. "subtype" : "heroMovementLand",
  406. "val" : 1300,
  407. "valueType" : "BASE_NUMBER",
  408. "updater" : {
  409. "type" : "ARMY_MOVEMENT", //Enable army movement bonus
  410. "parameters" : [
  411. 20, // Movement points for lowest speed numerator
  412. 3, // Movement points for lowest speed denominator
  413. 10, // Resulting value, rounded down, will be multiplied by this number
  414. 700 // All army movement bonus cannot be higher than this value (so, max movement will be 1300 + 700 for this settings)
  415. ]
  416. }
  417. },
  418. "seaMovement" :
  419. {
  420. "type" : "MOVEMENT", //Basic sea movement
  421. "subtype" : "heroMovementSea",
  422. "val" : 1500,
  423. "valueType" : "BASE_NUMBER"
  424. }
  425. }
  426. }
  427. }
  428. }