Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2329) Portattacks 7
Home

[Freeciv-Dev] Re: (PR#2329) Portattacks 7

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: raahul_da_man@xxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2329) Portattacks 7
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 16 Nov 2002 08:03:44 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, Nov 16, 2002 at 06:59:07AM -0800, Mike Kaufman via RT wrote:
> 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.

No problem if it can be implemented this way.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Any sufficiently advanced technology is indistinguishable from magic."
    -- Arthur C. Clarke



[Prev in Thread] Current Thread [Next in Thread]