Well for me that sounds far more cumbersome. Kitfox Discord #modding-discussion channelīronzemurder and Oilfurnace (illustrated) A three step guide:ĭownload DF Classic or install the premium version from Steam or Itch.ioįollow the quickstart guide on the wiki, or see other learning resources (below)Īsk any questions in the ☼Bi-weekly DF Questions Thread☼ - it's always active See the reasons for our rules here, and please report any problems!ĭF can be intimidating, but we're dedicated to helping new players. Updates and releases will still be posted, as will the questions thread for those needing help. Please note, the subreddit is currently closed to new user submissions, as part of the ongoing Reddit fiasco. You can load your file by calling REXPaintResource.Want to start playing? Read this sidebar! xp) by using RexPaintResource.Īny REXPaint file is supported (even layered ones). Note that if there is no match found for a set of tags Zircon will throw an exception! REXPaint files Good if you want varied tiles (like walls for example) PickRandomMetaStrategy Good option if you don’t care or if you always want to see the same tile PickFirstMetaStrategy There are two built-in strategies, but you can write your own: If there is still more than one option to choose from Zircon will use the MetadataPickingStrategy you supplied to Tile has tags ( foo and bar) and your tile has bar it won’t be considered, but if your tile has Note that a texture is only considered if it has all the tags from Tile. If there are more than 1 textures it will use the tags from Tile to filter for a match.Zircon will try to fetch a texture for a Tile based on its char value (eg: x).They will be used as filters to figure out which tile to chooseįrom a graphic tileset. This is why you can set tags for each Tile. In graphical tilesets however each tile has a name and some tags so it is no longer a straightforward mapping. Physical and CP437 fonts this is easy since there is a 1:1 mapping to each texture. When Zircon tries to draw a Tile on the screen it needs to fetch a texture for that character. If the char is not present the first character of the name will be used.Īll unique words in name will be saved as lower case tags ( giant and ant in Giant ant for example).ĭescription will be empty by default. tags, char and description are optional (see the example above).There must be a name for each tile in a tileset file (.You must specify the number of tiles per row for each. These are the rules you have to follow when you work with the Zircon Tileset Format ( ZTF in short): If not present it will be empty - name : Killer bee If not present the first character of the name will be used description : It is big. All unique words in name will be saved as tags ('giant' and 'ant' in this case char : a # Optional. # Nethack tileset ported to the Zircon tileset format - name : Nethack # The name of the tileset size : 16 # The size of a tile (only square tiles are supported right now) files : # A list of the files in this tileset - name : tiles.png # name of a file tilesPerRow : 40 # The number of tiles in each row of the file tiles : # A list of **all** the tiles in this file - name : Giant ant # The name of the tile tags : # Optional. You can use the built in CP437 tilesets by using the helper class: png file must be a sprite composed of 16x16 character images depicting all CP437 tiles You are free to use the built-in CP437 fonts as you see fit (they come from theĭwarf Fortress Tileset Repository and from.png file has to have a transparent background CP437 tilesetsĬP437 tilesets come in the form of transparent. Currently there is support for graphical, image, CP437 and true type tilesets. Zircon handles multiple types of tilesets. Most of them have enum values which will give you some built-in resources (like CP437 tilesets). Zircon handles several types of resources, you can check the resource package here if you want to see details.Ī resource usually has a helper class and comes with some static methods which help you load the given resource by hand. A resource in Zircon is an asset which comes from an external source (an.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |