Difference between revisions of "Custom textures"
(Added a guide for using NBTEdit to apply custom textures) |
(Re-did with the right NBTEdit) |
||
Line 17: | Line 17: | ||
|- | |- | ||
|style="text-align:center"|Create your custom textures and load them into a resource pack as specified above. | |style="text-align:center"|Create your custom textures and load them into a resource pack as specified above. | ||
− | Download [https:// | + | Download [https://github.com/Jay113355/NBTEdit/releases/tag/1.12_v2.0.2 NBTEdit] and put it in your mods folder. |
+ | | [[File:NBTTutorial1.png|500px|none]] | ||
|- | |- | ||
|style="text-align:center"|Create the Pokémon or Statue you want to apply the custom texture to. | |style="text-align:center"|Create the Pokémon or Statue you want to apply the custom texture to. | ||
− | | [[File: | + | | [[File:NBTTutorial2.png|500px|none]] |
|- | |- | ||
− | |style="text-align:center"|While looking at the Pokémon/Statue you want to apply the texture to, type in the chat the command <code>/nbtedit</code>. A | + | |style="text-align:center"|While looking at the Pokémon/Statue you want to apply the texture to, type in the chat the command <code>/nbtedit</code>. A GUI will pop up. |
− | | [[File: | + | | [[File:NBTTutorial3.png|500px|none]] |
|- | |- | ||
− | |style="text-align:center"|Select <code> | + | |style="text-align:center"|Select <code>ROOT</code> then select the icon in the top left labelled <code>String</code>. |
− | | [[File: | + | | [[File:NBTTutorial4.png|500px|none]] |
|- | |- | ||
− | |style="text-align:center"|Name the | + | |style="text-align:center"|Click the icon in the top left labelled <code>Edit</code>. In the box that says <code>Name</code> input <code>CustomTexture</code>. In the box that says <code>Value</code> input the name that you put after <code>custom-</code> for the folder your custom texture is in. |
− | | [[File: | + | | [[File:NBTTutorial5.png|500px|none]] |
|- | |- | ||
− | |style="text-align:center"| | + | |style="text-align:center"|Select <code>Save</code> and then <code>Save</code> in the bottom left. You will now have your custom texture applied to that Pokémon/Statue. |
− | + | | [[File:NBTTutorial6.png|500px|none]] | |
− | |||
− | |||
− | | [[File: | ||
|} | |} | ||
== Special note to server owners == | == Special note to server owners == |
Revision as of 13:25, 10 July 2019
The Custom Textures feature is for mapmakers and server admins who want to add custom textures to Pokémon or Statues via resource packs in a similar way that Pixelmon adds Special textures.
To use this feature you will need to be capable of editing nbt data using an nbt editor, or a sidemod, or using the command entitydata
.
Custom textures are loaded from assets/pixelmon/textures/pokemon/custom-%value%/
Where %value%
is a string value loaded from the nbt tag "CustomTexture" of a Pokémon or a Statue.
The "CustomTexture" nbt tag's value must be lowercase, but can otherwise be anything you like. For example, if you have a Ivysaur with the CustomTexture nbt tag value of "shadow" then the full texture path will be assets/pixelmon/textures/pokemon/custom-shadow/ivysaur.png
. Or if you have a shiny Tyranitar with the CustomTexture tag value of "ghost" then the full path of the texture would be assets/pixelmon/textures/pokemon/custom-ghost/shinytyranitar.png
.
For example /entitydata @e[type=pixelmon:pixelmon,name=Ivysaur] {CustomTexture:"shadow"}
. This command will change every Ivysaur out of its Poké Ball to the custom texture "shadow
", placed in the example above.
Loading a Custom Texture with NBTEdit
Step | Example |
---|---|
Create your custom textures and load them into a resource pack as specified above.
Download NBTEdit and put it in your mods folder. |
|
Create the Pokémon or Statue you want to apply the custom texture to. | |
While looking at the Pokémon/Statue you want to apply the texture to, type in the chat the command /nbtedit . A GUI will pop up.
|
|
Select ROOT then select the icon in the top left labelled String .
|
|
Click the icon in the top left labelled Edit . In the box that says Name input CustomTexture . In the box that says Value input the name that you put after custom- for the folder your custom texture is in.
|
|
Select Save and then Save in the bottom left. You will now have your custom texture applied to that Pokémon/Statue.
|
Special note to server owners
This feature was added in Pixelmon Reforged 6.2.0 without a fallback implementation, though it was later changed to show the base skin instead if anything goes wrong.
If you have people capable of making or editing textures, please consider volunteering their time or skills to help the Pixelmon mod. The less the core team has to do the more they can work on development of the mod.