Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Editing abilities
Thread: Editing abilities This thread is 5 pages long: 1 2 3 4 5 · NEXT»
Moonlith
Moonlith


Bad-mannered
Supreme Hero
If all else fails, use Fiyah!
posted October 21, 2007 04:16 PM

Editing abilities

This is a topic that hasn't been discussed on the modding wiki I think. I noticed the editing of an ability as an example, but no tutorial on it.

These are my questions:

A) How do I remove and add abilities to a creature? Where can I find the files that list what creatures have what abilities? Such as the No Retaliation ability in Hydras and Rakshasas.

B) Where do I find an ID list of all abilities? Some are mentioned in the ID documentation, such as SPELL_ABILITY_BATTLE_DIVE, but again, No Retaliation isn't listed.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted October 21, 2007 04:23 PM bonus applied.
Edited by sfidanza at 14:16, 23 Oct 2007.

In the original and HoF versions, changing creature abilities was excruciatingly difficult.  In TotE, Nival has very kindly made it very easy to edit the abilities a creature possesses.

Every creature's data is stored in the data.pak, in the folder GameMechanics/Creature/Creatures.  They are all in faction folders, full of .xdb files.  At the bottom of each .xdb is a small list of applicable abilities.  You can edit and add to these at will.

No retaliation is ABILITY_NO_ENEMY_RETALIATION.  There is no full list with all ability strings for the full game anywhere yet as far as I know, so I've gone and made one myself.  Add any one of the following strings to the Abilities tab in the appropriate creature's .xdb file to give it the corresponding ability.

Acid Blood:  <Item>ABILITY_ACID_BLOOD</Item>
Acid Breath:  <Item>ABILITY_ACID_BREATH</Item>
Agility:  <Item>ABILITY_AGILITY</Item>
Armoured:  <Item>ABILITY_ARMORED</Item>
Assault:  <Item>ABILITY_BRUTALITY</Item>
Aura of Bravery:  <Item>ABILITY_AURA_OF_BRAVERY</Item>
Aura of Fire Vulnerability:  <Item>ABILITY_AURA_OF_FIRE_VULNERABILITY</Item>
Aura of Ice Vulnerability: <Item>ABILITY_AURA_OF_ICE_VULNERABILITY</Item>
Aura of Ligntning Vulnerability:  <Item>ABILITY_AURA_OF_LIGHTNING_VULNERABILITY</Item>
Aura of Magic Resistance:  <Item>ABILITY_AURA_OF_MAGIC_RESISTANCE</Item>
Bash:  <Item>ABILITY_BASH</Item>
Battle Dive:  <Item>ABILITY_BATTLE_DIVE</Item>
Battle Frenzy:  <Item>ABILITY_BATTLE_FRENZY</Item>
Battle Rage:  <Item>ABILITY_BATTLE_RAGE</Item>
Bear Roar:  <Item>ABILITY_BEAR_ROAR</Item>
Berserker Rage:  <Item>ABILITY_BERSERKER_RAGE</Item>
Blade of Slaughter:  <Item>ABILITY_AXE_OF_SLAUGHTER</Item>
Blinding Attack:  <Item>ABILITY_BLINDING_ATTACK</Item>
Bravery:  <Item>ABILITY_BRAVERY</Item>
Call Lightning:  <Item>ABILITY_CALL_LIGHTNING</Item>
Chain Shot:  <Item>ABILITY_CHAIN_SHOT</Item>
Champion Charge:  <Item>ABILITY_CHAMPION_CHARGE</Item>
Child of the Light:  <Item>ABILITY_BOND_OF_LIGHT</Item>
Cleave:  <Item>ABILITY_CLEAVE</Item>
Commanding Presence:  <Item>ABILITY_PRESENCE_OF_COMMANDER</Item>
Cowardice:  <Item>ABILITY_COWARDICE</Item>
Crippling Wound:  <Item>ABILITY_WOUND</Item>
Crossfire:  <Item>ABILITY_CROSS_ATTACK</Item>
Crushing Blow:  <Item>ABILITY_CRUSHING_BLOW</Item>
Cursing Attack:  <Item>ABILITY_CURSING_ATTACK</Item>
Dampen Magic:  <Item>ABILITY_ELDRITCH_AURA</Item>
Dash:  <Item>ABILITY_DASH</Item>
Deadly Strike:  <Item>ABILITY_DEADLY_STRIKE</Item>
Death Cloud:  <Item>ABILITY_DEATH_CLOUD</Item>
Death Stare:  <Item>ABILITY_HORROR_OF_THE_DEATH</Item>
Death Wail:  <Item>ABILITY_DEATH_WAIL</Item>
Defensive Stance:  <Item>ABILITY_PREPARED_POSITION</Item>
Defile Magic:  <Item>ABILITY_DEFILE_MAGIC</Item>
Demonic:  <Item>ABILITY_DEMONIC</Item>
Double Attack:  <Item>ABILITY_DOUBLE_ATTACK</Item>
Elemental:  <Item>ABILITY_ELEMENTAL</Item>
Elves' Double Shot:  <Item>ABILITY_ELVES_DOUBLE_SHOT</Item>
Enchanted Armor:  <Item>ABILITY_ENCHANTED_OBSIDIAN</Item>
Energy Channel:  <Item>ABILITY_ENERGY_CHANNEL</Item>
Entangling Roots:  <Item>ABILITY_ENTANGLING_ROOTS</Item>
Enraged:  <Item>ABILITY_ENRAGED</Item>
Evil Eye:  <Item>ABILITY_EVIL_EYE</Item>
Explosion:  <Item>ABILITY_EXPLOSION</Item>
Fear Attack:  <Item>ABILITY_FEAR</Item>
Festering Aura:  <Item>ABILITY_WEAKENING_AURA</Item>
Fierce Retaliation:  <Item>ABILITY_FIERCE_RETALIATION</Item>
Fire Breath:  <Item>ABILITY_FIRE_BREATH</Item>
Fire Proof 50%:  <Item>ABILITY_FIRE_PROOF_50</Item>
Fire Shield:  <Item>ABILITY_FIRE_SHIELD</Item>
Flamestrike:  <Item>ABILITY_FLAMESTRIKE</Item>
Flamewave:  <Item>ABILITY_FLAMEWAVE</Item>
Frightful Aura:  <Item>ABILITY_FRIGHT_AURA</Item>
Giant Slayer:  <Item>ABILITY_ANTI_GIANT</Item>
Goblin Thrower:  <Item>ABILITY_GOBLIN_THROWER</Item>
Harm Touch:  <Item>ABILITY_HARM_TOUCH</Item>
Harpoon Strike:  <Item>ABILITY_HARPOON_STRIKE</Item>
Hexing Attack:  <Item>ABILITY_HEXING_ATTACK</Item>
Hold Ground:  <Item>ABILITY_HOLD_GROUND</Item>
Howl:  <Item>ABILITY_HOWL</Item>
Immune to Air:  <Item>ABILITY_IMMUNITY_TO_AIR</Item>
Immune to Blind:  <Item>ABILITY_IMMUNITY_TO_BLIND</Item>
Immune to Earth: <Item>ABILITY_IMMUNITY_TO_EARTH</Item>
Immune to Fire:  <Item>ABILITY_IMMUNITY_TO_FIRE</Item>
Immune to Frenzy:  <Item>ABILITY_IMMUNITY_TO_BERSERK</Item>
Immune to Magic:  <Item>ABILITY_IMMUNITY_TO_MAGIC</Item>
Immune to Mind Control:  <Item>ABILITY_IMMUNITY_TO_MIND_CONTROL</Item>
Immune to Puppet Master:  <Item>ABILITY_IMMUNITY_TO_HYPNOTIZE</Item>
Immune to Slow:  <Item>ABILITY_IMMUNITY_TO_SLOW</Item>
Immune to Water:  <Item>ABILITY_IMMUNITY_TO_WATER</Item>
Immune to Weakness:  <Item>ABILITY_IMMUNITY_TO_CURSE</Item>
Incinerate:  <Item>ABILITY_INCINERATE</Item>
Incorporeal:  <Item>ABILITY_INCORPOREAL</Item>
Invisibility:  <Item>ABILITY_INVISIBILITY</Item>
Jousting:  <Item>ABILITY_JOUSTING</Item>
Large Shield:  <Item>ABILITY_LARGE_SHIELD</Item>
Lay Hands:  <Item>ABILITY_LAY_HANDS</Item>
Leap:  <Item>ABILITY_LEAP</Item>
Life Drain:  <Item>ABILITY_LIFE_DRAIN</Item>
Lightning Breath:  <Item>ABILITY_LIGHTNING_BREATH</Item>
Liquid Flame Breath:  <Item>ABILITY_LIQUID_FLAME_BREATH</Item>
Lizard Bite:  <Item>ABILITY_LIZARD_BITE</Item>
Magic Attack:  <Item>ABILITY_MAGIC_ATTACK</Item>
Magic Proof 25%:  <Item>ABILITY_MAGIC_PROOF_25</Item>
Magic Proof 50%:  <Item>ABILITY_MAGIC_PROOF_50</Item>
Magic Proof 75%:  <Item>ABILITY_MAGIC_PROOF_75</Item>
Magma Shield:  <Item>ABILITY_MAGMA_SHIELD</Item>
Magnetism:  <Item>ABILITY_DESTRUCTION_MAGIC_MAGNETISM</Item>
Maneuver:  <Item>ABILITY_MANEURE</Item> (yes, it says Maneure)
Mana Destroyer:  <Item>ABILITY_MANA_DESTROYER</Item>
Mana Drain:  <Item>ABILITY_MANA_DRAIN</Item>
Mana Feed:  <Item>ABILITY_MANA_FEED</Item>
Mana Stealer:  <Item>ABILITY_MANA_STEALER</Item>
Mark of Fire:  <Item>ABILITY_MARK_OF_FIRE</Item>
Mechanical:  <Item>ABILITY_MECHANICAL</Item>
No Melee Penalty:  <Item>ABILITY_NO_MELEE_PENALTY</Item>
No Range Penalty:  <Item>ABILITY_NO_RANGE_PENALTY</Item>
No Retaliation:  <Item>ABILITY_NO_ENEMY_RETALIATION</Item>
Order of the Chief:  <Item>ABILITY_ORDER_OF_THE_CHIEF</Item>
Pack Hunter:  <Item>ABILITY_PACK_HUNTER</Item>
Paw Strike:  <Item>ABILITY_PAW_STRIKE</Item>
Piercing Arrow:  <Item>ABILITY_PIERCING_ARROW</Item>
Poisonous Attack:  <Item>ABILITY_POISONOUS_ATTACK</Item>
Power Feed:  <Item>ABILITY_POWER_FEED</Item>
Precise Shot:  <Item>ABILITY_PRECISE_SHOT</Item>
Prismatic Breath:  <Item>ABILITY_RAINBOW_BREATH</Item>
Purge:  <Item>ABILITY_PURGER</Item>
Rage of the Forest:  <Item>ABILITY_RAGE_OF_THE_FOREST</Item>
Raging Blood:  <Item>ABILITY_DEMON_RAGED</Item>
Random Curse:  <Item>ABILITY_RANDOM_CASTER</Item>
Random Blessing:  <Item>ABILITY_RANDOM_CASTER_BLESS</Item>
Range Penalty:  <Item>ABILITY_RANGE_PENALTY</Item>
Ranged Retaliation:  <Item>ABILITY_RANGED_RETALIATE</Item>
Rebirth:  <Item>ABILITY_REBIRTH</Item>
Regeneration:  <Item>ABILITY_REGENERATION</Item>
Repair:  <Item>ABILITY_REPAIR</Item>
Resurrect Allies:  <Item>ABILITY_RESURRECT_ALLIES</Item>
Rider Charge:  <Item>ABILITY_RIDER_CHARGE</Item>
Rush Dive:  <Item>ABILITY_PACK_DIVE</Item>
Sabotage:  <Item>ABILITY_SABOTAGE</Item>
Sacrifice Goblin:  <Item>ABILITY_SACRIFICE_GOBLIN</Item>
Scatter Shot:  <Item>ABILITY_SCATTER_SHOT</Item>
Scavenger:  <Item>ABILITY_SCAVENGER</Item>
Searing Aura:  <Item>ABILITY_SEARING_AURA</Item>
Seduction:  <Item>ABILITY_SEDUCE</Item>
Set Snares:  <Item>ABILITY_SET_SNARES</Item>
Shield Allies:  <Item>ABILITY_SHIELD_OTHER</Item>
Shield Wall:  <Item>ABILITY_SHIELD_WALL</Item>
Siphon Mana:  <Item>ABILITY_SYPHON_MANA</Item>
Six-Headed Attack:  <Item>ABILITY_SIX_HEADED_ATTACK</Item>
Sorrow Strike:  <Item>ABILITY_SORROW_STRIKE</Item>
Spray Attack:  <Item>ABILITY_SPRAY_ATTACK</Item>
Stormcaller:  <Item>ABILITY_CALL_STORM</Item>
Steal Ammunition:  <Item>ABILITY_AMMO_STEAL</Item>
Strike and Return:  <Item>ABILITY_STRIKE_AND_RETURN</Item>
Storm Bolt:  <Item>ABILITY_STORMBOLT</Item>
Storm Strike:  <Item>ABILITY_STORMSTRIKE</Item>
Summon Pit Lords:  <Item>ABILITY_BALOR_SUMMONIG</Item>
Swallow Goblin:  <Item>ABILITY_SWALLOW_GOBLIN</Item>
Swift Attack:  <Item>ABILITY_FAST_ATTACK</Item>
Symbiosis:  <Item>ABILITY_TREEANT_UNION</Item>
Take Roots:  <Item>ABILITY_TAKE_ROOTS</Item>
Taunt:  <Item>ABILITY_TAUNT</Item>
Taxpayer:  <Item>ABILITY_TAXPAYER</Item>
Teleport Other:  <Item>ABILITY_SUMMON_OTHER</Item>
Three-Headed Attack:  <Item>ABILITY_THREE_HEADED_ATTACK</Item>
Torpor:  <Item>ABILITY_SLEEPING_STRIKE</Item>
Treachery:  <Item>ABILITY_TREACHERY</Item>
Undead:  <Item>ABILITY_UNDEAD</Item>
Unlimited Retaliation:  <Item>UNLIMITED_RETALIATION</Item>
Venom:  <Item>ABILITY_VENOM</Item>
Vorpal Sword:  <Item>ABILITY_VORPAL_SWORD</Item>
War Dance Combo:  <Item>ABILITY_WAR_DANCE</Item>
Warding Arrows:  <Item>ABILITY_WARDING_ARROWS</Item>
Weakening Strike:  <Item>ABILITY_WEAKENING_STRIKE</Item>
Wheeling Attack:  <Item>ABILITY_RIDE_BY_ATTACK</Item>
Wheel of Fortune:  <Item>ABILITY_LUCK_GAMBLER</Item>
Whip Strike:  <Item>ABILITY_WHIP_STRIKE</Item>
Whirlwind:  <Item>ABILITY_WHIRLWIND</Item>

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
radar
radar


Responsible
Legendary Hero
Castle/Haven player
posted October 21, 2007 06:33 PM

Can I see ToE crature xdb file?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted October 21, 2007 06:37 PM

Sure.  No need to replace creature IDs anymore, due to the new abilities tab.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted October 21, 2007 09:05 PM

It's tempting to make a creature with ALL of those abilities and see what it does ingame .

Though I suspect there's a limitation to how many special abilities a creature can have.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Moonlith
Moonlith


Bad-mannered
Supreme Hero
If all else fails, use Fiyah!
posted October 21, 2007 09:47 PM

Ah, unfortunately I don't have ToE yet. Another reason to obtain it I guess

Thanks for the info!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
sfidanza
sfidanza


Promising
Supreme Hero
posted October 23, 2007 02:15 PM
Edited by sfidanza at 15:12, 23 Oct 2007.

Quote:
There is no full list with all ability strings for the full game anywhere yet as far as I know


The list is there:
GameMechanics\RefTables\CombatAbilities.xdb
It is far less usable than yours, of course.

QP awarded for the pedagogical effort. Keep it up!

Edit: Cepheus, when/if you can, consider adding your explanation to the modding wiki (in the modding_tutorials section).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted October 23, 2007 04:10 PM

Thanks very much!  I'll do just that as soon as I can, or if someone else wants to that's fine by me.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_hero
Legendary_hero


Known Hero
Stronghold Warchief
posted October 23, 2007 08:40 PM

I couldnt find a game mechanics folder in the Tote

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted October 23, 2007 08:46 PM

It's inside the Data.pak file, which you can open with WinRar or anything similar.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
sfidanza
sfidanza


Promising
Supreme Hero
posted October 23, 2007 08:47 PM
Edited by sfidanza at 20:48, 23 Oct 2007.

It is inside the data.pak archive (which is a zip archive). You should read the wiki where you'll find explanation about the "basic" stuff:
http://www.heroesofmightandmagic.com/heroes5/modding_wiki/modding_for_dummies:start

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_hero
Legendary_hero


Known Hero
Stronghold Warchief
posted October 23, 2007 09:08 PM

Quote:
It is inside the data.pak archive (which is a zip archive). You should read the wiki where you'll find explanation about the "basic" stuff:
http://www.heroesofmightandmagic.com/heroes5/modding_wiki/modding_for_dummies:start
Thanks but i can't open it

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted October 23, 2007 09:12 PM

Ahem.

Quote:
which you can open with WinRar or anything similar


WinRar can be downloaded legally for free.  Google it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_Hero
Legendary_Hero


Known Hero
Stronghold Warchief
posted October 23, 2007 09:14 PM

Yeah I am already dowloading thanks by the way

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_hero
Legendary_hero


Known Hero
Stronghold Warchief
posted October 23, 2007 09:35 PM

Oh by the way I found the GameMechanics and all the creatures but i can only view the files not remade them

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted October 23, 2007 10:47 PM

You need to change the "Read-only" tag they have (check the file properties). Once you've done that, you can use any (text)editor to make changes to the files.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_hero
Legendary_hero


Known Hero
Stronghold Warchief
posted October 24, 2007 12:24 AM

Well when i try to open it it says that the archieve is in unknow format or damaged

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted October 24, 2007 09:21 AM

Quote:
Well when i try to open it it says that the archieve is in unknow format or damaged


What is "it" that you're trying to open? The data.pak file? The .xdb file in the GameMechanics folder? Something else?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Legendary_hero
Legendary_hero


Known Hero
Stronghold Warchief
posted October 24, 2007 09:40 AM

I already opened the pak files and the gamemechanics but I can't open the creature's archieves i can only view them

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Maurice
Maurice

Hero of Order
Part of the furniture
posted October 24, 2007 10:56 AM

Quote:
You need to change the "Read-only" tag they have (check the file properties). Once you've done that, you can use any (text)editor to make changes to the files.


And you tried this?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 5 pages long: 1 2 3 4 5 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0547 seconds