Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] (PR#8455) Bombardment (aka ranged attack)
Home

[Freeciv-Dev] (PR#8455) Bombardment (aka ranged attack)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8455) Bombardment (aka ranged attack)
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Sun, 4 Apr 2004 06:30:18 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8455 >

Presently this patch only supports the win32 client (though it shouldn't
be hard to implement in the others), and the code is in a shall we say
less than pristine condition.  This version is mostly a
proof-of-concept.  There's a lot of duplicated code (I just copied the
attack code basically :) and hacks here and there that I'll fix eventually.

This patch adds a new unit flag, F_BOMBARDER, and the unit values
bombard_range, bombard_strength, and bombard_rate.

To bombard, select bombard from the orders menu, and click on the target
unit or city.  Keyboard shortcut not yet implemented.

When you tell a unit to bombard an enemy unit or city, it does
bombard_rate attacks of bombard_strength to every unit stacked there,
and takes off one population.  Attack is one sided; attacker takes no
damage.

Bombardment takes up all of a unit's movement points and cannot be done
from a transport.  Bombardment cannot be done where friendly units exist.

No, I'm not sure if this makes the game any better. :)

Issues:
-Client still makes defender sound.
-Should a bombard attack one unit or all units stacked?
-Should a bombard attack have a pillage ability?
-Can a bombarding unit be bombarded back by another unit with equal or
greater range?
-AI has no idea how to use bombarders.
-Does this add any tactical/enjoyment value to freeciv combat?
-Does this even fit with the scale presented in freeciv?
-Is "Bombard" a good term?
-Most likely a lot of bugs I haven't caught yet.

-James Canete

Attachment: bombard4.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8455) Bombardment (aka ranged attack), James Canete <=