Mentula Posted Friday at 19:01 Report Share Posted Friday at 19:01 Hello 0 A.D. friends! Many times I find myself in the situation of having many units under production from several buildings and I want to clear ALL the production queues simultaneously. This can happen for many reasons: maybe I want to get back some resources that had been allocated to units production; or maybe I suddenly need to change type of units being produced if I see that the game steers from the direction I expect. As far as I know (correct me if I'm wrong), there is no explicit hotkey that allows to clear all production queues simultaneously. It is also very annoying to clear production queues by clicking on icons one by one, especially when you have many buildings producing or many units being produced. So, I made a mod for this. The ResetQueue mod (official repository at this page) allows to bind a hotkey for clearing production queues of selected buildings. The default hotkey provided from this mod is Shift+Esc. This can be changed from the Settings > Hotkeys menu. I find this feature very useful and I often use it in game. I hope this feature will be present in a future version of the game. What do you think? Installation Spoiler Download the attached zip file and extract it. Copy the ResetQueue folder into the mods folder, tipically located at: Linux: ~/.local/share/0ad/mods/ macOS: ~/Library/Application\ Support/0ad/mods/ Windows: ~\Documents\My Games\0ad\mods\ Launch 0 A.D. and open the Settings > Mod Selection menu. Select the ResetQueue mod, Enable it and Save Configuration. Contribute The public repository is at this page. Everybody is very welcome to contribute, suggest, fork or simply give feedback. Have fun! ResetQueue-v0.25.1.zip 6 1 Quote Link to comment Share on other sites More sharing options...
nani Posted Friday at 21:02 Report Share Posted Friday at 21:02 Great to see other people that appreciate hotkeys , but in case you didn't know autociv mod already had that feature added long ago (see https://github.com/nanihadesuka/autociv/blob/81601be697900917768089a77273b9be330c58b6/autociv_data/default_config.json#L182) Anyway, is good to have two options. I see you used the proper functions and sane code style to do it so it might have high chances to get merged to the main game if you try it to make a patch (see https://code.wildfiregames.com/) 3 Quote Link to comment Share on other sites More sharing options...
sarcoma Posted Saturday at 07:20 Report Share Posted Saturday at 07:20 Dude, you've got many awesome mods in there, kudos for the 'local ratings' Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted Saturday at 07:36 Report Share Posted Saturday at 07:36 What about a mod which leaves auto-queu on if its on instead of disabling it if a unit cant be trained? 3 Quote Link to comment Share on other sites More sharing options...
Sevda Posted Saturday at 11:30 Report Share Posted Saturday at 11:30 @Mentula this mod and your other mods are amazing! Would you mind if I implement some of them into StarGUI? I will also look into how not to disable autoqueue. 1 Quote Link to comment Share on other sites More sharing options...
Mentula Posted Saturday at 11:57 Author Report Share Posted Saturday at 11:57 4 hours ago, Player of 0AD said: What about a mod which leaves auto-queu on if its on instead of disabling it if a unit cant be trained? It shouldn't be hard to implement such a feature, I can look into that. Perhaps it is also something that developers can consider to include by default in the game. 23 minutes ago, Sevda said: @Mentula this mod and your other mods are amazing! Would you mind if I implement some of them into StarGUI? I will also look into how not to disable autoqueue. @Sevda of course, you are welcome to use them (or part of them) into your StarGUI! 1 Quote Link to comment Share on other sites More sharing options...
seeh Posted Saturday at 12:18 Report Share Posted Saturday at 12:18 1 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.