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 112 pages long: 1 10 20 30 40 50 60 70 80 90 100 ... 102 103 104 105 106 ... 110 112 · «PREV / NEXT»
phoenix4ever
phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted October 05, 2023 11:26 AM

Thank you.
I can live with the graphics part, I also have morale and luck caps higher than +3 and graphics does'nt support that either, but it's not a huge problem.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 02:00 PM
Edited by phoenix4ever at 14:39, 06 Oct 2023.

@AlexSpl
Hi Alex
Sadly I've encountered a problem/bug with the 10 skills.
Universities, Witch Huts and extra skills given from Pandoras Box does'nt work when you have reached 8 skills. They won't allow you to buy/learn any more skills.
Any idea how to fix that?

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


Undefeatable Hero
Therefore I am
posted October 06, 2023 02:21 PM

Older WoG/ERA 2.9.13, for example, you can't visit a Witch Hut for extra skill. Today WoG/ERA 3.9.5 you can visit Witch Huts, because of 10SS MOD.. So I think you need a hero screen. But Alex can do what Alex wants.. If yes, maybe WoG team takes Alex's code.. But I don't think so.. Needed beautiful screen.. No experience point icon is a very old from WoG 3.58f or earlier..
____________
Fight MWMs - stand teach

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


Responsible
Supreme Hero
posted October 06, 2023 05:31 PM
Edited by AlexSpl at 17:44, 06 Oct 2023.

Probably additional check by Witch Huts and Universities themselves. I wonder why the game needs it, as there is already such a check when giving a secondary skill to a hero. Look into it later.

Well, indeed, the game double checks, if a hero already has 8 skills. So, you'll need to patch a couple more addresses.

9F90B (Pandora Box)
A7DD0 (Witch Hut)
17417F (Seer's Hut)

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 05:38 PM
Edited by phoenix4ever at 17:51, 06 Oct 2023.

Thanks!

What about University?

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


Responsible
Supreme Hero
posted October 06, 2023 06:09 PM
Edited by AlexSpl at 18:18, 06 Oct 2023.

Also

124B3D (AI)
124B9A (Seer's Hut for AI)
1253C4 (University for AI)
1260DF (University in Conflux for AI)
1287DF (Pandora Box for AI)
12BE15 (Witch Hut for AI)
1F0C87 (University for Human)
1F0F50 (University for Human)

This would not be needed if a certain programmer didn't forget that the very function which gives SS already has a check for 8 skills.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 06:14 PM

Wow okay, thank you so much, you are completely awesome.

I would like to nominate you for a QP, if you care about that.

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


Responsible
Supreme Hero
posted October 06, 2023 06:24 PM
Edited by AlexSpl at 18:30, 06 Oct 2023.

Another well hidden address:
12535F (AI evaluations)

I really hope that's all, unless we don't touch interface.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 06:30 PM

Okay turned out to be a bit more complicated than I (we?) initially thought, but I have changed all 14 addresses now. Hope everything works like it should.

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


Responsible
Supreme Hero
posted October 06, 2023 06:33 PM
Edited by AlexSpl at 18:39, 06 Oct 2023.

Quote:
Okay turned out to be a bit more complicated than I (we?) initially thought, but I have changed all 14 addresses now. Hope everything works like it should.

Actually very little could escape from my search. With very high probability those are all addresses needed for expanding secondary skills number (again, without interface changes).

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 06:46 PM

That's perfect and we don't need to waste time on the interface, I'll just write my heroes skills down manually on a good, old piece of paper.

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


Responsible
Supreme Hero
posted October 06, 2023 08:33 PM
Edited by AlexSpl at 20:35, 06 Oct 2023.

Haha Of course, you need the interface part, but, as I previously said, it's a task for C++. Theoretically it's possible in hex as well, but I'm afraid of even starting counting unpaid hours of hard and tedious work Even in C++ it's not an easy task, to be honest.

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


Responsible
Supreme Hero
posted October 06, 2023 09:45 PM
Edited by AlexSpl at 22:53, 06 Oct 2023.

You probably wonder how I find addresses to change so fast. Actually, even with the default output of IDA, it would take you weeks to do what I've done in half an hour. As someone once said, I stand on the shoulders of true Titans, which are my fellow modders and their teachers. I recommend you to take your time and google translate these two threads - How to create a plugin for dummies and this amazing thread by void17 - IDA database by void17. Believe me, after diligent study you will level-up your modding skill to 75th level. Of course, you are supposed to compile and test examples in those threads, but it's worth it, if your goal is to make great and heavenly complex plugins.

Another way, as I said, is ERM. It's simpler, as most work is already done for you. Basically, it's scripting language with possibility to invoke low-level functions. See for yourselves. I, myself, recommend to learn how to write plugins to get complete freedom of coding. So, decide for yourselves if you are ready to start writing really mind-blowing mods with zero limitations or not.

What I mean when I say heavenly complex Let's take my plugin NewSpells. Did you know that there were precedents of adding new spells to the game before it? It's MoP (Master of Puppets mod). But the expert level of this "witchcraft" only the author of the mod had mastered. Don't even think of adding new spells to this mod by yourself. First, it's written in pure assembler. Second, it doesn't provide any algorithm or pattern of how to add new spells to the game. Actually, the problem of new spells is one of the most sophisticated in HoMM3 modding. You can find ERA mods, but all of them replace spells instead of adding them. That's two big differences.

Now I wrote NewSpells plugin, which only requires you to know how to write plugins at all. You even can read the first post and follow the link where I teach how to effectively add a spell on the example of Water Shield. Many people don't understand that this plugin is a demo. Just read commentaries on YouTube. We added abilities as spells to demonstrate that the plugin works. You can add as sophisticated spell as you want. And there is even pattern for adding new spells. Of course, spell logic is on your shoulders. The plugin just allows you to write and add spells without thinking of technical issues.

And what we see? People are just not ready, as they are too lazy to learn C++ basics. Believe me, you won't need even classes to write your own spell I doubt someone will provide more robust interface of adding new spells in near future. And, remember, even HotA lacks new spells and I doubt the team will add some with Factory expansion, because NewSpells plugin is an example of heavenly complex

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


Legendary Hero
Heroes is love, Heroes is life
posted October 06, 2023 11:30 PM
Edited by Phoenix4ever at 23:35, 06 Oct 2023.

I don't know if that last post was selfpromotion of your indeed very impressive NewSpellsPlugin or if you are just trying to help.
I have honestly never been interested in adding new spells, rather make existing ones work.
(Now there is a tough job, if you can actually make garbage like Disguise, Remove Obstacle or Magic Mirror useful.)
Actually is there a way to get Titan's Lightning Bolt and maybe Fear as normally appearing (and working) spells?

However I think I have more or less learned everything I want and need to know about editing H3 and I feel like txt editing and hex editing is as far as I will go.
Also because it must be compatible with HotA and HD Mod and that sometimes complicates stuff. There is still stuff I want to edit with HotA, but nobody appears to know how.

But thanks for all your help Alex and it's probably not the last time I need your help let's be honest.

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


Responsible
Supreme Hero
posted October 07, 2023 12:16 AM
Edited by AlexSpl at 00:19, 07 Oct 2023.

Quote:
I don't know if that last post was selfpromotion of your indeed very impressive NewSpellsPlugin or if you are just trying to help.

It's an example of heavenly complex plugin Name another one which has 3,700 lines not counting APIs.

Quote:
Actually is there a way to get Titan's Lightning Bolt and maybe Fear as normally appearing (and working) spells?

You can "unban" Titan's Lightning Bolt easily. Fear is even not implemented, sadly. So, you cannot return Fear. In NewSpells plugins Fear is written anew.

Quote:
However I think I have more or less learned everything I want and need to know about editing H3 and I feel like txt editing and hex editing is as far as I will go.

It's very sad. Oh my, like one wise man said, you yourself set up your limits.

Quote:
Also because it must be compatible with HotA and HD Mod and that sometimes complicates stuff. There is still stuff I want to edit with HotA, but nobody appears to know how.

I understand, you want official support of plugins for HotA. Forget it. HotA is unmoddable, so make sure you have backups of its oldest version, for in the future you might find your mod no longer working

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


Legendary Hero
Heroes is love, Heroes is life
posted October 07, 2023 07:49 AM

How can I "unban" Titan's Lightning Bolt then?

Yeah, I guess Fear was only implemented, maybe not even completely, in an old version of RoE.
It could have been nice as a level 4 Fire spell, opposite to Prayer, that way all schools had a spell relating to speed/initiative.

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


Promising
Supreme Hero
Researching Magic
posted October 07, 2023 10:50 AM
Edited by RerryR at 10:51, 07 Oct 2023.

Ghost said:
Older WoG/ERA 2.9.13, for example, you can't visit a Witch Hut for extra skill. Today WoG/ERA 3.9.5 you can visit Witch Huts, because of 10SS MOD.. So I think you need a hero screen. But Alex can do what Alex wants.. If yes, maybe WoG team takes Alex's code.. But I don't think so.. Needed beautiful screen.. No experience point icon is a very old from WoG 3.58f or earlier..


The 10th Skill mod for ERA is available for a long time and works perfectly. You can even choose whether you want the hero screen with WoG blesses and curses, or not.So no need to change code base at this point.
For the graphics part, you can take the hero screen from that mod if it is of any help to you

As usual, Phoenix goes the hard way, denying ready-made solutions available in ERA. But we are glad Alex-SP could help so fast ;- )  

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


Legendary Hero
Heroes is love, Heroes is life
posted October 07, 2023 11:09 AM
Edited by Phoenix4ever at 11:11, 07 Oct 2023.

Are ERA and HotA compatible?, otherwise there is no point anyway.

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


Undefeatable Hero
Therefore I am
posted October 07, 2023 03:03 PM

But WoG/ERA is 100 times better than WoG 3.58f. You've a chance/possibility to become a big/great modder. We know you want specialists level 1. But playable with hero screen, or Leprechaun bank, etc You also get a HotA objects, and even creatures and artifacts, but not Highland-scape. It after you write a script, and then all is done. No writing a script again, when it works all maps. What you say HotA ERA? An easy edit, improvement, variation, etc

I chose WoG, because of difficulty level. I can't play SoD. A mortal AIs No only WoG but the future ERA too. What? Bug fixes, graphics, and other. WE TRUST IN THE WOG! Do you remember or know?

We don't force or advertise you. We only recommend..
____________
Fight MWMs - stand teach

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


Responsible
Supreme Hero
posted October 07, 2023 03:42 PM
Edited by AlexSpl at 16:09, 07 Oct 2023.

Quote:
How can I "unban" Titan's Lightning Bolt then?

Can you just enable it in sptraits.txt? I don't remember. To make it cost whatever cost you set in sptraits.txt, instead of 0, write 90 90 at E54BD.

Ah, I see, it's disabled at code level. 1BE55D - 90 90 to enable it for Aurora Borealis. Later I'll see all such cases.

Btw, in NewSpells.ini (config file of NewSpells plugin) you can force enable spells that was disabled by the game or a mapmaker in the section [Enabled Spells].

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 112 pages long: 1 10 20 30 40 50 60 70 80 90 100 ... 102 103 104 105 106 ... 110 112 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1827 seconds