HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  DOWNLOADDOWNLOAD  Vote for Wc3LegionVote for Wc3Legion  

Share | 
 

 Mod Options FrameWork

Go down 
AuthorMessage
GameOverGR
Admin
avatar

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

PostSubject: Mod Options FrameWork   Wed 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 authors will then be able to easily write option UIs for their mods.


* 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
View user profile http://wc3legion.darkbb.com
 
Mod Options FrameWork
Back to top 
Page 1 of 1
 Similar topics
-
» My Own Flash Based Arena Game
» How to compile sourcecode for stockfish?
» Tutorials - How to add multiple ranks Forumotion
» Stockfish Compiler v1.2.1
» Funfish (Stockfish with two small options)

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