Feature Requests item #1256710, was opened at 2005-08-11 09:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=698375&aid=1256710&group_id=124062
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface: General
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Skala (matthewskala)
Assigned to: Nobody/Anonymous (nobody)
Summary: Attempt attack by default
Initial Comment:
There's some room for debate as to what's the correct
behaviour here, which is why I'm filing this as an RFE instead
of a bug, but:
If I click on an enemy unit to attack it, the UI code will make a
capture attempt if capture is possible at all; and a capture
attempt means no attack attempt occurs. On the other hand,
if I explicitly request an attack (not capture) I get the capture
attempt afterwards anyway, and for free with no ACP cost.
When capture is available as a choice, then attack will only
be availabe if explicitly requested. If (as is the case in one
game I'm working on) the chance of success with an attack
is high, but the chance of success with a capture is low, then
just clicking around on the map means I'll be wasting my
effort in seldom-successful capture attempts.
I'd rather have the default when I click be "attack", and do an
explicit capture command when I want to attempt a capture
without doing damage. That seems more intuitive and useful.
It might be possible to simulate in the GDL by using the
"surrender" mechanism rather than the "capture"
mechanism, but that may have different semantics, it means
capture as a separate action without attack is no longer
possible, and I don't know whether it would connect with the
changed-type-if-captured table.
I think the simplest way to make this change would be to
move the capture logic that starts around like 3336 of ui.c, to
after the regular-attack logic, but I haven't tested that
carefully.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=698375&aid=1256710&group_id=124062
|