FANDOM


Line 26: Line 26:
 
For tilesets that had '''is_isometric''' false:
 
For tilesets that had '''is_isometric''' false:
 
<pre>
 
<pre>
ttype = "overview"
+
type = "overview"
 
</pre>
 
</pre>
   
  +
  +
==The ''.spec'' files==
   
 
===Removing Rivers as terrain type cruft===
 
===Removing Rivers as terrain type cruft===

Revision as of 12:55, January 28, 2013

To update a tileset from 2.4 to 2.4.99 (will be 2.5 in the future) you must add some new graphics and update the file format strings. Currently these instructions go up to compatibility with freeciv revision 22227.

The .tilespec file

  • Set tilespec format of every file to options = "+Freeciv-tilespec-Devel-YYYY.MMM.DD" during development. For freeciv 2.5 option = "+Freeciv-2.5-tilespec" should be used.

Roadstyle

  • The single roadstyle definition affecting all roads has been replaced by per-road-tag definitions. Remove old roadstyle = x setting and add section like this instead
[roads]
styles =
    { "name", "style"
      "road", 0
      "rail", 0
    }

where "name" refers to road gfx tag and style values have same meaning as with old tileset-wide setting.

Tileset type

Old boolean setting is_isometric has been replaced with generic type setting. For tilesets that had is_isometric true:

type = "isometric"

For tilesets that had is_isometric false:

type = "overview"


The .spec files

Removing Rivers as terrain type cruft

Rivers as terrain, not special, like in civ1 has not been supported for a very long time, but our tilesets still contained related obsolete cruft. We've cleaned that from supplied tilesets now. You may want to do the same for your tileset if you have inherited it from the supplied ones. Tags beginning with "t.t_river" are the river as terrain ones.

Community content is available under CC-BY-SA unless otherwise noted.