Page 1 of 1
Nowhere to find: The actual Balanced Annihilation Unit Names
Posted: 26 Sep 2012, 12:02
by meme_1
Hi,
easy question, if you know:
Where can i find the actual BALANCED ANNIHILATION script unit names?
I havn't found the names of some of the units, only a few mentioned in a CA unit name web page. Thanks for replies.
cheers,
C
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 12:05
by tzaeru
http://balancedannihilation.org/modinfo/
Misses a few though and might be outdated in the stats.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 12:23
by meme_1
Thanks zaeru,
this helps me further on. after a short view i could not find a missing unit in the list, it seems rather complete. so now i can experiment with secret lua scripts
C
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 12:36
by tzaeru
Ah, rechecked and actually the full list doesn't miss units; But the Core and Arm subpages have missing units (the total amount of units for the subpages is 340, while the total amount of units for the combined page is 370) like Arm's corvette, Decade.
But in any case, you're welcome.

Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 13:02
by meme_1
Well, I was looking for skrimsh ahh padon: skirmish unit names, and this was the most important thing now :))
cheers,
C
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 13:26
by Beherith
What do you mean skirmish unit names?
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 13:40
by SinbadEV
Beherith wrote:What do you mean skirmish unit names?
I think he means the internal name that a script would refer to as opposed to the "friendly" name that players see in game. (As in, the name a Skirmish AI would use.)
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 14:12
by meme_1
Just this (please excuse my english): I was looking for names of skirmishing units in general. (Like Rocko etc.) The list is great, all right! thx.
By the way: is this the right place to diskuss lua scripting? Propably better to change the thread for this. What do you think? (if got some weird issue that a spring get.. function returns an value that is undefined in a set.. function later where the set of possible values should be identical.)
C.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 14:20
by Beherith
That error decription is way too vague :)
You might want to look at the skirmish widget other have made before.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 15:33
by meme_1
yes it's very educational. the script error mentioned above occures if you set "rangeCheck" there to true. Then, after running the following error occures: Spring.GetUnitNearestEnemy returns a value that is later used in Spring.GetUnitDefID. This is a wrong value according to the error message. But unit is unit, so it makes no sense for me. However, this is not so important.
Now trying to understand what "for unit, v in pairs(skirm) do.." is meaning. What is "v" ? My first guess is that this might be: for all the fighting pairs or something like that, do the following. Until now, I haven't found any explanation about in all the dokus read so far.
C.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 16:05
by SinbadEV
meme_1 wrote:yes it's very educational. the script error mentioned above occures if you set "rangeCheck" there to true. Then, after running the following error occures: Spring.GetUnitNearestEnemy returns a value that is later used in Spring.GetUnitDefID. This is a wrong value according to the error message. But unit is unit, so it makes no sense for me. However, this is not so important.
Now trying to understand what "for unit, v in pairs(skirm) do.." is meaning. What is "v" ? My first guess is that this might be: for all the fighting pairs or something like that, do the following. Until now, I haven't found any explanation about in all the dokus read so far.
C.
I think pairs(skirm) converts the table "skirm" into an array of pairs containing the same data.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 16:18
by meme_1
Thanks!
"v" is some object which definition i have not found till now.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 16:48
by knorke
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 26 Sep 2012, 17:34
by Beherith
Meme, the problem you may be running into is that if you get an enemy unit, and that is a radar blip only, then a widget cant (and shouldnt!) be able to tell you it's unitdef.
Re: Nowhere to find: The actual Balanced Annihilation Unit N
Posted: 27 Sep 2012, 11:56
by meme_1
True. Propably this is it. The param's should not be accessible at every moment and therefore may be not defined every time. C++ is something different. There are no units.
I'm continuing to question about these things in the Lua-Script topic area.
Thx again,
C.