• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Interface Tutorial

Junior Spellweaver
Joined
Nov 26, 2008
Messages
196
Reaction score
62
Now that I'm done with GunZ and moved onto Infinity and Rakion, I should share. It's not complete but I'll show some example code later, this is just basically telling you what each tag in the GunZ interface files does for now.

Credits: Me, Nayr, Lambda (dunno why, Nayr told me too)

Code:
<FRAME item="frame name"></FRAME>
<PICTURE item="name" parent="frame this is apart of"></PICTURE>
<LISTBOX item="name" parent="frame this is apart of"></LISTBOX>
<BUTTON item="name" parent="frame this is apart of"></BUTTON>
<FRAMELOOKTEMPLATE item="name"></FRAMELOOKTEMPLATE>
<ANIMATIONTEMPLATE item="name"></ANIMATION>
<FRAMELOOK>type</FRAMELOOK>
<LISTBOXLOOK>type</LISTBOXLOOK>
<BUTTONLOOK>type</BUTTONLOOK>
<CONFIRMLOOK>type</CONFIRMLOOK>
<BOUNDS>------------------------------------------
<X></X><--lcoation from left hand of window	 -
<Y></Y><--lcoation from top hand of window	 -
<W></W><--Width 				 -
<H></H><--hight				 	 -
</BOUNDS>-----------------------------------------
<ANCHORS>-------------
<LEFT></LEFT>	     -
<TOP></TOP>          -
<RIGHT></RIGHT>      -
<BOTTOM></BOTTOM>    -
</ANCHORS>------------
<STRETCH/> <-- Stretch bitmap
<BITMAP>filename and location</BITMAP>
<SELECTED></SELECTED> <-- allow or deny a object to be selected
<FOCUSABLE></FOCUSABLE><-- relay unsure on this one but its never used useualy set to false
<NULLFRAME/><--unknown
<SELECTED></SELECTED><-- is obeject seleted
<MOVABLE></MOVABLE><-- can object be moved
EDITABLE></EDITABLE><-- editable text
<MAXLENGTH></MAXLENGTH><--text length
<INDENTATION></INDENTATION><-- text indent from left
<SCROLLBAR></SCROLLBAR><-- show scrollbar
<TEXT></TEXT><-- text dispalyed ex. Strings
<FONT></FONT><-- font to use. fonts are defined in templates.xml
<TEXTCOLOR>----------------
<R>0</R>	<-- Red
<G>241</G>	<-- Green
<B>241</B>	<-- Blue
</TEXTCOLOR>------------
<TEXTPOSITION>-----------------------------------------
<X></X><--location from left hand of window	      -
<Y></Y><--location from top hand of window	      -
</TEXTPOSITION>----------------------------------------
<BITMAPS>--------------------
<BITMAP type="#"></BITMAP>  -
</BITMAPS>-------------------
<VISIBLE></VISIBLE><-- is object visible
<ALIGN>----------------
<HALIGN></HALIGN>     -
<VALIGN></VALIGN>     -
</ALIGN>---------------
<RESIZABLE></RESIZABLE><- is object resizable - Note this is a bit strange in game,you have to get the very out edge of the frame with the tip of cursor to resize it
<DEFAULTKEY></DEFAULTKEY> <-- default key for button. example. exit - esc as key
<CONFIRMMESSAGE></CONFIRMMESSAGE> is used via button 
<FONTTEMPLATE item="FONTa12_O1Blr">
<FONTSET></FONTSET> which font to use
<FONTHEIGHT></FONTHEIGHT> font size
<BOLD/> make sit bold
<DELAY>100</DELAY>------------- this is your basic animation for pictures, teh delay is how often to chaneg through each picture in the order listed
<BITMAP>1.png</BITMAP>        - Image
<BITMAP>2.png</BITMAP>--------- Image

<ANIMATIONTEMPLATE item="CombatNiceAnimTemplate"> - Loads the animation item
<DELAY>100</DELAY> - Set antimation delay
<BITMAP>1.png</BITMAP> - Image
<BITMAP>2.png</BITMAP> - Image
</ANIMATIONTEMPLATE>

Just something I did not long a go to test it out:

Exiled Hero - Interface Tutorial - RaGEZONE Forums
 
Supreme Arcanarch
Loyal Member
Joined
Sep 7, 2008
Messages
972
Reaction score
81
It's look nice! But what is that for script? And can u upload
<BITMAP>1.png</BITMAP> - Image
<BITMAP>2.png</BITMAP>--------- Image
 
Elite Diviner
Joined
Oct 25, 2008
Messages
431
Reaction score
0
Nice release 7/10

Maybe a stupid question but.. where do i have to place this =P?
 
Junior Spellweaver
Joined
Nov 26, 2008
Messages
196
Reaction score
62
I'll quote what I just said.. people need to pay attention.

this is just basically telling you what each tag in the GunZ interface files does for now.
 
Elite Diviner
Joined
Jan 20, 2009
Messages
401
Reaction score
284
nice tut but i can play very good pro with that bcuz i cant see enemies
 
Banned
Banned
Joined
Feb 9, 2008
Messages
678
Reaction score
21
how did u make the chat boxl ike thta looks like runescape XD i like it.
 
Skilled Illusionist
Joined
Feb 20, 2008
Messages
307
Reaction score
4
wow man nice!this also maybe a stupid question.which file is this? xD
 
Skilled Illusionist
Joined
Feb 20, 2008
Messages
307
Reaction score
4
lol

Off Topic : XWEAVER SPAMS!!he is neva gonna release his web trust me.
 
Back
Top