View Single Post
  #3  
Unread 07-02-2006, 10:35 AM
BallardDav BallardDav is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Antonia Bayle
Posts: 2
Default

Okay, here's the new, improved code with multiple availablerects so that you see the map where and only where you'd expect to:

Code:
<ImageStyle Name="exp01_rgn_sinking_sands_0" zonerect="762, -1129, 1594, -167" availablerect="1010, -1129, 1270, -940" heightmax="-200" availablepriority="-1">
<ImageFrame Name="imageFrame" Source="images/maps/map_exp01_croc_caves.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
<ImageStyle Name="exp01_rgn_sinking_sands_1" zonerect="762, -1129, 1594, -167" availablerect="1010, -940, 1298, -780" heightmax="-200" availablepriority="-1">
<ImageFrame Name="imageFrame" Source="images/maps/map_exp01_croc_caves.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
<ImageStyle Name="exp01_rgn_sinking_sands_2" zonerect="762, -1129, 1594, -167" availablerect="1010, -780, 1348, -650" heightmax="-200" availablepriority="-1">
<ImageFrame Name="imageFrame" Source="images/maps/map_exp01_croc_caves.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
<ImageStyle Name="exp01_rgn_sinking_sands_3" zonerect="762, -1129, 1594, -167" availablerect="1010, -650, 1262, -333" heightmax="-200" availablepriority="-1">
<ImageFrame Name="imageFrame" Source="images/maps/map_exp01_croc_caves.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
<ImageStyle Name="exp01_rgn_sinking_sands_4" zonerect="762, -1129, 1594, -167" availablerect="1010, -333, 1075, -167" heightmax="-200" availablepriority="-1">
<ImageFrame Name="imageFrame" Source="images/maps/map_exp01_croc_caves.dds" SourceRect="0,0,436,506"/>
</ImageStyle>
If anyone sees the map where they shouldn't, or doesn't see the map where they should, please post the /loc of the problem here and I'll see about fixing it.
Reply With Quote