View Single Post
Old 02-07-2003, 09:34 AM   #14
sc2kmayor
An_Arcane_Lurker
 
sc2kmayor's Avatar
 
Join Date: Sep 2002
Server: Mithaniel Marr <The Mages of The Mist>
Posts: 260
Interface Author - Click to view interfaces
Default

<Gauge item="Player_HP">
<ScreenID>PlayerHP</ScreenID>
<Font>2</Font>
<TextColor>
<stuff>
</TextColor>
<RelativePosition>true</RelativePosition>
<Location>
<X>5</X>
<Y>0</Y>
</Location>
<Size>
<CX>130</CX>
<CY>90</CY>
</Size>
<TextOffsetX>-200</TextOffsetX>
<GaugeOffsetY>2</GaugeOffsetY>
<stuff>
<!--<TooltipReference/>-->
<FillTint>
<stuff>
</FillTint>
<LinesFillTint>
<stuff>
</LinesFillTint>
<DrawLinesFill>false</DrawLinesFill>
<EQType>1</EQType>
<GaugeDrawTemplate>
<wholebuncha stuff>
</GaugeDrawTemplate>
<TextOffsetY>-100</TextOffsetY>
</Gauge>

Let's look at the above code.
<Location> indicates where an item (in this case a guage) begins
<size> indicate how much actual space this item takes up > BUT if the graphic is not resized, or it is like the HP gauge name+gauge, then the area may not be 'filled' with the item.
<OffsetX>+<OffsetY> are used to move PARTS of the whole around in relation to the starting point <Location>

SO:
We want an HP gauge with it's nice red color, but do not want a name displayed.
Up until last night the standard was to START <location> the guage off the screen <X>-30</X> and stretch the size <CX> of the viewable gauge area to come back on the screen <CX>200</CX> and then <GuageOffsetX>40</> reposition the guage back into the viewable area.

Last nite's patch made the positioning of Windows and Gauges in the NEGATIVES - freak out. So to compensate, we need to take the WHOLE Guage <location> and put it back in the window <X> 5 </X>. Then to get rid of the text name we need to shift just the TEXT, not the whole guage <TextOffsetX or Y>-80</> so that we cannot see it in the viewable window, but so the eqgame.exe or dll or stupidpatch.dll will read the guage as ON THE PAGE instead of saying 'Oh, you want this item not shown.'

Clearer? Hope so. This stuff is sometimes hard to express without a whole chapter and lots of examples.
...another translation>other post: http://www.eqgui.com/showthread.php...33417#post33417
Chronwaas has an interesting point listed here too: http://www.eqgui.com/showthread.php...33686#post33686

So in addition to the guages starting off the Left of the page, maybe the image definitions sizes that overlap the Right are also doing some shifting, but the whoel window in that case.....Just trying to link up a lot of similar information so when I check back later I can see it all in a thread.
__________________
sc2kmayor is offline   Reply With Quote