New Weapon tdf tag
Moderator: Moderators
-
- Posts: 36
- Joined: 22 Nov 2006, 23:48
Sorry to bring back an old post, but has anyone gotten this to work? I was trying out a recent build and this tag doesn't seem to do anything. It sounds like fighters should completely ignore ground targets if all their weapons are set to canAttackGround=0;
I set the tag and put both of their weapons as toairweapon=1; but fighters still swoop down at peewee's and stuff, even though they don't fire their missiles.
I set the tag and put both of their weapons as toairweapon=1; but fighters still swoop down at peewee's and stuff, even though they don't fire their missiles.
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
OnlyTargetCategory is a per-weapon tag (e.g. there is a OnlyTargetCategory1, OnlyTargetCategory2, ..., OnlyTargetCategory16, but no OnlyTargetCategory). But, when applied to fighters, it doesn't work properly: the fighter properly cannot fire at units outside of its OnlyTargetCategory, but it still tries to attack them (it makes attack runs, dives at ground units, but fires no shots). This messes up some of my setups. I want fighters to have so high CruiseAlt that they are out of reach of light AA weapons, but when executing those useless dives at ground units, they come into range of everything.KDR_11k wrote:It gets ignored for me when I try to set it for the whole unit, only per-weapon works.
Thats not a mess up Yuritch, by Target, it means can fire, so that tag really should read onlyfireatcatagory.. the fighters will still target that, in fact any unit will act this way with this tag, not just fighters, usually however nochase catagory sorts this out, however for fighters this does not apply..