Jump to content

Relocating XP-reward onscreen message


Sulo

Recommended Posts

Hi,

where can I change the position of the "xp-reward-meter" that comes onscreen for about 2 seconds after having earned xp? I can't remember that it bothered me in the last playthroughs, or I didn't notice. While having my resistances shown on the right side of the screen, this particular message shows up right inbetween the gauges (HUD extended/oHud/uHud). It's just a cosmetic thing, but hey... :confused: doesn't look too good.

 

 

 

<!--========= XP Meter =============================-->
<rect name="XPWrap">
<x>
<copy src="io()" trait="_HUDXP_X" />
<add>
<copy src="screen()" trait="width" />
<sub src="child(XPMeter)" trait="x" />
<sub>
<copy> 2340 </copy>
<mul src="io()" trait="_duiscale" />
</sub>
</add>
</x>
<y> <copy src="io()" trait="_HUDXP_Y" /> </y>
<locus> &true; </locus>

 

 

Edit 2: After some pathetic attempts I managed to change that, so that the xp-meter is being displayed in the top left corner (1680x1050). Try other values for other resolutions.

 

You have to change the hud_main_menu.xml like that, more or less copy the "x" lines and change x to y and width to height. Here we go:

 

 

 

<rect name="XPWrap">
<x>
<copy src="io()" trait="_HUDXP_X" />
<add>
<copy src="screen()" trait="width" />
<sub src="child(XPMeter)" trait="x" />
<sub>
<copy> 2340 </copy>
<mul src="io()" trait="_duiscale" />
</sub>
</add>
</x>

<y>
<copy src="io()" trait="_HUDXP_Y" />
<add>
<copy src="screen()" trait="height" />
<sub src="child(XPMeter)" trait="y" />
<sub>
<copy> 1480 </copy>
<mul src="io()" trait="_duiscale" />
</sub>
</add>
</y>

<locus> &true; </locus>

 

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...