-
Notifications
You must be signed in to change notification settings - Fork 72
Pack Making Models Online Textures
Using online textures is fairly simple. To start, you'll need to make an object in your model that will render the online texture. Normally this object will be invisible unless a valid texture is found, so you'll probably want something behind it. This object MUST either start or end with the word url
in the name, as it tells MTS this object should use the online texture rendering rather than the normal model rendering. This is case-insensitive.
When the online texture is bound to this object, it will apply however you have your UV-mapping set. As such, you will likely need to adjust your mapping for two textures. The main model will map to the main model's texture, and the online portion will be mapped to handle a different texture.
After creating the model, you will need to add a textObject to the main JSON of the content. This is because users need a way to enter a URL. In that case, the only requirement is that the fieldName is contained in the name of the object in the model (for example, a text field of Logo_URL and an object name of Door_Logo_URL). This means that you may have multiple online texture slots on the same model, provided they don't share the same name.
- The Absolute Basics
- Pack Making General Introduction
- Pack Making General Master File
- Pack Making General File Structure
- Pack Making General Item Textures and JSONs
- Pack Making General Languages
- Pack Making General Conventions
- Pack Making JSON Colors
- Pack Compiling for 1.16.5
- JSON Templates