|Anonymous | Login||2023-12-07 23:12 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002328||VCMI||Mechanics - Objects||public||2015-11-13 23:44||2016-10-17 17:52|
|Target Version||Fixed in Version|
|Summary||0002328: Favorable winds "leaking" outside out of boundaries|
|Description||When testing it on my own map I notice weird behaviour that Favorable winds objects cover larger areas than they should. What interesting that only happen when there is some delimiter between water tiles that have favorable winds over it and other one.|
I suspect that it's implementation inside "CGameState::randomizeMapObjects" working incorrectly.
|Tags||No tags attached.|
|Attached Files|| SXX_Favorable_winds.h3m [^] (1,797 bytes) 2015-11-13 23:44|
favorable_winds.jpg [^] (194,645 bytes) 2015-11-13 23:51
|Uploaded screenshot. White area on it is covered by favorable winds.|
|Find out what exactly cause problem: size of map object is always the same regardless of what type of favorable wind map object is used. Though as I didn't digged into H3M/objects before not sure what way to fix it.|
|Also just note: we still need to get new function lika "getvisiblePos" for object that do about same thing as "getBlockedPos" so it's easier to iterate via tiles used by object.|
|In fact this problem also affect all other magical terrains.|
|Just in case I'm not going to work on this one at least before I'm done with pathfinding, so if someone else know how to fix it fast please do.|
edited on: 2015-11-27 06:03
Ivan give me hint that issue related to fact that VCMI set biggest possible size for objects by default and main issue is that as result all tiles of an object set as "visible" by default.
Correct data must be available in msk files from assets, but this data is partially incorrect for some objects and caused issues in past: 0000866
So it's may be tricky to fix special terrains without breaking something.
This is weird, but feels like something changed now. No idea when that happen.
Still not 100% sure it's work properly.
|2015-11-13 23:44||SXX||New Issue|
|2015-11-13 23:44||SXX||File Added: SXX_Favorable_winds.h3m|
|2015-11-13 23:51||SXX||File Added: favorable_winds.jpg|
|2015-11-13 23:53||SXX||Note Added: 0006083|
|2015-11-14 02:17||SXX||Note Added: 0006084|
|2015-11-14 02:19||SXX||Note Added: 0006085|
|2015-11-14 02:42||SXX||Note Added: 0006086|
|2015-11-14 03:33||SXX||Note Added: 0006087|
|2015-11-27 06:02||SXX||Note Added: 0006123|
|2015-11-27 06:03||SXX||Note Edited: 0006123||View Revisions|
|2015-11-27 06:03||SXX||Relationship added||related to 0000866|
|2016-09-07 17:50||SXX||Note Added: 0006627|
|2016-10-17 17:52||SXX||Relationship added||related to 0002557|
|Copyright © 2000 - 2023 MantisBT Team|