Skip to content

Posts from Replace unit stats for only one map.

No ratings yet — be the first to rate!
User Avatar
6 years ago
Auto-translated
Hello,
So, I decided to replace the Seraphs with Fallen Angels from the Hammers of Fate faction. While digging through the expansion pack files, I found the files for this unit, but for some reason, I couldn't find where the unit's "Drain Life" ability is defined in the files.
I copied the files and uploaded them to the map, making sure all the paths were correct.
I launched the game: the Seraphs remained unchanged. Although, logically, they should have lost their spellbook since they couldn't cast spells in the previous expansion. Can you tell me what I did wrong?
User Avatar
6 years ago
Auto-translated
The draining ability is the same as that of vampires. Otherwise, it's difficult to provide specific advice based on such a vague description... If you've done everything correctly, it should work. If it doesn't work, then something was done incorrectly. You can go to the xdb file with the stats of the Seraph (somewhere in GameMechanics) and simply replace all the characteristics with those of the Hammers of Fate. Then, rewrite the skills, copying the draining ability from vampires, and remove the spells. And that's it, it should work.
User Avatar
6 years ago
Auto-translated
Activate the advanced map editor. Next, go to View => Game Database => New Window, then Resource => Select Tables => check the box next to the Creature resource. Open the desired map. In the window (the newly created one, with the "Creature" heading at the top), open the folders and search for Haven/Seraph. Double-click with the left mouse button. Select the Seraph resource. The second window will display its properties. At the very bottom, there will be the Abilities parameter. Right-click on it, click Add, and in the new line, select ABILITY_LIFE_DRAIN. Save and close the map.
User Avatar
6 years ago
Auto-translated
I did just that. In the GameMechanics folder, the differences are only in the hiring price, description, and the absence of a spellbook; I don't know where the draining ability is specified. I also don't know where it's specified for the vampires. I inserted the necessary files into the map, but for some reason, the game didn't read them. I don't know where the creature skills are specified; I only found the magic.

Added 41 seconds ago
}{0TT@6bI4
Activate the advanced map editor. Then, View => Game Database => New Window, then Resource => Select Tables => Check the box next to the Creature resource. Open the desired map. In the window (the newly created one, with the inscription Creature at the top), open the folders and look for Haven/Seraph. Double-click with the left mouse button. For the Seraph resource. The second window will display its properties. At the very bottom, there will be the Abilities parameter. Right-click on it, click Add, and in the new line, select ABILITY_LIFE_DRAIN. Save, close the map.
Thank you, I'll try
User Avatar
6 years ago
Auto-translated
How do you set descriptions for the angels from the Hammers of Fate? I looked in the .xdb file, and the text file names and paths seem to match.
User Avatar
6 years ago
Auto-translated
Find the text description of the angels from the Hammers of Fate, then look for the CreatureVisual parameter, select it, and change the CreatureDesc parameter to New. Enter the name, then the text, and save. That's it.

Statistics

Welcome our newest member: recijeb