|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted August 19, 2020 08:26 PM |
|
|
Does anyone know how to make Fire Wall 3 hexes wide at Unskilled to Expert Fire Magic?
Also how can I make Altar of Wishes, Golden Pavillion and Cloud Temple require Mage Tower and Mage Guild 1 again?
|
|
FfuzzyLogik
Known Hero
|
posted August 25, 2020 09:14 AM |
|
|
Hello there,
I asked long time before why the "Cphx" (phoenix) wasn't used when replaced. Dailon answered me ; that's because with HD mod _HD3_Data/Common/Fix.Cosmetic some graphics are changed there and used in priority. So if you change one in lod file it won't be used if HD mod is used !
As I'm here, I'd like to ask if someone know how to change "golem building" to only build basic golem instead of the fourth types of golems ? I'm not sure if answer (or question) was placed.
I'd also like to recycle the "second" unicorn glade to build some other unit (like one of the golems won't be possible to purchase). So if someone knows where the creature dwelling for this can be edited, that would be sweet to share this knowlege.
Oh, a last idea... The ability to cast spells is commanded by a table who begins with archangel and finishes with faerie dragon. Is it possible to change the starting point of this table (to zealot) so it will finish with golden golem. Making this golem "the faerie dragon" shall then give ability to make zealot a spell caster and keep the "faerie dragon" existing.
Have a good day !
____________
FfuzzyLogik.
If I'm crazy ? Sure, because its madness to be normal...
|
|
wojtulace
Hired Hero
|
posted August 27, 2020 05:39 PM |
|
|
It is said that % probabilities of getting skill should all add up to 112 in HCTraits.txt file. However, HoTa adds Interference skill chances and they no longer add to 112. Does that mean sum doesn't need to be 112?
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted August 27, 2020 06:29 PM |
|
|
You can test it, but last time I tried to change anything in that file, it caused the game to crash, probably because HotA messed with Resistance and Interference.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 01, 2020 01:33 PM |
|
|
I've updated my hacking guide in its thread, which I'd recommend checking out since it answers many questions I see get asked here.
Of course, the more information I add to it, it seems, the longer the list of questions I have gets. Here are the most pressing amongst them currently:
• How do I properly edit the instruction at 134621h to ban skills from Witch Huts and universities by default
• How do I properly change the tier of a horde building? The table at 28A3B4h doesn't seem to do anything
• Can the yields of Resource Silos be edited?
• Can the trade rates of Marketplaces be edited in any way, say to make them more fair if you only have one marketplace?
• Can we edit which tiles towns are allowed to build ships on? It's REALLY asinine that they can't build ships to the north and the current setup means that towns have to be awkwardly placed in order to be allowed to build ships at all.
• Can we edit when the AI starts searching for the grail per difficulty level? The default difficulty level has them start looking at only 25% of the puzzle map revealed; I'd like to bump that percentage up.
• Can the paralyze effect be made to check the "living" bit for immunity?
|
|
Baronus
Legendary Hero
|
posted September 01, 2020 03:16 PM |
|
|
Changing horde.
As we can read in this thread procedure is:
We want change not needed additional sceleton growth. Best solution is to have more zombies. Its very weak unit
... So we must change sceleton for zombie.
002887F0h to 0028890Fh :
=> Castle :
04 00 00 00 03 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Rampart :
10 00 00 00 04 00 00 00
ff ff ff ff 00 00 00 00
16 00 00 00 02 00 00 00
ff ff ff ff 00 00 00 00
=> Tower :
1e 00 00 00 04 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Inferno :
2a 00 00 00 08 00 00 00
ff ff ff ff 00 00 00 00
2e 00 00 00 03 00 00 00
ff ff ff ff 00 00 00 00
=> Necropolis :
38 00 00 00 06 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Dungeon :
46 00 00 00 07 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Stronghold :
54 00 00 00 08 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Fortress :
62 00 00 00 06 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
=> Conflux :
76 00 00 00 0a 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
ff ff ff ff 00 00 00 00
As you see in table sceleton is 38 sceleton warrior 39, so zombie is 3A.
38 00 00 00 => 3A 00 00 00
Next we must change horde lvl.
0x68A3B4 TownHorde1MonLevel db 2, 9, 1, 8, 1, 8, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7
0068A3C8 TownHorde2MonLevel db 0, 0, 4, 11, 0, 0, 2, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Values for each level:
0 7 first lvl
1 8
2 9
3 10
4 11
5 12
6 13 seventh lvl.
Necro is fifth so 0,7 --> 1,8
Beware do not mistake!
Tadam! Now you have additional growth +6 zombies.
Of course you must build zombie generator to see it in castle.
You may correct building dependencies too to eg. have it after zombies dwelling.
But its. minor quest.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 01, 2020 03:40 PM |
|
|
Yeah, I've tried this before. Except in my case, I switched the tiers of Gnolls and Dragonflies. That all works fine, but when I go to switch the horde building to tier three, the result is that the horde building erases the Fly Hive and completely halts Gnoll growth.
|
|
Baronus
Legendary Hero
|
posted September 01, 2020 03:54 PM |
|
|
Explain step by step what you have done. You not only change hirde but monster level too?!
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 01, 2020 03:58 PM |
|
Edited by BTB at 16:01, 01 Sep 2020.
|
All of my changes are documented below, bearing in mind that since the horde swap did NOT go as planned, I went ahead and left it at tier 1 (Dragonflies), hence the change at 2888D0.
; ------
; Gnolls
; ------
273024: 00 > 02 ; Tier 1 -> 3
273098: 00 > 02 ; "" (Marauders)
; -----
; Flies
; -----
2732DC: 02 > 00 ; Tier 3 -> 1
273350: 02 > 00 ; "" (Dragonflies)
; ----------------------
; Fortress Creature Swap
; ----------------------
27493C: 62 > 68 ; Gnolls -> Serpentflies
274958: 63 > 69 ; Gnoll Marauders -> Dragonflies
274944: 68 > 62 ; Serpentflies -> Gnolls
274960: 69 > 63 ; Dragonflies -> Gnoll Marauders
2888D0: 62 > 68 ; Gnolls -> Flies (Horde)
2888D4: 06 > 08 ; +6 -> +8 growth ("")
; --------------------------
; Tier 1 Dwelling (Fly Hive)
; --------------------------
28B1FA: 81 > C0 ; Base Gnoll Hut -> base Fly Hive coordinates
28B1FB: 02 > 00 ; ""
28B1FC: A8 > 58 ; ""
28B1F8: 00 ; (No animation frames)
2892FC: 64 > 68 ; TBFRDW_0.def -> TBFRHRD1.def (use modified base Horde graphic)
2892FD: 77 > 72 ; ""
2892FE: 5F > 64 ; ""
2892FF: 30 > 31 ; ""
28B224: 81 > 9F ; Upgraded Gnoll Hut -> upgraded Fly Hive coordinates
28B225: 02 > 00 ; ""
28B226: 6B > 13 ; ""
28B222: 00 ; (No animation frames)
2892A8: 75 > 68 ; TBFRUP_0.def -> TBFRHRD2.def (use modified upgraded Horde graphic)
2892A9: 70 > 72 ; ""
2892AA: 5F > 64 ; ""
2892AB: 30 > 32 ; ""
; ----------------------
; Horde Building (Flies)
; ----------------------
28B1B2: 81 > C0 ; Base Captain's Quarters -> base Fly Hive coordinates
28B1B3: 02 > 00 ; ""
28B1B4: 79 > 58 ; ""
28B1B0: 00 > 15 ; (Animation frames - setting has no effect)
28938C: 68 > 64 ; TBFRHRD1.def -> TBFRDW_3.def (use base Fly Hive graphic)
28938D: 72 > 77 ; ""
28938E: 64 > 5F ; ""
28938F: 31 > 33 ; ""
28B1B8: 81 > 9F ; Upgraded Captain's Quarters -> upgraded Fly Hive coordinates
28B1B9: 02 > 00 ; ""
28B1BA: 44 > 13 ; ""
28B1B6: 00 > 15 ; (Animation frames - setting has no effect)
289380: 68 > 75 ; TBFRHRD2.def -> TBFRUP_3.def (use upgraded Fly Hive graphic)
289381: 72 > 70 ; ""
289382: 64 > 5F ; ""
289383: 32 > 33 ; ""
; ---------------------------
; Tier 3 Dwelling (Gnoll Hut)
; ---------------------------
28B206: C0 > 81 ; Base Fly Hive -> base Gnoll Hut coordinates
28B207: 00 > 02 ; ""
28B208: 58 > A8 ; ""
28B204: 15 > 00 ; (Animation frames - setting has no effect)
2892E7: 33 > 30 ; TBFRDW_3.def -> TBFRDW_0.def (use base Gnoll Hut graphic)
; --------------
; Tier 3 Upgrade
; --------------
28B231: 9F > 81 ; Upgraded Fly Hive -> upgraded Gnoll Hut coordinates
28B232: 00 > 02 ; ""
28B233: 13 > 6B ; ""
28B22E: 15 > 00 ; (Animation frames - setting has no effect)
289293: 33 > 30 ; TBFRUP_3.def -> TBFRUP_0.def (use upgraded Gnoll Hut graphic)
|
|
Baronus
Legendary Hero
|
posted September 01, 2020 06:05 PM |
|
|
So as I see problem is with buildings. Maybe you shouldnt move horde def?
If you move only 3.def -0.def and 0.def - 3.def all is ok?!
|
|
SilverG
Known Hero
|
posted September 01, 2020 09:17 PM |
|
|
How can I re-write +50% to Growth with the Grail structure? It cannot be changed without rewriting assembler instructions, which start @ 1C01B0h.
Any help?
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 02, 2020 02:55 AM |
|
|
Baronus said: So as I see problem is with buildings. Maybe you shouldnt move horde def?
If you move only 3.def -0.def and 0.def - 3.def all is ok?!
The buildings have to be moved because otherwise you're recruiting Gnolls from a hole in a tree and Serpent Flies from the Gnoll Hut. So those need to be swapped, as well. Those are purely graphical changes, mind, and don't actually affect the growth of the buildings one way or the other.
|
|
Baronus
Legendary Hero
|
posted September 02, 2020 09:35 AM |
|
|
But if you want mod only tier just replace 3-1 and 1-3 lvl and next change dependencies between bulidings 3 and 1. And all is ok??? You want something else?!
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 02, 2020 03:04 PM |
|
|
Baronus said: But if you want mod only tier just replace 3-1 and 1-3 lvl and next change dependencies between bulidings 3 and 1. And all is ok??? You want something else?!
That almost works. However, it will break your ability to upgrade existing Serpent Flies or Gnolls due to a mismatch between the actual creature tier and the tier specified by the buildings.
(They'll also appear in the wrong positions on the town interface since the town still thinks that Gnolls are T1 and Flies are T3)
|
|
Baronus
Legendary Hero
|
posted September 02, 2020 04:33 PM |
|
|
Maybe once again whole procedure.
A. Buildings.
fly.def - gnoll.def
gnoll.def-fly.def
Coordinantes
fly-gnoll
gnoll-fly
horde.def NO CHANGES!
...
Now we have flies in hut gnolls on the tree.
Replace unit to dwelling aligment:
27493C: 62 > 68 ; Gnolls -> Serpentflies
274958: 63 > 69 ; Gnoll Marauders -> Dragonflies
274944: 68 > 62 ; Serpentflies -> Gnolls
274960: 69 > 63 ; Dragonflies -> Gnoll Marauders
Now is correct building and monster
Switch level 3-1,1-3
...
Dont Change horde unit!
Change horde to dwelling aligment 07 - 29
Switch townhall pictures.
All should work!
Very complicated. I think better is simply switch unit to dwelling aligment and horde unit. You have gnols on the tree but all players dont recruit units from dwellings only from castle so its not a big problem.
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 03, 2020 05:07 AM |
|
|
This brings us back to the same problem we had before. The horde building is hard-coded to replace the tier 1 building, so building it will destroy the Fly Hive. One would assume that's what 00/07 --> 02/09 should fix, except it doesn't.
|
|
Baronus
Legendary Hero
|
posted September 03, 2020 06:44 AM |
|
|
It shouldnt because you dont change nothing with horde def. Only switch creature def. But probably something else must be changed too. Second problem is uprade. If I swich two units eg. sceleton and zombie between dwelings upgrade dont work!
We must find upgrading code.
So at this moment we can change horde growth only...
|
|
BTB
Famous Hero
Moist & Creamy
|
posted September 03, 2020 07:19 AM |
|
|
The .def files are purely graphical and are not related to the mechanical effect of the horde building physically erasing the building it thinks it's supposed to replace.
|
|
Baronus
Legendary Hero
|
posted September 03, 2020 09:14 AM |
|
|
Its not so sure. Its a lot of surprises in gamecode. Of course logically should work.. But logicaly changing horde code and building coordinantes should work... And not work... But its not a main question horde is only extra building. So we can increase unit growth and will be the same.
|
|
DeathStare
Adventuring Hero
|
posted September 09, 2020 10:36 AM |
|
|
Hello? I have a question about sacrifice spell. Did you know that the standard by which sacrifice spell works to the unit is consistent with resurrection? For example, if a unit's health gage exceeds restored health from resurrection, it cannot be resurrected by sacrifice no matter how many units it has to sacrifice. In other words, a unit that cannot be saved by resurrection spell because has a lot of health gage, cannot be saved by sacrifice spell too. Is it possible to correct these restrictions with hex edit?
|
|
|