Loading...
  OR  Zero-K Name:    Password:   

"Stored Build Queue" widget (automatically orders a pre-defined list of units when fac is plopped)

11 posts, 885 views
Post comment
Filter:    Player:  
sort

3 years ago
This isn't very polished yet (no UI; you need to define your personal build in the source), but I've been happily using it for a few weeks and thought I'd share if anyone is interested.

I think the config is pretty self-explanatory; get the internal unit names here. The specified units will automatically be queued when a factory of the specified type is built (including plop).

Source: cmd_stored_build_queue.lua

(To use, customize and put in /path-to-zero-k/LuaUI/Widgets)
+4 / -0
3 years ago
I was actually going to get around to coding one of these, because I always queue the same orders. Thanks a lot.
+0 / -0

3 years ago
Nice! I also tend to build the same stuff right out of the gates
+0 / -0
3 years ago
I misread this post. I read "storage build queue widget", I immediatelly thought it was someone asking for a lobster widget that queues a dozen storage or something at start of game.
+4 / -0
3 years ago
I mean, if you could build storage in a factory, this widget could do that.

Hm... trains tho...
+1 / -0
3 years ago
The real question is that does this work with the factory we all plop too often - strider hub?
+0 / -0


3 years ago
I like how your sidestepped the really difficult part, which would be writing an ingame UI to configure this.
+0 / -0
3 years ago
quote:
I like how your sidestepped the really difficult part, which would be writing an ingame UI to configure this.


Who needs in game GUIs when you can have notepad?
+1 / -0

3 years ago
AUrankAdminGoogleFrog I guess the simplest UI would be a button to save the current build queue of a selected fac. There should be a dialog or something to select the starting point though, since by the time you've entered the entire queue (with repeat enabled), the beginning of the queue may already have finished building.
+0 / -0


3 years ago
A comma-separated text field for factories in initial unit states could be a minimal way to do this.
+0 / -0

2 years ago
Now with USER INTERFACE!

I updated the widget to no longer require editing of the widget file to define one's build queues.

Suggested configuration is now:

1. Start skirmish

2. Plop factory

3. Optional: Pause game (so the first unit in the queue won't have finished by the time you're done entering the queue)

4. Order units in the fac as usual

5. With the fac selected, press Ctrl+Alt+Shift+S (Hotkey configurable in Settings -> Unit Behavior -> Store build queue). A chat message should appear.

6. Exit. Your queue will now be ordered whenever you plop or build this fac type.

To delete a stored queue, do the same, but with an empty queue.

I also recommend the "Stop Factory Production" command to quickly clear the queue when you build a factory in the later game, where the stored queue is usually unsuitable. Don't remember if there's a default hotkey for it, but I bound it to Ctrl+S.
+2 / -0