Thread: Two Questions
View Single Post
  #12  
Unread 11-29-2006, 02:11 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

If all POIs were given packLocs of pcp,pcp, they would reposition apropriately when the MapPage and Icon Pages were resized. We'd need some extra code to also resize the overlays not within the MapPage, but that's not a big deal. Would be very useful for my exteranl window.

The hard part is getting the player markers to track properly. Marker position is derived through a hard coded formula that calculates a ratio of the zone rect to map size for the current map. That ratio is then applied to your current loc to determine where to place the marker.

Last I checked (a while ago) the map size used in the hard coded formula is also hard coded and not taken from the XML. Resizing the map has no affect on where the markers are placed. They always assume the map is the default size. The only way to change the ratio to match a zoom setting would be to change the zone rect, which resets all fog for the zone. You'd also wind up with a partial map with markers disapearing off the edges.

The correct way to deal with POI blind using the current system is to create sub maps for heavily marked zones. Gfay does this for the newb area. Unfortunetly it would require retro-fitting existing maps on the submission site. Using Feerott as an example, we'd have to slice it up into several detail maps, then move all the POIs for that region to a new icon layer. Possible but probably more work than its worth.
Reply With Quote