|
|
FfuzzyLogik
![FfuzzyLogik](images/avatars/Vangelis21-2008.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Known Hero
|
posted August 13, 2023 05:50 PM |
|
|
Hello here,
Quite a time I haven't been here and it looks activity decreases a bit. On these times, more things are happening on other support than sites...
I was searching to mod luck and Morale.
Both of them works in a way samely and I'd like to make them different.
This paragraph is just a comparison of both moral and luck and will say "luck is generally weaker than moral"... You can skip it...
- First of all, why I find its "quite the same" ? Because basically, one does something around doble damage and other makes you an unit play twice so we can siplify and say "it also makes a new attack so doble damage too". Other point, probabilities are the same.
- The only "good point" of luck over morale is when you attack a stack and (almost) kill it because of the lucky strike, the creature stack you attack will die so no counterattack. With morale you'd be counterattacked then you could kill the stack...
- In all other cases, get moral to some unit is stronger because it makes you moove again (so reach some unit if you could not, luck cannot allow you to do that) and/or replace your army to a better position (even attack, then back to not be attacked again) or eventually cast a spell for some special units can be very interesting... So it offers wayyyy more than a bit of damage.
So the idea was to change a bit probabilities to make the two things working a bit more differently.
=> For luck.
Idea was to increase the probability to occur and decreases the effect.
With the already documented datas we can change the probabilities :
For melee : 04154E and for range : 03F66C the probabilities of good luck (1/24 per luck bonus = 4,2%).
- I intend to change them to 1/12 (so 8,33% per luck bonus). At +3 it will get a 25% chances to get a lucky strike.
- I also want to get the max bonus to 6 so 50% chances if you get there (its quite hard to get +6 but it will give some interest in getting the skill to not cap max too soon).
To change the max cap, the localisation is 03F658/03F65F for ranged and 04153A/041541 for melee.
> For negative luck, it was impelmented only on HoTa.
Idea is to do some modifications on probabilities there but I have not the adresses.
- For negative luck : 1/9 per point of luck so 11,1% per lacking luck. At -3 luck you'll have 33,3% to get unlucy.
> Other point is (as these changes are huge) to diminish the luck effect because if you get 50% to have a lucky strike (for +6 luck), its often ! And here is the main question.
- I'd like lucky strike makes you add +50% damage (instead of "doble" it even if doble is not totally accurate description).
- I'd also like the "unlucky strike" does 2/3 damage instead of 1/2.
And here I'm struck ^^
=> If you're interested, for morale my intentions are to :
- Get also -3 to +6 (adresses to change the max : 064586 and 0645A0, for the min value its here : 064754 and 06477C).
- Replace 1/24 per 1/30 (3,33% per morale point so max +20% with +6) can be changed at 0645AA.
- Replace 1/12 per 1/15 (6,67% per bad morale point so -20% with -3) can be changed at 06479E.
These changes have an other minor but hoped effect, to make a modding of some "luck/morale" and "unluck/unmorale" spells to get a better place in game as in standard game you'd better to cast "bless/curse/stone skin/shield" for damaging effects.
So luck will happen far more freqently but will have less effects. The probabilities are going to be more than twice the "moral" effect to compensate the +50% damage instead of "doble".
And morale will do something similar but caps to +6 means (for both skills) two things : artifacts of morale/luck will have more interest for heroes with leardership/luck skill and getting leadership/luck can lead you to better results.
Have a good day,
|
|
RustyHeroes
![RustyHeroes](images/blank.gif)
![](images/rta.gif) ![](images/rta.gif)
Tavern Dweller
|
posted August 24, 2023 08:56 PM |
|
|
Hello modding specialists.
A question about the images of the hero Giselle.
Please tell me where Giselle's avatar is stored?
____________
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 06:37 PM |
|
|
Does anyone know how to allow 10 skills? (I know the graphics does'nt support it, but I don't really care.)
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 06:51 PM |
|
Edited by AlexSpl at 18:55, 04 Oct 2023.
|
There are well-known mods on 10+ secondary skills even with a scrollbar. Just google them. You don't have to use them, but you can see their code to borrow for your purposes.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 07:07 PM |
|
|
Thanks, but even if I download such a mod, where do I find the code?
(It would be awesome if I could also get the scrollbar to see all skills.)
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 07:12 PM |
|
Edited by AlexSpl at 19:18, 04 Oct 2023.
|
http://heroescommunity.com/viewthread.php3?TID=44682
Of course, it's ERM, but you can always rewrite it as a plugin or just see which addresses are used. Note, that ERM uses decimal addresses.
It's even possible to show only small pictures of secondary skills to make room for all possible skills.
|
|
bloodsucker
![bloodsucker](images/avatars/mm8-Vampire15.gif)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
|
posted October 04, 2023 07:17 PM |
|
|
Not my cup of tea but you are going to hate the ten skills, unless you find a way to give AI's heroes the right ones...
You will be reducing the luck factor for yourself, while keeping it almost equal for AI. You will still find heroes without Wisdom or any magic school even if they all will have Logistics, Estates and possibly Navigation or Pathfinding, depending on the map. To affect that you would need to change the priorities AI uses.
____________
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 07:21 PM |
|
Edited by AlexSpl at 19:22, 04 Oct 2023.
|
Quote: Not my cup of tea but you are going to hate the ten skills, unless you find a way to give AI's heroes the right ones...
This task belongs to elementary ones. You have to just intercept a decision of AI when leveling-up and write as big decision-maker as you want instead. Really a simple task.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 07:24 PM |
|
|
bloodsucker said: Not my cup of tea but you are going to hate the ten skills, unless you find a way to give AI's heroes the right ones...
You will be reducing the luck factor for yourself, while keeping it almost equal for AI. You will still find heroes without Wisdom or any magic school even if they all will have Logistics, Estates and possibly Navigation or Pathfinding, depending on the map. To affect that you would need to change the priorities AI uses.
Maybe, but 8 skills just does'nt cut it. There are many heroes that NEED 10 skills to get an optimal build.
Besides you are always forced to pick Logistics, Earth, Air, Wisdom, Offense and Armorer. (Boring)
Your hero might start with 2 non-ideal skills, leaving zero room for custumization. How will you ever fit Fire or Water Magic in there or how about Archery at least for Tower and ranged creature specialists?
Besides there are other ways to make sure AI get good skills.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 07:29 PM |
|
Edited by AlexSpl at 19:31, 04 Oct 2023.
|
Btw, you can forget skills you don't want anymore with this plugin. Source code is in this post. Right-click and say good-bye to Eagle Eye It's even not a cheat, as you loose a skill.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 07:34 PM |
|
|
AlexSpl said: http://heroescommunity.com/viewthread.php3?TID=44682
Of course, it's ERM, but you can always rewrite it as a plugin or just see which addresses are used. Note, that ERM uses decimal addresses.
It's even possible to show only small pictures of secondary skills to make room for all possible skills.
ERM is like chinese to me, I don't understand any of that.
I don't think plug-ins work with HotA and HD Mod either.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 07:42 PM |
|
|
Quote: I don't think plug-ins work with HotA and HD Mod either.
What have I say? They are oficially unsupported for HotA has to maintain fairness of online games. But if you use HotA locally for your purposes (mods), it can support plugins. I bet there are a couple of ways to make it support plugins which can be found even at HC.
As for "Chinese", I agree. Plugins are way too easier to master.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 07:49 PM |
|
|
Please Alex my dear god-tier modder. <Insert praying hands here>
If you know the solution for 10 skills or know where to find it, can you please help me?
I'm not familiar with ERM or plug-ins or how to make HotA and HD Mod work with plug-ins and I don't feel like learning how all that (possibly) works.
Another solution might be to remove Wisdom, I think the solution was already posted in BTB's thread. Removing Wisdom, might have some OP effects though.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 08:05 PM |
|
Edited by AlexSpl at 20:12, 04 Oct 2023.
|
Take into consideration the fact that changes of such scale require modifying pretty big chunks of code. Which is, obviously, a pain in hex. To make it more clear, you have to write your idea in assembler Then translate your code to machine language, then find out how to squize those hex-instructions into the code of the game in a way to not break anything. An output will be a page of hex codes, and, believe me, no one sane modder doesn't want to go through these steps again and again, so I usually tell people not to even start hex-editing things that are harder than adding +1 to stats, for example.
Complex problems require a different approach to keep your mind healthy and sane. So, if you want to mod further, mod complex things, you should consider to learn how to make plugins, or learn ERM (I cannot recommend this path, because basically ERM provides shortcuts to solve common modding problems but lacks freedom of coding and readability).
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 08:12 PM |
|
|
Aww that's too bad, I did'nt know it was that complicated, maybe it was just changing a few digits, but I guess not.
I would be okay with graphics not supporting it, but perhaps that does'nt make things easier?
Is there an (easy) way to somehow remove unwanted skills?
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 04, 2023 08:13 PM |
|
|
Without graphics it would be much easier obviously. I see what can be done later.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 04, 2023 08:16 PM |
|
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 05, 2023 10:04 AM |
|
Edited by AlexSpl at 10:49, 05 Oct 2023.
|
You can change secondary skills limits here -
DAFCE
E256A
Write 0A to be able to learn up to 10 secondary skills, 1C - up to all 28.
|
|
phoenix4ever
![phoenix4ever](images/avatars/h3-sp-fire-Inferno.jpg)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Legendary Hero
Heroes is love, Heroes is life
|
posted October 05, 2023 10:57 AM |
|
|
That's amazing Alex, thank you very much.
Any reason why it needs to be edited at two locations?
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted October 05, 2023 11:02 AM |
|
Edited by AlexSpl at 11:06, 05 Oct 2023.
|
The first address is the limit of secondary skills slots during the process of their generation at a level-up. The second one is the real limit of hero slots for secondary skills. If you don't change both of them, level-ups will be inconsistent.
Also, the second limit is needed to be able to learn new skills from Witch Huts, Universities and so on.
The graphics part cannot be easily implemented via hex-editing, so I won't even try this
|
|
|