techannihilation/TA

Some Warnings from infolog.txt

Closed this issue · 9 comments

abma commented

[f=-000001] Warning: [CreateYardMap] talon_blt1: given yardmap requires 12 extra char(s)!
[f=-000001] Warning: [CreateYardMap] talon_gen: given yardmap contains 7 excess char(s)!
[f=-000001] Warning: [GetCategory] too many unit categories (32), skipping tiny,
[f=-000001] Warning: [CreateYardMap] tllgate3: given yardmap contains 6 excess char(s)!
[f=-000001] Warning: [CreateYardMap] tllgate4: given yardmap contains 16 excess char(s)!
[f=-000001] Warning: removed the "armaahpns" entry from the "armcs" build menu
[f=-000001] Warning: removed the "cbuilderlvl2" entry from the "corcom7" build menu

Tech Annihilation test-9652-c6bf601

All fixed except : Warning: [GetCategory] too many unit categories (32), skipping tiny,

It is possible to reduce number of categories in TA, need some work tho..

At the moment we have:

TechaCategories = {
	["all"] = 0,
	["constr"] = 1,
	["hover"] = 2,
	["large"] = 3,
	["mobile"] = 4,
	["notdefense"] = 5,
	["notsub"] = 6,
	["notsubnotship"] = 7,
	["notvtol"] = 8,
	["notweapon"] = 9,
	["surface "] = 10,
	["vtol "] = 11,
	["nothovernotvtol "] = 12,
	["notmobile "] = 13,
	["level1 "] = 14,
	["plant "] = 15,
	["underwater "] = 16,
	["huge "] = 17,
	["supership "] = 18,
	["weapon "] = 19,
	["sub "] = 20,
	["small "] = 21,
	["tiny "] = 22,
	["mediumvtol"] = 23,
	["medium "] = 24,
	["smallvtol "] = 25,
	["tinyvtol "] = 26,
	["level3 "] = 27,
	["commander"] = 28,
	["level2 "] = 29,
	["mine "] = 30,
	["antiflame"] = 31,
}
constr = {aach,abuilderlvl1,abuilderlvl5,armaca,armach,armack,armacsub,armacv,armbeaver,armca,armch,
armck,armcom,armcom1,armcom4,armcom5,armcom6,armcom7,armcom_fusion,armcs,armcsa,
armcspider,armcv,armeca,armecs,armecv,armfark,armmin,armmls,armmlv,armsmc,cach,cbuilderlvl1,
cbuilderlvl5,consul,coraca,corach,corack,coracsub,coracv,corassis,corca,corch,corck,corcom,corcom1,
corcom3,corcom5,corcom6,corcom7,corcom_fusion,corcs,corcsa,corct,corcv,coreca,corecs,corecv,
corfast,cormin,cormls,cormlv,cormuskrat,pinchy,talon_aca,talon_ach,talon_ack,talon_ack1,
talon_acs,talon_acv,talon_builderlvl3,talon_ca,talon_ch,talon_chrysoberyl,talon_com,talon_com1,
talon_com3,talon_com5,talon_com6,talon_com7,talon_com_fusion,talon_cs,talon_csa,talon_cv,
talon_dioptase,talon_eca,talon_ech,talon_eck,talon_ev,talon_medic,talon_mlv,talon_psyker,tllaca,
tllach,tllack,tllacs,tllacsub,tllacv,tllbuilderlvl1,tllbuilderlvl2,tllbuilderlvl3,tllca,tllchover,tllck,tllcom,tllcom1,
tllcom3,tllcom5,tllcom6,tllcom7,tllcom_fusion,tllcs,tllcsa,tllcsub,tllcv,tlldoc,tlleca,tllecs,tllecv,tllhtcb,
tllmando,tllmarmelade,tllmlv,tlltsetse}

Less categories :

["all"]
["construction"]
["structure "]
["air"]
["surface"]
["underwater "]
["notmobile"]
["notweapon"]
["tiny "]
["small "]
["medium "]
["large"]
["huge"]
["commander"]

it looks way better skymyj
cant figure out what purpose was of the "constr" category...
any ideas?
Since primary purpose of categories is weapon targeting, adding builders to this is odd.
Avoid builders targeting make no sens to me at least.

https://springrts.com/phpbb/viewtopic.php?t=33575

=> These categories are enough. I think.
["structure"]
["air"]
["surface"]
["underwater"]
["tiny "]
["small "]
["medium "]
["large"]
["huge"]

Do you know a tool that change all unitdef/weapondef with new values ?
Cause, we have 1000+ changes to do

I think, we have to check if we delete the lvl1 2 3, a nano for example could morph into next level without these categories