[freeciv-ai] Re: Generalised improvements AI support
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, May 07, 2002 at 08:44:21AM -0700, Raahul Kumar wrote:
> --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Also, the flag approach swiftly becomes very complex. It takes multiple flags
> to implement something as clear and simple as unit_defend. In fact,
> unit_defend gets rid of pikemen,horse, Aegis and numerous other effects.
Well, it can do. Not right now though, since the effects are
tied to buildings, not units. But this can be extended.
> > I don't have hard numbers but I have the feeling that this will eat a
> > lot of CPU.
> I suspect this might be the case, but performance comes after getting it
> correct.
In the case of unit vs. unit combat, it would be fairly easy to
calculate the total unit_defend effect for each unit type (or class)
at startup and then be done with it for the rest of the game.
Ben
--
ben@xxxxxxxxxxxxxxxxxxxxxx http://bellatrix.pcl.ox.ac.uk/~ben/
"So you found a girl who thinks really deep thoughts,
What's so amazing about really deep thoughts?"
[freeciv-ai] Re: Generalised improvements AI support, Ben Webb, 2002/05/06
- [freeciv-ai] Re: Generalised improvements AI support, Per I. Mathisen, 2002/05/06
- [freeciv-ai] Re: Generalised improvements AI support, Raahul Kumar, 2002/05/07
- [freeciv-ai] Re: Generalised improvements AI support, Raimar Falke, 2002/05/07
- [freeciv-ai] Re: Generalised improvements AI support, Raahul Kumar, 2002/05/07
- [freeciv-ai] Re: Generalised improvements AI support, Raimar Falke, 2002/05/07
- [freeciv-ai] Re: Generalised improvements AI support, Ben Webb, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support,
Ben Webb <=
[freeciv-ai] Re: Generalised improvements AI support, Ben Webb, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Per I. Mathisen, 2002/05/07
[freeciv-ai] Re: Generalised improvements AI support, Raahul Kumar, 2002/05/07
[freeciv-ai] Re: Generalised improvements AI support, Raimar Falke, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Raahul Kumar, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Per I. Mathisen, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Raahul Kumar, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Per I. Mathisen, 2002/05/08
Message not available[freeciv-ai] Re: Generalised improvements AI support, Ross W. Wetmore, 2002/05/08
[freeciv-ai] Re: Generalised improvements AI support, Raimar Falke, 2002/05/08
|
|