Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] Re: (PR#10245) gen-movement
Home

[Freeciv-Dev] Re: (PR#10245) gen-movement

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10245) gen-movement
From: Jérôme Plût <Jerome.Plut@xxxxxx>
Date: Wed, 12 Jul 2006 19:59:58 +0200

HODIE 2006-07-11 scripsit Jason Dorje Short :
> The wesnoth mechanism is IMO to complicated.  Every unit has a move cost 
> for every terrain type.  Way too many numbers.

This is true but not quite exact: each unit has a move type, and each
move type has a cost for every terrain type (and also a defense bonus,
which you did not mention), so the matrix is not of size units x
terrain, but rather (move type) x terrain. It all works nicely in
Wesnoth at least (cavalry can't enter mountains, while elves travel
fast through forests), and it would probably not be that complicated
in Freeciv since fewer move types would be required (Mounted,
Infantry, Aeroplane, Explorer, probably Alpine Troops too). This is
also what is done in Wesnoth's probable ancestor (Fantasy General).

This could be implemented in Freeciv by having one move type for each
unit class, to prevent adding an extra unit data for move type.



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