Skip to content

Posts from Problem with navigating the data folder, or how to do the following.

No ratings yet — be the first to rate!
User Avatar
10 months ago
Auto-translated

Firstly, I don't understand how to create a post here outside of any specific topic. Or, what topic does this post belong to? I'm still a newbie on the server and I really don't understand how things work here... oh well...

 

Secondly, I'm working on a mod, but only for myself (because why should I compete? There are already tons of mods that many people like, and another unit rebalance is definitely not needed). So, while making the mod for myself, I've run into a problem: I don't know which folders I need to go into to:

1) change the dark energy cost for units or make dark energy infinite (or at least so much that it definitely won't run out in a week).

2) where are the hero specializations stored? Can I change the bonus to creatures from defense and attack to health and damage in this file? And to initiative?

3) where are the abilities and skills stored, including faction-specific ones? How can I replace a faction skill with one of the secondary skills? Will the Amulet of Mastery work on it? For example, I want to put "Unstoppable Magic" there. Currently, it has "Sense Elements."

4) where can I change the explosion power of the Fire Demon and the power of the Nightmare's fire aura?

5) the ability "Rain of Arrows" (Grape Shot/Barrage) crashes the game when created for the Arbalest. I made it based on the Archer, but it still crashes when applied. How can I give the Arbalest this ability?

6) I accidentally lost the ability "Slicing Sword." Please write its English name with underscores in the correct places.

7) where can I change the hero's damage from a hand-to-hand attack?

8) how can I remove the 500 experience chests and the artifact chests from the game, so that only all the other chests appear?

9) how can I change the names of creatures and the description of abilities?

User Avatar
10 months ago
Auto-translated
I recommend starting small, rather than trying to change everything at once! I also advise you to familiarize yourself with the advanced map editor; it will make it easier to navigate the file system. 1) a2p1-data.pak/GameMechanics/RPGStats/DefaultStats.xdb => combat => HeroSkills => Necromancer - this is where the parameters related to dark energy and necromancy are located. 2) Hero specializations are embedded in the executable file, but some coefficients may be in the same DefaultStats.xdb. 3) In the properties of the hero placed on the map, go to Shared => ... => In the window that appears, find the hero's starting skill and change it to the desired one. The global characteristics of all skills are in GameMechanics/RefTables/Skills.xdb. 4) Either in DefaultStats.xdb or in the executable file. Since it is extremely difficult to modify the executable file, look for a suitable patch on the Heroes 5.5 project's GitHub. 5) The game does crash; I don't know how to fix it. 6) ABILITY_VORPAL_SWORD 7) It changes somewhere, but I don't remember where. 8) In DefaultStats, you can set the probability of obtaining an artifact from a chest to zero. In the original game, it is 4%. 9) In the same place where you changed the abilities of creatures, but find the Visual property and the file specified there. And the descriptions of creature abilities are changed in GameMechanics/RefTables/CombatAbilities.xdb
User Avatar
10 months ago
Auto-translated
5) Please describe in more detail what exactly you did? Did you add the "casting" animation for Rain to them?
*In my mod, Archers have this skill, and everything works fine there.

Added 19 minutes ago
1) The price depends on the unit's HP and is calculated automatically. You can increase the stock in DefaultStats.xdb and, if desired, make it "virtually" infinite.
2) It is not possible to change the hero specializations for creatures (classic) +attack and defense. You can find the parameters of some other specializations and non-standard specs in DefaultStats.xdb, but you can only change the number, not the bonus itself.
4) You can configure the Aura of Horses in DefaultStats.xdb. Demon Blast is considered a Spell (Ability), and you need to look for the number there. Or, Demon Blast is hardcoded in the EXE, and I am confusing it with another explosive ability.
6) The data contains a file with all existing Abilities, including cut but working ones (Immune to instant death/explosion on death).
7) The hero's damage is a percentage of the maximum HP of a creature of the corresponding level. You can adjust the percentage in DefaultStats.xdb, but you cannot change the mechanics.
8) As already mentioned, you can influence the chests with artifacts through DefaultStats.xdb.
9) All texts are located in texts.pak. It is located next to data.pak.
______ ____
3) It is better to write in more detail, using an example of what you want to do.

Statistics

Welcome our newest member: recijeb