Importing Images

From Pummel Party Mod Documentation
Jump to navigation Jump to search

The Pummel Party Mod Editor allows the import of custom files for your mod, custom image files can be used as textures for props and particle systems in your mod. See the below table for supported formats.

Supported File Formats

Format Extension Description Usage
PNG .png PNG format uses lossless compression and allows for transparency. Use for small textures where quality matters.
JPEG .jpeg, .jpg JPEG format uses lossy compression but does not allow for transparency. Use for large textures where quality does not matter.
BMP .bmp BMP format Bitmap Image File. Avoid using

Import Options

Point filtering (Left) vs Bilinear filtering (right). Point is suited to pixel art, while bilinear is suited to more detailed textures.
Property Description
Texture Compression Determines what level of compression is applied to the texture at runtime. (does not affect disk size)
Normal Normal compression is applied.
High Quality High Quality compression reduces compression artefacts but takes longer to compress.
None No compression is applied to the texture.
Filter Mode Modifies the filter applied when sampling a texture.
Point The textures are not filtered and displayed as is (shows up pixelated similar to Minecraft textures)
Bilinear Texture samples are averaged giving a smooth result.
Trilinear Texture samples are averaged and also blended with mipmaps.
Wrap Mode Affects how the texture is displayed if UV coordinates are outside the range of 0 to 1.
Repeat The texture is repeated in a tiling pattern.
Clamp The texture repeats the last pixel at each edge.
Mirror Similar to 'Repeat' but mirrors the texture at each boundary.
Mirror once Mirrors the texture once then clamps at each edge.

How To Import Custom Images

The import asset button.
  1. Open the Mod Editor.
  2. Load a mod project from the file menu or create a new mod.
  3. At the bottom of the screen find the 'Asset Browser' window.
  4. In the file browser window you will see the 'Import Asset' button, click this.
  5. You will have the option of what type of asset to import, select 'Texture'.
  6. Using the windows file browser, navigate to the image file you want to import.
  7. Your image should now show up as a usable texture asset in the 'Asset Browser' window under the 'Custom/Textures' folder.