Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: Barbarians
Home

[Freeciv-Dev] Re: Barbarians

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Barbarians
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 11:49:57 -0500

> We only need one barbarian player. It is not a normal player, and should
> not die when it loses all its units and cities. Its player name should be
> merely "Barbarian", be created on server start instead of constantly
> recreated as it is now, and it should not be visible in the F3 or /list
> player lists to avoid confusion. It should gain techs the same way as
> everyone else, but these techs should have no bearing on the units
> spawned, only on units built in occupied cities. There is then no need for
> a "barbarian nation", so this kludge can be removed.

you must be able to save barbarians in savegames, and the easiest/simplest
way to do that is for a barbarian to be a player. Frankly, looking over
your list, I don't see why barbarians can't be regular AI players. As long
as you introduce personalities, etc. The only non-AI specific code is the
player creation and placement code. Then hand off to AI with a set of
personality restrictions (what to build in cities taken, how fast to
retreat, what role is give to leader...)

-mike


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