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 3.5 - WoG and Beyond > Thread: How to edit HotA?
Thread: How to edit HotA? This Popular Thread is 117 pages long: 1 10 ... 17 18 19 20 21 ... 30 40 50 60 70 80 90 100 110 117 · «PREV / NEXT»
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted August 31, 2017 11:51 PM
Edited by RoseKavalier at 23:52, 31 Aug 2017.

RoseKavalier said:
Artifacts primary bonuses are stored at 23E758h
4 bytes per artifact, 1 byte per primary (A-D-SP-K)


With the few things I understood in modding artifacts, I can tell :
- Caracteristics added by artifacts can be more big than 12 (I tested 13 : 0d for Titan gladius). I won't add more in my mod but if someone wants to know if we can add more, I can test. Its my turn to test for other !
- If you want some artifacts have negative value of "-1", you can write ff (fe is "-2" ; fd is "-3"). Samly I think fc is "-4" ; fb is "-5", if someone wants to know if it works, I'll test for you.

Have a nice Knight em, night,


1 byte = 8 bits => up to 1111111 = FFh
In H3, it's usually signed bytes meaning (+/-) are taken into account.
0h~7Fh = 0~127
80h~FFh = -128~-1

So maximum you can add is +127 and minimum is -128 (beware overflow works in both ways pos->neg & neg->pos).
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Hired Hero
posted September 01, 2017 01:12 AM
Edited by Zaibach at 01:13, 01 Sep 2017.

Hi!

I want to change the Nix and Nix Warriors statistics. Could someone help me? I opened the HotA.dat file and I found some references of the word Nix, but i don't know which bytes exactly I have to change. I want just to set weaker attack and defence skill. I also need to change some txt or other files?

Thank you!
____________

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


Responsible
Supreme Hero
posted September 01, 2017 01:30 AM

Attack: 4AE7h, Defense: 4AEBh (HotA.dat)

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


Hired Hero
posted September 01, 2017 02:00 AM
Edited by Zaibach at 08:02, 01 Sep 2017.

AlexSpl said:
Attack: 4AE7h, Defense: 4AEBh (HotA.dat)


Thanks, it works!

Another question: how to change Pub increase growth of crew mates and seamam from 6 to 4? I see a pub entrance in HotA.dat but is only the text description, not the actual value.

Anyway here's my changes to Nix:
Nix attack and defence skill: 12/14 (from 13/16, so -1/-2)
Nix Warrior attack and defence skill: 14/18 (from 15/20, so -1/-2)
You guys think is good?

See ya!
____________

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


Legendary Hero
Heroes is love, Heroes is life
posted September 01, 2017 08:31 AM
Edited by phoenix4ever at 17:47, 01 Sep 2017.

Zaibach Pub bonus is at 776Fh, I also changed it from +6 to +4 some pages back in this thread. For some reason it does not always work however, I don't know why.

I also agree about Nix being to strong, at least too durable, they are pretty much level 7 units in terms of durability. I have'nt tested your new values, but it sounds pretty good to me.

Edit: Looking at bit closer in to it, I think I would change Nix Warriors from 20 -> 16 defense.
That way they get +2 attack from Nix to Nix Warrior, but no defense, but instead they get 10 extra hp and 60% damage resistance instead of 30%.

I also think stats of Pirates, Corsairs and Sea Dogs needs to be changed, they get a ridiculous upgrade from Pirates to Sea Dogs.
Sea Dogs have better stats than both Ayssids and Sea Sorceresses.
Them all having 7 speed is also weird to me, it should be 5/6/7.

Sea Serpents and Haspids are also too fast, how are these giant sea snakes so fast on land?
Haspids are faster than Titans, Devils, Green Dragons, Red Dragons, Thunderbirds and Stormbirds, it makes no sense to me.

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


Hired Hero
posted September 01, 2017 07:26 PM
Edited by Zaibach at 19:51, 01 Sep 2017.

Another question, is possible to change Cloak of the Undead King so that at expert Necromancy it summons Wights? (instead of Liches).

You also need to change 7777h for growth of Seamen.

About Cove... Yeah, probably -2 Defence to Nix Warriors is not enough, but I think -4 Defence is too much... Maybe -3? (so defence 17?).

I agree Sea Dogs are probably too strong. Which stats should be changed in your opinion?

Haspids are really great but I don't think I will change them, cause in my opinion there are still better 7th level units in the game.

____________

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


Legendary Hero
Heroes is love, Heroes is life
posted September 01, 2017 08:14 PM
Edited by phoenix4ever at 16:49, 09 Sep 2017.

You are right, that seemed to do the trick with the Seamen bonus.

For Nixes I haven't tested it yet, but -4 defense seems fine to me, remember they ignore 60% of enemy's attack, so they should still be very durable and a defense stat of 16 ties with Champions and is still the second highest, only Dread Knights are higher at 18.

Here is what I did to:
Pirates: Speed 7 -> 5  
Corsairs: Speed 7 -> 6
Sea Dogs: Attack 12 -> 11   Defense 11 -> 9

Are you sure Haspids are'nt the best level 7? They might not be the fastest, but 300 hp, good speed and damage, poison and that insane revenge ability makes them a huge threat.

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


Hired Hero
posted September 02, 2017 05:27 PM

My changelog so far:

Changelog:
Learning: +10%/+20%/+30% (x2)
Mysticism: +4/+8/+12 (x3 on expert)
First Aid: +100/+150/+200 (x2)
Sea Dogs defence: 10 (-1)
Nix attack/defence: 12/15 (-1/-1)
Nix Warrior attack/defence: 14/17 (-1/-3)
Pub bonus on growth of crew mates/seaman: 4 (-2)

I will test this new modifications!
See ya!
____________

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


Hired Hero
posted September 04, 2017 12:16 PM
Edited by Zaibach at 12:17, 04 Sep 2017.

No clue how to make Cloak of the Undead King so that at expert Necromancy it summons Wraiths? (instead of Liches)

See ya!
____________

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

Hero of Order
Part of the furniture
posted September 04, 2017 12:22 PM

Zaibach said:
No clue how to make Cloak of the Undead King so that at expert Necromancy it summons Wraiths? (instead of Liches)

See ya!


Previous page, detailed by RoseKavalier:

Quote:
FfuzzyLogik said:
=> For Cloak of undead king

+30% necromancy
E4177h is DWORD pointer to 30%. Switch it to another DWORD pointer address you know that has correct %. (I showed an example for HotA necromancy earlier in thread)

Creature IDs (3-2-1-0 skill)
Lich E3F1Fh
Wight E3F2Ah
Walking Dead E3F33h
Skeleton E3F3Ah

____________
The last Reasonable Steward of Good Game Design and a Responsible Hero of HC. - Verriker

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


Hired Hero
posted September 04, 2017 12:25 PM
Edited by Zaibach at 13:51, 04 Sep 2017.

Thank you guys! I just missed that part! (i read almost 15 pages and then givup) XD

It works! Yeyyyy!

Edit: I'm thinking about it... considering how necromancy works, you raise only 1 wight instead of 3 skeletons, because they have health 18 and skeletons health 6... 3 skeletons do more damage (6 damage on average) than 1 wight (4 damage on average), but the wight has +1attack +1defence and, more important, speed 7 and fly (+ his special abilities). Are we sure 1 wight is better than 3 skeletons? Because if the answer is no, raising wights is worse than raising skeletons! XD

What do you think guys?
____________

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


Legendary Hero
posted September 04, 2017 02:54 PM

As I calculated:
If sceleton 100%
up.sceleton 108%
zombie 177%
up. zombie 223%
wight 300% !!!
up. wight 318%
As you see precise the same 1 wight or 3 sceletons. But upgrade maybe better is 3 sceletons.
Wight has 2 abilities not only stats. And flying! Its big bonus.

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

Hero of Order
Part of the furniture
posted September 04, 2017 04:38 PM

I agree with Baronus on this one. Keep in mind that you only lose 1 unit for every 18 points of damage with Wights, whereas you lose 1 unit for every 6 points of damage with Skeletons. Besides, they also have regeneration, making their survival rate even better.
____________
The last Reasonable Steward of Good Game Design and a Responsible Hero of HC. - Verriker

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


Hired Hero
posted September 04, 2017 08:56 PM

Thanks for your opinions guys... I feel wights are fair enough, and liches was really too OP.

See ya!
____________

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


Honorable
Legendary Hero
We don't need another 'eroes
posted September 05, 2017 01:40 AM

sorry for a very general question but do you know if anyone ever had any success with adding an eighth dwelling to a town and is there any means for this to be possible, for sure there is the extra interface slot of the Portal of Summoning but I do not know if that can be manipulated in any way, cheers lol
____________

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


Admirable
Supreme Hero
posted September 05, 2017 03:42 PM

[For SoD modders]

Note: I'm not 100% certain these are perfect but in limited testing they seemed to work.

Make external dwellings guard accumulate:
0x004B8771 = 0x9090909090

Make external dwellings accumulate creatures:
0x004B87A1 = 0x01


____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Legendary Hero
posted September 05, 2017 05:38 PM

Really big discovery! Missing accumulation in HIII was a big fail. But we have it in code! Now you mustnt run! run around to buy creatures! Grat thanks! Now only mills and other dont accumulate. Maybe this is to repair too!

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


Admirable
Supreme Hero
posted September 05, 2017 06:45 PM

Baronus said:
Really big discovery! Missing accumulation in HIII was a big fail. But we have it in code! Now you mustnt run! run around to buy creatures! Grat thanks! Now only mills and other dont accumulate. Maybe this is to repair too!

Just about everything can be modified, you just need:
1) ideas
2) find code responsible
3) make patch
4) lots of time for 2) and 3)

The problem with windmills and some other things is how the data is stored, it's all a bit different and needs a bit of work to check and modify everything.

In game memory, you have structure for every tile in the game. Its first element usually contains information about the object there, let's call it attribute.

For windmills, you basically do:
resource_id = (attribute << 0x1C ) >> 0x1C (i.e. bits #29-32)
resource_qty = (attribute >> 0x0D ) & 0x0F

You can make them accumulate but not by resource, so week 1: 4 ore then week 2: 8 gems makes little sense.

For waterwheels:
resource_qty = (attribute & 0x1F) * 500
This can accumulate, but only up to 31*500 = 15.5k
I didn't check the rest so I don't know if it's safe to let this accumulate higher.

~~~

In other words, you need to not only change the code to accumulate, but also change how to retrieve it - and make sure you're not messing some other hidden flags stored in attribute. On top of that, all of them are different.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Legendary Hero
posted September 05, 2017 08:10 PM
Edited by Baronus at 20:11, 05 Sep 2017.

All accumulate way will be great! Accumulation weeks too. 31 months for windmills is enough! I think we really need only 2 or 3 accumulations, but max level dont injure. But why 500 not 1000? In this case better is 31.000. If you can post adress and way! Gameplay will be faster and playability bigger!

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


Legendary Hero
Heroes is love, Heroes is life
posted September 05, 2017 10:13 PM

Maurice said:
Previous page, detailed by RoseKavalier:
Quote:
FfuzzyLogik said:
=> For Cloak of undead king

+30% necromancy
E4177h is DWORD pointer to 30%. Switch it to another DWORD pointer address you know that has correct %. (I showed an example for HotA necromancy earlier in thread)

Creature IDs (3-2-1-0 skill)
Lich E3F1Fh
Wight E3F2Ah
Walking Dead E3F33h
Skeleton E3F3Ah



Sorry for being late, but I don't quite get the above.
If I wan't to change the Cloak to Skeletons at basic, Zombies at advanced and Wraiths at expert how do I do that?
(I don't wan't to the change the percentage.)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: Next Thread » This Popular Thread is 117 pages long: 1 10 ... 17 18 19 20 21 ... 30 40 50 60 70 80 90 100 110 117 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2589 seconds