Page 1 of 1
Build time calculator widget
Posted: 21 Jul 2007, 11:58
by KDR_11k
Would be useful to have a widget that displays the time it would take to build something in seconds in the tooltip of the build pic. Just divide the buildtime entry by the workertime of the builder(s) you have selected and display that after the buildtime value.
Posted: 21 Jul 2007, 12:06
by tombom
This would be really handy.
Posted: 21 Jul 2007, 12:22
by 1v0ry_k1ng
AF made the eta group AI that gave you etas of movement and building. basicly that but in the form of a convinent widget
Posted: 21 Jul 2007, 12:35
by CautionToTheWind
Does that work with the new release?
Posted: 21 Jul 2007, 13:14
by KDR_11k
1v0ry_k1ng wrote:AF made the eta group AI that gave you etas of movement and building. basicly that but in the form of a convinent widget
I don't think that'll tell you the required time before you start building it, though. I want to know things like "this factory spits one mech out every 30 seconds".
Posted: 21 Jul 2007, 16:39
by Caydr
Could it be made smart enough to adjust for assisting builders?
Posted: 21 Jul 2007, 17:11
by trepan
Made this one a while ago, I've never gotten around to
cleaning it up, but yall can have it for what it is worth:
http://trepan.bzflag.bz/spring/gui_build_eta.lua
Posted: 21 Jul 2007, 18:24
by KDR_11k
That displays the time remaining for a construction, what I want is just to make the tooltip say
Cost:
M: 30 E: 1200
Buildtime: 800 (0:14)
Posted: 22 Jul 2007, 00:15
by 1v0ry_k1ng
if you know the mod, buildtime is surely build time/ build power ?
Posted: 22 Jul 2007, 07:25
by KDR_11k
Yeah but I can't be arsed to remember the workertime of every builder and factory in the mod, never mind calculate that division. I got better things to do, like play the game.
Posted: 22 Jul 2007, 07:39
by AF
My ETA AI needs recompiling. It showed ETA for numerous orders such as ETA to reaching weapons range on attackers or move commands etc, and it did handle building things using a method that took into account stalling and assisting builders.
Posted: 22 Jul 2007, 12:39
by Licho
Can you convert it to lua? Or add lua which would enable AI?
Posted: 22 Jul 2007, 12:40
by AF
I dont know much lua. So no.
Posted: 22 Jul 2007, 14:20
by KDR_11k
Licho wrote:Can you convert it to lua? Or add lua which would enable AI?
I think the only way for that would be to rewrite it completely and again, I don't want an ETA for a running construction, I want to know e.g. how many Peewees my lab will churn out per minute before I settle on whether to buy Peewees or whatever else I'm considering.