MantisBT - VCMI
View Issue Details
0000711VCMIMechanics - Adventure Mappublic2011-03-07 16:192014-05-30 17:41
Zamolxis 
Ivan 
normalfeaturealways
closedfixed 
0.84 
0.89 
0000711: Arrow hotkeys send hero to target even if it means he will have to go around the object + path arrows at window edge
While testing for 0000710, I discovered a VCMI feature which is potentially neat, however the way it works now may not be the ideal yet.

When Aislinn was at Shipyard, I wanted to scroll the map to have her at the corner (to have the game version shown in the screenshot). But I pressed "Up" i/o "Ctrl+Up" and she moved and attacked the Blue player above, following the trajectory you see marked with arrows.

This is potentially a cool enhancement over H3: being able to go around the object limitations (Shipyard can only be exited via the tiles below) to get to the desired tile/target. And I even liked that you implemented it taking care the path is really free (I added a monster with area of control covering a tile on the path, and Aislinn didn't move anymore when I pressed Up).

My question/suggestion is: would it be possible to tweak it as such that if we have this situation, first time when we press a direction key only the path is displayed, and only when we press it a 2nd time (or we press Enter/M or click Move) to actually have the action happening.

I know in a way it leads to an extra key pressing (albeit the same key), but on the other hand, the player might want to have the option to go up on the left or right side of the Shipyard for example. Plus it would prevent the risk the hero makes an undesired move if the player presses that hotkey by mistake. At least that's what I feel >> it's a suggestion open for debate.
A side "issue" would be the fact that if we scroll the map towards the edge, path arrows disappear as soon as their first pixels disappear behind that edge. Can be seen in the screenshot from 0000710, where it looks like an arrow is missing, though if you scroll the map a tile to the side it'll show up.

A trivial, low priority fix, but it'd be nice if path arrows would remain visible even if some of their pixels would "disappear" behind the edge.
No-harm enhancement
Issue History
2011-03-07 16:19ZamolxisNew Issue
2011-03-07 16:19ZamolxisIssue generated from: 0000710
2011-03-07 16:21ZamolxisTag Attached: No-harm enhancement
2012-05-15 08:49IvanNote Added: 0002431
2012-05-15 08:49IvanStatusnew => resolved
2012-05-15 08:49IvanFixed in Version => 0.89
2012-05-15 08:49IvanResolutionopen => fixed
2012-05-15 08:49IvanAssigned To => Ivan
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0002431)
Ivan   
2012-05-15 08:49   
fixed in rev 2680.
- Arrow keys will show long path but won't start movement
- fixed bug with path arrows on window border