|
|
SergejBewbtits
Tavern Dweller
|
posted March 28, 2020 12:45 PM |
|
|
She got the archery icon. I guess when the number of icons is insufficient the game heads back to the first icon in the un44
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted March 29, 2020 01:45 PM |
|
|
Is it possible to make ballista and cannon retaliate, just like a normal unit? (Ammo should be consumed at retaliation.)
Is it possible to always have control over the First Aid Tent, without First Aid skill?
Is it possible to have Fire Wall always be 3 hexes wide and 8 Land Mines always be placed regardless of Fire Magic skill?
Is it possible to change default morale from +1 to 0?
Does anyone know how to remove Accurate Shot from Sea Dogs?
I would be very happy, if anyone could answer one or more of the above.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted March 30, 2020 09:25 AM |
|
|
I've run into some trouble editing the tiers of creatures. My hack swaps the tiers of Gnolls and Flies, but not being able to edit building dependencies means that the Serpent Hive still requires the Gnoll Hut. Further, as the original 1st-levle dwelling, the Gnoll Hut is the one to be automatically built most times when you enter the town.
But perhaps most importantly, changing their tiers renders them unable to upgrade in town, even when the upgraded dwelling exist. This seems to be some weird hard-coded function of the dwellings themselves as evidenced by Conflux. As we all know, Ice, Magma, and Energy Elementals all have a bug wherein they are listed as the incorrect tier, which differs from that of the base unit. If these problems are fixed, the same results will be seen there.
Any thoughts?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 01, 2020 04:33 AM |
|
|
Maurice said: The four upgraded Elementals can cast the Protection spell belonging to their Element. They have a Spell Power and School Level defined as well.
Storm Elementals:
0x00048388h: 06h is the Spell Power
0x0004838Ah: 02h is the Spell School Level
0x00048391h: 1Eh is the ID for the spell in question. Value 1Eh is 30, the ID for Protection from Air.
Ice Elementals:
0x00048398h: 06h is the Spell Power
0x0004839Ah: 02h is the Spell School Level
0x000483A1h: 20h is the ID for the spell in question. Value 20h is 32, the ID for Protection from Water.
Energy Elementals:
0x000483A8h: 06h is the Spell Power
0x000483AAh: 02h is the Spell School Level
0x000483B1h: 1Fh is the ID for the spell in question. Value 1Fh is 31, the ID for Protection from Fire.
Magma Elementals:
0x000483B8h: 06h is the Spell Power
0x000483BAh: 02h is the Spell School Level
0x000483C1h: 21h is the ID for the spell in question. Value 21h is 33, the ID for Protection from Earth.
Something similar exists for Ogre Mages:
0x000483C8h: 06h is the Spell Power
0x000483CAh: 02h is the Spell School Level
0x000483D1h: 2Bh is the ID for the spell in question. Value 2Bh is 43, the ID for Bloodlust.
One small issue here is that the targeting seems hard-coded to friendlies; if any of these spells are set to offensive ones, these creatures will target your own party. Is there a way to fix this?
|
|
wuxiangjinxing
Hired Hero
|
posted April 01, 2020 07:16 PM |
|
|
Is it possible to allow all heroes to sacrifice artifacts/troops for XP in the altar?
|
|
wuxiangjinxing
Hired Hero
|
posted April 01, 2020 09:47 PM |
|
|
Is it possible to generate battlefield terrains based on map design, instead of always 'underground' when the battle occurs underground?
|
|
FirePaladin
Promising
Legendary Hero
DoR Modder
|
posted April 01, 2020 09:58 PM |
|
|
wuxiangjinxing said: Is it possible to generate battlefield terrains based on map design, instead of always 'underground' when the battle occurs underground?
In HotA (at least, I don't remember that in SoD or AB), at least the lava terrain has an underground battle background.
|
|
Goblin-Farmer
Tavern Dweller
|
posted April 07, 2020 12:18 AM |
|
|
Has anyone ever attempted to impose daily unit upkeep costs? Would it be difficult to make some sort of code that takes some fraction of the total kingdom army stregnth and deduct it in gold?
____________
|
|
luciusfd
Tavern Dweller
|
posted April 09, 2020 03:43 AM |
|
|
Is it possible to make unflagged dwellings start growing creatures from W1D1 (or any given date)? I understand that assigning them to a "dummy" color is a kind of workaround, but in all-human-player maps that wouldn't work.
|
|
FirePaladin
Promising
Legendary Hero
DoR Modder
|
posted April 14, 2020 03:28 PM |
|
|
What possibility is there that someone can give troops player color in H3? The highlight in the sprite has the same yellow as the one used for the color mask on adventure map, and that's why I'm asking. It's impossible without changing the code, right?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 15, 2020 04:28 PM |
|
Edited by BTB at 16:29, 15 Apr 2020.
|
RoseKavalier said: Forgetfulness mass level at expert only
19E384h: 01 -> 02
So, I saw this and figured that it might hold the key to changing the requirement for expert-level magic to basic or advanced for all other spells. The surrounding code for this address holds the values:
FA 01 7E
Not too far above it is this code:
FA 02 7E
I think that 02 might be our answer. I'm not in a position where I can test it, but if someone else wants to give it a whirl...
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted April 15, 2020 09:48 PM |
|
|
I have'nt tested it and though it could be a good idea for expensive spells, such as Macic Mirror and Counterstrike, remember that some units, like Master Genies, also cast these spells. So unless you want Master Genies to cast mass spells, it's probably best not to mess with this.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 16, 2020 12:34 AM |
|
|
phoenix4ever said: I have'nt tested it and though it could be a good idea for expensive spells, such as Macic Mirror and Counterstrike, remember that some units, like Master Genies, also cast these spells. So unless you want Master Genies to cast mass spells, it's probably best not to mess with this.
You can edit the magic school expertise of those units, so that's not a problem.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted April 16, 2020 06:09 AM |
|
|
I guess so, do you know how to do that?, and what about HotA units?
Btw do you know the answer to any of my questions at the top of this page?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 16, 2020 02:23 PM |
|
|
I do know how to do it; it's in the reference guide.
I don't know the answer to any of your other questions, though.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 16, 2020 04:42 PM |
|
|
Quick update: preliminary testing of the mass effect change I posted earlier indicates that it works.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 16, 2020 06:14 PM |
|
|
RoseKavalier said: About luck/morale. For now total luck is +3 with 12,5 % chance to gain which is ridiculous. It would be great to increase total luck to 5 or more with 30 % chance to gain. What about negative luck?
For Good Morale, I think you can try:
0x464586 -> 05
0x4645A0 -> 05
Bad Morale:
0x46458C -> FB
0x464593 -> FB
5 Morale gives you 5/24 = 20.8% odds
Luck: Don't have the function handy
I'll edit in when I can.
EDIT:
Looks like the luck function is handled through hota.dll so you're not getting an easy fix (because of bad luck which was not originally implemented).
Assuming we're working with SoD, do those values also apply to (positive) Luck? Or is luck also handled elsewhere in SoD?
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted April 17, 2020 05:04 PM |
|
|
I kinda miss Galthran in HotA, but he is too strong in his default form.
I was wondering if it is somehow possible to divide his skeleton bonus by 2 or otherwise nerf it?
There is of course the possibility of giving him a static skeleton bonus, but I dislike static bonusses and it seems it's not possible to add +1 speed here either?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted April 17, 2020 05:38 PM |
|
|
You are correct.
By the by... you were asking about getting the AI to use Berserk?
Some things you can try:
287405: 14 -> 86 (or 96)
287406: 04 -> 00
Try either one of these on their own or together. May give you the desired behavior, may do nothing at all.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted April 17, 2020 06:00 PM |
|
|
BTB were you talking to me or?
AI already uses Berserk in HotA, would be cool if it could use Remove Obstacle, Fire Wall, Land Mine, Quicksand, Force Field and Scuttle Boat though.
|
|
|