Show all commands

Show all commands

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

Moderator: Moderators

Post Reply
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Show all commands

Post by NOiZE »

Not sure if this is possible with LUA yet, but i would like that if i hold shift (with no units selected) that i see all commands like in supcom. I heard there already is a drag and drop commands widget but it's kinda useless if you can't see the commands anyway :)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

I haven't played SupCom... what exactly do you mean
by "see all commands"? All build and command buttons?
All slash "/" and dot "." command? What would the feature
be useful for?

If this does relate to build/command buttons, it is possible
to query the command descriptions for units with the SVN
lua interface (Spring.GetUnitCmdDescs(unitID)). If called
from LuaUI, then it will only allow you to see the command
descriptions for allied units (which is all units if spectating in
full-view mode).
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post by Nemo »

Ctrl-A+shift...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

What noize wants is to see the order queues of all units (and buildings?) when holding shift down on a single unit. The same what nemo mentioned just without having to select all units beforehand.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

Oops, I guess I completely missed the point ;)
This could be done with lua, but it would be slow.
I think It would be much better to add it as a core
feature, possibly by using the same type of up/down
bindings used by /gameinfo | /gameinfoclose. Would
be nice to activate it for all allied teams as well.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

In supcom, if you hold shift, you see the current commands like spring but you also see the other units queues faded out.

I keep expecting this when I press shift and getting dissapointed =(
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

If I saw all units queue instead of only the selected unit queue, then it would become very clogged and messy, and I wouldn't see anything but an unusable scribble.

I'd rather not see the other unit queue unless I specifically ask for it (and a Ctrl A shift do that fine).

SupCom slows down considerably when I make it show all the queues.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Hmm perhaps the queue can be simplified by replacing buildings or units with an under construction icon or the sidebar icon. That shouldn't cause too much slowdown. Or limit it either to the POV or a fixed radius.
Post Reply

Return to “Lua Scripts”