Page 2 of 2

Posted: 21 Jul 2007, 18:04
by trepan
From LuaUI/CHANGELOG.txt

Code: Select all

HEADER FILES:

- replaced "spring.h.lua" file with built-in constants table
  CMD_<name>     -> CMD.<name>
  CMDTYPE_<name> -> CMDTYPE.<name>

- replaced "opengl.h.lua" file with built-in constants table
  GL_<name> -> GL.<name>

Posted: 22 Jul 2007, 03:01
by Licho
Both widgets were updated. They should now work even with clean 75 install.

Posted: 30 Sep 2007, 01:08
by ginekolog
i like this widget but might it be causing thoose lua errors?

LuaUI: error = 2, Update, [string "├â┼©"]:1006: attempt to call global 'čtłrs' (a nil value)
LuaUI: error = 2, DrawWorld, [string "├â┼©"]:542: attempt to call global '' (a nil value)
LuaUI: error = 2, DrawInMiniMap, [string "├â┼©"]:542: attempt to call global '' (a
And 100 more lines ofc.

Last game i had to realod lua 2 times to correct this and then i disabled autogroup - no more errors. I am not sure at all about it.. just a thought.

Posted: 30 Sep 2007, 01:18
by LordMatt
Fix plx this seems like a cool widget! :-)

How about?

Posted: 03 Oct 2007, 16:26
by kb18951452
How about an Auto Group that works in this way

You build a group of units, say 2 tanks, 3 artillery, 3 fighter kbots, and 2 scouts. You assign it to a battle group, and in the event that one of these units (in the group) is killed, a factory on your base will add the unit to the que, and once built, add that unit to your battlegroup, keeping your specialized battlegroups supplied?

Is this something that could be done?

Even better than that might be, a basic battlegroup which is expandable, meaning, you start with the one mentioned above, but when your resources are higher, at the clikc of a button (or several) you can double the size to 4 tanks, 6 artillery, Etc. What do you think?

Posted: 03 Oct 2007, 19:54
by Licho
Err when does it display such errors? Im still using this widget without modification ...

kb189 - its possible, but I dont think its usefull. You usually want to get as many units as possible, possibly in some ratio (2 bulldogs : 1 anni) rather than absolute count of units..

Posted: 04 Oct 2007, 06:10
by DZHIBRISH
Problem with the group widget is htta u can only have one groupd of everything.. what if i have 2 groups of hammers in different places?not good..best thing would be to lalow grouped units to call for more units..
you have a group assigned and u get an icon if u turn it on or something that means the groups will call units from the nearest factory to it.. so if u have 1 factory and 2 groups wit hthe same unit type u can tell ur lab through the unit groups where u want him to send u units...so if u have 2 groups both wanting units it will send units to both places.. one built goes to group number 1 another one build goes to group number 2 and so forth in a cyclic way...maybe allow to call and engeneer as well?(im pushing it?).


Its a bit crazy but you have situation where u have 2 groups of the same unit type.. so what will you do than?such situations should be solved as well..