[Freeciv-Dev] Re: (PR#2329) Portattacks 7
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Nov 16, 2002 at 05:49:34AM -0800, Raimar Falke via RT wrote:
>
> Instead of one attack power per unit type you have one attack power
> per layer and unit type. If the attack power is zero the unit type
> can't attack this layer.
let me note that all this can be done with a framework of unit effects:
example:
[unit_aegis_cruiser]
name = _("AEGIS Cruiser")
attack = 8
defense = 8
effect =
{ "type", "range", "amount", "aff_unit"
"Unit_Attack", "Local", -50, "", "Land"
"Unit_Attack", "Local", 300, "", "Air"
"Unit_Defend", "Local", 300, "", "Air"
}
for your purposes we may need to add more unit classes "Submerged" and
"HighAir" as well as more unit-oriented effect types...
granted, unit effects are largely vapor and certainly won't see the light
of day before improvement effects, but still, the framework is already
here, and with range restrictions on unit effects, there's little chance
that they'll be performance draining.
-mike
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/15
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/15
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar, 2002/11/16
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/16
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/16
Message not available
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Per I. Mathisen via RT, 2002/11/16
[Freeciv-Dev] Re: (PR#2329) Portattacks 7, Raahul Kumar via RT, 2002/11/17
|
|