name CUSTOM_NAME - This allows you to name the item so you can use it in the furure.
Example:
(https://i.gyazo.com/7d744d5ae4c5c8366e2b1c4c3aa0cf76.png)
text TEXT - This allows you to make a text item. (
Only works for text items. )
Example:
(https://i.gyazo.com/1200ecf3111c919747357c69a80e70fa.png)
ownerdraw TEXT - This allows you to use a engine variable as text.
type TYPE_OF_ITEM - This allows you to choose the item text. Here is the full list of types of items.
Example:
(https://i.gyazo.com/25b057ae99c9780429887eb5e176f378.png)
All Options for this:
ITEM_TYPE_TEXT 0 // simple text
ITEM_TYPE_BUTTON 1 // button, basically text with a border
ITEM_TYPE_RADIOBUTTON 2 // toggle button, may be grouped
ITEM_TYPE_CHECKBOX 3 // check box
ITEM_TYPE_EDITFIELD 4 // editable text, associated with a dvar
ITEM_TYPE_COMBO 5 // drop down list
ITEM_TYPE_LISTBOX 6 // scrollable list
ITEM_TYPE_MODEL 7 // model
ITEM_TYPE_OWNERDRAW 8 // owner draw, name specs what it is
ITEM_TYPE_NUMERICFIELD 9 // editable text, associated with a dvar
ITEM_TYPE_SLIDER 10 // mouse speed, volume, etc.
ITEM_TYPE_YESNO 11 // yes no dvar setting
ITEM_TYPE_MULTI 12 // multiple list setting, enumerated
ITEM_TYPE_DVARENUM 13 // multiple list setting, enumerated from a d
ITEM_TYPE_BIND 14 // bind
ITEM_TYPE_MENUMODEL 15 // special menu model
ITEM_TYPE_VALIDFILEFIELD 16 // text must be valid for use in a dos filena
ITEM_TYPE_DECIMALFIELD 17 // editable text, associated with a dvar, whi
ITEM_TYPE_UPREDITFIELD 18 // editable text, associated with a dvar
ITEM_TYPE_GAME_MESSAGE_WINDOW 19 // game message window
ITEM_TYPE_SCALEFORM 20 // Flash movie for Scaleform GFx
ITEM_TYPE_BIND2 21 // bind2
textscale SCALE_0-1 - Allows you to change the size of the text using a decimal value between 0 and 1. This also has some preset variables.
Example:
(https://i.gyazo.com/e2b703992dd7ec208ca87d81c9d7d1d5.png)
All Options for this:
TEXTSIZE_SMALL FONTSCALE_SMALL // small
TEXTSIZE_SMALL_SS (FONTSCALE_SMALL*2) // smallest
TEXTSIZE_DEFAULT FONTSCALE_NORMAL // normal
TEXTSIZE_DEFAULT_SS (FONTSCALE_NORMAL*2) // smaller than normal
TEXTSIZE_TITLE FONTSCALE_BIG // large
TEXTSIZE_TITLE_SS 1 // smaller than large
style STYLE_TYPE - Allows you to change the style the object is displayed as.
Example:
(https://i.gyazo.com/ecc32e655154cd0a40102957106ed703.png)
All Options for this:
ITEM_TEXTSTYLE_NORMAL 0 // normal text
ITEM_TEXTSTYLE_BLINK 1 // fast blinking
ITEM_TEXTSTYLE_SHADOWED 3 // drop shadow ( need a color for this )
ITEM_TEXTSTYLE_SHADOWEDMORE 6 // drop shadow ( need a color for this )
ITEM_TEXTSTYLE_MONOSPACE 128
textfont FONT_NAME - Allows you to change the font it is displayed as.
Example:
(https://i.gyazo.com/c2ba23ef70573ceac1806e23b09d51bd.png)
All Options for this:
UI_FONT_DEFAULT 0 // auto-chose betwen big/reg/small
UI_FONT_NORMAL 1
UI_FONT_BIG 2
UI_FONT_SMALL 3
UI_FONT_BOLD 4
UI_FONT_CONSOLE 5
UI_FONT_OBJECTIVE 6
UI_FONT_MAX 6
rect COORDINENTS - Allows you to position the item on the screen. The positioning is a set of 4-6 numbers. The numbers go as: Xpos Ypos Xsize Ysize XOrgin YOrgin.
Example:
(https://i.gyazo.com/05905a214e575001d6ddc41920608125.png)
textalign POSITION_OF_TEXT - This allows you to choose which side of the text box should the text be displayed on.
Example:
(https://i.gyazo.com/076504983dae0fe4a9da1ed2d11147eb.png)
All Options for this:
ITEM_ALIGN_LEFT 0 // aligns left of text to left of containing rectangle
ITEM_ALIGN_CENTER 1 // aligns center of text to center of containing rectangle
ITEM_ALIGN_RIGHT 2 // aligns right of text to right of containing rectangle
ITEM_ALIGN_X_MASK 3
ITEM_ALIGN_LEGACY 0 // aligns bottom of text to top of containing rectangle
ITEM_ALIGN_TOP 4 // aligns top of text to top of containing rectangle
ITEM_ALIGN_MIDDLE 8 // aligns middle of text to middle of containing rectangle
ITEM_ALIGN_BOTTOM 12 // aligns bottom of text to bottom of containing rectangle
ITEM_ALIGN_Y_MASK 12
ITEM_ALIGN_LEGACY_LEFT 0
ITEM_ALIGN_LEGACY_CENTER 1
ITEM_ALIGN_LEGACY_RIGHT 2
ITEM_ALIGN_TOP_LEFT 4
ITEM_ALIGN_TOP_CENTER 5
ITEM_ALIGN_TOP_RIGHT 6
ITEM_ALIGN_MIDDLE_LEFT 8
ITEM_ALIGN_MIDDLE_CENTER 9
ITEM_ALIGN_MIDDLE_RIGHT 10
ITEM_ALIGN_BOTTOM_LEFT 12
ITEM_ALIGN_BOTTOM_CENTER 13
ITEM_ALIGN_BOTTOM_RIGHT 14
forecolor COLOR_CODE - Changes the color of the item.
Example:
(https://i.gyazo.com/5e9378fd9812cc2414e9c9e570e8acce.png)
visible TRUE_/_FALSE - Allows you to hide an item/menu.
Example:
(https://i.gyazo.com/ed761ee32b41b17a3e0113a847e731b4.png)
All Options for this:
1 // visible
0 // not visible
true // visible
false // not visible
visible when ( CONDITION ) - Allows you to hide an item/menu untill a condition is met.
Example:
(https://i.gyazo.com/b09880fc08c68f7618738d16ca29cb25.png)
All Options for this:
dvarint( DVAR ) == VALUE \\ I use ==, but you can use any math operation
stat( STAT_NUM ) == VALUE \\ I use ==, but you can use any math operation
dvarBool( DVAR ) \\ Shows when it is true
dvarBool( !DVAR ) \\ Shows when it is false
group GROUP_NAME - Allows you to group objects to share properties.
Example:
(https://i.gyazo.com/5614fc7e1bcaff911976a296b5520f9a.png)
border TRUE_/_FALSE_/_BORDERSTYLE - Allows a border to be drawn around the item.
Example:
(https://i.gyazo.com/2c443f8ed9365914f09fcbfcc825bced.png)
All Options for this:
WINDOW_BORDER_NONE 0 // no border
WINDOW_BORDER_FULL 1 // full border based on border color ( single pixel )
WINDOW_BORDER_HORZ 2 // horizontal borders only
WINDOW_BORDER_VERT 3 // vertical borders only
WINDOW_BORDER_KCGRADIENT 4 // horizontal border using the gradient bars
WINDOW_BORDER_RAISED 5 // darken the bottom and right sides of the border
WINDOW_BORDER_SUNKEN 6 // darken the top and left sides of the border
bordersize COLOR_CODE - Allows you to change the thickness of the border. This is a percentage value from 0 to 1. (
You must have a border on for this to be visible. )
Example:
(https://i.gyazo.com/ae61997aa7cdcbc42a62b8d9b195e734.png)
bordercolor COLOR_CODE - This allows you to change the color of the border. (
You must have a border on for this to be visible. )
Example:
(https://i.gyazo.com/e52c685cb3db9fcb06d77f02bf56f85b.png)
backcolor COLOR_CODE - This allows you to change the background color.
Example:
(https://i.gyazo.com/b3918272504a78dafe5da102416df237.png)
background MATERIAL_NAME - This allows you to choose the material that is displayed. (
The material MUST be a 2D Material and the item must an image type. )
Example:
(https://i.gyazo.com/801b875ee001f330e6ffb23df79bcbe2.png)
focusColor COLOR_CODE - This allows you to change the color when you are hovering over the item. (
This ONLY works with specific item types. )
Example:
(https://i.gyazo.com/dd719e5e93a0b4e06a0d4d2fb812afd4.png)
fullscreen TRUE_/_FALSE - This allows you to make the item fill the whole screen. This is only usefull for images.
Example:
(https://i.gyazo.com/ac7e20e86355312285a290f05c8f9198.png)
exp VARIES - This allows you to use a variable as an value.
origin COORDINENTS - This allows you to change the origin of the object.
Example:
(https://i.gyazo.com/73edab39d28177048bf02bb1398c1490.png)
setfocus ITEM_NAME - Highlights a certain menu item.
Example:
(https://i.gyazo.com/06729a484e7a524c77c95df6f5219558.png)
blurWorld VALUE_0_/_1 - This allows you to blur the screen in a percentage value between 0 and 10.
Example:
(https://i.gyazo.com/ef6f8411cf588e40b774b8ddc1caabb5.png)