~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [H3SW 0.8.2] Wheel of Duels
[Enhancement] Hero Path And Fog Of War Icon_minitimeby DanilaRud015 Today at 00:18

» What are you listening to?
[Enhancement] Hero Path And Fog Of War Icon_minitimeby Sir Albe 2024-06-20, 07:25

» [H3SW 0.8.2] Fury of Undeads
[Enhancement] Hero Path And Fog Of War Icon_minitimeby DanilaRud015 2024-06-19, 01:12

» Lego Heroes of Might & Magic
[Enhancement] Hero Path And Fog Of War Icon_minitimeby GodRage 2024-06-14, 04:47

» The "Monster Yotta Pack" aka the "MYP" from the FoE
[Enhancement] Hero Path And Fog Of War Icon_minitimeby BoseDrache 2024-06-13, 19:11

» Looking for any HoMM 2 Map Makers From the 1990s
[Enhancement] Hero Path And Fog Of War Icon_minitimeby BoseDrache 2024-06-13, 18:28

» Songs of Conquest
[Enhancement] Hero Path And Fog Of War Icon_minitimeby Mishap 2024-06-08, 18:49

Poll
Global announcements should be:
Everlasting, 1 for each project.
[Enhancement] Hero Path And Fog Of War Redbar110%[Enhancement] Hero Path And Fog Of War Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
[Enhancement] Hero Path And Fog Of War Redbar11100%[Enhancement] Hero Path And Fog Of War Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
[Enhancement] Hero Path And Fog Of War Redbar110%[Enhancement] Hero Path And Fog Of War Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta

 

 [Enhancement] Hero Path And Fog Of War

Go down 
4 posters
AuthorMessage
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-11, 01:23

Version 0.8 fheroes2_windows_x64_SDL2
Map: 0Test11.MP2

Select the wood stack as destination with the mouse cursor.
The program displays a default path for the hero.

[Enhancement] Hero Path And Fog Of War Euh8G1I

However this is not the path I would choose because at the same time I would like to remove as much fog of war as possible when moving the hero.
The ideal path for this would be to pick up the wood pile, arriving from the position just north of the wood pile.
However this is not possible and you must first select the desired destination just north of the wood pile.

[Enhancement] Hero Path And Fog Of War BbkSrzF

But here again, the displayed path does not allow to reveal the maximum amount of land under the fog of war and it remains fairly close to the previously displayed path.

The only solution is therefore to break down the hero's movement into several consecutive actions.
First, three moves southwest.
And then, three moves south to reach the stack of wood.

[Enhancement] Hero Path And Fog Of War IEmIYac

[Enhancement] Hero Path And Fog Of War Br3SeAp

In the end, the hero has the same number of movement points in reserve (250 points).
The only difference is that the hero is not located in the same square.
But it can be observed that a larger part of the adventure map has been revealed.

[Enhancement] Hero Path And Fog Of War RNgUYFe

[Enhancement] Hero Path And Fog Of War 4hE4dwX

This enhancement would be welcome in my opinion, it could possibly be an option to be selected:

"Optimize the hero's path to reveal as much terrain as possible under the fog of war."

Note: the mouse cursor is displayed larger than it actually is in the game when a screenshot is taken.
Look at the helmet mouse cursor distortion when the mouse cursor is positioned over the selected hero.

Files: Hero Path And Fog Of War.7z
Files: https://drive.google.com/file/d/1GK1YvTXkgw2AxiaMhMKTeXjvzES5BKL7/view?usp=sharing

GodRage likes this post

Back to top Go down
ihhub
Pikeman
Pikeman
ihhub


Messages : 42
Quality Points : 17
Registration Date : 2020-07-26

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-12, 02:28

I could say that it's very disputable. On one hand, it might make sense to uncovered fog of war. On other hand, the amount of movements is the same.
The problem with this method will be that there is no guarantee that the uncovered area will be passable or requires the same amount of movement points. On top of this, in your situation the player might need to meet the current hero by another hero exactly at the location which was specified at the beginning because the second hero might have movement points only to meet the first hero on the right side.

GodRage likes this post

Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-12, 09:27

Hello ihhub,

I don't quite understand your reference to the uncovered area, is it the area already discovered or the one that will be discovered when the hero moves? Question
The path where the hero will move is already revealed on the adventure map, it is not possible to choose a destination located under the fog of war, and any passabilities and terrain penalties are therefore already known.
And the best path according to the penalties and passabilities will be the one proposed.

Knowledge of the adventure map is a significant advantage in a strategy game.

Yes, the movement is the same with the final destination square different, but with more squares revealed on the adventure map and that's why I'm proposing this enhancement.

About meeting another hero.
If the second hero for the meeting is located southwest of the woodpile, so on the left side of the destination square, that's an advantage. Smile
Back to top Go down
GodRage
Webmaster
Webmaster
GodRage


Messages : 1049
Quality Points : 229
Registration Date : 2009-09-21
Location : France

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-12, 16:53

For me, choosing the path is a part of the gameplay, kind of a little strategy. [Enhancement] Hero Path And Fog Of War 164599763

________________________
~Lands of Enroth~
Back to top Go down
http://homm2.free.fr
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-12, 22:35

GodRage wrote:
For me, choosing the path is a part of the gameplay, kind of a little strategy. [Enhancement] Hero Path And Fog Of War 164599763

Yes, it is part of the strategy to choose the path of the hero.
And in my case I would like the hero to reveal as many squares as possible on the adventure map when possible. Smile

I know my choice and I just want to say to the computer:
"Hey, when I move my hero, choose the shortest path that reveals the most squares on the adventure map. That's my strategy."
So I activate the option:
"Optimize the hero's path to reveal as much terrain as possible under the fog of war."

And there you go, the rest is just a matter of calculations.
This is also the case for the hero's movement.
It's a bit boring to have to optimize the hero's movement when it's just calculations to do.

The computer is specialized in making calculations, that is its job.
So the computer takes care of the calculations, and I can enjoy the game and have fun. Very Happy

GodRage likes this post

Back to top Go down
sirDranik
Nomad
Nomad
sirDranik


Messages : 95
Quality Points : 27
Registration Date : 2020-07-29

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-13, 01:33

Currently path is created over neither the closest nor the farthest distance from the fog. Just somewhere in the middle. I think it's the most optimal decision. I don't think hero should always choose the most extreme path. What if approaching hero discovers forests or mountains, water or even comes closely to the edges of a world map? Final position of a hero, which will be closer to the revealed terrain will cause him a loss of movement points, to step back.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-13, 04:17

Hello sirDranik,

sirDranik wrote:
Currently path is created over neither the closest nor the farthest distance from the fog. Just somewhere in the middle. I think it's the most optimal decision. I don't think hero should always choose the most extreme path.

I hope the default path is created to reach the destination by the shortest path. Very Happy

sirDranik wrote:
What if approaching hero discovers forests or mountains, water or even comes closely to the edges of a world map? Final position of a hero, which will be closer to the revealed terrain will cause him a loss of movement points, to step back.

If during the hero's movement, forests, mountains, ocean, etc., are discovered, they will be located at the end of the hero's vision radius not in the squares where the hero will move, these squares are already revealed.
In the example where I splited the hero's movement, all the squares through which the hero will pass are already revealed, the passability and the penalty of these squares are already known.

The path should not be lengthened to discover more squares, this is not the goal. Smile
The goal is to reach the destination, in the example the wood stack, by the shortest path, and, if there is an alternative path to the default path with the same number of movement points spent and that this path reveals more squares, then the hero must take this path.
Nothing complicated.

In the example where I splited the hero's movement, in the end the hero's field of vision revealed seven more squares than if the hero had taken the default path and this for a displacement of five squares, this brings a certain advantage, it is more information to decide on future actions.
Back to top Go down
sirDranik
Nomad
Nomad
sirDranik


Messages : 95
Quality Points : 27
Registration Date : 2020-07-29

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-13, 08:25

Unknown_Hero wrote:
The only difference is that the hero is not located in the same square.
That's the point, I'm not sure will be ok...
Between, comparing to H3 - path in h2 is made much more optimal. Playing H3 in the same situation, as in your screenshot, hero would move down first, and after makes diagonal steps. I think here was made such solution to make hero waste as much less points in the beginning of a movement, as he can. So, if something happens, and player would decide to change movement direction - he would have some extra saved points... In your screenshot path is created on the closest+1 to the fog cells. And i think it is ok....
Also creating the whole path close to the fog won't look so accurate...
And surely, PC will never know, where exactly You want a path be created. So i think it's quite normal, if player creates short paths to make hero move, as player wants in a current moment....

GodRage likes this post

Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-13, 21:46

sirDranik wrote:
Unknown_Hero wrote:
The only difference is that the hero is not located in the same square.
That's the point, I'm not sure will be ok...

The user is aware of this when activating the option that reveals as many squares as possible when the hero moves.
It is a voluntary choice.
It's a strategy game and this brings more advantages than disadvantages from his point of view.

sirDranik wrote:
And surely, PC will never know, where exactly You want a path be created.

The computer will never understand anything anyway, it's up to the programmer to tell it how to act. Smile
It seems clear and understandable to me.
If for a given action, in the example picking up the woodpile, the hero will spend the same number of movement points as the default path and a larger portion of the adventure map will be discovered, then this is the path the hero must take.

sirDranik wrote:
So i think it's quite normal, if player creates short paths to make hero move, as player wants in a current moment....

Yes, but it's so annoying having to do this when the computer could do it. Rolling Eyes
Back to top Go down
sirDranik
Nomad
Nomad
sirDranik


Messages : 95
Quality Points : 27
Registration Date : 2020-07-29

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-15, 00:33

Revealing as many hidden territory, as possible always goes with a risk of a player's hero stay too close to the enemy, hiding in a fog... So not all players would like to risk. Nevertheless, we should hear more opinions from other users.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-15, 00:52

Personally, if an opposing hero is nearby and hidden under the fog of war, I would prefer to know it. Very Happy
And this is also the goal of choosing the path that reveals as much land as possible.
And in addition, with the option "The hero stops moving..." selected, it's all good. Smile

As for taking risks, I often use the View Heroes spell before moving my heroes.
Adventure spells are often neglected by players, for my part I find their uses really very interesting. Wink

GodRage likes this post

Back to top Go down
sirDranik
Nomad
Nomad
sirDranik


Messages : 95
Quality Points : 27
Registration Date : 2020-07-29

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-15, 01:20

Unknown_Hero wrote:
As for taking risks, I often use the View Heroes spell before moving my heroes.
Adventure spells are often neglected by players, for my part I find their uses really very interesting. Wink
Completely agree with you!

Regarding the auto-revealing-fog mechanics... I don't think people would use it. Because the most of skilled players would still prefer to act on their own, and this option wouldn't help so much.
But it still can be implemented in future projects. While talking about current development - we are going leave original movement mechanics till the 1.0 released version.

GodRage likes this post

Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime2020-08-15, 02:51

Yes, it's okay if it's for "Beyond 1.0".
At least, I will use it, and still act on my own with full knowledge of the effects and consequences. Very Happy
But be careful, if you try it, you won't be able to do without it. Razz Twisted Evil Very Happy
Back to top Go down
Sponsored content





[Enhancement] Hero Path And Fog Of War Empty
PostSubject: Re: [Enhancement] Hero Path And Fog Of War   [Enhancement] Hero Path And Fog Of War Icon_minitime

Back to top Go down
 
[Enhancement] Hero Path And Fog Of War
Back to top 
Page 1 of 1
 Similar topics
-
» [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero
» the Dark Path [EN]
» hero movement on map
» Twice the same hero on the map, and hero screen
» [Heroes 2 Bugs] Unable To Reach Objects And Blocked Path

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Game Engine Guild :: fheroes2 :: Enhancement Ideas-
Jump to: