EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > Fetish

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-29-2007, 03:17 PM
MoonDeville's Avatar
MoonDeville MoonDeville is offline
A Dervish Cutthroat
 
Join Date: Jan 2006
Server: Lucan DLere
Posts: 39
Default EQ2maps POI size

Simple question. What file and what value should I change to enlarge the POI dots? I'm wanting to use the SageUI POI's cuase I find them more visible but want to make the larger. There is a XML available for that but its not Fetish specific. And when I compared the two xmls i didn't see what I should change. So any help would be grand!

Moon
Reply With Quote
  #2  
Unread 12-30-2007, 02:27 PM
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

The actual size of each POI is set individually, but you may be able to edit the styles for each type of POI in the skinableStyles file. If your custom POIs include some empty space around the images, changing the source rectangle cords to crop off that empty space should result in a larger image on the map.
Reply With Quote
  #3  
Unread 12-31-2007, 11:22 AM
MoonDeville's Avatar
MoonDeville MoonDeville is offline
A Dervish Cutthroat
 
Join Date: Jan 2006
Server: Lucan DLere
Posts: 39
Default

Thankyou for the quick reply. However I still require help. I think I undertsand what needs to be done. This is the section of code I need to change correct?

<ImageStyle Name="yourdestination" Playtime="0.500">
<ImageFrame Name="imageframe" Source="images/icons/icon_map3.dds" SourceRect="85,168,127,210"/>
</ImageStyle>
<EffectorCycleOpacity MaxSpeed="2.000" MinSpeed="2.000" Name="DestinationEffector" Speed="2.000"/>
<ImageStyle Name="youarehere">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="210,168,252,210"/>
</ImageStyle>
<ImageStyle Name="youarehereDot">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="168,168,210,210"/>
</ImageStyle>
<ImageStyle Name="group1loc">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="210,126,252,168"/>
</ImageStyle>
<ImageStyle Name="group2loc">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="168,126,210,168"/>
</ImageStyle>
<ImageStyle Name="group3loc">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="126,126,168,168"/>
</ImageStyle>
<ImageStyle Name="group4loc">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="84,126,126,168"/>
</ImageStyle>
<ImageStyle Name="group5loc">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map3.dds" SourceRect="42,126,84,168"/>
</ImageStyle>
<ImageStyle Name="questGiverDot">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map1.dds" SourceRect="126,210,168,252"/>
</ImageStyle>
<ImageStyle Name="questUpdaterDot">
<ImageFrame Name="imageFrame" Source="images/icons/icon_map1.dds" SourceRect="168,210,210,252"/>

But I'm not sure what I change the numbers to. The XML that SageUI offers make the poi's 12x12 and that what I'd like to make these aswell.

Moon
Reply With Quote
  #4  
Unread 01-07-2008, 05:36 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

Actually you're looking for the group of Iconstyles towards the bottom of the file. The first is named CLST, the last is named ZONE.

For each of those you'll see FrameRec="x1,y1,x2,y2"
followed by FrameResource="pathtofile"

basicly FrameRec defines a rectangle within the graphic resource "pathtofile" that will be used as the normal icon image. x1 is the horizontal starting possition, y1 is the vertical starting possition, x2 and y2 are the ending possitions.

Its likely this rectangle is larger than it needs to be. If the icon is 12x12 and the rectangle is 20x20, you can shave 8 pixels off the height and width of the rectangle. The trick is knowing which bits to shave off. If you have UIBuilder setup, you can double-click the FrameRec and it will popup a tool for tweaking the rectangle. I recomend using UIBuilder to figure out the right cords, then copy paste them to Notepad. Then edit the file in Notepad.

DON'T EVER edit and save the Map from UIBuilder!

You may want to do the same for the Mouseover and Pressed cords.

Even easier, if the mod that you got the icon DDS from included a style file with this stuff in it, just copy the Iconstyles from there and paste them over those in the Fetish version.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:31 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI