Hello,
I'm not really used to EVO client, but I think it works the same way, correct me if I'm wrong.
First of all let me try to explain a bit how XML works.
The XMLs work with the complete 3DDATA/RES/ folder, where all User Interface informations are stored,
like .DDS files (Textures),
.TSI , where the DDS textures are stored and listed each with their specific height/width and ID.
they are linked to .ID, or _STR.ID files too that have IDs stored too.
The _STR.ID file has to be in 3DDATA/CONTROL/XML folder too.
About the XML itself:
Code:
< XML file start
BUTTON ID="10"
This is an important part of the XML you're building. The button ID is read client sided, and its instructions are given by IDs.
What I mean is, here the button 10 if often for , close, or minimize buttons most of time.
It means that for a newly created button, TRose.exe has to be modified to be able to read XML (if its a new one ) or to add new buttons to an existing interface after editing your XML. Otherwise your button wont work. You will be able to click it, it will appear, but do nothing.
Thats how it works in iRose. It might be different in EVO.
NAME=""
The name you want to associate to your button, image, or whatever.
X="0"
X Position taken in account if the button isn't in a "DIV" like Pane, or tabbed pane or whatsover..
Y="0"
Same as above for Y coordinates.
WIDTH="269"
Nothing much to explain here. The image width.
HEIGHT="30"
Nothing much to explain here. The image height.
OFFSETX="0"
X Position taken in account if the button IS in a "DIV" like Pane, or tabbed pane or whatsover..
OFFSETY="0"
Same as above for Y coordinates.
MODULEID="11"
The moduleid parameter is still a bit obscure to me as most of time it is set as blank. So I would not be able to explain it to you properly.
NORMALGID="AVATAINFO_CAPTION"
AVATAINFO_CAPTION is the name of the resource you're loading in .TSI (and _str.id) for the normal state of the button.
OVERGID="AVATAINFO_CAPTION2"
AVATAINFO_CAPTION2 is the name of the resource you're loading in .TSI (and _str.id) for the Over state of the button. ( When the mouse goes over, it changes ).
DOWNGID="AVATAINFO_CAPTION3" BLINKGID=""
AVATAINFO_CAPTION3 is the name of the resource you're loading in .TSI (and _str.id) for the Over state of the button. ( When the mouse clicks on it, it changes ).
DISABLEGID=""
This is if you enable or not a disalbe option for your button.
Like if you give the intruction: "Button useable only if X > 0" Else ShowDisableCodeHere."
Again, it is client sided. At least in iRose it is.
OVERSID="0"
Never used this parameter.
CLICKSID="0"
Never used this parameter.
NOIMAGE="0"
Never used this parameter. probably to show no image if set to 1?
/> xml file end
2. as u read the information in the image i attached, where can i find the position for char name and map name as i couldnt find it anywhere, is it stored on trose or what?
Yes it in TRose.exe. There is a function that gathers character's zone ID, Name, and coordinates, and displays them at the top right corner by default.
3. is there a way to change the font for text? coz rev4 use custom font with value 100010 for it.
so is it on trose as well or what?
Again, I'm not used to EVO client or OSrose.
But I think 90% the font size / color / positions are in Trose.
I hope all these informations helped you out.
Good luck !
Hij.