Freeciv-3.0 updates to tileset format

Contribute, display and discuss art and tilesets for use in Freeciv here.
cazfi
Elite
Posts: 1320
Joined: Tue Jan 29, 2013 6:54 pm

Freeciv-3.0 updates to tileset format

Postby cazfi » Wed Aug 10, 2016 6:49 pm

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.

User avatar
dunnoob
Hardened
Posts: 220
Joined: Mon Dec 23, 2013 3:13 am
Location: Hamburg
Contact:

Re: Freeciv-3.0 updates to tileset format

Postby dunnoob » Sun Aug 14, 2016 8:06 am

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) :?:

sveinung
Elite
Posts: 421
Joined: Wed Feb 20, 2013 4:50 pm

Re: Freeciv-3.0 updates to tileset format

Postby sveinung » Mon Oct 10, 2016 1:08 pm

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.

louis94
Hardened
Posts: 182
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Freeciv-3.0 updates to tileset format

Postby louis94 » Mon Oct 10, 2016 9:00 pm

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.

louis94
Hardened
Posts: 182
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Freeciv-3.0 updates to tileset format

Postby louis94 » Mon Oct 10, 2016 9:05 pm

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.

louis94
Hardened
Posts: 182
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Freeciv-3.0 updates to tileset format

Postby louis94 » Wed Oct 12, 2016 10:01 am

Shouldn't this thread be pinned ?

cazfi
Elite
Posts: 1320
Joined: Tue Jan 29, 2013 6:54 pm

Re: Freeciv-3.0 updates to tileset format

Postby cazfi » Sun Nov 06, 2016 2:37 pm

Tilespec now has offset for "selected unit" sprites: patch #7923

cazfi
Elite
Posts: 1320
Joined: Tue Jan 29, 2013 6:54 pm

Re: Freeciv-3.0 updates to tileset format

Postby cazfi » Mon Nov 07, 2016 7:59 am

Tilespec now has offset for "city size" sprites: patch #7946