So direct-fire unit targeting is kind of weird, and I think it's implemented incorrectly in trunk. So I'm going to ask everyone how they want targeting to be implemented.
Every direct-fire unit has two ranges, let's call them "internal sensor range" and "weapon range". Internal sensor range is always 8 tiles plus sensor upgrades (max 11 tiles), and weapon range can be anywhere from 3 to 16 tiles (Except Missile Fortress, which is 31 tiles).
"Internal sensor range" is obviously the range the unit can see, and "weapon range" is the range the unit can shoot. This brings the problem of what to do if weapon range is higher than sensor range. I mean, you can't shoot something you can't see, can you?
There are three different ways to do this, so I want you, dear reader, to tell me which way is best. It'd be nice if you told me why you think that way is best. (To be unbiased, I won't tell you which way 2.x or 1.10 does it.)
- A. Units can only shoot up to internal sensor range. Weapons that have ranges higher than 11 will never be able to shoot more than 11 tiles. Obviously, this means that the weapons should be changed so that their weapon ranges don't exceed 11 tiles, so we won't get people asking why Scourge Missile has a 16 tile weapon range if it can only shoot 11 tiles.
- B. Units can only shoot up to internal sensor range, except they can shoot up to weapon range if what they're shooting is seen by a sensor turret or tower (this does NOT include Wide Spectrum Sensor). In other words, their range is like indirect-fire weapons, except they can't fire over walls and obstacles.
- C. Units can shoot anything you can see, up to weapon range.
- D. Units can shoot anything you know where it is, up to weapon range. Nearly identical to the above, except they can also shoot structures you can't see. How does this work? If you bring your units into vision range of an enemy structure, and then you get out of range, you can't actually "see" the structure any more, but it's still on the map and you can still click on it. With C, you wouldn't be able to shoot it. With D, you would.
EvilGuru: Added poll.



