Page 1 of 1

Freeciv-3.0 updates to tileset format

Posted: Wed Aug 10, 2016 6:49 pm
by cazfi
This is meant to be a bit similar thread to what we have about ruleset changes on the ruleset forum. Tileset format just usually changes much much less than ruleset format.

There has been added optional "for_ruleset" field to .tilespec format: patch #7577

Tileset can specify what ruleset it's primarily meant for. If that information is present, client-forked server will use that ruleset from the launch - even before client first connects to change the ruleset. This should solve problem familiar from the ancients modpack that tileset incompatible with default ruleset cannot be used when launching server from the client as server is always launched with default ruleset until client connects and changes it.

Re: Freeciv-3.0 updates to tileset format

Posted: Sun Aug 14, 2016 8:06 am
by dunnoob
Suggested test -r ancients -t alio, and may the better win. :D Seriously, should we have up to four variants per ruleset, each pre-setting its own favourite topology (overhead, iso, hex-hor, hex-vert) :?:

Re: Freeciv-3.0 updates to tileset format

Posted: Mon Oct 10, 2016 1:08 pm
by sveinung
Unit wants clarification indicator (See patch #7049)

You can add a unit icon that indicates that the unit wants the player to clarify what it should do. (The unit will pop up the action selection dialog when selected) Define it via the new unit.action_decision_want tag.

Re: Freeciv-3.0 updates to tileset format

Posted: Mon Oct 10, 2016 9:00 pm
by louis94
Reordering the map layers is now possible See patch #7667

By adding a new key to the tileset,

Code: Select all

layer_order = <comma-separated string list>

one will be able to configure the drawing order of map layers. See here for an example of how it might look like. You'll also find there a brief explanation of what's drawn on each layer.

Re: Freeciv-3.0 updates to tileset format

Posted: Mon Oct 10, 2016 9:05 pm
by louis94
darkness_layer was merged into layer_order See patch #7731

The key darkness_layer was removed. When darkness is drawn is now controlled by the layer_order flag through the layer named "Darkness" (see above). If you used darkness_layer=0, you can safely remove it; else take a look at the changes in alio.tilespec.

Re: Freeciv-3.0 updates to tileset format

Posted: Wed Oct 12, 2016 10:01 am
by louis94
Shouldn't this thread be pinned ?

Re: Freeciv-3.0 updates to tileset format

Posted: Sun Nov 06, 2016 2:37 pm
by cazfi
Tilespec now has offset for "selected unit" sprites: patch #7923

Re: Freeciv-3.0 updates to tileset format

Posted: Mon Nov 07, 2016 7:59 am
by cazfi
Tilespec now has offset for "city size" sprites: patch #7946