Forgot this
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Map Backgroundddd
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Line 75: Line 75:


If you want to add a female version of a Pokemon too, click on Export, scroll the list in point 2b, then select the second entry of the Pokemon slot and press Export. Then, double click on that entry in the sidebar and change the Gender to Female. If a female version of a Pokemon has a different appearance compared to a male(example: Meowstic), open SpriteCollab Browser again and import female sprites and portraits.
If you want to add a female version of a Pokemon too, click on Export, scroll the list in point 2b, then select the second entry of the Pokemon slot and press Export. Then, double click on that entry in the sidebar and change the Gender to Female. If a female version of a Pokemon has a different appearance compared to a male(example: Meowstic), open SpriteCollab Browser again and import female sprites and portraits.
'''Adding a new Map Background'''
Double click on Map Background, then click Add Background. All Map Backgrounds are divided by categories, depending on the first letter in the name, so it's preferred if the name for a new background won't start with S, T, D, G, H, P, V or W.
After adding a new background, find it in the list, then double click on it. Then, click on Map, then Width and Height. Then, in your own file explorer, go to wherever a background you want to add is located, then find the image resolution. If the width or height are not multiple of 24, you must edit the image to fix it. Then, divide the image width and height by 24, and put the result in Width in chunks and Height in chunks respectively. If a background you want to add has two layers, go to Map->Settings and change the Number of layers to 2.
All images you want to use for a Map Background must follow a set of [[Map Background|restrictions]] for it to be importable. If they aren't, you can click on Instruments, then Convert image to PMD2 indexed PNG. Leave the amount of palettes unchanged, change the Dithering option to No Dithering, open Advanced settings(exists only in later versions of SkyTemple!) and put 2000 in both fields. Then, select your image(s), press Convert and select where to save the image. Keep in mind that the image quality will drop after a conversion.
Now, go to Map->Import layers from image, select your image(s) and press Import. If your image imported - you're good. But sometimes, you may encounter an error about unique tiles.
An image is divided by 8x8 tiles, and one image can only contain 1024 of unique tiles. Unique tile is a tile in the image that you cannot get even if you flip any other tile on X or Y axis. If you'll get an error stating that you have too much of them, you must either divide the image in 2 layers of you only have one layer, or by simplifying an image as much as you can.
After a successful import, if your map will be used in the overworld, go to Map->Settings, change the amount of collisions to 1, then go to Collision 1 and put collision everywhere you need.
After that, go to '''Creating a scene''' part of this page to use this background.