I been trying to separate these maps, but....
Well, I have been trying to separate these two zones so the right map will load and I am not having any sucess. The zones are "The Caves of Wonder" and "Cavern of Tangled Weeds". I tried to mess with heightmin= and heightmax=; however, there's not much I can do with that, since those numbers are so close.
I also, tried the following code, to no avail. It will only load the first map it sees in the core_mapstyles.xml file. In the following example, It will load "map_enchanted_mini01_b.dds(The Caves of Wonder)" no matter which zone I go to. If I swap the position of the maps code, then it will only load "map_enchanted_mini01_a.dds(Cavern of Tangled Weeds)", no matter which zone I am in.
Maybe I am not understanding the way availablerect and availablepriorty work. I just added a little bit to each coordinate for availablerect(ie. a little more west, north, east, and south than the zone rect). As far as availablepriorty= goes, I tried to change the priority with no luck either.
<ImageStyle Name="enchanted_mini01" zonerect="338, -660, 424, -559" availablerect="331, -667, 431, -552" availablepriority="1">
<ImageFrame Name="imageFrame" Source="images/maps/map_enchanted_mini01_b.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
<ImageStyle Name="enchanted_mini01" zonerect="47, -1169, 144, -1057" availablerect="40, -1175, 151, -1050" availablepriority="0">
<ImageFrame Name="imageFrame" Source="images/maps/map_enchanted_mini01_a.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
I am hoping one of you guys can help me sort this out. Anyone know what I am forgeting or not doing right?
Trip
|