1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00
vcmi/config/gameConfig.json

282 lines
7.5 KiB
JSON
Raw Normal View History

{
"factions" :
[
"config/factions/castle.json",
"config/factions/rampart.json",
"config/factions/tower.json",
"config/factions/necropolis.json",
"config/factions/inferno.json",
"config/factions/dungeon.json",
"config/factions/stronghold.json",
"config/factions/fortress.json",
"config/factions/conflux.json",
"config/factions/neutral.json"
],
"creatures" :
[
"config/creatures/castle.json",
"config/creatures/rampart.json",
"config/creatures/tower.json",
"config/creatures/necropolis.json",
"config/creatures/inferno.json",
"config/creatures/dungeon.json",
"config/creatures/stronghold.json",
"config/creatures/fortress.json",
"config/creatures/conflux.json",
"config/creatures/neutral.json",
"config/creatures/special.json"
],
"heroes" :
[
"config/heroes/castle.json",
"config/heroes/rampart.json",
"config/heroes/tower.json",
"config/heroes/necropolis.json",
"config/heroes/inferno.json",
"config/heroes/dungeon.json",
"config/heroes/stronghold.json",
"config/heroes/fortress.json",
"config/heroes/conflux.json",
"config/heroes/special.json"
],
"objects" :
[
"config/objects/generic.json",
"config/objects/moddables.json",
"config/objects/creatureBanks.json",
"config/objects/dwellings.json",
2023-01-23 15:27:01 +02:00
"config/objects/rewardableOncePerWeek.json",
2023-01-22 20:26:19 +02:00
"config/objects/rewardablePickable.json",
"config/objects/rewardableOnceVisitable.json",
"config/objects/rewardableOncePerHero.json",
"config/objects/rewardableBonusing.json"
],
"artifacts" :
[
"config/artifacts.json"
],
"heroClasses" :
[
"config/heroClasses.json"
],
"bonuses" :
[
2023-01-17 12:42:43 +02:00
"config/bonuses.json"
],
"spells" :
[
"config/spells/adventure.json",
"config/spells/offensive.json",
"config/spells/other.json",
"config/spells/timed.json",
"config/spells/ability.json",
2023-04-02 22:53:47 +02:00
"config/spells/vcmiAbility.json",
"config/spells/moats.json"
],
"skills" :
[
"config/skills.json"
],
"terrains":
[
"config/terrains.json"
],
2022-12-20 20:52:52 +02:00
"roads":
[
"config/roads.json"
],
"rivers":
[
"config/rivers.json"
],
"battlefields":
[
"config/battlefields.json"
],
"obstacles":
[
"config/obstacles.json"
2023-03-15 21:34:29 +02:00
],
"settings":
{
// Number of entries of each type to load from Heroes III text files
2023-03-15 21:34:29 +02:00
"textData" :
{
"heroClass" : 18,
"artifact" : 144,
"creature" : 150,
"faction" : 9,
"hero" : 156,
"spell" : 81,
"object" : 256,
"terrain" : 10,
"river" : 5,
"road" : 4,
"mapVersion" : 28 // max supported version, SoD
},
"heroes" :
2023-03-15 21:34:29 +02:00
{
// number of heroes that player can have active on map at the same time
"perPlayerOnMapCap" : 8,
// number of heroes that player can have in total, including garrisoned
"perPlayerTotalCap" : 16,
2023-03-16 15:28:14 +02:00
// if enabled, hero that wins a battle without any non-summoned troops left will retreat and become available in tavern instead of being lost
"retreatOnWinWithoutTroops" : true,
// Chances for a hero with default army to receive corresponding stack out of his predefined starting troops
"startingStackChances": [ 100, 88, 25],
// number of artifacts that can fit in a backpack. -1 is unlimited.
"backpackSize" : -1
2023-03-15 21:34:29 +02:00
},
"towns":
{
// How many new building can be built in a town per day
"buildingsPerTurnCap" : 1,
// Chances for a town with default buildings to receive corresponding dwelling level built in start
"startingDwellingChances": [100, 50]
},
"combat":
{
2023-03-16 15:28:14 +02:00
// defines dice size of a morale roll, based on creature's morale.
// Resulting chance is 1/(value). If list contains 0 values, option will be disabled
"goodMoraleDice" : [ 24, 12, 8 ],
"badMoraleDice" : [ 12, 6, 4],
2023-03-16 15:28:14 +02:00
// defines dice size of a luck roll, based on creature's luck
"goodLuckDice" : [ 24, 12, 8 ],
"badLuckDice" : [],
2023-03-16 15:28:14 +02:00
// every 1 attack point damage influence in battle when attack points > defense points during creature attack
"attackPointDamageFactor": 0.05,
2023-03-16 15:28:14 +02:00
// limit of damage increase that can be achieved by overpowering attack points
"attackPointDamageFactorCap": 4.0,
2023-03-16 15:28:14 +02:00
// every 1 defense point damage influence in battle when defense points > attack points during creature attack
"defensePointDamageFactor": 0.025,
2023-03-16 15:28:14 +02:00
// limit of damage reduction that can be achieved by overpowering defense points
"defensePointDamageFactorCap": 0.7,
// If set to true, double-wide creatures will trigger obstacle effect when moving one tile forward or backwards
"oneHexTriggersObstacles": false
},
"creatures":
{
2023-03-16 15:28:14 +02:00
// creatures on map will grow by specified percentage each week
"weeklyGrowthPercent" : 10,
// creatures on map will not grow if their quantity is greater than this value
"weeklyGrowthCap" : 4000,
// if stack experience is on, creatures on map will get specified amount of experience daily
"dailyStackExperience" : 100,
2023-03-16 15:28:14 +02:00
// if enabled, double growth, plague and creature weeks can happen randomly. Has no effect on weeks by "Deity of Fire"
"allowRandomSpecialWeeks" : true,
2023-03-16 15:28:14 +02:00
// if enabled, every creature can get double growth month, ignoring predefined list
"allowAllForDoubleMonth" : false
},
"dwellings" :
{
2023-03-16 15:28:14 +02:00
// if enabled, neutral dwellings will accumulate creatures
"accumulateWhenNeutral" : false,
2023-03-16 15:28:14 +02:00
// if enabled, dwellings owned by players will accumulate creatures
"accumulateWhenOwned" : false
},
"markets" :
{
// period between restocking of "Black Market" object found on adventure map
2023-03-16 15:28:14 +02:00
"blackMarketRestockPeriod" : 0
},
2023-03-15 21:34:29 +02:00
"modules":
{
2023-03-16 15:28:14 +02:00
// if enabled, creatures may collect experience (WoG feature)
"stackExperience": false,
2023-03-16 15:28:14 +02:00
// if enabled, certain artifacts can be granted to creatures (WoG feature)
"stackArtifact": false,
2023-03-16 15:28:14 +02:00
// if enabled, all heroes gain commander creature in battle (WoG feature)
"commanders": false
2023-03-15 21:34:29 +02:00
},
"bonuses" :
{
"global" :
{
"spellDamage" :
{
"type" : "SPELL_DAMAGE",
"subtype" : "spellSchool.any",
2023-03-15 21:34:29 +02:00
"val" : 100,
"valueType" : "BASE_NUMBER"
},
"wisdom" :
2023-03-15 21:34:29 +02:00
{
"type" : "MAX_LEARNABLE_SPELL_LEVEL", //Hero can always learn level 1 and 2 spells
"val" : 2,
"valueType" : "BASE_NUMBER"
}
},
"perHero":
2023-03-15 21:34:29 +02:00
{
"manaRegeneration" :
{
"type" : "MANA_REGENERATION", //default mana regeneration
"val" : 1,
"valueType" : "BASE_NUMBER"
},
"sightRadius" :
{
"type" : "SIGHT_RADIUS", //default sight radius
"val" : 5,
"valueType" : "BASE_NUMBER"
},
"experienceGain" :
{
"type" : "HERO_EXPERIENCE_GAIN_PERCENT", //default hero xp
"val" : 100,
"valueType" : "BASE_NUMBER"
},
"manaPerKnowledge" :
{
"type" : "MANA_PER_KNOWLEDGE", //10 mana per knowledge
2023-03-15 21:34:29 +02:00
"val" : 10,
"valueType" : "BASE_NUMBER"
},
"landMovement" :
{
"type" : "MOVEMENT", //Basic land movement
"subtype" : 1,
"val" : 1300,
"valueType" : "BASE_NUMBER",
"updater" : {
"type" : "ARMY_MOVEMENT", //Enable army movement bonus
"parameters" : [
20, // Movement points for lowest speed numerator
3, // Movement points for lowest speed denominator
10, // Resulting value, rounded down, will be multiplied by this number
700 // All army movement bonus cannot be higher than this value (so, max movement will be 1300 + 700 for this settings)
]
}
},
"seaMovement" :
{
"type" : "MOVEMENT", //Basic sea movement
"subtype" : 0,
"val" : 1500,
"valueType" : "BASE_NUMBER"
}
}
}
}
}