How to hidedefault Gui and show chilli widgets?

How to hidedefault Gui and show chilli widgets?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

How to hidedefault Gui and show chilli widgets?

Post by PicassoCT »

Hi everyone,

I wanted to know how to hide one part of the default GUI - the command and controll buttons.
And i wanted to know how to keep the Chili buttons visible at the same time.

I am already aware off this:
https://springrts.com/wiki/UI_commands
and all the previously given answers- which all did not contain a really satisfying answer.

The default answer is "Hide the complete gui with /HideInterface " which is not what i want to do.
I want to still show the minimap.
I still want to show the chili elements of my GUI.
I still want to draw other widgets.

A real answers is greatly appreciated.
Thank you.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How to hidedefault Gui and show chilli widgets?

Post by Silentwings »

See chili section of the wiki - https://springrts.com/wiki/Chili:Hiding_The_Default_GUI

The LayoutButtons/LayoutHandler part hides the engines command & build interface.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: How to hidedefault Gui and show chilli widgets?

Post by PicassoCT »

This does not hide the default commands.
I have that widget already integrated.

Thx for replying though.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How to hidedefault Gui and show chilli widgets?

Post by Silentwings »

This does not hide the default commands
What do you mean by "the default commands"?

When functioning correctly that widget will hide what afaics is the only thing that fits your descripition "part of the default GUI - the command and controll buttons"
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: How to hidedefault Gui and show chilli widgets?

Post by PicassoCT »

Post Reply

Return to “Lua Scripts”