Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mod Options FrameWork

Go down

Mod Options FrameWork Empty Mod Options FrameWork

Post  [cFc] GameOverGR Mon May 31, 2010 6:35 pm

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.
------------------------------------------------------------------------------------------------
Attachments
Mod Options FrameWork Attachment
mod_options_framework.zip You don't have permission to download attachments.(14 Kb) Downloaded 4 times
[cFc] GameOverGR
[cFc] GameOverGR
Admin

Posts : 101
Reputation : 0
Join date : 2010-05-08
Age : 30
Location : Greece

https://critfire.darkbb.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum