Jump to content
kid1293

Minimize Town Hall Menu

1 post in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Minimize Town Hall Menu.

 

large.MinimizeTownHall.jpg.c0067da20a06ca811a5848a42662b9a9.jpg

Download the source.

MinimizeTownHall_source

In the code is everything you need to know about a minimize button.
You add the two icons, a settings file in the folder Dialog, and make changes in the UI section in the Template file.

The settings file must have a unique name, so it won't get mixed up with other minimize buttons.
You change the name/path to the StringTable and the SpriteSheet in that file.


The Template file's UI section contains two extra entries. They point to the settings file in Dialog:

        {
            ElementDescription _element = "Dialog/THMinimize.rsc:MinimizeSize";
            String _insertAt ="pageUser";
        }
        {
            ObjectType _type = PageToggleUI;
            ElementDescription _element = "Dialog/THMinimize.rsc:MinimizeButton";
            String _insertAt = "userTitle3";
        }

That's all. I have included a compiled mod, but the vanilla Town Hall will often get overwritten by other mods.
Place this mod high up in the load order.

Minimize Town Hall

Share this post


Link to post
Share on other sites

×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections