Difference between revisions of "EasyReplace"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
|author= [[Rinorocks]] | |author= [[Rinorocks]] | ||
|version= v1.0 | |version= v1.0 | ||
− | |date of release= 2020-07- | + | |date of release= 2020-07-11 |
|editors used= [[BrawlCrate]] | |editors used= [[BrawlCrate]] | ||
− | |download | + | |download= https://cdn.discordapp.com/attachments/683526699883036713/731306989547814972/EasyReplace.py |
}} | }} | ||
== Overview == | == Overview == | ||
− | '''EasyReplace''' is a plugin | + | '''EasyReplace''' is a BrawlCrate plugin created by [[Rinorocks]]. The plugin works by modifying material names in the 3D modeling software with IDs that indicate changes that are automatically applied to the model upon import to BrawlCrate. It is placed in the "Loaders" folder within the BrawlCrate folder, and is run by right-clicking the MDL0 file, going down to plugins at the bottom on the menu and clicking "Easy Replace". |
− | The Material ID Key - Add these to your materials to have them updated appropriately | + | The Material ID Key - Add these to your materials to have them updated appropriately: |
* (sX) Shader (X is the shader integer) | * (sX) Shader (X is the shader integer) | ||
* (1) Adds Transparent | * (1) Adds Transparent | ||
Line 19: | Line 19: | ||
* (5-NameOfFinalTexture) Temporary Texture Update | * (5-NameOfFinalTexture) Temporary Texture Update | ||
* (6-ShadowTextureName) Shadow Update | * (6-ShadowTextureName) Shadow Update | ||
− | * (7-X) LODBias (X is the LODBias float | + | * (7-X) LODBias (X is the LODBias float; can be positive or negative) |
Built-in Fixes | Built-in Fixes | ||
− | * Alphabetically | + | * Alphabetically sorts materials. |
− | * Exports and | + | * Exports and replaces the MDL0 to fix any errors. |
− | * Replaces files from the folder your imported model is from automatically | + | * Replaces files from the folder your imported model is from automatically. |
− | * Name your files the name of your material pre | + | * Name your files the name of your material pre-ID removal, like "(3)ice" and not "ice". |
− | * Adds Shaders Automatically - Have a | + | * Adds Shaders Automatically - Have a subfolder in a selected folder called "Shaders" and label the shader file as the number of the shader. The file for "Shader 0" will be called "0.mdl0shade". |
− | * Replaces Materials Automatically - Have a | + | * Replaces Materials Automatically - Have a subfolder in a selected folder called "Materials" and label the material file as the number of the shader. The file for "(3)ice" will be called "(3)ice.mdl0mat". |
* Example: | * Example: | ||
* Imported Model Folder C:\Folder\course.dae | * Imported Model Folder C:\Folder\course.dae | ||
Line 34: | Line 34: | ||
Plugin Use Example: | Plugin Use Example: | ||
− | * A material with the name "(s1)(6-rockshadow)rock" will have its shader set to "Shader 1", it will have another | + | * A material with the name "(s1)(6-rockshadow)rock" will have its shader set to "Shader 1", it will have another texture reference added and linked to "rockshadow", and the UV will be set to the second TexCoord. |
== Media == | == Media == | ||
− | [[File: | + | [[File:EasyReplace Location Usage.PNG|400px|thumb|none|This shows the location of the Easy Replace button]] |
== Version History == | == Version History == | ||
Line 45: | Line 45: | ||
! Information | ! Information | ||
|- | |- | ||
− | | | + | | v1.0 |
− | | 2020-07- | + | | 2020-07-11 |
− | | | + | | First release |
− | First | ||
|} | |} | ||
{{User-Rinorocks-Link}} | {{User-Rinorocks-Link}} | ||
[[Category:Software]] | [[Category:Software]] |
Revision as of 02:35, 11 July 2020
Author: | Rinorocks |
---|---|
Version: | v1.0 |
Date of latest version: | 2020-07-11 |
Editors used: | BrawlCrate |
Download: | Discord |
Overview
EasyReplace is a BrawlCrate plugin created by Rinorocks. The plugin works by modifying material names in the 3D modeling software with IDs that indicate changes that are automatically applied to the model upon import to BrawlCrate. It is placed in the "Loaders" folder within the BrawlCrate folder, and is run by right-clicking the MDL0 file, going down to plugins at the bottom on the menu and clicking "Easy Replace".
The Material ID Key - Add these to your materials to have them updated appropriately:
- (sX) Shader (X is the shader integer)
- (1) Adds Transparent
- (2) Cull-None
- (3) Semi-Transparent
- (4) Draw Pass
- (5-NameOfFinalTexture) Temporary Texture Update
- (6-ShadowTextureName) Shadow Update
- (7-X) LODBias (X is the LODBias float; can be positive or negative)
Built-in Fixes
- Alphabetically sorts materials.
- Exports and replaces the MDL0 to fix any errors.
- Replaces files from the folder your imported model is from automatically.
- Name your files the name of your material pre-ID removal, like "(3)ice" and not "ice".
- Adds Shaders Automatically - Have a subfolder in a selected folder called "Shaders" and label the shader file as the number of the shader. The file for "Shader 0" will be called "0.mdl0shade".
- Replaces Materials Automatically - Have a subfolder in a selected folder called "Materials" and label the material file as the number of the shader. The file for "(3)ice" will be called "(3)ice.mdl0mat".
- Example:
* Imported Model Folder C:\Folder\course.dae * Material Folder where files are pulled C:\Folder\Materials\(3)ice.mdl0mat * Shader Folder where files are pulled C:\Folder\Shaders\0.mdl0shade
Plugin Use Example:
- A material with the name "(s1)(6-rockshadow)rock" will have its shader set to "Shader 1", it will have another texture reference added and linked to "rockshadow", and the UV will be set to the second TexCoord.
Media
Version History
Version | Date of release | Information |
---|---|---|
v1.0 | 2020-07-11 | First release |
By the same author: Rinorocks
Custom Tracks:
Icestone Shaft –
Color Circuit –
Mine Shaft
Software:
MKWiiCTC