Page 1 of 1
Select all units and hold shift
Posted: 13 Jun 2007, 15:03
by NOiZE
For spectating mode i would like a lua widget that those the following:
Select all units, and hold shift every 0,5 seconds?
possible? can someone make it?
Thanks :)
Posted: 13 Jun 2007, 15:12
by AF
not entirely necessary.
One of trepans config files has a option that shows a units command queue when selected.
Someone also added a command (probably trepan or tobi) that allows you to select any unit when in spectator mode regardless of team
/specfullview 2
here is my cmdcolors.txt:
Code: Select all
////////////////////////////////////////////////////////////////
//
// Selected Unit Boxes
//
unitBoxLineWidth 3
unitBox 0.5 1.0 0.0 1.0
////////////////////////////////////////////////////////////////
//
// Mouse Selection Box
//
mouseBoxLineWidth 3
mouseBox 1.0 1.0 1.0 0.8
mouseBoxBlendSrc src_alpha
mouseBoxBlendDst one_minus_src_alpha
// best choice for non-grey maps
//
//mouseBoxBlendSrc one_minus_dst_color
//mouseBoxBlendDst zero
////////////////////////////////////////////////////////////////
//
// Command Queue Rendering
//
alwaysDrawQueue 1
buildBoxesOnShift 1
useQueueIcons 1
queueIconAlpha 0.5
queueIconScale 1.0
useColorRestarts 1
useRestartColor 0
restartAlpha 1.0
queuedLineWidth 1.49
queuedBlendSrc src_alpha
queuedBlendDst one_minus_src_alpha
stipplePattern 0xffcc
stippleFactor 1
stippleSpeed 1.0
start 1.0 1.0 1.0 0.7
restart 0.4 0.4 0.4 0.7
stop 0.0 0.0 0.0 0.7
wait 0.5 0.5 0.5 0.7
build 0.0 1.0 0.0 0.7
move 0.5 1.0 0.5 0.7
attack 1.0 0.2 0.2 0.7
fight 0.5 0.5 1.0 0.7
guard 0.3 0.3 1.0 0.7
patrol 0.3 0.3 1.0 0.7
capture 1.0 1.0 0.3 0.7
repair 0.3 1.0 1.0 0.7
reclaim 1.0 0.2 1.0 0.7
restore 0.0 1.0 0.0 0.7
resurrect 0.2 0.6 1.0 0.7
load 0.3 1.0 1.0 0.7
unload 1.0 1.0 0.0 0.7
deathWatch 0.5 0.5 0.5 0.7
////////////////////////////////////////////////////////////////
//
// Selected Range Rendering
//
selectedLineWidth 2
selectedBlendSrc src_alpha
selectedBlendDst one_minus_src_alpha
rangeAttack 1.0 0.3 0.3 0.7
rangeBuild 0.3 1.0 0.3 0.7
rangeRadar 0.3 1.0 0.3 0.7
rangeSonar 0.3 0.3 1.0 0.7
rangeSeismic 0.8 0.1 0.8 0.7
rangeJammer 1.0 0.3 0.3 0.7
rangeSonarJammer 1.0 0.3 0.3 0.7
rangeShield 0.8 0.8 0.3 0.7
rangeDecloak 0.3 0.3 1.0 0.7
rangeExtract 1.0 0.3 0.3 0.7
rangeKamikaze 0.8 0.8 0.1 0.7
rangeSelfDestruct 0.8 0.1 0.1 0.7
rangeInterceptorOn 1.0 1.0 1.0 0.7
rangeInterceptorOff 0.0 0.0 0.0 0.7
Posted: 13 Jun 2007, 15:25
by NOiZE
AF wrote:One of trepans config files has a option that shows a units command queue when selected.
Tell me more about that plx, how do i get it to work?
AF wrote:Someone also added a command (probably trepan or tobi) that allows you to select any unit when in spectator mode regardless of team
/specfullview 2
I know that, but thats not relevant.
Also this doesn't solve the press CTRL+A every 0.5 seconds.
Posted: 13 Jun 2007, 15:30
by AF
Use my cmdcolors.txt instead of the default. Drop it into your spring folder. Any selected units command queue will be drawn regardless of wether shift is held or not.
as for ctrl+a every 5 secs, I'm sure you could do that yourself, and a lua widget to select all units at a regular interval shouldnt be hard.
Posted: 13 Jun 2007, 23:20
by Felix the Cat
Even better would be a widget that displays the commands of all units without having those units selected.
Advantages:
-You can still get meaningful information from the minimap. (When all units are selected, all units are white.)
-You are free to select units in order to get more detailed information.
-???
-Profit!
Posted: 13 Jun 2007, 23:48
by Neddie
Felix the Cat wrote:Even better would be a widget that displays the commands of all units without having those units selected.
Advantages:
-You can still get meaningful information from the minimap. (When all units are selected, all units are white.)
-You are free to select units in order to get more detailed information.
-???
-Profit!
Good idea, but how much work will it take?
Posted: 15 Jun 2007, 15:23
by KDR_11k
While we're on the subject of easy widgets, can someone make an auto CTRL-C widget that just selects and centers your commander the moment the game starts?
Posted: 15 Jun 2007, 15:44
by Ishach
This would make the spectator game of seeing who is trying to look leet by boosting their apm with dumb commands
Posted: 15 Jun 2007, 18:28
by Neddie
KDR_11k wrote:While we're on the subject of easy widgets, can someone make an auto CTRL-C widget that just selects and centers your commander the moment the game starts?
For Fissure, Commander Shooter and Gun Wings, yea?
Posted: 15 Jun 2007, 18:28
by Neddie
Ishach wrote:This would make the spectator game of seeing who is trying to look leet by boosting their apm with dumb commands
Good point. But then again, APM is rather pointless.
Posted: 15 Jun 2007, 18:29
by jackalope
KDR_11k wrote:While we're on the subject of easy widgets, can someone make an auto CTRL-C widget that just selects and centers your commander the moment the game starts?
i know, ctrl-c is so hard to press and I'm so tired after doing it I can hardly play my best.
Posted: 15 Jun 2007, 18:44
by Neddie
For Fissure, Commander Shooter and Gun Wings, yea?
Thank you Jack. Not about anything you play.
Posted: 15 Jun 2007, 22:03
by KDR_11k
neddiedrow wrote:KDR_11k wrote:While we're on the subject of easy widgets, can someone make an auto CTRL-C widget that just selects and centers your commander the moment the game starts?
For Fissure, Commander Shooter and Gun Wings, yea?
Not just those, you always have to select the com as the first action in the game since you want to deal out some build orders so it wouldn't hurt to have the thing selected by default.
Posted: 15 Jun 2007, 22:50
by trepan
As an example, the deployment LuaRules auto-selects the comm.