MantisBT

View Revisions: Issue #515 Back to Issue ]
Summary 0000515: "There is no place to put the boat" if the water is on the left (west) side of the shore + Correct Rules for boat summoning
Revision 2010-07-03 03:32 by Zamolxis
Description Also, the position where the boat appears should be tweaked to match H3.

I've struggled for half an hour to figure out what was the rule in H3 (see attached screenshot) and it turns out the system was actually quite simple.

First, please see here the priority of the water tiles around the hero (clockwise, starting above the hero):

8 1 2
7 x 3
6 5 4

The rules are as follows:
- The game looks for the highest priority water tile available to place the boat (1 being the highest) at 1st cast
- At 2nd cast the game looks for the 2nd highest priority water tile to place the boat
- Further casting will continue to regularly alternate between the 1st & 2nd highest priority tiles (if only 1 available, after 1st cast it will be blocked by the summoned boat already - then see last rule below)
- If there are more than 2 available water tiles, still only the first 2 are considered (a boat is never placed on a 3rd available water tile)
- If an empty boat occupies what could be the 1st or 2nd available tile, then the game considers it as obstacle as well, hence choosing the empty tile and the boat moves there
- If all tiles around the hero are occupied (even if that means occupied by empty boats on water), we get the message "There is no place to put a boat" which we normally get when there is no free water tile around

Take Sir Mullich in the attached map to run your tests. For the bug in the subject, just take him to a vertical shore where the water is to the west (but

I guess you don't need to waste time with the bug as long as you implement the above rules correctly)

Note: monster area of control does not impact water tiles. I'm pointing this out just in case, because the above rules should not be impacted by a monster stationed next to a water tile. Boats can be summoned on tiles adjacent to a monster and hero can board it without starting a fight (of course, only if he does not need to go through a terrain tile guarded by that monster before getting to the boat).
Revision 2010-07-03 03:35 by Zamolxis
Description Also, the position where the boat appears should be tweaked to match H3.

I've struggled for half an hour to figure out what was the rule in H3 (see attached screenshot) and it turns out the system was actually quite simple.

First, please see here the priority of the water tiles around the hero (clockwise, starting above the hero):

8 1 2
7 x 3
6 5 4

The rules are as follows:
- The game looks for the highest priority water tile available to place the boat (1 being the highest) at 1st cast
- At 2nd cast the game looks for the 2nd highest priority water tile to place the boat
- Further casting will continue to regularly alternate between the 1st & 2nd highest priority tiles (if only 1 available, after 1st cast it will be blocked by the summoned boat already - then see last rule below)
- If there are more than 2 available water tiles, still only the first 2 are considered (a boat is never placed on a 3rd available water tile)
- If an empty boat occupies what could be the 1st or 2nd available tile, then the game considers it as obstacle as well, hence choosing the empty tile and the boat moves there
- If all tiles around the hero are occupied (even if that means occupied by empty boats on water), we get the message "There is no place to put a boat" which we normally get when there is no free water tile around

Take Sir Mullich in the attached map to run your tests. For the bug in the subject, just take him to a vertical shore where the water is to the west (but I guess you don't need to waste time with the bug as long as you implement the above rules correctly)

Note: monster area of control does not impact water tiles. I'm pointing this out just in case, because the above rules should not be impacted by a monster stationed next to a water tile. Boats can be summoned on tiles adjacent to a monster and hero can board it without starting a fight (of course, only if he does not need to go through a terrain tile guarded by that monster before getting to the boat).

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean