Code: Select all
NoChaseCategory=NOTAIR;
Onlytargetcategory=VTOL;
BadTargetCategory=NOTAIR;
Code: Select all
Category=ARM WEAPON LEVEL3 NOTAIR NOTSUB;
Code: Select all
category=ARM KBOT LEVEL2 ALL;
Moderator: Moderators
Code: Select all
NoChaseCategory=NOTAIR;
Onlytargetcategory=VTOL;
BadTargetCategory=NOTAIR;
Code: Select all
Category=ARM WEAPON LEVEL3 NOTAIR NOTSUB;
Code: Select all
category=ARM KBOT LEVEL2 ALL;
http://springrts.com/wiki/Units-WeaponDefsbool canAttackGround Default: true
Determines if the weapon can be force-fired on ground positions or only fire on targeted units.
Just be quiet and use the damn tag. Sheesh. At least bother to test before saying silly stuff.Forboding Angel wrote:http://springrts.com/wiki/Units-WeaponDefsbool canAttackGround Default: true
Determines if the weapon can be force-fired on ground positions or only fire on targeted units.
Remove this:
BadTargetCategory=NOTAIR;
That tag does not do what you think it does.
Code: Select all
bool canAttackGround Default: true
Code: Select all
onlytargetcategory1=VTOL;
capitalization does not matter in .lua and not in .fbiLua unit defs use the same tags (capitalization is slightly different but all of that is documented) and same parameters
more likely you messed up a , ; or similiar. infolog should have error message.This tag made the unit failing to load, i assume it can only be used in lua files and not tdf ?
Because you don't listen. Your "solution" is what I told you to do in the first place.elias79 wrote:
thank you for the answers even though i don't understand why you are so irritated.
oh ok. i guess i came up with that rule in my headknorke wrote:capitalization does not matter in .lua and not in .fbiLua unit defs use the same tags (capitalization is slightly different but all of that is documented) and same parameters
maxdamage, MAXDAGE or maXdAmAGe all will work...
Well you did not post it and i did not find it on the wiki anymore.Forboding Angel wrote:Because you don't listen. Your "solution" is what I told you to do in the first place.elias79 wrote:
thank you for the answers even though i don't understand why you are so irritated.
Thank you KlootKloot wrote:It can't and it doesn't.
(note that the mentioned solution was using "onlytargetcategory1=VTOL;", NOT removing "badtargetcategory=NOTAIR")