Blockland Forums > Modification Help

Making an add-on to make class based (T)DMs easier...

Pages: (1/2) > >>

DrenDran:

From the suggestions and requests topic, I've decided to make an add-on that does what the title says.
Admins can create new classes though a command like "/createclass <name>" and if the name isn't already in use it'll create the class, if not, it will return an error. Then admins can type in a command such as "/setclassweapon <class_name> <slot> <weapon_name>" to change that class' particular weapon. Then players when they spawn can type once per life a command like "/chooseclass <class_name>" and get all the weapons for that class.

There will be various (RTB) prefs to change things such as default maximum slot amount, and maximum amount of class changes during one lifetime and such. They would probably be commands like "/clearclasses" and "/removeclass <name>" for use too. Also commands like "/listclasses" and "/describeclass <name>" for more information.  And of course, classes will be saved as prefs so that you don't have to recreate them each time you restart your server. However I highly doubt a decent interactive GUI for this is possible, seeing as that it'd be downloaded though the RTB GUI downloading system, and I read that the only functions that RTB let's you execute though a gui are "commandtoserver" and "popdialog" thus dynamic guis with names on buttons that change as the host changes the classes probably wouldn't be possible.

Is this actually a good idea?
Any things I should add while this is in development?

Treynolds416:

It's a great idea, although already possible with events. Would be extremely convenient, however.

Mr.jacksaunt:

Maybe more of an RTB pref, you make a lot of / commands.

DrenDran:


--- Quote from: Treynolds416 on November 13, 2010, 04:05:53 PM ---It's a great idea, although already possible with events. Would be extremely convenient, however.

--- End quote ---
Convenience is the goal here.

--- Quote from: Mr.jacksaunt on November 13, 2010, 04:07:50 PM ---Maybe more of an RTB pref, you make a lot of / commands.

--- End quote ---
Dynamically adding and removing rtb prefs to my knowledge is not possible.
If someone creates a class, that means five or more new rtb prefs would have to be created for it.
If it's removed, then it's five or more rtb prefs would have to be removed also.
It's not possible to my knowledge. :/

Mr.jacksaunt:

Ah, yes. Maybe a keybind for a gui?
Yea, / commands are better.

Pages: (1/2) > >>

Go to full version