Skip to content

МОД: Клинок Армагеддона / Armageddon's Blade

User Avatar
#141
Auto-translated
vasik
Watched the video, a couple of comments. Overall very good, and one idea came up while rewatching.
1) You should definitely indicate somewhere the locations of important folders. For you, these are:
a) /Textures/Icons/PresetICons/
b) UI/MPDMLobby/presets.(DuelPresets).xdb
Option b is very interesting, I'll explain why below. But it was hard to find from the video, the name was hard to see, I found it by guessing. And it's very important.
For artifacts, I made this hint
{
"rings": [ "*JINXING_BAND", "DRAGON_EYE_RING", "*BAND_OF_CONJURER", "*RING_OF_UNSUMMONING", "*WISPERING_RING", "*RING_OF_CELERITY", "RING_OF_LIGHTING_PROTECTION", "*RING_OF_MACHINE_AFFINITY", "RING_OF_MAGI", "RING_OF_HASTE", "NIGHTMARISH_RING", "*RING_OF_THE_SHADOWBRAND", "*RING_OF_DEATH", "RING_OF_LIFE" ],

"weapon": [ "GREAT_AXE_OF_GIANT_SLAYING", "*BEGINNER_MAGIC_STICK", "DRAGON_FLAME_TONGUE", "*DWARVEN_SMITHY_HUMMER", "*EDGE_OF_BALANCE", "*OGRE_CLUB", "*RUNIC_WAR_AXE", "STAFF_OF_MAGI", "SWORD_OF_RUINS", "TITANS_TRIDENT", "UNICORN_HORN_BOW", "STAFF_OF_VEXINGS" ],
"helm": [ "*CROWN_OF_LEADER", "CROWN_OF_MAGI", "DRAGON_TALON_CROWN", "*HELM_OF_CHAOS", "DWARVEN_MITHRAL_HELMET", "CROWN_OF_COURAGE", "*SKULL_HELMET" ],

"armour": [ "PLATE_MAIL_OF_STABILITY", "*VALORIOUS_ARMOR", "DWARVEN_MITHRAL_CUIRASS", "DRAGON_SCALE_ARMOR", "ROBE_OF_MAGI", "*RUNIC_WAR_HARNESS", "BREASTPLATE_OF_PETRIFIED_WOOD", "*BONESTUDDED_LEATHER" ],
"boots": [ "BOOTS_OF_INTERFERENCE", "DRAGON_BONE_GRAVES", "*EARTHSLIDERS", "DWARVEN_MITHRAL_GREAVES", "*SANDALS_OF_THE_SAINT", "*BOOTS_OF_SWIFTNESS" ],

"necklace": [ "*NECROMANCER_PENDANT", "DRAGON_TEETH_NECKLACE", "EVERCOLD_ICICLE", "WEREWOLF_CLAW_NECKLACE", "NECKLACE_OF_BRAVERY", "NECKLACE_OF_POWER", "*TWISTING_NEITHER", "PEDANT_OF_MASTERY" ],

"shield": [ "*BOOK_OF_POWER", "DRAGON_SCALE_SHIELD", "*MOONBLADE", "*OGRE_SHIELD", "ICEBERG_SHIELD", "DWARVEN_MITHRAL_SHIELD", "*TOME_OF_DARK_MAGIC", "*TOME_OF_DESTRUCTION", "*TOME_OF_LIGHT_MAGIC", "*TOME_OF_SUMMONING_MAGIC" ],

"cloak": [ "LION_HIDE_CAPE", "CLOAK_OF_MOURNING", "*RIGID_MANTLE", "DRAGON_WING_MANTLE", "PHOENIX_FEATHER_CAPE", "*SHAWL_OF_GREAT_LICH", "*TREEBORN_QUIVER", "*BEARHIDE_WRAPS" ],

"pocket": ["FOUR_LEAF_CLOVER", "GOLDEN_HORSESHOE", "*RUNE_OF_FLAME", "*SKULL_OF_MARKAL", "*TAROT_DECK"]
}​

This is a list of combat artifacts. Where there's an asterisk, you need to write ARTIFACT_ instead of it. Some artifacts start with ARTIFACT_, some don't — I checked each one individually, and this list is the result. If you write it incorrectly, you'll get an empty slot.
Next, point (b) above is extremely interesting. The thing is, it has 24 items, 24 heroes. You replace them to replace the pictures. But have you tried adding a 25th item and seeing what happens??? Maybe that's the key to making 4 heroes per faction, which nobody has done yet. And this file might be the key to figuring out how.
So my suggestion is, try adding a 25th item, NOT replacing, but actually adding. Naturally, for the 25th item, this part should look like this
<PresetHero href="/Maps/DuelMode/Heroes/____4.xdb#xpointer(/AdvMapHero)"/> ​

. Or just paste in text form everything between the tags for the new hero and the folder with files for the new hero, and I'll try it myself — maybe we'll get 4 heroes per faction? Of course, the probability it won't work is high, because there's a GUI that currently only has 25 slots. But it's worth trying.
Good evening! Thank you for your expertise (the list of artifacts needing the ARTIFACT prefix).

Regarding the second part of your message where you write about "24 items, 24 heroes" — I didn't quite understand what you mean. In the registry ( presets.(DuelPresets).xdb ) essentially a new 25th, 26th, 27th and so on hero is added — that is, I'm not replacing the originals, but supplementing the default hero pool with new heroes.
In the images, nothing is replaced either — only 3 more xdb files with dds texture descriptions are added.
In the folder "/Maps/DuelMode/Heroes" we also don't change the old stuff, we just insert new content.

Currently, I have 33 heroes in duel mode.

In any case, it's no trouble for me to copy the xdb contents here

Hero description lines in presets(DuelPresets).xdb
<Item>
<PresetNameFileRef href="/Text/PresetNames/Tamika40y1.txt"/>
<LeftFace href="/Textures/Icons/PresetsIcons/Tamika_Left.(Texture).xdb#xpointer(/Texture)"/>
<RightFace href="/Textures/Icons/PresetsIcons/Tamika_Right.(Texture).xdb#xpointer(/Texture)"/>
<RoundedFace href="/Textures/Icons/PresetsIcons/Tamika_Rounded.(Texture).xdb#xpointer(/Texture)"/>
<PresetHero href="/Maps/DuelMode/Heroes/Tamika40y1/Tamika40y1.xdb#xpointer(/AdvMapHero)"/>
</Item>
The hero xdb internals:
<?xml version="1.0" encoding="UTF-8"?>
<AdvMapHero ObjectRecordID="1003602">
<Pos>
<x>0</x>
<y>0</y>
<z>0</z>
</Pos>
<Rot>0</Rot>
<Floor>0</Floor>
<Name/>
<CombatScript/>
<pointLights/>
<Shared href="/MapObjects/Necropolis/Tamika.(AdvMapHeroShared).xdb#xpointer(/AdvMapHeroShared)"/>
<PlayerID>PLAYER_NONE</PlayerID>
<Experience>1216586989</Experience>
<armySlots>
<Item>
<Creature>CREATURE_SKELETON_WARRIOR</Creature>
<Count>2208</Count>
</Item>
<Item>
<Creature>CREATURE_ZOMBIE</Creature>
<Count>1440</Count>
</Item>
<Item>
<Creature>CREATURE_GHOST</Creature>
<Count>864</Count>
</Item>
<Item>
<Creature>CREATURE_VAMPIRE_LORD</Creature>
<Count>1780</Count>
</Item>
<Item>
<Creature>CREATURE_DEMILICH</Creature>
<Count>288</Count>
</Item>
<Item>
<Creature>CREATURE_WRAITH</Creature>
<Count>192</Count>
</Item>
<Item>
<Creature>CREATURE_SHADOW_DRAGON</Creature>
<Count>144</Count>
</Item>
</armySlots>
<artifactIDs>
<Item>RING_OF_HASTE</Item>
<Item>DWARVEN_MITHRAL_HELMET</Item>
<Item>WEREWOLF_CLAW_NECKLACE</Item>
<Item>ARTIFACT_RING_OF_DEATH</Item>
<Item>DWARVEN_MITHRAL_CUIRASS</Item>
<Item>DWARVEN_MITHRAL_SHIELD</Item>
<Item>GOLDEN_HORSESHOE</Item>
<Item>STAFF_OF_VEXINGS</Item>
<Item>DWARVEN_MITHRAL_GREAVES</Item>
<Item>ARTIFACT_SHAWL_OF_GREAT_LICH</Item>
</artifactIDs>
<isUntransferable>
<Item>0</Item>
<Item>0</Item>
<Item>0</Item>
<Item>0</Item>
<Item>0</Item>
<Item>0</Item>
</isUntransferable>
<Editable>
<NameFileRef href="name.txt"/>
<BiographyFileRef href="/Text/Game/Heroes/Persons/Necropolis/Tamika/Bio.txt"/>
<Offence>13</Offence>
<Defence>11</Defence>
<Spellpower>14</Spellpower>
<Knowledge>8</Knowledge>
<skills>
<Item>
<Mastery>MASTERY_EXPERT</Mastery>
<SkillID>HERO_SKILL_DARK_MAGIC</SkillID>
</Item>
<Item>
<Mastery>MASTERY_EXPERT</Mastery>
<SkillID>HERO_SKILL_LEARNING</SkillID>
</Item>
<Item>
<Mastery>MASTERY_EXPERT</Mastery>
<SkillID>HERO_SKILL_OFFENCE</SkillID>
</Item>
<Item>
<Mastery>MASTERY_EXPERT</Mastery>
<SkillID>HERO_SKILL_DEFENCE</SkillID>
</Item>
<Item>
<Mastery>MASTERY_EXPERT</Mastery>
<SkillID>HERO_SKILL_LUCK</SkillID>
</Item>
</skills>
<perkIDs>
<Item>HERO_SKILL_MASTER_OF_MIND</Item>
<Item>HERO_SKILL_MASTER_OF_SICKNESS</Item>
<Item>HERO_SKILL_DEATH_SCREAM</Item>
<Item>HERO_SKILL_INTELLIGENCE</Item>
<Item>HERO_SKILL_EAGLE_EYE</Item>
<Item>HERO_SKILL_BODYBUILDING</Item>
<Item>HERO_SKILL_FRENZY</Item>
<Item>HERO_SKILL_POWER_OF_HASTE</Item>
<Item>HERO_SKILL_ARCHERY</Item>
<Item>HERO_SKILL_TOUGHNESS</Item>
<Item>HERO_SKILL_POWER_OF_STONE</Item>
<Item>HERO_SKILL_HOLD_GROUND</Item>
<Item>HERO_SKILL_FORTUNATE_ADVENTURER</Item>
<Item>HERO_SKILL_SPOILS_OF_WAR</Item>
<Item>HERO_SKILL_ELVEN_LUCK</Item>
<Item>HERO_SKILL_NO_REST_FOR_THE_WICKED</Item>
</perkIDs>
<spellIDs>
<Item>SPELL_BLESS</Item>      
<Item>SPELL_HASTE</Item>
<Item>SPELL_STONESKIN</Item>
<Item>SPELL_DISPEL</Item>
<Item>SPELL_REGENERATION</Item>
<Item>SPELL_CURSE</Item>
<Item>SPELL_SLOW</Item>
<Item>SPELL_SORROW</Item>
<Item>SPELL_DISRUPTING_RAY</Item>
<Item>SPELL_PLAGUE</Item>
<Item>SPELL_WEAKNESS</Item>
<Item>SPELL_FORGETFULNESS</Item>
<Item>SPELL_BERSERK</Item>
<Item>SPELL_BLIND</Item>
<Item>SPELL_HYPNOTIZE</Item>
<Item>SPELL_UNHOLY_WORLD</Item>
<Item>SPELL_VAMPIRISM</Item>
<Item>SPELL_MAGIC_ARROW</Item>
<Item>SPELL_STONE_SPIKES</Item>
<Item>SPELL_LIGHTNING_BOLT</Item>
<Item>SPELL_ICE_BOLT</Item>
<Item>SPELL_MAGIC_FIST</Item>
<Item>SPELL_LAND_MINE</Item>
<Item>SPELL_WASP_SWARM</Item>
<Item>SPELL_ANIMATE_DEAD</Item>
<Item>SPELL_ARCANE_CRYSTAL</Item>
</spellIDs>
<Ballista>true</Ballista>
<FirstAidTent>true</FirstAidTent>
<AmmoCart>true</AmmoCart>
<FavoriteEnemies/>
<TalismanLevel>0</TalismanLevel>
</Editable>
<OverrideMask>56</OverrideMask>
<PrimarySkillMastery>MASTERY_EXPERT</PrimarySkillMastery>
<LossTrigger>
<Action>
<FunctionName/>
</Action>
</LossTrigger>
<AllowQuickCombat>true</AllowQuickCombat>
<Textures>
<Icon128x128/>
<Icon64x64/>
<RoundedFace/>
<LeftFace/>
<RightFace/>
</Textures>
<PresetPrice>0</PresetPrice>
<BannedRaces/>
</AdvMapHero>


Ссылка на мой мод Heroes 5 Armageddons Blade

Ссылка на мои уроки по модостроению в Героях 5

Ссылка на мой Artstation