From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1984 invoked by alias); 1 Dec 2003 23:43:36 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 1842 invoked from network); 1 Dec 2003 23:43:34 -0000 Received: from unknown (HELO smtp10.hy.skanova.net) (195.67.199.143) by sources.redhat.com with SMTP; 1 Dec 2003 23:43:34 -0000 Received: from [212.181.162.155] (h155n1fls24o1048.bredband.comhem.se [212.181.162.155]) by smtp10.hy.skanova.net (8.12.10/8.12.10) with ESMTP id hB1NhN96029282; Tue, 2 Dec 2003 00:43:27 +0100 (CET) X-Sender: u22611592@m1.226.comhem.se Message-Id: In-Reply-To: <3FCBCF93.7070406@apple.com> References: <1070321096.9357.140.camel@odysseus> <20031201221425.20869.qmail@web13123.mail.yahoo.com> <20031201231823.GH1378@adlp.org> <1070321096.9357.140.camel@odysseus> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 02 Dec 2003 00:30:00 -0000 To: Stan Shebs From: Hans Ronne Subject: Re: Reduced Visibility Table? Cc: xconq7@sources.redhat.com X-SW-Source: 2003/txt/msg00939.txt.bz2 >>You can make any unit exert zero ZOC (Zone of Control). However, the >>last time I looked at games that used this (which was before the new >>pathfinding algorithm was introduced), units still tried to go around >>invisible enemy units with no ZOC, even though they could not >>theoretically see those enemy units! >> >Heh, it's very messy coding to have a unit be there and not there at the >same time. >AI, UI, plan, and task code should only ever iterate over the stack of >images, >never over the real units. Action prep sometimes needs to know, >sometimes not, >which is part of the messiness. Actually, this raises a philosophical question. Should a ZOC be ignored just because the unit is invisible? I'm not sure. Think about a black hole making its presence felt way before it is seen. Or infantry hidden in the woods preventing you from moving forward. A related problem is posed by the user area layer that is used by the advanced unit code. You may find that you are unable to use a certain cell because another advanced unit is using it, even though the latter unit is invisible to you. Hans