Skip to content

Posts from Where are the names of all the spells stored?

No ratings yet — be the first to rate!
5 years ago
Auto-translated

Dear friends, could you please tell me where the names of all spells are stored? For example, I want to give a specific skill (Magic Arrow, or, God forbid, Armageddon, or Earth Shock) to a regular unit. Usually, I just look for this skill in other units and copy the spell string, but for example, there is no Magic Arrow in any of them (if I remember correctly). Please tell me where I can find all these skills. I mean the names of the skills, like this: SPELL_SLOW
MASTERY_ADVANCED"

 

I think they should be searched for somewhere among the heroes, but I haven't found them yet. Thank you in advance.

User Avatar
5 years ago
Auto-translated
You can find this in the text names of the spells, you can find this in the texture names of the spells, or you can just look in GameMechanics.
Open the game folder, find the data folder, and there is a ZIP archive called data. Go inside, and I'll show you the path to them in the screenshots:



I remembered that I already listed them for creating dueling heroes. Here you go:
Spells
1-2 LIGHT
SPELL_BLESS
SPELL_HASTE
SPELL_STONESKIN
SPELL_DISPEL
SPELL_REGENERATION
3-5
SPELL_BLOODLUST
SPELL_DEFLECT_ARROWS
SPELL_ANTI_MAGIC
SPELL_TELEPORT
SPELL_DIVINE_VENGEANCE
SPELL_HOLY_WORD
SPELL_RESURRECT
1-2 Dark
SPELL_CURSE
SPELL_SLOW
SPELL_SORROW
SPELL_DISRUPTING_RAY
SPELL_PLAGUE
3-5
SPELL_WEAKNESS
SPELL_FORGETFULNESS
SPELL_BERSERK
SPELL_BLIND
SPELL_HYPNOTIZE
SPELL_UNHOLY_WORLD
SPELL_VAMPIRISM
1-2 Destructive
SPELL_MAGIC_ARROW
SPELL_STONE_SPIKES
SPELL_LIGHTNING_BOLT
SPELL_ICE_BOLT
3-5
SPELL_FIRE_BALL
SPELL_FROST_RING
SPELL_FIRE_WALL
SPELL_CHAIN_LIGHTNING
SPELL_METEOR_SHOWER
SPELL_IMPLOSION
SPELL_ARMAGEDDON
SPELL_DEEP_FREEZE
1-2 Summon
SPELL_MAGIC_FIST
SPELL_LAND_MINE
SPELL_WASP_SWARM
SPELL_ANIMATE_DEAD
SPELL_ARCANE_CRYSTAL
3-5
SPELL_PHANTOM
SPELL_EARTH_QUAKE
SPELL_BLADE_BARRIER
SPELL_SUMMONE_ELEMENTALS
SPELL_SUMMONE_HIVE
SPELL_CELESTIAL_SHIELD
SPELL_CONJURE_PHOENIX
5 years ago
Auto-translated
Thank you very much, I figured everything out!

Added 8 hours and 59 minutes ago
I have another question, maybe you know the answer. Is it possible to enhance the standard abilities of units? For example, could the Archangel restore 200 or 300 health instead of 100?
In reply to Dorg
User Avatar
5 years ago
Auto-translated
Dorg
Thank you very much, I figured everything out!

Added 8 hours and 59 minutes ago

And another question, maybe you know the answer

Is it possible to enhance the standard abilities of units? For example, so that the Archangel restores not 100, but 200 or 300 health.

Many coefficients are changed in \GameMechanics\RPGStats\DefaultStats.xdb, but not everything can be changed; resurrection doesn't seem to be there, and this file needs to be taken from a2p1-data.pak.
In reply to fktifzobr@mail.ru
5 years ago
Auto-translated

Hmm, I looked and didn't find anything there. Maybe there are other suggestions about where it might be located.

Thank you for your responsiveness.

In reply to Dorg
User Avatar
5 years ago
Auto-translated
Dorg

Hmm, I looked and didn't find anything there, maybe there are other suggestions about where it might be.

Thank you for your responsiveness.

There are many different parameters in DefaultStats.xdb; search for the word , and you will find parameters divided by faction, for example:
Attachments 1
1 file attached • Total size: 412.9 KB
In reply to fktifzobr@mail.ru
5 years ago
Auto-translated
Thanks, I figured out how to increase the range of the crossbowman's piercing shot to 4 cells, and I wanted to know how, and it's all here.

But I can't find anything about resurrecting the Archangel.

Statistics

Welcome our newest member: recijeb