[Freeciv-Dev] Re: (PR#10245) gen-movement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
|
|