Adding new tiles: Difference between revisions

From PZwiki
(Descriptive Tutorial for Adding New Tiles for use in modding)
 
Line 11: Line 11:
[http://www.gimp.org Gimp]
[http://www.gimp.org Gimp]


Most of the instructions written down here specifically refer to [http://www.paint.net Paint.NET] processes, as this is the tool the author primarily uses. Most functions should have similar functions amongst Photoshop / [http://www.gimp.org Gimp] etc. although they might be named differently.
Most of the instructions written down here specifically refer to [http://www.paint.net Paint.NET] processes, as this is the tool the author primarily uses. Most such programs should have similar functions amongst Photoshop / [http://www.gimp.org Gimp] etc. although they might be named differently.


==== Working with a Spritesheet ====
==== Working with a Spritesheet ====

Revision as of 20:01, 10 September 2012

Drawing new tiles

Programs

There are plenty of programs available with which to create tilesheets for implementation within Zomboid.

A couple of well known free programs exist, listed below, if you want a bit more functionality than Default OS Paint programs, and you don't have the budget to stretch to Photoshop.

I'm sure there are others, but ideally the program will have the capability of working with layers, as this gives lots of very helpful functionality once you figure out how it all works. Ultimately so long as you can save files as 32-bit .png files, you are good to go.

Paint.NET

Gimp

Most of the instructions written down here specifically refer to Paint.NET processes, as this is the tool the author primarily uses. Most such programs should have similar functions amongst Photoshop / Gimp etc. although they might be named differently.

Working with a Spritesheet

This link points to a sample PDN file (set up ready to go in Paint.NET) which is the size for a typical sprite sheet, and contains the individual sub-cells of the sprite sheet seperated via gridlines set up on different layers. The isometric square regions shown on this grid refer to the different 'shelf' heights for various types of furniture etc. and can be useful reference points for creating things like tables, or even things that sit on tables. Feel free to use this as the basis of your own work.

Drawing stuff

From this point on, you are really only limited by your own imagination and skill (or patience) working with pixels and art programs. Drawing by hand is one way to do things, but you could also try doing clever things like exporting isometric graphics from 3D software (including Google Sketchup).

The following link on the forums shows a tutorial which describes the use of Google Sketchup to create a multi-tile object for used in TileZed / PZ (in this case, a Fiat 500)

Multiple Tile Object Creation

Adding tiles into Tiled/Tilezed

Adding Tiles in to Tiled / TileZed is pretty straightforward. Click 'add tilesheet', find the sprite-sheet that you want to input (this should be located in your master mapping directory - see How To Set Up Tiled / TileZed) then modify the dialog box that pops up to show the correct dimensions for PZ tiles (128 x 64).


Editing tiledefinitions.tiles

TO BE CONFIRMED

Adding tiles into the game

TO BE CONFIRMED

legacy tiling tutorial