Movement diagonally

Smallpox vs. largepox, gen2 vs gen5, early war vs. peaceful alliances. Which is your favourite gaming style?
Post Reply
chomwitt
Posts: 6
Joined: Sun Jul 27, 2014 4:23 pm

Movement diagonally

Post by chomwitt »

Why if i move diagonally from a river tile to a river tile i'll lose a whole movement point?
cazfi
Elite
Posts: 3121
Joined: Tue Jan 29, 2013 6:54 pm

Re: Movement diagonally

Post 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.
chomwitt
Posts: 6
Joined: Sun Jul 27, 2014 4:23 pm

Re: Movement diagonally

Post 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).
cazfi
Elite
Posts: 3121
Joined: Tue Jan 29, 2013 6:54 pm

Re: Movement diagonally

Post 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.
Post Reply