public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Hans Ronne <hronne@comhem.se>
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: xconq7@sources.redhat.com
Subject: Re: Major bug and what to do about it (long)
Date: Tue, 17 Aug 2004 04:48:00 -0000	[thread overview]
Message-ID: <l03130308bd4727fb4090@[212.181.162.155]> (raw)
In-Reply-To: <412172EE.9010102@phy.cmich.edu>

>What I also meant is that it sounded to me that you were suggesting the
>use of overrun, which would imply engaging _all_ units (or, as many as
>the attacker had ammo and ACP for) in the cell, would it not?

Not at all. This is how the current overrun code works (at least in model
0), but it is one of the things that I propose to change. One attack with 1
acp and 1 round of ammo should hit one enemy unit, not all of them.

>>I've given it some thought,
>> but I don't think it is a big problem in any existing game. Units that you
>> really would like to hit with a high priority, like cities, frequently
>> occupy an entire cell.
>
>True, but this is not always the case. With what you are proposing, I
>could always escort tankers with destroyers, and ruin a sub's day
>because it would be unable to target the tanker. Not good.

Well, to turn the argument around, naval escorts would for the first time
work in Xconq. You would be forced to take on the escort before you could
hit the valuable target. You would also for the first time be able to group
high-offense and high-defense units together, and know that the former
would benefit from the latter's defense. Just as in Civ2, where you would
group chariots together with a fortified phalanx, to give one example. My
feeling is that it would make most games more fun to play. You would
certainly have to give much greater attention to tactical unit deployments
than with the current code.

However, if you want to have a game where subs primarily hit tankers, there
should be ways to achieve that. What would happen if subs only can hit
tankers? Should the presence of units that it cannot hit at all block an
attack? I don't think so. Interestingly, there was a very similar problem
in the first version of Civ2, where putting a bomber on top of a city would
make it immune to ground attack. This was of course fixed in the first
patch.

These are important questions, and how the target selection is done is
clearly the key point. Just picking the unit with the highest defense value
might be too simplistic, I agree with that. Perhaps the hit-chance against
different units should also play a role.

>Model 1 uses attack and defense values, but model 0 has much more to
>consider, such as range, hit chance, protection, damage, minimum HP
>against a given unit type, etc....

This is how model 0 attack originally worked. But it now uses computations
(real_attack_value, real_defense_value) that are just as complex as those
in model 0.

>At this point I would suggest that a 'defense-order' unit property might
>be called for. That way we can let 'stack-order' pertain to unit views
>as was intended. And this also gives the advantage that the game
>designer can rank for himself/herself what units defend first rather
>than trying to fight with a calculation.

I agree. However, I suspect that this is what the stack order was supposed
to be used for, though it was never implemented. The stack order has no
practical consequence right now, so we could certainly give it a role in a
reworked combat code. My concern with the unit view code was trying to
maintain a faithful copy of the stack order for unit views. However, I am
not sure if this is necessary or even desirable, which is why I didn't make
it a high priority.

>And, I think that 'defense-order' should only apply in conjunction with
>units than cannot do selective attacks. I do think, as I have already
>argued, that the ability to do selective attacks should be kept though.

I agree that it would be nice, though getting rid of unit pointers in the
AI code would be even nicer. However, I asked myself yesterday: when did I
last use a unit-specific attack in a real game, i.e. walk up adjacent to a
unit, and then put the cursor on top of it, followed by pressing 'a'. It
turned out that I couldn't even remember, which I suspect is fairly typical
for the average Xconq player. I know that I tested this functionality a few
times when i was debugging the Mac interface, but this is about it.
Clicking on a unit is so much easier.

Hans



  parent reply	other threads:[~2004-08-17  4:42 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16 21:53 Hans Ronne
2004-08-16 22:14 ` Eric McDonald
2004-08-16 22:43   ` Hans Ronne
2004-08-17  0:33     ` Hans Ronne
2004-08-17  1:13       ` Eric McDonald
2004-08-17  1:39         ` Hans Ronne
2004-08-17  2:21           ` Eric McDonald
2004-08-17  4:28           ` Jim Kingdon
2004-08-17  5:17             ` Hans Ronne
2004-08-17 18:00               ` Eric McDonald
2004-08-18  5:26               ` Jim Kingdon
2004-08-18 11:11                 ` Hans Ronne
2004-08-17 16:14             ` Eric McDonald
2004-08-17  0:35     ` Eric McDonald
2004-08-17  1:16       ` Hans Ronne
2004-08-17  1:46         ` Eric McDonald
2004-08-17  3:03           ` Hans Ronne
2004-08-17  3:56             ` Eric McDonald
2004-08-17  1:30 ` Eric McDonald
2004-08-17  2:52   ` Hans Ronne
2004-08-17  2:53     ` Eric McDonald
2004-08-17  4:42       ` Jim Kingdon
2004-08-17 16:37         ` Eric McDonald
2004-08-17  4:48       ` Hans Ronne [this message]
2004-08-17 16:42         ` Eric McDonald
2004-08-18 10:56         ` Jim Kingdon
2004-08-17 11:06 ` Stan Shebs
2004-08-17 15:29   ` Hans Ronne
2004-08-17 16:01     ` Hans Ronne
2004-08-17 18:57       ` Eric McDonald
2004-08-17 20:38         ` Hans Ronne
2004-08-17 21:55           ` Eric McDonald
2004-08-17 23:42             ` Hans Ronne
2004-08-18  0:49               ` Eric McDonald
2004-08-18  4:59                 ` Hans Ronne
2004-08-18 15:28                   ` Eric McDonald
2004-08-19  6:37                     ` Elijah Meeks
2004-08-19 12:46                       ` Hans Ronne
2004-08-19 16:46                       ` Eric McDonald
2004-08-19 13:09                     ` Hans Ronne
2004-08-19 16:05                       ` Eric McDonald
2004-08-19 20:09                         ` Hans Ronne
2004-08-19 23:37                           ` Eric McDonald
2004-08-20  1:42                             ` Hans Ronne
2004-08-20  3:29                               ` Clearing the Air (long) Eric McDonald
2004-08-20 15:26                                 ` Stan Shebs
2004-08-18  5:30         ` Major bug and what to do about it (long) Jim Kingdon
2004-08-18 12:52           ` Hans Ronne
2004-08-17 18:23     ` Eric McDonald
2004-08-17 18:47       ` Hans Ronne
2004-08-17 18:59         ` Eric McDonald
2004-08-17 19:39           ` Hans Ronne
2004-08-17 21:14             ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='l03130308bd4727fb4090@[212.181.162.155]' \
    --to=hronne@comhem.se \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).