Deprecation?
Moderator: Moderators
Deprecation?
Are there any plans to deprecate old and redundant features? Stuff like the "toAirWeapon" tag (redundant because of onlyTargetCategory), Primary, Secondary and Tertiary instead of Weapon1, 2 and 3 and the HitByWeapon COB call (HitByWeaponId does everything that does and more) come to mind but I'm sure there's more.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
Re: Deprecation?
As I recall, all HitByWeapon calls are automatically read as HitByWeaponID calls instead anywayKDR_11k wrote:Are there any plans to deprecate old and redundant features? Stuff like the "toAirWeapon" tag (redundant because of onlyTargetCategory), Primary, Secondary and Tertiary instead of Weapon1, 2 and 3 and the HitByWeapon COB call (HitByWeaponId does everything that does and more) come to mind but I'm sure there's more.
Re: Deprecation?
Threadsurrection here - would it actually make sense to update ToAirWeapon to be actually intelligent about targeting only-airborne units, instead of just using the unit-class? That is, target any unit that is currently off the ground (IE. ground units blasted into the air by impulse) and avoid targetting air units that are landed? That would make the tag far more useful than it's current redundant purpose.
Likewise, a ToLandWeapon tag could be provided for the reverse case.
I guess this is offtopic, and not really relevant to my current mod project, but it's always bothered me, since it the current approach generates ugly behavior in most mods with clear land/air weapon delineation.
Likewise, a ToLandWeapon tag could be provided for the reverse case.
I guess this is offtopic, and not really relevant to my current mod project, but it's always bothered me, since it the current approach generates ugly behavior in most mods with clear land/air weapon delineation.
Re: Deprecation?
Yeah that would definitely make more sense. I think the old issues about consistency mainly involved mods having errors regarding classes.
Re: Deprecation?
lol @ year late arguement starting.