|
Thread: How is the movement area determined? | |
|
xericsin
Famous Hero
|
posted June 14, 2018 03:14 PM |
|
|
How is the movement area determined?
I would like to know how the movement area is determined.
Maybe someone can tell me how the original h3 does that?
Or how the VCMI does that?
Or any existing path searching algorithm?
|
|
avatar
Promising
Supreme Hero
|
posted June 14, 2018 04:08 PM |
|
Edited by avatar at 16:08, 14 Jun 2018.
|
Almost all you should know about H3 mechanics. https://drive.google.com/file/d/0B29K9wqYz_uSNDkwMDk2ZDItNDkwNy00MzlhLTkzYzUtYmJiODdiOTgzOGRm/view?pref=2&pli=1
____________
|
|
xericsin
Famous Hero
|
posted June 15, 2018 07:43 PM |
|
|
Thanks.
I found a way to call the internal function to generate movement shadow and export that to v variables.
|
|
portus
Adventuring Hero
|
posted June 16, 2018 11:03 AM |
|
|
Hi fellas,
you know, this is one of those situations when you discover a wonderful bakery in the block and it turns out that it's been there all along. I rubbed my jaw when I checked the link provided! I didn't know there was such a manual, and I can't be thankful enough.
So now I've started reading it and so far I've found an interesting paragraph that I can't seem to completely understand. It is about hero movement around the map. Quote:
"If the army traverses a penalty associated terrain, and is composed of native and neutral units [...], it can bypass the terrain penalty by placing all neutral units in left slots relative to the native units".
I'm confused: let's say that we are on swamp, we have 3 fortress creatures and 3 neutrals. Fortress creatures occupy slots number 3, 5 and 7 for instance. Are we supposed to put neutral creatures in slots 2, 4 and 6 in order to take advantage of this feature? Or does the word "left" mean "remaining"? I doubt it since it's also written the word "relative". Or am I supposed to put neutral creatures in slots 1, 2 and 3?
____________
Ssssshhhhhhhpp!! Ah! (crimson cloud and I'm gone)
|
|
xericsin
Famous Hero
|
posted June 16, 2018 05:21 PM |
|
|
I guess the left means left side. So you place neutral ones in slot 1,2,3.
|
|
|