Page 1 of 1

[WIP] Build order widget

Posted: 07 Mar 2014, 11:57
by vvoop
Had to make it into code for the tables to work :), here is the idea!

Code: Select all

name = How is my build

Writes down the time a building was finished, write down the amount of metal and energy income when said building was finished like:
always ignore units and other actions, only include resources and structures.

v-Time                   v-metal
0:24 Solar plant       +1.5   +55
        ^-Structure             ^-energy
___________________________________
0:24 Solar plant       +1.5   +55
0:35 Metal Extractor   +2.5   +59
0:57 Vehicle lab       +2.5   +59
___________________________________
make able to save into a file as "Build name" and be capable of loading a build to show next to your current progress as a template.

example of comparison:

Current build.[load button][save button]			 Saved Build that you loaded.
___________________________________          ___________________________________                          
0:24 Solar plant          +1.5   +55        |      0:11 Solar plant        +1.5   +56
0:35 Metal Extractor      +2.5   +59        |      0:22 Metal Extractor    +2.5   +61
0:57 Vehicle lab 	      +2.5   +59        |      0:45 Vehicle lab        +2.5   +61
1:24 Metal Extractor	   +3.5   +65        |      1:03 Metal Extractor    +3.5   +68
___________________________________          ___________________________________

only always save the "Build progress / Current build"

##########

if comparing show the lower value as Red and higher than the other as green, unless it is time where it is opposite.

example:
__________________________________________________
0:24 Solar plant   +1.5   +55  |	 0:11 Solar plant    +1.6   +56 |
 ^ this side would be green Time and income numbers.
___________________________________________________

example 2:
______________________________________________________
0:24 Solar plant    +1.5   +55  |   0:11 Solar plant     +1.4   +56 |
^ this would have the metal income value on the build order to the right as red (lower value)
______________________________________________________
i think this would be a great widget to improve your gameplay and it'd be a great addition to funkencool's end game graphs widget, share your opinions.

Have a good day!
##########

okay so project is on the way, but still alot of things left to do and im only starting to learn Lua so bare with me on this one, but thanks to a few people its moving forward :)!
but do report bugs here if you find any
  • Changelogs:
    v1.2:
    *includes mapname for the saved file.
    *changed sizes of the formatting, should no longer mess up the list format when long building names occur (size is now 35 characters).

    v1.1:
    *now saves each file after battle with timestamps.

    v1.0:
    *base build made.

Re: [Request] Build order widget

Posted: 07 Mar 2014, 11:59
by Forboding Angel
Something like this would be ridiculously useful in Evo. I would muchly like to see it become a reality :-D

Re: [Request] Build order widget

Posted: 07 Mar 2014, 12:50
by Tumulten
Taken.

Working on this

Edit: Finished simpleversion:

Re: [Request] Build order widget

Posted: 08 Mar 2014, 07:27
by knorke
The idea is good but would maybe do it a bit different:
Say you are a little slower with clicking, suddendly you want to skip one solar because now you already have enough energy stored, just from the waiting.
I think the current buildorder and the "saved buildorder" would quickly go out of sync like this. The excact order in which things are build is just too different every game.

So maybe instead of the excact order compare the amount of units?
Something like this:

Code: Select all

Current build.[load button][save button]          Saved Build that you loaded.
_________________________   game time:  12min30s   _____________________________
            10                        Windmills       15
             8                        Mexes            7
             1                        Factories        2
             5                        Constructors     3
(The numbers on both site would change every few moments.)
That way it remains comperable even if you skipped a windmill or had to rebuild a mex etc.

Re: [Request] Build order widget

Posted: 08 Mar 2014, 17:06
by vvoop
im not sure you quite understand that the left build is what you are currently building and the right build, is something you did in the past to sparr with, or ie follow

Re: [WIP] Build order widget

Posted: 16 Mar 2014, 19:57
by 100Gbps

Code: Select all

                             Name:      Start time:     Finish time:    Metal income:   Energy income: 
------------------------------------------------------------------------------------------------------------
                   Metal Extractor         00:00:02         00:00:08                1               25 
                   Solar Collector         00:00:09         00:00:19                2               25 
                   Metal Extractor         00:00:21         00:00:28                3               45 
                   Solar Collector         00:00:29         00:00:39                3               45 
                     Vehicle Plant         00:00:40         00:01:06                5               55 
                   Metal Extractor         00:01:09         00:01:15                5               65 
                   Solar Collector         00:01:16         00:01:26                5               65 
                  Energy Converter         00:01:29         00:01:38                7               85 
                   Solar Collector         00:01:42         00:01:54                7               85 
                  Energy Converter         00:01:56         00:02:05                8              115 
          Advanced Solar Collector         00:02:00         00:02:49                7              115 
                    Energy Storage         00:02:55         00:03:10                9              190 
                  Energy Converter         00:03:38         00:03:47                9              190 
                   Solar Collector         00:03:48         00:03:58                9              190 
                  Energy Converter         00:04:29         00:04:38               10              210 
                   Solar Collector         00:04:41         00:05:17               10              210 
            Advanced Vehicle Plant         00:03:37         00:06:48                9              190 
          Advanced Solar Collector         00:06:51         00:07:59                7              210 
          Advanced Solar Collector         00:08:00         00:08:49                9              247 
                       Nano Turret         00:08:50         00:09:22               10              285 
                         Moho Mine         00:08:23         00:09:51                8              285 
                         Moho Mine         00:09:52         00:10:26               17              360 
                         Moho Mine         00:10:34         00:11:04               24              360 
                       Nano Turret         00:10:42         00:11:14               20              360 
                       Nano Turret         00:11:17         00:11:39               26              360 
          Advanced Solar Collector         00:11:50         00:12:14               26              360 
                       Nano Turret         00:12:42         00:12:54               26              435 
           Advanced Fusion Reactor         00:11:09         00:15:31               26              360 
units alive at the end: 20
map: DSD
position: top left corner
side: ARM

Re: [WIP] Build order widget

Posted: 05 May 2014, 22:09
by 100Gbps
imho this widget doesn't need to log build order while the player is spectating

Re: [WIP] Build order widget

Posted: 20 May 2014, 02:01
by Paladin
Will this widget emulate the "build templates" from Supreme Commander?

I would love to have this ability in any spring game:

>Press the "record template" function hotkey combo
>Create a build queue of several buildings
>Press the "record template" hotkey to end the recording
>chatlog states "template#XXXXXX saved"
>Open the BuildTemplateMenu to view a scrolling list of recorded templates over all time
>Select the one named "template#XXXXXX" to highlight it
>click "rename" to type a new name, click "apply" to save the new name.
>click "add to visible templates" to add it to a menu displaying clickable buttons with their template names
>click a click any button in the VisibleTemplatesMenu to activate that template
>mouse over terrain to see the build template as it was recorded

Re: [WIP] Build order widget

Posted: 21 May 2014, 20:57
by 100Gbps
DIY

Anyway ... Hello, my console friend.