Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Re: (PR#5465) client can see all enemy units in stacks
Home

[Freeciv-Dev] Re: (PR#5465) client can see all enemy units in stacks

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#5465) client can see all enemy units in stacks
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Aug 2003 12:15:12 -0700
Reply-to: rt@xxxxxxxxxxxxxx

ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
> On Wed, Aug 27, 2003 at 11:41:59AM -0700, Christian Knoke wrote:
> 
>>On Wed, Aug 27, 2003 at 11:13:59AM -0700, Jason Short wrote:
>>
>>>One suggestion was that transported units should be hidden from the
>>>client.  Implementing this properly would be similar to the
>>>pcity->client.occupied flag that the client uses (it would probably be a
>>>punit->client.transport_used flag, or some such).  However small drawing
>>>changes would probably also be desirable: assuming that you want to see
>>>that the unit is occupied even if you don't know _what_ is occupying it,
>>>the "multiple units on this tile" sprite will have to be drawn in a few
>>>more places.
>>>
>>>Is this a desirable feature?
>>
>>AFAICS, this affects land units on transports and air units on carriers,
>>currently. Maybe land units in airplanes in the future?
>>
>>There is a problem: There is not always a clear assignment, to which
>>transporting unit a transportable unit belongs. E.g. you can move a land
>>unit on a stack of two ships. What if the unit is activated, not sentried?
>>Still hidden? A carrier can be *above* a carrier or on it (sentried).
>>Also, I think, units in cities shouldn't be hidden (applies to allies).
> 
> 
> Afaik in freeciv is that clear assignment and when its not there we can
> look that there is a clear assignment, when you move the load from one
> assigned ship to the next you can remove 1/3 MP.
> 
> I think its possible to make rules for your special cases.

The server can infer the assignment even if it doesn't actually exist 
(which I'm not sure of).  Either distribute the units evenly over all 
transports, or fill up first one transport, then another.

jason




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