Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#2581) Layers proposal redux

[Freeciv-Dev] Re: (PR#2581) Layers proposal redux

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: raahul_da_man@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2581) Layers proposal redux
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 26 May 2003 15:28:57 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, May 26, 2003 at 02:42:33PM -0700, Per I. Mathisen wrote:
> On Mon, 26 May 2003, Raimar Falke wrote:
> > I think this is pretty straightforward. So what would this patch do?
> >  - change the attack field in the ruleset to a list
> >  - change the attack_strength field in struct unit_type to an array
> >  - network support for the previous point
> >  - extend function in common/combat to take the defender
> >  (base_)get_attack_power for example
> >  - update various output function (client help, client unit info, ...)
> >  - add logic that you can't attack a layer for which you have attack==0
> Sounds good for the behind-the-scenes implementation. My only worry is
> that you might overload the information presented to the user.
> Consider: 5/4/2, easy to read, memorize and understand.
> Now consider, given four layers: [1/3/5/0]/4/2

I agree.

One solution would be to operate with graphics. Small icons for
example on top of the values.

What I really like here is the display of these stats in Battle
Isle. Look at the screenshot at
me explain the top weapon:
 - this unit has still 2 shots left (no unlimited ammo in Battle Isle)
 - the Bazooka has an attack power of 620
 - it can attack ground units, ships and ground buildings
 - with this weapon the unit can attack only the adjacent tiles (the

While the model is a bit different from the one we are discussing I
think the GUI is very clean and easy to understand.

> It would be better, I think, to make the layer it is in the primary, and
> show attack power as before for this layer, and then add attack powers in
> other layers as additional capabilities iff these attack powers > 0.
> So you'd have for example "5/4/2, air att 1, space att 3" for the above
> unit.

And how would be bomber with no air attack look like? 
"0/4/2, land att 5"?!


 email: rf13@xxxxxxxxxxxxxxxxx
  Living on earth may be expensive, but it includes an annual free trip
  around the sun.

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