Burning Legion's Return
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  DOWNLOADDOWNLOAD  Vote for Wc3LegionVote for Wc3Legion  

 

 Mod Options FrameWork

Go down 
AuthorMessage
GameOverGR
Admin
GameOverGR


Posts : 145
Reputation : -1
Join date : 2010-06-29
Age : 31
Location : Hell

Mod Options FrameWork Empty
PostSubject: Mod Options FrameWork   Mod Options FrameWork I_icon_minitimeWed Jul 14, 2010 10:59 am

Introduction.

This is a framework for modders that don't want to write their own options UI, or start from scratch.

It'll place a new tab called "Mods" in the game options.

Mod Options FrameWork Ui_lobby_preview

Mod authors will then be able to easily write option UIs for their mods.

Mod Options FrameWork Ui_frame_preview

* All cvar attributes are automatically created and setsaved. So no need to create them first, the framework will take care of that.
* It's strongly recommended that cvartypes are kept to default types.
* When resetting cvars the default attribute is used, if not set the default default value will be used. (See specific element for default value)
* Underlined attributes are optional.
* All attributes are case-sensitive.
* Listed attribute values are the default value for the attribute.
* The ' or &#39 is not allowed. Not even in tooltip.


Create new instance. You need only one and it must be the first element.
It creates a container panel for your UI elements and attach a button linking to your options in the lobby.
------------------------------------------------------------------------------------------------

Back to top Go down
https://wc3legion.darkbb.com
 
Mod Options FrameWork
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Burning Legion's Return :: Heroes of Newerth :: Modifications-
Jump to: