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)
Just something I did not long a go to test it out: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>
![]()


Reply With Quote

