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 111 pages long: 1 10 20 30 40 50 60 70 ... 75 76 77 78 79 ... 80 90 100 110 111 · «PREV / NEXT»
BTB
BTB


Famous Hero
Moist & Creamy
posted May 15, 2020 11:26 PM

https://heroes.thelazy.net/index.php/Diplomacy

Quote:

Army strength

   40% bonus with expert Diplomacy (30% chance to hire) if the army is 3 times the strength of the creatures
   30% bonus with advanced Diplomacy (20% chance to hire) if the army is 2.5 times the strength
   20% bonus with basic Diplomacy (10% chance to hire) if the army is 2 times the strength
   10% bonus if the army is 1.5 times the strength of the creatures
   10% penalty if the army is weaker than the creatures
   20% penalty if the army is less than half the strength
   30% penalty if the army is less than a third of the strength

Army composition

   20% bonus if over 50% (creature count) of the hero's army consists of the same type (up/downgrade) of creatures
   10% bonus if there's at least one creature of the same type (up/downgrade) in the hero's army



That's what I'm after.

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


Responsible
Supreme Hero
posted May 15, 2020 11:30 PM

This info is incorrect. See Diplomacy internals thread.

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


Famous Hero
Moist & Creamy
posted May 15, 2020 11:46 PM

Ah, ok. That actually makes a lot more sense based on my testing.

What I have is...

(Free joiners will cost gold)

017237 > 03
0A755D > EB

(Paid joiners will instead flee)

017246 > EB
0A75A5 > 11

(ALL joiners will instead flee)

017237 > 00
017246 > EB
0A75A9 > EB

But testing is difficult since I can't seem to set up a consistent environment. Seems like once the offer to pay to join is there, it's set in stone.

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


Responsible
Supreme Hero
posted May 15, 2020 11:56 PM

Try Diplomacy yourself with LMOracle. Sometimes you can join 4000 Trolls by dismissing 1 Archangel

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


Responsible
Supreme Hero
posted May 16, 2020 12:01 AM

This is how Diplomacy internals look with LMOracle -


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


Famous Hero
Moist & Creamy
posted May 16, 2020 12:44 AM
Edited by BTB at 00:46, 16 May 2020.

Ok, so after looking through that thread and simplifying the math to the point I could understand it, my only question is what determines if a wild stack is compliant/hostile/friendly/aggressive/savage?

(Actually, two questions... according to the post it looks like basically anything will join you if you have a powerful enough army. Where does it decide between join or flee?)

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


Responsible
Supreme Hero
posted May 16, 2020 12:45 AM

Quote:
my only question is what determines if a wild stack is compliant/hostile/friendly/aggressive/savage?


Haha Random. Or a mapmaker settings.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 12:47 AM
Edited by BTB at 00:47, 16 May 2020.

Damn, ninja replied before I could update my post with my other question.

Thanks for the help

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


Responsible
Supreme Hero
posted May 16, 2020 12:53 AM

Quote:
Where does it decide between join or flee?

Here A7530, here 4A755D, and here A75A9.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 12:57 AM

I guess what I'm asking is where in the formula you posted do those determinations come into play? Like if I use a cheat code to pimp out my army with a few dozen Archangels, I'll wander around the map and everything will just run from me - no join offers whatsoever. So there's clearly some other factor in there I'm not getting.

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


Responsible
Supreme Hero
posted May 16, 2020 01:03 AM

I don't understand. All is in Diplomacy internals. Ch >= X? You have a chance to join monsters. If you refuse, they flee if Ch > X, or take fight, if Ch = X. That's all.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 01:06 AM
Edited by BTB at 01:08, 16 May 2020.

Specifically

"Ch >= X? You have a chance to join monsters."

I don't see where the chance is specified, the step-by-step just explains it as if the chance is a guarantee once we get to step 8. I'm guessing that 7E 1E at A7530 translates to a 30% chance... is this a static value in any case where Charisma >= X?

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


Responsible
Supreme Hero
posted May 16, 2020 01:11 AM

This means you can join monsters if you have Ch >=X and J, or JG >= X, and enough gold. Otherwise they just flee. If Ch < X, they fight.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 01:23 AM

Ok, I think I see where I was getting it wrong. I was forgetting that The chance to join is purely a function of Sympathy and Diplomacy - Total Army Power doesn't factor in. So if I pimp out my army with Archangels and enough money and run around the map, nothing is going to offer to join me.

And whenever I randomly get join offers from wandering randoms that have no sympathy (since they're a different unit type), that's possible ONLY if they're a "compliant" stack, correct?

If that's the case, then I suppose the question I should be asking is if it's possible to change their Aggression value from -4 to 1.

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


Responsible
Supreme Hero
posted May 16, 2020 01:27 AM
Edited by AlexSpl at 01:28, 16 May 2020.

Yeah, plus you forgot Diplomacy Level (well, you didn't ). You can change aggression in memory, if you want to. How to do it is in the thread.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 01:37 AM

All of my testing is with no Diplomacy skill since I trashed it; I'm basically just trying to figure out how Diplomacy mechanics work (and how to edit them) when Diplomacy isn't factored in at all. And random "compliant" stacks explain what I wasn't understanding before.

And it's looking like the hard -4 aggression value is a function of the map and not something editable in the .exe from what I see in the thread? I see a script that Salamandre posted but that's completely Greek to me.

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


Responsible
Supreme Hero
posted May 16, 2020 01:41 AM

Monsters get their aggression level during a map generation process. Thus, they are hex-editable.

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


Famous Hero
Moist & Creamy
posted May 16, 2020 01:46 AM

Do you know where that address is in the .exe? I'm assuming I'd be looking for a FC (-4) somewhere?

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


Responsible
Supreme Hero
posted May 16, 2020 01:49 AM

I don't know right now, but I can find it simply by looking through all random generations. But what you will do with it?

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


Famous Hero
Moist & Creamy
posted May 16, 2020 01:54 AM

If I understand everything correctly, setting that value from -4 to 1 means that it would become impossible for random enemies to join without either Diplomacy or Sympathy.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 111 pages long: 1 10 20 30 40 50 60 70 ... 75 76 77 78 79 ... 80 90 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0555 seconds