Author Topic: Replacing a default GUI  (Read 1127 times)

I intend on replacing the admin GUI with my own custom GUI. How would I do this? Client side add-on is what I'm wanting.

Depends what you mean by replacing.

If you're not publicly releasing it, I'd say just remove the admin GUI bind and add a bind for you GUI that's the same thing. That way you can still open the admin GUI if you need to.

If you are publicly releasing it, you wouldn't want to replace anything default. Maybe add a button onto the admin GUI that opens your GUI, or another bind? If possible just add more buttons to the admin GUI.
« Last Edit: September 10, 2010, 02:57:11 PM by Headcrab Zombie »

All you need to do is create a new GUI, delete the existing one "AdminGUI.delete();" and create another one with the same name.

All you need to do is create a new GUI, delete the existing one "AdminGUI.delete();" and create another one with the same name.
Thanks. That worked perfectly.

I know this is like half off topic but, what ever happened to the Fetch and Find buttons on the admin menu? Why where they taken out? Now it's a hassle for me to fetch and find my friend Penguin Man.

They never were there.
It's an add-on that added them.

I know this is like half off topic but, what ever happened to the Fetch and Find buttons on the admin menu? Why where they taken out? Now it's a hassle for me to fetch and find my friend Penguin Man.
You had Randy's Admin Gui Edit. It's a really old add-on that added those buttons to the Admin GUI.

How do you add a button to an existing GUI?
Like to the Admin-GUI?

AdminGUI.button = new BitmapButton()
{
   stufff
};
AdminGUI.add(AdminGUI.button);

You had Randy's Admin Gui Edit. It's a really old add-on that added those buttons to the Admin GUI.

I still have it, haven't had a chance to delete it over the years. But I really should because it conflicts with RTB's buttons, overlaps them. :panda:

Those fetch/find buttons?

I still have those, they're useful. :D