|
|
MisterGoblin

 
Tavern Dweller
|
posted January 21, 2026 03:20 PM |
|
|
Need some help from pros.
Where can i find in exe code for Titan's bolt, so i can add it to pool of spells. I tried to remove this option, as mentioned in BTB's guide, but it doesn't work:
BYTE 2, BIT 6 (20)
------------------
Only used on Titan's Bolt. Indicates an artifact-only spell, and is presumably related to preventing it
from appearing via other means (i.e. mage guilds, shrines, tomes).
____________
|
|
MisterGoblin

 
Tavern Dweller
|
posted January 25, 2026 10:25 PM |
|
|
MisterGoblin said: Need some help from pros.
Where can i find in exe code for Titan's bolt, so i can add it to pool of spells. I tried to remove this option, as mentioned in BTB's guide, but it doesn't work:
BYTE 2, BIT 6 (20)
------------------
Only used on Titan's Bolt. Indicates an artifact-only spell, and is presumably related to preventing it
from appearing via other means (i.e. mage guilds, shrines, tomes).
Spell does genberate after changing of that bit (silently) if you give none 0 values to magic guild in towns, it can appear, but it won't appear in "tomes of magic" or other artifacts that could generate spell. Who knows where to find code/offsets for magic tomes?
____________
|
|
Icewolf11

 
Tavern Dweller
|
posted January 26, 2026 08:08 PM |
|
|
Ok, maybe someone can help me out here.
I tried moving the +1 Luck ability from Halflings to Horned Demons.
According to BTB's guide there are 3 offsets that need to be changed.
03DCE2/04C134/04C134
BTB actually made a little mistake here and just put the second offset twice instead of a third one.
But to me it looks like I found it at offset 4B11E.
Now to the problem:
I canged all 3 of them to the unit ID of the Horned Demon and on the adventure map the demons actually seem to have +1 Luck.
When in a battle thougth they still have neutral Luck and the right click info reads
"creature name always has positive luck"
"Spell -1"
And I tested it, they can't get lucky (or unlucky) hits, Halflings still get +1 luck in battle despite seemingly loosing it in the hero panel on the adventure map.
So is there some other check that still looks for Halflings when in battle? Did I get the wrong offset for the third ID change?
Does someone know what is happening here and could lend me a hand?
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted January 27, 2026 12:09 PM |
|
|
You can see a disclaimer on the line 69 -
--- THIS GUIDE MAKES ABSOLUTELY NO GUARANTEE ABOUT EDITING HOTA ---
So, this is the case 
Quote: So is there some other check that still looks for Halflings when in battle?
Yep, and it's inside one of many HotA hooks. You have to look relevant code in HotA.dll, and it's probably not a task you are up to.
Quote: Did I get the wrong offset for the third ID change?
Nope. You found a correct address.
|
|
Icewolf11

 
Tavern Dweller
|
posted January 28, 2026 07:45 PM |
|
|
AlexSpl said: You can see a disclaimer on the line 69 -
--- THIS GUIDE MAKES ABSOLUTELY NO GUARANTEE ABOUT EDITING HOTA ---
So, this is the case 
Quote: So is there some other check that still looks for Halflings when in battle?
Yep, and it's inside one of many HotA hooks. You have to look relevant code in HotA.dll, and it's probably not a task you are up to.
Quote: Did I get the wrong offset for the third ID change?
Nope. You found a correct address.
I suspected that the HotA.dll was the culprint, but hoped it wasn't the case, since Halflings are also in the base game.
Thanks for confirming it.
Would have been flavourful to give them luck, but I guess I have to find something different for the Demons.
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted January 28, 2026 07:53 PM |
|
Edited by AlexSpl at 20:01, 28 Jan 2026.
|
It's still possible, but, as I wrote many times before, don't try to edit HotA as the team asked.
As for Halflings, I don't remember, but maybe IDs of new Halflings and the old ones are not the same.
OK. Actually they are the same -
MON_H3_NUM = 200;
Creature_Name: array[0..MON_H3_NUM - 1] of string =
({000} 'Pikemen', 'Halberdiers', 'Archers', 'Marksmen', 'Griffins', 'Royal Griffins', 'Swordsmen', 'Crusaders', 'Monks', 'Zealots', 'Cavaliers', 'Champions', 'Angels', 'Archangels',
{014} 'Centaurs', 'Centaur Captains', 'Dwarves', 'Battle Dwarves', 'Wood Elves', 'Grand Elves', 'Pegasi', 'Silver Pegasi', 'Dendroid Guards', 'Dendroid Soldiers', 'Unicorns', 'War Unicorns', 'Green Dragons', 'Gold Dragons',
{028} 'Gremlins', 'Master Gremlins', 'Stone Gargoyles', 'Obsidian Gargoyles', 'Stone Golems', 'Iron Golems', 'Magi', 'Arch Magi', 'Genies', 'Master Genies', 'Nagas', 'Naga Queens', 'Giants', 'Titans',
{042} 'Imps', 'Familiars', 'Gogs', 'Magogs', 'Hell Hounds', 'Cerberi', 'Demons', 'Horned Demons', 'Pit Fiends', 'Pit Lords', 'Efreet', 'Efreet Sultans', 'Devils', 'Arch Devils',
{056} 'Skeletons', 'Skeleton Warriors', 'Walking Dead', 'Zombies', 'Wights', 'Wraiths', 'Vampires', 'Vampire Lords', 'Liches', 'Power Liches', 'Black Knights', 'Dread Knights', 'Bone Dragons', 'Ghost Dragons',
{070} 'Troglodytes', 'Infernal Troglodytes', 'Harpies', 'Harpy Hags', 'Beholders', 'Evil Eyes', 'Medusas', 'Medusa Queens', 'Minotaurs', 'Minotaur Kings', 'Manticores', 'Scorpicores', 'Red Dragons', 'Black Dragons',
{084} 'Goblins', 'Hobgoblins', 'Wolf Riders', 'Wolf Raiders', 'Orcs', 'Orc Chieftains', 'Ogres', 'Ogre Magi', 'Rocs', 'Thunderbirds', 'Cyclopes', 'Cyclops Kings', 'Behemoths', 'Ancient Behemoths',
{098} 'Gnolls', 'Gnoll Marauders', 'Lizardmen', 'Lizard Warriors', 'Gorgons', 'Mighty Gorgons', 'Serpent Flies', 'Dragon Flies', 'Basilisks', 'Greater Basilisks', 'Wyverns', 'Wyvern Monarchs', 'Hydras', 'Chaos Hydras',
{112} 'Air Elementals', 'Earth Elementals', 'Fire Elementals', 'Water Elementals', 'Gold Golems', 'Diamond Golems', 'Pixies', 'Sprites', 'Psychic Elementals', 'Magic Elementals',
{122} '[Unknown]', 'Ice Elementals', '[Unknown]', 'Magma Elementals', '[Unknown]', 'Storm Elementals', '[Unknown]', 'Energy Elemantals', 'Firebirds', 'Phoenixes',
{132} 'Azure Dragons', 'Crystal Dragons', 'Faerie Dragons', 'Rust Dragons', 'Enchanters', 'Sharpshooters', 'Halflings', 'Peasants', 'Boars', 'Mummies',
{142} 'Nomads', 'Rogues', 'Trolls', '[Unknown]', 'Ballista', '[Unknown]', '[Unknown]', 'Arrow Turrets',
{150} 'Cannons', 'Sea Dogs', 'Electric Towers', 'Nymphs', 'Oceanids', 'Crew Mates', 'Seamen', 'Pirates', 'Corsairs', 'Stormbirds', 'Ayssids', 'Sea Witches', 'Sorceresses', 'Nix', 'Nix Warriors', 'Sea Serpents', 'Haspids',
{167} 'Satyrs', 'Fangarms', 'Leprechauns', 'Steel Golems',
{171} 'Halfling Grenadiers', 'Mechanics', 'Engineers', 'Armadillos', 'Bellwether Armadillos', 'Automatons', 'Sentinel Automatons', 'Sandworms', 'Olgoi-Khorkhoi', 'Gunslingers', 'Bounty Hunters', 'Couatls', 'Crimson Couatls', 'Dreadnoughts', 'Juggernauts',
{186} 'Kobolds', 'Kobold Foremen', 'Mountain Rams', 'Argali', 'Snow Elves', 'Steel Elves', 'Yeti', 'Yeti Runemasters', 'Shamans', 'Great Shamans', 'Mammoths', 'War Mammoths', 'Jotunns', 'Jotunn Warlords');
|
|
blacksuzumiya

 
Tavern Dweller
|
posted January 31, 2026 06:20 PM |
|
|
Hello there, I have a question. I've managed to change non-HotA heroes specialities via hex-editing as well as text description, but after trying to change specialities icon, they stay the same in game. I've checked this multiple times also checking guides and forums. The last thing to try is checking HotA.lod because I saw someone mentioning that these UN32 and UN44 for non-HotA + HotA heroes are stored there, but after trying to open the file its all mess and random symbols - is it encrypted? If so, is there a way to edit specialities icons visually in any way? Changing things in H3sprite.lod does nothing with HotA installed. These icons are the last things I need to finish my homebrew project to play with my girlfriend with our edited non-HotA heroes!! Thanks for any replies.
____________
|
|
AlexSpl

   
    
Responsible
Supreme Hero
|
posted January 31, 2026 08:24 PM |
|
|
|
It's indeed encryptred. Your best bet would to place them in _HD3_Data\Common.
|
|
Phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted January 31, 2026 11:21 PM |
|
|
| |
|
|