The One Stop TileZed Mapping Shop
1 1

41 posts in this topic

Here you will find a (hopefully) comprehensive guide to map modding using TileZed, from scratch, to uploading to Steam Workshop.

 

Step 1) Installation and setup

Spoiler

- Download the latest version of TileZed here (

)
- Unzip the download to a destination of your choice (c:\, or desktop for example), it's usually best to create a new folder first, called for example, "Zomboid Mapping" and unzip the download into that folder, you will end up with 3 new folders, TileZed, WorldEd and Tiles.
- To load the program, navigate to the TileZed folder and double click on TileZed. WorldEd and BuildingEd are both opened from within TileZed's menu's.

 

 

Step 2) Creating a new map


- Creating A Master Image

Spoiler

The first thing you need to do to create a new map mod is to create some basic images you can import into WorldEd. You will need a paint program such as Paintshop, Gimp or Paint.Net (I use paint.net and it works great).
Open your paint program of choice and create a new image, each pixel of the image will correlate to 1 tile when in game, so, if you want to create a map that is a single "cell" in size, you would create a 300x300 pixel image. If you wanted to make a 2x2 cell map you would create a 600x600 pixel image etc. Once you have created your new blank image save it as a png file (eg. MainMaps.png), this is so you can work with multiple layers, which will make your life way easier!

 

- Creating The Base Map Image

Spoiler

Now you have your blank map image up and ready we need to setup the exact colours we will be using to draw the game world (when importing your image into WorldEd every pixel gets read and converted into the relevant tile (if the colour is recognised by WorldEd)). Use your programs colour palette to enter the colours below using the RGB values given:


-----Base Map Colours----
Dark Grass | 90 100 35 
Medium Grass | 117 117 47 
Light Grass | 145 135 60 
Sand | 210 200 160 
Light Asphalt | 165 160 140 
Dark Asphalt (main roads) | 100 100 100 
Medium Asphalt | 120 120 120 
Gravel Dirt | 140 70 15 
Dirt | 120 70 20 
Dark Pothole | 110 100 100 
Light Pothole | 130 120 120 
Water | 0 138 255 

 

----Veg Map Colours----
Dense Forest | 255 0 0 
Dense Trees + Dark grass | 127 0 0
Trees + grass | 64 0 0
Mainly grass, some trees | 0 128 0
Light long grass | 0 255 0
None (black) | 0 0 0

 

Now you are ready to start drawing your base map, for now you should ignore all the colours listed after water as you will be drawing these onto separate vegetation map layers.

Example:

Spoiler

 

mapmodnew.jpg

 

 

 

MAKE SURE TO TURN ANTIALIASING OFF AND CHANGE BLEND MODE TO OVERWRITE BEFORE HAND! (otherwise you will get colours not recognized by WorldEd, leading to extra work later).

 

- Creating The vegetation Map Image

Spoiler

Now you have created your base layer which should contain your main roads (using the dark asphalt colour), paths and side roads (light asphalt, dirt, gravel dirt), dirt, water, sand and grassy ground (dark/medium/light grass), save this image as a BMP (eg. MyMap.BMP) (if warned about flattening the image just select yes/continue/ok) it's now time to start drawing the vegetation map on a new layer.


Close the BMP image you just saved and create a new layer on your original .png,have it above your base layer (it should put itself there automatically), copy your original layer and paste it onto the new layer, then hide/untick your base layer. On this new layer start by selecting the None(black) colour from above and flood fill all the roads (and any other area where you do not want vegetation to grow such as water, sand etc (erosion vegetation will still work fine)) and delete any/every other colour from this layer, leaving just the black areas you just created.


Now start drawing the other five colours (the ones you ignored when creating your base map) on places where you do want vegetation to spawn. Start off with using a seperate layer for each colour, starting with the Light long grass, just flood fill that entire layer with it, then drag your black "no veg" layer above it, this allows you to see the road/building layout easily. Then work your way up through the other colours (creating new layers for each one, each one above the last in the order list) as needed, all the way to the dense forest one. Save your PNG now, you're going to make some temporary changes you dont want to save.


To save this as a vegetation image, make sure your base layer is still hidden/unticked (so only your vegetation layers are visible) and then start merging your vegetation layers together, from the top down. You should now be left with 2 layers, a single vegetation layer, and your hidden base layer, save the image as a BMP (eg. MyMap_veg.BMP) (if warned about flattening the image just select yes/continue/ok), note that this image MUST be saved with the same name as your base map BMP with the added "_veg" at the end, it must also be saved in the same folder as your base map BMP.

Once you have saved the veg map BMP, close that image and then close your PNG WITHOUT saving, unless you want your vegetation layers to be permanently merged, making it a lot harder to make edits, if needed, in the future.
Example:

Spoiler

 

mapmodnew_veg.jpg

 

 

 

- Creating The Zombie Spawn Map Image

Spoiler

You will also need to create a new image called a zombie spawn map to tell the game about the density of zombies in our map, this is a black and white image that is 10x smaller than your base and vegetation images, so, if your map image is 600x600 pixels, your zombie spawn map would be 60x60. Start by flood filling it black (black means no zombies), then add white and grey lines/circles/patches where you want zombies to spawn, white is highest density, getting lower and lower with darker greys. (example), Save this in the same folder as your base map and veg map, again giving it the same name but this time with the "_ZombieSpawnMap" suffix (eg. MyMap_ZombieSpawnMap.BMP). It can be handy to make sure anti-aliasing is enabled when creating this image as it will naturally add shades of darker grey around any white or greys you place.
You now have all the required images to create a new world in WorldEd.
Example:

Spoiler

 

mapmodnew_ZombieSpawnMap.jpg

 

 

 

- Importing into WorldEd

Spoiler

Open TileZed, click on the Tools menu and then Click on WorldEd, this will open a new window, click on New, give it the size of your map (e.g. 2 cells x 2 cells) and click ok, you will now see a number of numbered squares depending on the size of your map. Each one of these squares represents an in game Cell (300x300 tiles). Now, navigate to the folder where your map mod images are stored and drag and drop the base image (MyMap.BMP) into the WorldEd window, making sure it covers all the numbered squares correctly. Once done, click on File and then BMP to TMX, on the window that pops up, click on the 3 dots in export directory and create a new folder (e.g. MyMapMod) for your mod and click on select folder, then before you press ok, make sure "Assign generated maps to world" and "Report unknown colours" are both ticked, then click ok. Click ok on the sanity check (make sure you aren't accidentally overwriting the wrong mod etc) and WorldEd will do it's magic.


Now, if you forgot to turn anti-aliasing off, WorldEd will probably pop up and tell you your image contains rogue colours, it will then list each rogue colour found along with the co-ordinates (in pixels) of every pixel with this rogue colour, you will need to open your images, find ALL of these pixels/colours, replace them with the correct colour(s) from step 2 then re-import into Worlded, otherwise you will end up with errors in your game world when it comes time to play.
If WorldEd didnt throw up any colour errors then all you need to do now is click on file and save, give your world a name (I like to use the same name as the map to avoid confusion) and save, you now have the basics of a new map, to which you can now start adding buildings and world detail!

 

 

Step 3) Creating/Adding custom buildings
Navigate to your TileZed folder and create a new folder inside named Buildings, this is where you are going to save any buildings you make or download.

 

- How to create custom buildings

Spoiler

Open TileZed.
Click on Tools then Building Editor
In the new window click on New Building.

 

In the settings window that pops up you can choose a template and the plot size for your building.
The templates provide pre-made room definitions for certain types of buildings, which are crucial for spawning the correct loot in the right places.

For now choose “none” for the template and leave the plot size at 20x20 tiles. It's always best to make your plot a bit bigger than your actual building
and surroundings will be as you can shrink your plot to match your finished building later.
Click OK.

 

You will be presented with a grey screen with a grid of 20x20 squares. For now, make sure Iso is selected on the left of the window.

The first thing you need to do now is create some room definitions for your new building, this will allow the game to spawn the correct loot into the
right places, such as food into kitchens, clothes into bedrooms, medicine into bathrooms etc. At the top of the window, click on Buildings and then Rooms

(or you can use the Rooms icon on the toolbar). In the small window that popped up. click on the + in the bottom left to add a new room type. On the right

you can now give your new room a name which can be anything you want, and an internal name, which MUST match one of the names in this list:

You can now draw your new room on the tile grid by clicking and dragging with the left mouse button (make sure the Draw Room tool is selected at the top
of the window). Notice how the colour of the tiles turns to the colour you selected for your room in the previous step. Once you let go of your left
mouse button your room will appear. You can change the shape of the room by clicking and dragging more pieces that connect up, or by holding CTRL and
clicking/clicking and dragging to delete parts of a room.

You will see that placing tiles of the same room type next to each other will automatically delete the internal wall between them, and placing tiles of
different room types (e.g. living room and kitchen) next to each other will maintain the internal walls. You can create new internal walls (or delete
internal walls) using the Place Wall tool (located to the right of the Draw Room tool). Simply click on the Place Wall icon, select the tiles you want
to use for it's interior and exterior facing walls as well as grime etc and then left click and drag your wall on the tile grid, right clicking on a
wall you place will delete, to edit it's length, left click on one of its "ends" and drag.

 

So now you've finished placing the rooms for your ground floor you probably want to place some windows and doors.
Click on the Place Doors tool at the top left of the window, then using the tile and furniture menu on the right, use the Doors and Door Frames options
to select the door you want to use, then simply click on the tile grid where you would like the door to go.
Exactly the same method is used for placing windows, except using the Place Windows tool at the top of the window instead (located to the right of Place
Doors).


You've now placed your windows and doors, but maybe you realised that your building is 1 tile too wide and you need to make it smaller. Just select the
Draw Room tool, hold CTRL and click and drag on the area you want to delete. That worked, but your doors and windows that were on that side of the
building are now floating in thin air, 1 tile out from the "new" wall. You can easily get around this by selecting the Select and Move Objects icon at
the top of the window, then clicking and dragging the area select over the doors/windows etc you want to move, then clickng and dragging one of the
rectangles at the base of one of the objects, all objects will move together as one, making bulk/mass changes easier to deal with.


Now it's time to place some furniture down, simply use the Tiles and Furniture menu on the right of the window to browse through and select the
furniture piece you want, then at the top of the window the Place Furniture icon should now be clickable, once selected simply left click on the tile
grid where you would like your furniture to go. Right click will delete a previously placed piece.
You will notice that items will automatically orient themselves to have their backs to the wall if placed against one. If put up against 2 walls (such
as the corner of a room) you can change its' orientation by moving your mouse cursor within the tile it's to be placed on. You can also select the
orientation of furniture by holding the left click down as you place it and moving your mouse round, once in the desired orientation, simply let go of
the left mouse button.
If you are placing multiple objects on the same tile then the last object added will be drawn on top, so if you want to have a chair on top of a rug,
make sure you place the rug first and then the chair.


Your ground floor is complete, now it's time to add some stairs and a first/top floor.
Click on the Place Stairs icon on the toolbar at the top of the window, select the stairs you want to use in the Tiles and Furniture menu on the right
and then left click on the tile grid where you would like to place your stairs. Right clicking on previously placed stairs will delete them.
Now click on the Floor icon on the toolbar, this will pop up a new window that lists the floors of the current building (currently only Floor 1). Click
on the blue + icon to add a new floor, you should see that it has added Floor 2 to the list, above Floor 1, click OK.
Now that you are back to the tile grid you will notice that your building currently looks darker, however if you look at the toolbar you will also
notice that the floor icon has changed (now reads Floor 2/2), indicating that you currently have your new floor selected, and any room/items you place
will be on this floor.
You can now place rooms and furniture etc like before (making sure the correct tool is selected in the toolbar), notice that when you add a room that
sits above your previously placed stairs on the floor below, BuildingEd will automatically "cut holes" in the floor to allow the player to move between
floors.
If any of your lower floors are not covered by rooms on higher floors then don't forget to add some roof pieces over the gaps. To do this, navigate to
the floor above and then click on the Place Roof icon in the toolbar and select a roof type (e.g. Flat Top), then on the right of the window select Roof
Tops (or Caps/Slopes depending on the roof type being used) under Tiles and Furniture and select a roof tile to use in the area below. Then click on the
tile grid where you would like to place the roof tile (e.g. a flat roof tile to cover a ground floor room is placed on the "floor" of the next floor
up).

 

When you want to add a roof to your top floor, create a new floor using the Floor icon like before, then select the Place Roof icon in the toolbar,
select the type of roof tile you want to add and place on that new layer. Flat roof tiles are by far the easiest to add, bu the prettier sloped roofs
can be figure out with a little bit of trial and error, again using right click to remove any previously placed pieces, just remember to have the
correct roof type selected in the Place Roof tool depending on what tile you're trying to add.

 

Finally you might want to add detail around the outside of the house such as gardens and paths. To do this, first click on Tile (underneath Iso) on the
left side of the window, you should notice that the options on the right of the window have changed. At the top right is a list of every layer, ticked
layers have all tiles placed on that layer visible in the tile grid, un-ticking them makes those tiles invisible, allowing you to hide the buildings
walls when placing flowers or ground tiles for example. At the bottom right as a list of all of the different tiles you can use. Click on the category
and then the desired tile on the right. Left clicking on the tile grid will place the selected tile on the selected layer, overwriting any tile that is
already at that location and on that layer. Hold CTRL and left click to remove a tile from the currently selected layer.

 

Now your building is complete, its time to save it. If you havn't already, create a folder inside you TileZed folder called buildings, you can create
any number of sub-folders in here to help organise your buildings if you like.
Now, in BuildingEd, click on File and Save As, navigate to your buildings folder, give your building a name and save it.

 

To make life easier when creating similar buildings in the future it's a good idea to save your buildings template, so when you create a new building
you can select it's template and have all of your room definitions, wall tiles etc already set up for you. To do this, click on Building and the  
Properties, here you can see the default tiles that will be used on any building created with this template. To the left is also a button for
checking/editing the room definitions. Clicking on Save Template will ask you for a name and then save it to the list of templates. As you can see you
can quickly edit and create multiple templates rather fast using this method.

 

- How to add buildings to your map

Spoiler

If it's not already open, open WorldEd (open TileZed, clikck Tools and then WorldEd) and load your previously saved map.
You can now edit your map by double clicking on one of the cells, it will open a new tab (named cell x,x) containing a preview of what that cell will look like in game. You can use the sliders to navigate the camera around the map as well as holding down control and using your scroll wheel to zoom in/out.


To the right of the preview window you will see a couple of areas, one labeled "maps" and one labeled "history", in the maps section, navigate to your buildings folder, you will see all of your buildings listed as tbx files (you can create multiple folders within the buildings folder if you like to help organise your buildings to make them easier to find). All you need to do now is click and drag a tbx from the section on the right onto the preview window (make sure "Select and move lots" is selected on the toolbar at the top of the screen), you will see the building moving with your mouse cursor over the world, just drop it wherever you want it to go.
Once you have placed all the buildings you want on this cell click on File and then Save and then close the tab (named cell x,x). You should now be back to seeing your entire map. You can now repeat the process for each other cell. Once you are finished adding buildings (you can always add more later if you want to start off small and test a few things first) come back to the world view and save your map.

 

 

 

Step 4) Exporting and testing the map
- Exporting

Spoiler

Before adding world detail such as lamposts, road markings, road signs etc you probably want to load your map up and run around in game to make sure everything is as you want it because any world detail changes you make will be lost if you need to make edits to your BMP files and re-import them into WorldEd.


The first thing you are going to need to do is add a spawn point (or more) on your map. To do this you will first need to create a spawnpoint.lua file, just navigate to the folder you created when you imported your BMP's into WorldEd (e.g. MyMapMod) which by default will have been created in your TileZed folder. Once there create a new text document, open it and then click on save as, change Save as type to All files, name it spawnpoints.lua and click save.


Then open WorldEd and load your map, double click on the cell you want to add a spawn point to, once it opens, click on the "add spawn point" tool at the top of the window and click on the map where you want your spawn point to go, it will place down a prism to allow you to keep a visual track of your spawn points as well as opening a dialogue box to select the profession that can spawn here (if no boxes are ticked then nothing will be added to the spawnpoints.lua file when you write spawn points). Once finished, save the cell, come back to the world view (close the cell's tab) and click on File and then Write Spawn Points, on the dialogue box which pops up, navigate to and select the spawnpoints.lua you created above and save.

 

Once you have created your spawn point(s), save your map then click on File and then Genrate Lots>All Cells.

Here you will be asked for 4 things, the first being the directory your lot files will be saved in, click on the 3 dots and navigate to the folder you created for your map mod when you imported your BMP into WorldEd, then right click and create a new folder called Lots, select this folder.


Secondly it needs your zombie spawn map, just click on the 3 dots and navigate to your zombie spawn map and select it.
Third is the Tile Definitions folder, again click on the 3 dots and this time navigate to your Project Zomboid Steam Install folder (c:\Program Files\Steam\SteamApps\Common\Project Zomboid), click on the Media folder and then click Select Folder.


The last thing is the World Origin. If you are making a stand alone map which is not connected to any other maps then you can just leave this as is. If however you are wanting to add your map to an exisiting world or overwrite a cell(s) in an existing world you will need to change these values. The cell of your map that is at 0,0 (the one furthest to the north west) will be given the values you use here, allowing you to offset your map to make existing maps bigger or overwite cells of an existing map.
Once ready, click ok

 

- Getting it in game

Spoiler

OK now you have all of the files you need to test your map in game, so lets go ahead and do that. First, create a new folder on your desktop (or somehwere easily accesible) and give it a name (e.g. MyMapMod), inside create another folder called media, inside there create a 3rd folder called maps and then inside there, create a final folder called MyMapMod (or whatever the name of your map is). Inside this final folder is where you want to put all of the .lotheader, .lotpack and .bin files that were created when you generated the lots for your map, as well as the spawnpoints.lua file and and objects.lua (dont worry about this for now, you will create one when you add foraging zones later).
You also want to create a text file(it will actually be saved as a .info file), using Notepad, in this folder, called map, include the following:

 

Spoiler

title=Your map name here
lots=Muldraugh, KY
description= Your map description here


(in this example were adding/overwriting cells in the base games map, but all the files will be kept seperate so the mod only appears when selected in game(hence the lots=Muldraugh, KY)).
Click on File and Save as, now instead of saving it as a text file, at the bottom, select Save as type and choose All Files, then name the file Map.info


The next file you need in this folder is a PNG file called thumb.png, this is the thumbnail used in the games menu for your mod, for now you can just create a blank one using your paint program and save it in this folder.
From this folder, navigate up 3 folders until your in the first one and can see the Media folder, in this first folder, alongside the media folder you want to create 2 final files, the first is a mod.info file, again just create a txt file (saved as .info instead of .txt) this time called mod and include this info:

 

Spoiler

name=The Name Of Your Mod Here
id=The Name Of the First Folder You Created Here (e.g. MyMapMod)
description=Description Of Mod Here
poster=poster.png

 

The very last file you need is another png, just copy your thumb.png you created a little earlier, paste it here and rename it to poster.png
All that's left to do now is drag and drop (or copy and paste) that entire folder structure into:


C:\Users\YourUsernameHere\Zomboid\mods


Then load up Project Zomboid, click on Mods, enable your mod, create a new game and select your map on the world selection screen. You should find yourself spawning in on one of the spawn points you created earlier.


If you want to give players the option to spawn at one of the games vanilla locations (Muldraugh, West Point, Rosewood) as well as your own, then you will want to create one more file alongside your spawnlocations.lua called spawnregions.lua, which includes this code:

 

Spoiler

function SpawnRegions()
return {
{ name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },
{ name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },
{ name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" },
{name = "My Map Mod", file = "media/maps/MyMapMod/spawnpoints.lua" },
}
end


This will show a spawn location pop up in game after selecting your mod as the game world for your new game, in this case allowing the player to select between one of the 3 vanilla locations or the location(s) you set up when you created your mods spawn points.

 

 

Step 5) Adding world detail

Spoiler

Now that you have had a run around your map in game and are happy with the layout, vegetation, bulding placement etc it's time to start beautifying your map by adding detail.


To start, open TileZed and then open WorldEd, load your map. Right click on the cell you want to add detail to and then click on "open in tileZed". Bring TileZed to the front (or minimise WorldEd) and you will notice you have a zoomed in view of that cell. In map window to the right of the screen, click on the layers tab halfway down, the window above should populate with a number for layers with different names, these are what you will use to place your various bits of detail, allowing you to stack multiple things on top of each other without overriding the previous one (such as road markings on roads, trees on tiles with grass etc).
Below this will be a tilesets window listing all of the different tilesets currently used in game, clicking on one of the names will display its contents directly to the right, as you will see, most tilesets have multiple tiles. Adding detail to your world is simply a matter of finding the item you want to place from the tilesets, making sure you're on the correct layer (so placing a tree wont delete the ground tile etc) and then clicking where you want to peice to go (making sure the stamp brush tool at the top of the window is selected).


There's a lot of useful tools listed along the top to help you, such as undo and a rectangular select to allow you to copy and paste areas of detail, for example, simply place down some road markings from the street_trafficline_01 tileset on to the FloorOverlay layer, then select the Rectangle Select tool, select the cells with the road markings on, press CTRl+C and then CTRL+V, now you can click away, placing copies of that area (only tiles on the currently selected layer) with a single click, allowing you to place large amounts of detail rather quickly.
Once you are finished adding detail to your cell, click on File and Save then close the tab. You can now go back to WorldEd and repeat the process with each other cell, once complete come back to WorldEd, click on File and Generate Lots. Your world detail has now been saved and can be seen in game.


Any time you make changes to your map and want to test it in game you will want to re-copy all the .lotpack, .lotheader and .bin files along with your spawnpoints.lua and objects.lua into the folder structure you created in the step above "Getting It In Game", overwriting old files as you go, then copy into:


C:\Users\YourUsernameHere\Zomboid\mods


as you did before, again overwriting if asked.

 

 

Step 6) Adding foraging zones

Spoiler

Find the .pzw file for your map mod (generally in the parent folder to your mods .lot files) and open it in a text editor (e.g. Notepad). Look for the line(s) that starts with "<bmp path= ...", after the last one, paste this chunk of code:

 

Spoiler

<objecttype name="TownZone"/>
<objecttype name="Forest"/>
<objecttype name="DeepForest"/>
<objecttype name="Nav"/>
<objecttype name="Vegitation"/>
<objecttype name="TrailerPark"/>
<objecttype name="Farm"/>
<objectgroup name="TownZone" color="#aa0000" defaulttype="TownZone"/>
<objectgroup name="Forest" color="#00aa00" defaulttype="Forest"/>
<objectgroup name="Nav" color="#55aaff" defaulttype="Nav"/>
<objectgroup name="DeepForest" color="#003500" defaulttype="DeepForest"/>
<objectgroup name="Vegitation" color="#b3b300" defaulttype="Vegitation"/>
<objectgroup name="TrailerPark" color="#f50000" defaulttype="TrailerPark"/>
<objectgroup name="Farm" color="#55ff7f" defaulttype="Farm"/>

 

Save the file and close it.

 

Open TileZed and then WorldEd and load your world, dbl click on the cell you want to add foraging to. Click the "create object" button at the top of the window. At the bottom of the window you will see 2 selection boxes ("Level: 0" and "Obj Grp: <none>") Click on "Obj Grp <none>" and you will see the list of foraging zones you can add to the world. Select the type you want, you can then draw a rectangle on the game world by clicking and holding left mouse button. You can add multiple rectangles of any type and size to each cell, allowing you to be as specific or general as you want. Once done, save the cell, close it and move on to the next.

 

Once all cells have had their foraging zones added close any cells left open so you are back to the main world overview in WorldEd. Click on File and the Generate Lots>All Cells. If they aren't already then make sure your path to your lots directory and zombie spawn image are complete. Then for your tiles definitions folder you want to point that to the media folder inside your Project Zomboid installation folder (steam>common>... etc). Once done, click ok.

Click File and then "Write spawn points to lua", then click on File and click "Write objects to lua".

 


Step 7) Uploading to steam workshop

Spoiler

Create a folder (anywhere for now, desktop is handy) with the name of your mod (e.g MyMapMod), place your mods preview picture (named preview.png) and a .txt file called "Workshop" which includes the following code:

 

Spoiler

version=1
title=Your Mod Name Here
description=Your mod description here
description=Second line of your mod description here (you can add more description= lines if you like)
tags=
visibility=public

 

then save the file.

 

Within the same folder as these 2 files create a new folder called "Contents", and inside the Contents folder add another folder called "mods". Inside this folder is where you want to copy and paste your mods main folder (the one you have been placing into c:\Users\Yourusernamehere\Zomboid\Mods when you test your mod in game).

Once this is done cut/copy/paste the entire folder structure into your C":\Users\YourUserName\Zomboid\Workshop" folder and load up PZ. Click the "Workshop" button towards the bottom left and the click "create and update items", then select your mod (if it doesn't show dbl check you added it to the correct folder which will be shown at the top of the screen). Make sure the items details are correct and then press next, your mod will then be uploaded to steam workshop (wait for the upload confirmation)and should be viewable within the hour.


You now have a map mod on steam workshop!

 

Anytime you update your mod, simply copy/paste the updated files over the existing ones in your "C:\Users\YourUserName\Zomboid\Workshop" folder and follow the above step again from loading up Project Zomboid, anyone subscribers will have the update pop up in their downloads automatically.

 

 

Tips

Spoiler

Map Image Creation:

If you are using paint.net, I recommend the Selective Palette plugin.  You can choose a palette of colors and all pixels in your image will be assigned to the closest color.

Find it here: http://forums.getpaint.net/index.php?/topic/8043-curtis-plugin-pack-update-for-354/ - Ciber Ninja

 

 

 

More Coming Soon

 

 

FAQ's

Spoiler

Coming Soon

 

 

Other Helpful Guides

Spoiler

Building Making - Current Room Definitions

 

How To Add Custom Texture Packs And Tile Definitions

 

Custom Tileset Tutorial

 

Building Making Tutorial Video

 

Blackbeard06's Video Mapping Tutorial - 

 

Thuztors Mapping Guide PDF

 

More Coming Soon

 

 

Big thanks to Capt_Paradox, Blackbeard06, Suomiboi, Thuztor and the whole modding community <3

Share this post


Link to post
Share on other sites

Thank god we have something like this now! I was so confused about so many things that i just stopped at experimenting with houses. BUT. Now that i have a guide on still a bunch of complicated steps that i'm sure to bork up on at more than one point i can actually TRY to make a map now! Hurray!

Share this post


Link to post
Share on other sites

Now the question is if this will be one of those guides that says "more coming soon" for the next six months.

Share this post


Link to post
Share on other sites

Oh man. This is absolutely fantastic. I guess my only question is, what scale are we working with? How big is one tile? I need to know this for... reasons.

Share this post


Link to post
Share on other sites

This is a great guide, but is it possible to find pre-made buildings somewhere? Im making 1x1 maps for practice and some pre-fabs would really help.

 

On 01/02/2017 at 0:44 AM, betasword said:

Oh man. This is absolutely fantastic. I guess my only question is, what scale are we working with? How big is one tile? I need to know this for... reasons.

1 tile = 300px X 300px

For more tiles you multiply these numbers.

Share this post


Link to post
Share on other sites
46 minutes ago, SuperTeddyGuy said:

This is a great guide, but is it possible to find pre-made buildings somewhere? Im making 1x1 maps for practice and some pre-fabs would really help.

 

1 tile = 300px X 300px

For more tiles you multiply these numbers.

Actually one Cell is 300x300 pixels, each pixel being 1 in game tile.

Share this post


Link to post
Share on other sites
2 hours ago, RingoD123 said:

Actually one Cell is 300x300 pixels, each pixel being 1 in game tile.

Ops, sorry my mistake.

Share this post


Link to post
Share on other sites

hey is there anyway to get an exact amount of pixels in paint.net because I don't want to count the pixels (lol paint.net tutorial please XD)

Share this post


Link to post
Share on other sites

hey is there anyway to get an exact amount of pixels in paint.net because I don't want to count the pixels (lol paint.net tutorial please XD)

(Will this 300x300 black tile image that I found online work?)

MainMap.jpg

Edited by Queen Glory

Share this post


Link to post
Share on other sites
1 hour ago, Queen Glory said:

hey is there anyway to get an exact amount of pixels in paint.net because I don't want to count the pixels

Are you trying to make a new file or trying to get 300x300 within an already started one?
If a new file you can go to the top left and hit File then New and you can put your dimensions there.
If its already an existing file you can use the Shapes tool and at the bottom it should tell you the dimensions of your shape. 

Queen Glory likes this

Share this post


Link to post
Share on other sites

So uh, I was making a map, following instructions perfectly, and I'm here:

http://i.imgur.com/TeRDpSa.png

First, I know the image is compressed. I tried to upload it here and it wouldn't work.

*ahem* Okay, so the problem is that whenever I click on my map image, png or bmp, it simply wont show up in WorldEd. Nothing, just no reaction no matter what I do. I've looked everywhere for some kind of help and nothing has come up. I'm doing things the exact way they're supposed to be done. Can anyone help?

 

EDIT: Nvm I got it guys

Edited by StOnGdUkE
I got it

Share this post


Link to post
Share on other sites

Hey guys, the How to create custom buildings section is step 3 now has a full guide. Some Tips and FAQ's coming in the next day or so too.

Share this post


Link to post
Share on other sites

Does the image have to be at least one cell large? Was trying to make a smaller one just to get the swing of things and it seems to not want to load into WorldZed

Share this post


Link to post
Share on other sites
2 hours ago, Nero's Shadow said:

Does the image have to be at least one cell large? Was trying to make a smaller one just to get the swing of things and it seems to not want to load into WorldZed

Yes your base image and veg map should be at least 300x300 pixels (1 cell) and always a multiple of 300.

Share this post


Link to post
Share on other sites

Hey all, I had a question just because I'm a bit confused...

The vegetation map, when does that get added into the file system? I've read through the instructions and can't find any mention of it. Does TileZed automatically detect (and incorporate) it when you drag-drop the original base map image into the editor? 

 

Edited by Houski

Share this post


Link to post
Share on other sites
1 hour ago, Houski said:

Hey all, I had a question just because I'm a bit confused...

The vegetation map, when does that get added into the file system? I've read through the instructions and can't find any mention of it. Does TileZed automatically detect (and incorporate) it when you drag-drop the original base map image into the editor? 

 

Hi Houski. Yes you must have made your Veg map image (and saved it in the same folder as your base image)  before trying to import your base image into TileZed otherwise it will not work. You can find the info for making one directly after the "Creating your base map image" section towards the top of the guide.

Share this post


Link to post
Share on other sites
Just now, RingoD123 said:

Hi Houski. Yes you must have made your Veg map image before trying to import your base image into TileZed otherwise it will not work. You can find the info for making one directly after the "Creating your base map image" section towards the top of the guide.

Yeah, I made both (per the instructions) but I was wondering when the Veg Map gets incorporated into TileZed? Because I have two separate .BMP files - the base map and the Veg Map. But the instructions don't ever instruct me to import the Veg Map into TileZed. I was wondering specifically if TileZed incorporates it automatically? Because my World View doesn't have any vegetation on it.

Share this post


Link to post
Share on other sites
30 minutes ago, Houski said:

Yeah, I made both (per the instructions) but I was wondering when the Veg Map gets incorporated into TileZed? Because I have two separate .BMP files - the base map and the Veg Map. But the instructions don't ever instruct me to import the Veg Map into TileZed. I was wondering specifically if TileZed incorporates it automatically? Because my World View doesn't have any vegetation on it.

Yes Tilezed incorporates it automatically when you drag and drop your base image. Within WorldEd, click Edit and then Preferences, at the bottom of this window you should see an option to "Display map thumbnail images in World View", you should then see that your map, within WorldEd, is now displayed with your base image data and your veg map data (your cell(s) will have trees and grass etc placed on them).

Share this post


Link to post
Share on other sites
1 minute ago, RingoD123 said:

Yes Tilezed incorporates it automatically when you drag and drop your base image. Within WorldEd, click Edit and then Preferences, at the bottom of this window you should see an option to "Display map thumbnail images in World View", you should then see that your map, within WorldEd, is now displayed with your base image data and your veg map data (your cell(s) will have trees and grass etc placed on them).

THANKS, that's what I was looking for!

Share this post


Link to post
Share on other sites
2 hours ago, RingoD123 said:

So I got the tutorial files to load into my game through Mods, but when i start a new game, my map is not available for selection. Any idea what might be wrong?

Share this post


Link to post
Share on other sites
4 hours ago, Houski said:
6 hours ago, RingoD123 said:

So I got the tutorial files to load into my game through Mods, but when i start a new game, my map is not available for selection. Any idea what might be wrong?

Most likely a problem with your folder structure or having the map files etc in the wrong folder.

Make sure your mod is placed in

"C:\Users\YourUsername\Zomboid\Mods"

 

Your mod folder structure should be:

"YourMapModName\media\maps\YourMapModName"

 

Your .lotheader, .lotpack, .bin, spawnpoint files etc all should be in the last folder.

 

Make sure you also have all the necessary png and .info files that are listed in the "How to get it in game" section too.

Share this post


Link to post
Share on other sites

Hey man, thanks for the tutorial! I was wondering if 1 tile would translate to approximately 1 meter? I am recreating a real life location and want to be as precise as possible! Thanks! :D 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
1 1