Custom Textures

From Pixelmon Generations Wiki
Jump to navigation Jump to search

Pixelmon Generations supports the ability for custom textures to be created that can either overwrite the existing textures, with a Resource pack, or add new textures that can be given out to players, using AssetManager.

Creating a Texture

Creating a texture can be as simple as locating the texture file and editing it. However, it is highly recommended that you use Blender. Loading up a Pokemon's model into Blender and applying the texture to it makes it easier to navigate the texture file or directly paint on the model.

Using Blender

Setting up Blender

  1. Install the latest version of Blender from here.
    • Please make sure your version of Blender is supported by the Source Tools addon below.
  2. Add the Source Tools addon to your Blender from here.
    1. Open the Blender program.
    2. Navigate to Edit > Preferences > Add-ons > Install.
    3. Using the File Viewer, locate the blender_source_tools_X.X.X.zip file that was downloaded previously, select it, and press Install Add-on.
    4. Check that the Blender Source Tools add-on you just installed is checked in the list.
    5. Restart the Blender program.

Obtaining Models

For compression reasons, all models found within the Pixelmon Generations mod file will be in .smdx format. This version of the file is not openable by the Blender Source Tools add-on, so we must convert the file into .smd format.
The program listed does require Java and will need Java setup in your Environment Variables.

  1. Download the latest version of the Pixelmon Model Converter (PMC) program from NickImpact's Development Discord here.
  2. Download the latest version of the Pixelmon Generations mod from the downloads page here.
  3. Drop both downloaded files on your desktop.
  4. Create a new empty folder on you desktop and rename it as you please.
  5. Open the Pixelmon Model Converter (double click) and select Generations and Decode.
  6. Now click on Select Input Location, navigate to your Desktop and select the PixelmonGenerations .jar file.
  7. Also click on Select Output Location and navigate to the new folder you created 3 steps ago.
  8. Let the program run through all of the models, which will be placed into the selected folder.

Opening the Models

  1. Navigate to File > Import > Source Engine.
  2. Using the File Viewer, locate the desired .smd model file that you converted earlier and click Import.
    • Example: pikachu.smd
Note: Pokémon with different forms will have all models stored under the base form, either as simple files or sub-folders.

Applying Textures

  1. Open the downloaded Pixelmon Generations mod with WinRar or a similar compression tool.
  2. Navigate to assets\pixelmon\textures\pokemon.
  3. Drag and Drop all of the texture files you want to edit into a folder.
  4. In Blender, select the model you want to apply the texture to by clicking on the model itself.
  5. In the lower right side panel, select Material Properties.
    • It looks like a sphere icon with red and black.
  6. Select the desired Material Node on the middle right side panel and then select the gray Use Node button (should turn blue).
    • Example: pm0025_00_BodyA1.tga
    • Please note that if there are multiple Material Nodes listed, you may need to repeat this step and the following steps for each node.
  7. Click the Shading view button on the top middle of the screen and ensure the model is still selected.
  8. On the new view, click anywhere in the lower dark gray grid and press Shift + A.
  9. Select Texture > Image Texture and click anywhere in the grid to drop the Image Texture box.
  10. On the newly created orange Image Texture box, click and drag the small circle next to Color over to the BaseColor circle on the green Principled BSDF box.
  11. Select the Open button on the orange Image Texture box and navigate to the texture file for that model that you obtained prior.

Modifying the Textures

Locating Textures

  1. Open the downloaded Pixelmon Generations mod with WinRar or a similar compression tool.
  2. Navigate to assets\pixelmon\textures\pokemon.
  3. Drag and Drop all of the texture files you want to edit into a folder.

Editing Textures

There are several options for editing the texture. Most popular are Photoshop and GIMP. You may also directly edit the texture in Blender, but it requires multiple steps to set up (all listed above).

  1. Open the texture file you located earlier using your desired program.
  2. Using the available tools, you can modify the texture file. Some textures may be hard to decipher what goes where, which is why Blender is helpful!
  3. Once you have finished your edits, save the image as the same name with the file type as a .png file.

Using the Textures

When it comes to using your newly created texture, you currently have two options:

- The first is to create a Resource Pack and overwrite the existing texture using your new one.
- The second option is to add them directly into the mod.

Resource Packs

  1. Create a blank resource pack. You can download a pre-made blank one here.
  2. Open the blank resource pack using WinRar or a similar compression tool and navigate to assets\pixelmon\textures\pokemon.
  3. Drag and drop your custom texture into this folder, but make sure it follows the same naming scheme as the original texture file.
    • Example: pikachu.png
  4. Place the Resource Pack into the resourcepack folder of your game files.
  5. Load up your client and enable the Resource Pack in Esc > Options... > Resource Packs....

Adding to the Mod