Page 1 of 1

quick question about targetting

Posted: 02 Jan 2010, 02:26
by Tribulex
People were being jerks in the lobby as usual. i doubt the forum will be any different, but here goes....

Is there a way to make a unit automatically target a certain category of unit automatically, as a preference to other units? For example antiswarm prefers small little hermit crabs and human beings and big fucking lazor of doom shoots at mega giant crabs instead of trying to kill little pathetic naked humans?

Re: quick question about targetting

Posted: 02 Jan 2010, 03:29
by FLOZi
Combinations of onlytargetcategory and badtargetcategory with clever assignments of categories. c.f. S44. Tanks will fire first at other heavy armour, then light armour / open topped vehicles, then soft targets (N.B. though the this is partly the way weapons are handled in the unit scripts too :regret: )

Re: quick question about targetting

Posted: 03 Jan 2010, 00:55
by SpikedHelmet
S44 has so many categories its ridiculous.

Re: quick question about targetting

Posted: 03 Jan 2010, 09:48
by CarRepairer
FLOZi wrote:Tanks will fire first at other heavy armour, then light armour / open topped vehicles, then soft targets
How do you define these three levels? I know with onlytargetcategory and badtargetcategory you can define two levels (onlytartgetcategory="A", badtargetcategory="A B :arrow: shoot A first, then B). What else are you using?

Re: quick question about targetting

Posted: 03 Jan 2010, 14:19
by FLOZi
What else are you using?
FLOZi wrote:(N.B. though the this is partly the way weapons are handled in the unit scripts too :regret: )[/size]
Also, remember springs default priority system; higher power (or metalcost if power isn't defined) units are targeted first.

Re: quick question about targetting

Posted: 03 Jan 2010, 17:33
by Tribulex
Yeah but spring sucks :D


k thx i think that will work ill start messing with it.