AI now has better (but not perfect) system for scoring artifacts. All artifacts now have their base score, based on bonuses provided by the artifact. For composite artifacts, AI will also consider bonuses from its components. When exploring, AI will now weight artifacts as min(base score, price / 5), meaning even artifacts that AI can't score will still have some priority, if only to sell them or deny them to enemy AI will now also consider what to equip when trading with heroes or on the end of AI pass. When considering what to equip, hero will use base score of an artifact, adjusted by how relevant particular bonus / artifact for a hero. Some examples: - Morale-bonusing artifacts have their score reduced based on percentage of undeads in the army, all the way to 0 for undead-only troops - Artifacts that give spells (books, hat) will have score reduced based on how many of these spells are already known by hero - Land movement artifacts have zero score while on water and vice versa - Necromancy artifacts will have zero score if hero does not have necromancy - Archery artifacts are scaled by amount of ranged troops, and only used if hero has archery skill AI may still equip 'bad' artifact, however this should only happen if hero has no other artifacts to equip into said slot. TODO's for future PR's (although not sure if / when I will work on these): - avoid equipping duplicates of the same artifact. Most notably with scrolls, but may happen with other misc artifacts or rings. - consideration for various spell-immunity neclaces - consideration for birectional artifacts, like Shackles of War, or some Spheres - since these artifacts need consideration on what our expected enemy is to correctly estimate whether - equipping artifacts based on immediate need - for example, equipping recovery artifacts before end of day, equipping legion pieces only in town on day 7, preparing for strong / weak enemies (or even preparing for specific enemy in advance) - transferring resource-generating artifacts and such to scout heroes, allowing main hero to focus on combat - ensure that AI can equip combined artifacts even if non-primary slots are in use - by considering whether score of combined artifact is higher than score of all used slots
VCMI Project
VCMI is an open-source recreation of Heroes of Might & Magic III engine, giving it new and extended possibilities.
Links
- Homepage: https://vcmi.eu/
- Forums: https://forum.vcmi.eu/
- Bugtracker: https://github.com/vcmi/vcmi/issues
- Discord: https://discord.gg/chBT42V
- GPT Store: https://chat.openai.com/g/g-1kNhX0mlO-vcmi-assistant
Latest release
Latest release can be found in Github Releases page. As of right now we plan to have major releases around 3 times per year. Daily builds are still available at builds.vcmi.download but they are not guaranteed to be stable. So we encourage everybody to use them and report found bugs so that we can fix them. Loading saves made with different major version of VCMI is usually not supported, so you may want to finish your ongoing games before updating. Please see corresponding installation guide articles for details for your platform.
Installation guides
See also installation guide for Heroes Chronicles.
Documentation and guidelines for players
- Frequently asked questions (external link)
- Game mechanics
- Bug reporting guidelines
- Cheat codes
- Privacy Policy
Documentation and guidelines for translators
Documentation and guidelines for game modders
Documentation and guidelines for developers
Development environment setup instructions:
- Building VCMI for Android
- Building VCMI for iOS
- Building VCMI for Linux
- Building VCMI for macOS
- Building VCMI for Windows
- Conan
Engine documentation: (NOTE: may be outdated)
- Development with Qt Creator
- Coding Guidelines
- Bonus System
- Code Structure
- Logging API
- Lua Scripting System
- Serialization
Documentation and guidelines for maintainers
Copyright and license
VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: https://github.com/vcmi/vcmi-assets
Copyright (C) 2007-2024 VCMI Team (check AUTHORS file for the contributors list)