Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: civ3's answer to smallpox
Home

[Freeciv-Dev] Re: civ3's answer to smallpox

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Cc: Paul Zastoupil <paulz@xxxxxxxxxxxx>, Arien Malec <arien_malec@xxxxxxxxx>, Reinier Post <rp@xxxxxxxxxx>, Lukasz Szelag <lszelag@xxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: civ3's answer to smallpox
From: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Date: Sat, 20 Oct 2001 00:00:18 -0400

In either the worker_loop or the routine above/below it there is code
that sets "needed" production to be one for every city worker. This is
of course totally bogus. You need to fix the "-1" in the worker loop
section and the rollback after, but changing this will reduce the 
"need value" enhancement of production to something that makes sense.
Something like pcity->size/4+1 is a reasonable baseline to set for
absolute need to guarantee that cities produce "something".

Cities however tend to stagnate because they select production over
growth and end up with food values of zero. Setting the default food_need
to 1+<want-to-grow>+<pcity->size < 3> etc. is also a good thing to
insure that the AI doesn't stagnate, or lack a food point when it can 
Rapture or is just starting out.

Also, there is a real problem with the luxneed. The AI seems to always
want to turn one worker into an elvis, and sometimes a lot more. It
also does not seem to understand boosting luxury for Civ-wide benefits 
in putting these workers back to productive tasks.

The prod_need fix again modfies 5 or so lines of code. This will do
some fairly significant shifts to the AI play though. There is far 
less excess production with nowhere to go except military units, and
increases in city size fuel the demand for building improvements.
This tends to push the AI to a more "civilized" path, and without
compensating changes to really handle defense as opposed to "the best
defense is a strong offense", it can be pretty much of a wimp.

Cheers,
RossW
=====


At 11:50 AM 01/10/19 -0500, Tony Stuckey wrote:
>       Interesting.  Historically, the AI has been so production-oriented
>that trade got shafted anyway.  
>-- 
>Anthony J. Stuckey                              stuckey@xxxxxxxxxxxxxxxxx
>"And they said work hard, and die suddenly, because it's fun."
>       -Robyn Hitchcock.




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