Central Build AI version 2.lua :)
Posted: 16 Dec 2010, 15:13
Hello,
I'm new here (but I played spring often), I just made a modification to "Central-Build-widget-v1.1" (made by Troy H. Cheek) to share with everyone.
I made this widget to be able to remember building template and replace the building it if it is destroyed (maybe for playing Chicken mod), and I made a quick button (Q) to make Commander quickly oriented to nearest enemy and build metal storage (perhaps to avoid the deadly janus rocket), then I add some time factor in the build queue; as for to make old queue more important; so that they aren't forgotten (maybe for times when we had super eco and we queued too much and old project was abandoned).
All function is made to use Q (because no other button left); "Q" for quick metal storage, "SHIFT-Q" for deleting Queue (useful when old queue are driving one insane...), "CTRL+SHIFT+Q" to make building selection became a template, and "CTRL+Q" to add or remove unit from CentralBuilder-Group.
---
It work but it have bugs! all basic function is working but for some exceptional case- like; building_and then abandon_and then add into template, caused widget crash.
And the quick metal storage isn't what I planned (I actually planned a row of LLT; like what I saw Baracus did) but that bug that exist in it is too much too take (5 days nonstop debugging, life lost.. :< ), and those template crash is making me mad to!... I understood the original concept but perhaps not all of Lua apparently.
Anyway the widget is fully functional and I hope people use it to! I had lots of widget and all is useful and I like this to be the same too! Thank you for the game. :))
----
I'm new here (but I played spring often), I just made a modification to "Central-Build-widget-v1.1" (made by Troy H. Cheek) to share with everyone.
I made this widget to be able to remember building template and replace the building it if it is destroyed (maybe for playing Chicken mod), and I made a quick button (Q) to make Commander quickly oriented to nearest enemy and build metal storage (perhaps to avoid the deadly janus rocket), then I add some time factor in the build queue; as for to make old queue more important; so that they aren't forgotten (maybe for times when we had super eco and we queued too much and old project was abandoned).
All function is made to use Q (because no other button left); "Q" for quick metal storage, "SHIFT-Q" for deleting Queue (useful when old queue are driving one insane...), "CTRL+SHIFT+Q" to make building selection became a template, and "CTRL+Q" to add or remove unit from CentralBuilder-Group.
---
It work but it have bugs! all basic function is working but for some exceptional case- like; building_and then abandon_and then add into template, caused widget crash.
And the quick metal storage isn't what I planned (I actually planned a row of LLT; like what I saw Baracus did) but that bug that exist in it is too much too take (5 days nonstop debugging, life lost.. :< ), and those template crash is making me mad to!... I understood the original concept but perhaps not all of Lua apparently.
Anyway the widget is fully functional and I hope people use it to! I had lots of widget and all is useful and I like this to be the same too! Thank you for the game. :))
----