|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 17, 2020 06:13 PM |
|
|
I remember you asking about it, but I'm playing SoD, not HotA.
You've also shed some pretty important light on my research. Earthquake, Summon Boat, Water Walk, Fly, Dimension Door, and Town Portal all have byte 3 set to 10. Scuttle Boat, curiously, has it set to 0 - as do the other 5 spells you mentioned.
Scuttle Boat: 285536 0 > 10
Remove Obstacle: 2876AE 0 > 10
Quicksand: 2859FE 0 > 10
Land Mine: 285A86 0 > 10
Force Field: 285B0E 0 > 10
Fire Wall: 285B94 0 > 10
Give it a shot, see what happens.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 17, 2020 06:20 PM |
|
|
Will do! Thanks.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 17, 2020 06:35 PM |
|
|
De nada. In the meantime, here's the rest of my research:
BYTE 2, BIT 2 (40)
------------------
Used on (Earth/Air/Fire) Shield, Counterstrike, Anti-Magic, Magic Mirror, and all magic resist spells. There is no apparent link between these spells separating them from the other buff/debuff spells.
BYTE 2, BIT 4 (10)
------------------
Used on Death Ripple, Implosion, Haste/Slow, Bloodlust, Blind, Berserk, Hypnotize, Counterstrike, Teleport, Sacrifice, Clone, Animate Dead/Resurrection, and most creature abilities. Whatever common bond exists amongst these spells is even less apparent than the above flag.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 17, 2020 08:48 PM |
|
|
phoenix4ever said: Is it possible to change default morale from +1 to 0?
The thought just occurred to me that you could probably achieve this by editing Leadership from 00/01/02/03 to FF/00/01/02
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 17, 2020 09:36 PM |
|
|
Thanks, I will try that too tomorrow.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 18, 2020 09:17 PM |
|
|
BTB said:
Scuttle Boat: 285536 0 > 10
Remove Obstacle: 2876AE 0 > 10
Quicksand: 2859FE 0 > 10
Land Mine: 285A86 0 > 10
Force Field: 285B0E 0 > 10
Fire Wall: 285B94 0 > 10
Give it a shot, see what happens.
So I have tested this BTB, but sadly it does'nt seem to do anything at all.
Perhaps it needs to be changed in another place as well?
The Fire Wall address at 285B94 did'nt have a 0, but a 81, could it have been another address perhaps?
But sadly I don't think it works, but you are welcome to test it yourself, if you want.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 18, 2020 09:21 PM |
|
|
Fire Wall was a typo on my part; I linked tot he first byte by accident instead of the third.
Shame that the settings do nothing, though... it really sends us back to the drawing board in terms of figuring out just WTF those flags do.
How did you test them out, out of curiosity? It could be that in addition to those changes, the AI value needs to be tweaked in SPTraits.txt.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 18, 2020 09:35 PM |
|
|
Yeah I figured it was just a typo.
I tested it facing an AI hero that had Expert in all magic schools, 10 Power and 10 Knowledge, a spell book and only the 6 spells we have discussed here. I attacked the hero waited for several rounds, but AI never cast any spells.
In sptraits all 6 spells have an AI Value of 1, but so does Sacrifice and some of the other adventure spells and I know it uses Sacrifice sometimes and I think also Visions, View Air and View Earth. (Not Disguise)
Did a 2nd test with an AI hero trapped on water, only way out was to scuttle a boat that blocked the way, but it did'nt do that.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 18, 2020 09:40 PM |
|
|
A shame. But then again, I suppose the likelihood of the AI actually using any of those spells INTELLIGENTLY was fairly low to begin with.
Any luck with the morale change, at least?
(Hehe... see what I did there? Luck? Morale? I'll see myself out now.)
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 18, 2020 09:53 PM |
|
|
Okay I just tested the morale hack.
Unskilled at FF gives a bonus of +255 to morale. so FF is probably not what we need to write here.
Basic-Expert Leadership is exactly as I wanted it though.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 18, 2020 10:00 PM |
|
|
http://btb2.free.fr/img/mlfw/it_almost_worked.jpg
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 18, 2020 10:02 PM |
|
|
Any idea how to make unskilled 0 then?, perhaps it's not even possible? Or it also needs to be changed somewhere else?
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 18, 2020 10:29 PM |
|
|
Unskilled IS zero. What you are considering the "default" value of +1 is the morale bonus for having nothing but troops from the same faction.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 18, 2020 10:38 PM |
|
|
Yes but I wanted to change the default from +1 to 0.
I guess it's the "morale bonus for having nothing but troops from the same faction" I want to change from +1 to 0.
Yeah it's probably a little difficult...
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 23, 2020 07:57 PM |
|
|
So, we all know that First Aid sucks, but it seems I've at least made some headway into learning how targeting opcodes work. I wonder if we can take the old function that used to randomly determine the healing and insert a mass target check for basic skill, instead.
|
|
phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 23, 2020 10:03 PM |
|
|
Mass would be great for First Aid and/or ability to resurrect.
|
|
BTB

 
   
Famous Hero
Moist & Creamy
|
posted April 23, 2020 10:31 PM |
|
|
Pretty damn sure resurrection ain't happening (although it would be eerily appropriate for the Necromancer tent)
|
|
Phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 23, 2020 10:49 PM |
|
|
Yeah but Necro heroes can't learn First Aid anyway and should'nt have had First Aid Tent in the first place...
Would be great if you could figure out how to make it mass, maybe from Basic First Aid to give the skill some value.
|
|
Nmesa

 

Hired Hero
|
posted April 26, 2020 01:04 AM |
|
Edited by Nmesa at 01:20, 26 Apr 2020.
|
Phoenix4ever said: Yeah but Necro heroes can't learn First Aid anyway and should'nt have had First Aid Tent in the first place...
Would be great if you could figure out how to make it mass, maybe from Basic First Aid to give the skill some value.
But zombies are the result of surgery, embalming and merging of body parts from different corpses, like abominations from Warcraft universe. So necromancy in many ways is a medical science, although resembling nazi practices during WW2. So First Aid skill can be explained as maintaining undead bodies during combat.
|
|
Phoenix4ever

 
     
Legendary Hero
Heroes is love, Heroes is life
|
posted April 26, 2020 01:29 AM |
|
|
Then explain to me why Necro heroes can't learn First Aid. Necromancy is not the same as First Aid. Necromancy sounds more like what you were talking about.
|
|
|