Favorite Tilesets
Favorite Tilesets
I was wondering what tilesets are preferred among the freeciv community. Please mark your favorites above. If other, please name your favorite below.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
Re: Favorite Tilesets
Was this intentionally for square based topologies only? Not that there's great many hex based tilesets beyond hexemplio (the default), toonhex, and alio (for alien ruleset), but hex is still the default topology in freeciv-3.0 and later.
Re: Favorite Tilesets
It wasn't intentional, but as I only ever play with square tilesets, it was perhaps inevitable that I would overlook hex tilesets.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
Re: Favorite Tilesets
Good to know. It's not long since I wondered if it was worth the time to implement a feature that makes difference only in square topologies (ability to check if a direction is cardinal or not in lua - all directions are cardinal in hex topologies)
Re: Favorite Tilesets
Can already be done in Lua. No need for more hardcoded tolua.
Code: Select all
function cardinal(t1,t2)
local dx, dy = math.abs(t1.x - t2.x), math.abs(t1.y - t2.y)
return dx == 0 and dy == 1 or dy == 0 and dx == 1
end
Re: Favorite Tilesets
That checks if two tiles are cardinally adjacent, not if a direction is cardinal. While you can usually make such tiles out from a direction, that might get a bit hard in some cases (edge of the map). Not that discussing the need for the feature is that relevant any more; it was implemented a month ago (over five years after requested, so there was some time to discuss it) : https://forum.freeciv.org/f/viewtopic.p ... 4&start=29Can already be done in Lua. No need for more hardcoded tolua.Code: Select all
function cardinal(t1,t2) local dx, dy = math.abs(t1.x - t2.x), math.abs(t1.y - t2.y) return dx == 0 and dy == 1 or dy == 0 and dx == 1 end