Tile orientation

Contribute, display and discuss art and tilesets for use in Freeciv here.
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Tile orientation

Post by Wahazar »

Slightly off-topic: is it possible to control image order? To draw given extra above another one?
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Tile orientation

Post by Wahazar »

I started to implement bridges over sea (such feature would be convenient in case if hex topology),
I found following flag:

Code: Select all

"ConnectLand"       = Roads on Oceanic tiles are drawn to connect to
;                           adjacent Land tiles even if they have no road.
It seems ideal for bridges, unfortunately I get following bugs:
1. it is not possible to build road on ocean tile, regardless of requirement field - seems it is hardcoded (at least in v.2.6).
2. I implemented bridge as base - now it is possible to build it on Ocean, but not possible to assign road style to it:
both RoadAllSeparate or RoadAllCombined cause immediately crash (seg. fault) during connecting to the server, without any message.
I can assign River to base, but it ignore ConnectLand flag and generally work opposite - join to open ocean, not joining to land.

Is it possible to remove hardcoded river dependence? It is handled in ruleset now: "TerrainClass", "Land", "Local", TRUE
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: Tile orientation

Post by cazfi »

Wahazar wrote:It seems ideal for bridges, unfortunately I get following bugs:
1. it is not possible to build road on ocean tile, regardless of requirement field - seems it is hardcoded (at least in v.2.6).
Burrow Tubes on alien ruleset do work. Can't check just now, but terrain -sections in terrain.ruleset somehow control if roads can be built on them or not (so that not every regular road type need "TerrainClass", "Land" requirement), maybe by road_time = 0.
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Tile orientation

Post by Wahazar »

cazfi wrote:road_time = 0
Thanks, it was a reason.
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Tile orientation

Post by Wahazar »

Weird thing, when I added Road Bridges, rivers no more add 1 trade point: seems that there is a bug with like trade_incr_const?
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
Post Reply