Author Topic: Making an add-on to make class based (T)DMs easier...  (Read 2886 times)

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?
« Last Edit: November 13, 2010, 03:53:43 PM by DrenDran »

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

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

It's a great idea, although already possible with events. Would be extremely convenient, however.
Convenience is the goal here.
Maybe more of an RTB pref, you make a lot of / commands.
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. :/

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

Ah, yes. Maybe a keybind for a gui?
Yea, / commands are better.
A host gui for creating classes is possible, but it would be cumbersome to make and use.
And a client gui is hardly possible at all, as I explained in the OP.

Good idea. Altho if you have noobs at yuor server they wont know what the heck to do

Good idea. Altho if you have noobs at yuor server they wont know what the heck to do
You add in server description.
Also, this mod is posted in add-ons section.
And an even better version is waiting approval on RTB.

Maybe when you type /NewClass Name

it sets the weapon loadout automatically to what weapons you're using.

Maybe when you type /NewClass Name

it sets the weapon loadout automatically to what weapons you're using.
Done and done.
Locking topic, take all discussion to add-ons topic please.