Jump to content

[REL] InfoGUI


Callum

Recommended Posts

Download

Click here!

Introduction

I noticed the helpmanager resource was very awkward as it only made 1 tab per resource with a help.xml and was quite a long client-side code, so I tried making my own shorter, and more flexible version of it. The result is quite good, it's only a short client-side file plus the xml files you add. And it's quite easy to add new tabs/text.

How to use

1. Add an XML file inside the infoGUI resource (it can be called whatever you like).

2. Go into meta.xml and insert a line as follows (where nameHere.xml = your file name);

3. Go into info-client.lua and at the root of the script you will see a table, insert at the end the following; "nameHere.xml;tabName" - of coruse nameHere.xml is the XML file, use a ; to seperate it, and then what you wish to name the tab.

4. Go into the XML file, and put at the root of the script a node, e.g.;

5. In between the nodes type your text.

If you still don't understand the resource comes with rules.xml and commands.xml as an example.

Link to comment

good work, but "easy to use" is something different in my opinion. see how the original helpmanager does it. It uses exported functions to give scripters the opportunity to design their own tabs and put it directly into the helpmanager. to improve your intogui you should make it fully compatible with the functionality of the original helpmanager, and then add new features. good luck

Link to comment
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...