Page 1 of 1

Movement diagonally

Posted: Sun Jul 27, 2014 4:30 pm
by chomwitt
Why if i move diagonally from a river tile to a river tile i'll lose a whole movement point?

Re: Movement diagonally

Posted: Sun Jul 27, 2014 6:37 pm
by cazfi
Because you're not traveling via the river - it doesn't go that way.

This is controlled by the ruleset, though. If you're using freeciv-2.4 or earler, it's river_move_mode in section [parameters] in terrain.ruleset. In freeciv-2.5 and later it's set separately for each road type (rivers are kind of roads too); see move_mode in relevant [road_xxx] -section (e.g. [road_river]) in terrain.ruleset.

Re: Movement diagonally

Posted: Mon Jul 28, 2014 1:12 am
by chomwitt
Thanks, very helpfull.

But reading the freeciv 2.3 default terrain ruleset :
; special movement costs for rivers:
; 0 - normal movement cost for rivers (matches Civ1)
; 1 - 1/3 movement cost, but only when moving exactly along rivers,
; diagonal moves incur full terrain movement costs (matches Civ2)
; 2 - 1/3 movement cost directly along river, 2/3 for diagonals (this
; is effectively the same as '1', as if you had done the two moves,
; except for differences relating to ZOC, etc.)
; 3 - 1/3 movement cost for any river to river move (classic Freeciv)
river_move_mode=1
i dont understand the part in the '2' clause '.. this is effectively the same as '1'...' . But is not the same as 1 . In 1st case diagonally cost is dependent on the undelying tile .eg : hill+river -> hill+river (diagonally) is more costly (2mov.cost) than plain+river --> plain+river (1mc).

Re: Movement diagonally

Posted: Mon Jul 28, 2014 6:42 am
by cazfi
chomwitt wrote:Thanks, very helpfull.

But reading the freeciv 2.3 default terrain ruleset :
; special movement costs for rivers:
; 0 - normal movement cost for rivers (matches Civ1)
; 1 - 1/3 movement cost, but only when moving exactly along rivers,
; diagonal moves incur full terrain movement costs (matches Civ2)
; 2 - 1/3 movement cost directly along river, 2/3 for diagonals (this
; is effectively the same as '1', as if you had done the two moves,
; except for differences relating to ZOC, etc.)
; 3 - 1/3 movement cost for any river to river move (classic Freeciv)
river_move_mode=1
i dont understand the part in the '2' clause '.. this is effectively the same as '1'...' . But is not the same as 1 . In 1st case diagonally cost is dependent on the undelying tile .eg : hill+river -> hill+river (diagonally) is more costly (2mov.cost) than plain+river --> plain+river (1mc).
"...this is effectively the same as '1', as if you had done the two moves..."

In (2) the cost is as if you had made the two moves along the river, instead of just one diagonal one.