Page 1 of 1

Commands text useless, please remove it

Posted: 04 Jan 2008, 16:01
by TradeMark
Image

it comes on my minimap, its annoying, and useless text, like anyone didnt know those buttons under that text were commands?

yeah i could use lua/something and hide it and so on, but what about the new/lazy users who just want to play and not touch to any files?

Can that text be removed at new version? pls?

also, it would be super cool to be possible to move those commands buttons in game, and then it would remember it, so it would be much easier to decide where you want them to be.

Re: Commands text useless, please remove it

Posted: 05 Jan 2008, 15:06
by kiki
WIdget.

Re: Commands text useless, please remove it

Posted: 05 Jan 2008, 15:58
by Pendrokar
kiki wrote:WIdget.
He hates lua!

Re: Commands text useless, please remove it

Posted: 05 Jan 2008, 16:29
by Auswaschbar
Even things which are easy to customize should have reasonable defaults imho, so +1

Re: Commands text useless, please remove it

Posted: 05 Jan 2008, 18:25
by ZellSF
+1

Though IceUI's minimap is above the text so I don't really care much. The purpose of it is to shown if you've chosen to have the build list or the commands first though, so it has a purpose, but if you change the ordering on that you probably know anyway.

Re: Commands text useless, please remove it

Posted: 23 Jan 2008, 00:31
by Lupus
Anyway, how to get rid of the "Commands" text using widgets or anything?

Re: Commands text useless, please remove it

Posted: 23 Jan 2008, 00:40
by TradeMark
yeah, tell me too.

Re: Commands text useless, please remove it

Posted: 23 Jan 2008, 03:35
by Kloot
The "Commands" string is printed by LuaUI, see
LuaUI/layout.lua (search for 'menuName') if you
want to get rid of it.

Re: Commands text useless, please remove it

Posted: 23 Jan 2008, 13:11
by TradeMark
Thank you.

Could you also tell how to change minimap default position/size?

Re: Commands text useless, please remove it

Posted: 23 Jan 2008, 14:40
by kiki
In ice ui, which is what I use, just look for the minimap.lua. I guess without iceui its just ctrlpanel.txt

Re: Commands text useless, please remove it

Posted: 25 Jan 2008, 13:09
by TradeMark
what command i put into ctrlpanel.txt to change the minimap position/size?

Re: Commands text useless, please remove it

Posted: 26 Jan 2008, 01:04
by ZellSF
You can't, I think. Not the default minimap.

Re: Commands text useless, please remove it

Posted: 26 Jan 2008, 17:08
by TradeMark
someone make a patch then :(

Re: Commands text useless, please remove it

Posted: 27 Jan 2008, 02:03
by Neddie
You can change the map ingame. I just edit the layout and change "COMMANDS" to "" to deal with the annoying words.

Re: Commands text useless, please remove it

Posted: 27 Jan 2008, 02:29
by trepan
Loot at some the widgets with 'minimap' in their names.

P.S. It can also be setup using a config var (the one with
the really obvious name)

Re: Commands text useless, please remove it

Posted: 27 Jan 2008, 11:21
by imbaczek
trepan wrote:Loot at some the widgets
too much MUMORPUGERS! <wink>

Re: Commands text useless, please remove it

Posted: 27 Jan 2008, 15:28
by TradeMark
that minimap widget sucked because i couldnt move it ingame...

Re: Commands text useless, please remove it

Posted: 27 Jan 2008, 17:40
by trepan
The RelativeMinimap widget shows that you can
adjust the minimap in-game using lua. The config
var name is MinimapGeometry. The original minimap
widget was intended to show devs that you could
grab control of the minimap, not to allow you to
move it around (the "for devs" part elude you?)

Re: Commands text useless, please remove it

Posted: 03 Feb 2008, 04:32
by Lupus
To get rid of the "COMMANDS" and "BUILD ORDERS" text, open the layout.lua file (/LuaUI/layout.lua in your spring directory) and find the following code:

Code: Select all

local cmdsFirst = (commands[1].id >= 0)
if (cmdsFirst) then
    menuName =   RedStr .. 'Commands'
  else
    menuName = GreenStr .. 'Build Orders'
  end
Then comment (or delete) all the lines except the first one. It should be for example:

Code: Select all

local cmdsFirst = (commands[1].id >= 0)
--  if (cmdsFirst) then
--    menuName =   RedStr .. 'Commands'
--  else
--    menuName = GreenStr .. 'Build Orders'
--  end