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: 10238
Joined: 24 Jan 2006, 21:12

How to hidedefault Gui and show chilli widgets?

Post by PicassoCT » 27 Dec 2018, 01:00

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.
0 x

User avatar
Silentwings
Moderator
Posts: 3593
Joined: 25 Oct 2008, 00:23

Re: How to hidedefault Gui and show chilli widgets?

Post by Silentwings » 27 Dec 2018, 11:50

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.
0 x

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

Re: How to hidedefault Gui and show chilli widgets?

Post by PicassoCT » 27 Dec 2018, 13:10

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

Thx for replying though.
0 x

User avatar
Silentwings
Moderator
Posts: 3593
Joined: 25 Oct 2008, 00:23

Re: How to hidedefault Gui and show chilli widgets?

Post by Silentwings » 27 Dec 2018, 14:54

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"
0 x


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

Re: How to hidedefault Gui and show chilli widgets?

Post by PicassoCT » 27 Dec 2018, 21:50

0 x

Post Reply

Return to “Lua Scripts”