Anonymous | Login | 2024-11-21 12:09 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002328 | VCMI | Mechanics - Objects | public | 2015-11-13 23:44 | 2016-10-17 17:52 | ||||||||
Reporter | SXX | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.98e | ||||||||||||
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 | ||||||||||||
Relationships | |||||||||||
|
Notes | |
(0006083) SXX (administrator) 2015-11-13 23:53 |
Uploaded screenshot. White area on it is covered by favorable winds. |
(0006084) SXX (administrator) 2015-11-14 02:17 |
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. |
(0006085) SXX (administrator) 2015-11-14 02:19 |
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. |
(0006086) SXX (administrator) 2015-11-14 02:42 |
In fact this problem also affect all other magical terrains. |
(0006087) SXX (administrator) 2015-11-14 03:33 |
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. |
(0006123) SXX (administrator) 2015-11-27 06:02 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. |
(0006627) SXX (administrator) 2016-09-07 17:50 |
This is weird, but feels like something changed now. No idea when that happen. Still not 100% sure it's work properly. |
Issue History | |||
Date Modified | Username | Field | Change |
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 - 2024 MantisBT Team |