H4 - Question about retreat

The old Heroes games developed by New World Computing. Please specify which game you are referring to in your post.
User avatar
PatFX
Peasant
Peasant
Posts: 68
Joined: 05 Mar 2015
Location: Montreal, Canada

H4 - Question about retreat

Unread postby PatFX » 23 Nov 2015, 19:10

Hi guys,
during the last test of my map, (during a fight using only heroes, no creatures), I did retreat, but, I did not move to the closest castle?? There was no computer's troop near the closest castle?

I did few test with an other basic custom map, and usually, I always move to the closest castle when I retreat.

Can someone explain to me how the "retreat" works. I tought I know how it works (I did use retreat more than 100 times during test of my map and I was always moving to the closest castle), but it looks like there is something that I don't understand...

sorry for my bad english skill....

Thanks!

User avatar
wimfrits
Round Table Knight
Round Table Knight
Posts: 2047
Joined: 06 Jan 2006
Location: Utrecht, the Netherlands

Re: H4 - Question about retreat

Unread postby wimfrits » 23 Nov 2015, 20:33

If all of the 4 tiles giving access to the nearest castle are blocked, either by map obstacles or by armies, then the fleeing hero will retreat to the second nearest castle.
If this is not the issue in your case, perhaps it has something to do with the way 'nearest' is determined?
Are you suggesting coconuts migrate?

User avatar
Maciek
Scout
Scout
Posts: 168
Joined: 14 May 2009
Location: Poland

Re: H4 - Question about retreat

Unread postby Maciek » 24 Nov 2015, 00:44

You can't run to a castle that is too close. So, that 'nearest' is actually 'nearest, but not nearer than x tiles away'.

Simple test: Make a map with 1 Red castle, 1 Red hero and some neutrals several tiles away from the castle. If you attack the neutrals that are too close and try to run you'll get a message saying something like 'Your only town is too close to permit a safe retreat' (writing from memory, didn't check it now).

If you have neutrals close to 2 castles, you can move between them quite fast.

User avatar
PatFX
Peasant
Peasant
Posts: 68
Joined: 05 Mar 2015
Location: Montreal, Canada

Re: H4 - Question about retreat

Unread postby PatFX » 24 Nov 2015, 14:36

You can't run to a castle that is too close. So, that 'nearest' is actually 'nearest, but not nearer than x tiles away'.

I did some test and you are right. If my hero is too close to the castle, he move to the other nearest castle.

Thanks!

User avatar
GreatEmerald
CH Staff
CH Staff
Posts: 3330
Joined: 24 Jul 2009
Location: Netherlands

Re: H4 - Question about retreat

Unread postby GreatEmerald » 28 Nov 2015, 23:58

Interesting, does that also apply to the AI? Because I recall the AI sending out the same hero over and over again from the town that was right there, and it was quite annoying. But maybe I wasn't close enough to the town, hmm.


Return to “Heroes I-IV”

Who is online

Users browsing this forum: No registered users and 28 guests