Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] gen-impr stuff
Home

[Freeciv-Dev] gen-impr stuff

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] gen-impr stuff
From: "andi payn" <paynfc@xxxxxxxxxxx>
Date: Fri, 04 Jan 2002 00:38:20 +0000

I downloaded the latest gen-impr combined patch right before Christmas, and looked through that plus what's in FreeCiv-ac and maybe a few other places, and added a bunch of new code, and I've gotten something hacked together that's at least 95% workable.

First, I added in all of the effects that weren't handled, and changed a few of them around (I don't think pollution adjustments are supposed to be additive, for example), and that's mostly done. I also added some of the missing things (like reactor meltdowns).

Then I dug into the AI, and rewrote all of the code to look at effects rather than improvements. The goal is that the AI will work exactly the same as before with standard rulesets, and won't be horribly unintelligent with new/modified buildings. It almost works, except that it doesn't quite understand accumulating Make_Content effects properly (which causes some noticeable flaws), a variety of little things that don't seem to noticeably harm the AI haven't been verified, and a few effects that weren't used, or were only used together with a more important effect, aren't considered the way they probably should be. But anyway, the AI usually chooses good buildings to build and estimates danger reasonably, and that's the most important part.

Then, while waiting for my ISP to stop being broken, I did a lot of testing and fixing, and as I said, I think it's almost stable and usable.

The problem is, like a complete moron, I did all of this in the same code base I was making other changes in (and had applied other patches to), which is very nice if I'm the only one who's ever going to use it (I can make changes to my other patches, and to modpacks I play with, etc.), but it's going to make it very hard to separate. I'll try to disentangle everything, but it's going to take some time.

Meanwhile, if anyone wants to see what I've done, play around with it, steal some of my ideas and redo them properly, or even help separate out the code, I'll be glad to make my entire tree available to anyone who's brave/stupid/unemployed enough to look at it (as a tarball, or as one massive patch). It is playable, and fun, as-is.


_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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