Editing BMD file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{note|This page is under construction.}} | {{note|This page is under construction.}} | ||
− | + | Pikmin 2 uses .json (Javascript Object Notation) files to handle the materials of its 3D models. All .bmd files in Pikmin come with a mat.json and a texheader.json. The mat.json contains the data related to the model's material, which is read by the game to produce the final model in-game. Every mat.json has the same variables that control what the model will look like. | |
− | + | '''Mat.json''' | |
− | |||
− | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| '''"Name"''' | | '''"Name"''' | ||
Line 12: | Line 10: | ||
|- | |- | ||
| '''"Flag"''' | | '''"Flag"''' | ||
− | | Material flag value | + | | Material flag value. |
|- | |- | ||
| '''"ColorChannelControlsCount"''' | | '''"ColorChannelControlsCount"''' | ||
Line 63: | Line 61: | ||
|- | |- | ||
| '''"TevStages"''' | | '''"TevStages"''' | ||
− | | | + | | |
|- | |- | ||
| '''"TevStage"''' | | '''"TevStage"''' | ||
Line 93: | Line 91: | ||
|- | |- | ||
| '''"CullMode"''' | | '''"CullMode"''' | ||
− | | Determines which faces to render | + | | Determines which faces to render. |
|- | |- | ||
| '''"MaterialColors"''' | | '''"MaterialColors"''' | ||
Line 147: | Line 145: | ||
|- | |- | ||
| '''"Type"''' | | '''"Type"''' | ||
− | | | + | | |
|- | |- | ||
| '''"EffectTranslation"''' | | '''"EffectTranslation"''' | ||
Line 153: | Line 151: | ||
|- | |- | ||
| '''"Scale"''' | | '''"Scale"''' | ||
− | | | + | | |
|- | |- | ||
| '''"Rotation"''' | | '''"Rotation"''' | ||
Line 192: | Line 190: | ||
|- | |- | ||
| '''"TevStages"''' | | '''"TevStages"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorInA"''' | | '''"ColorInA"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorInB"''' | | '''"ColorInB"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorInC"''' | | '''"ColorInC"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorInD"''' | | '''"ColorInD"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorOp"''' | | '''"ColorOp"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorBias"''' | | '''"ColorBias"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorScale"''' | | '''"ColorScale"''' | ||
− | | | + | | |
|- | |- | ||
| '''"ColorClamp"''' | | '''"ColorClamp"''' | ||
Line 219: | Line 217: | ||
|- | |- | ||
| '''"ColorRegId"''' | | '''"ColorRegId"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaInA"''' | | '''"AlphaInA"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaInB"''' | | '''"AlphaInB"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaInC"''' | | '''"AlphaInC"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaInD"''' | | '''"AlphaInD"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaOp"''' | | '''"AlphaOp"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaBias"''' | | '''"AlphaBias"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaScale"''' | | '''"AlphaScale"''' | ||
− | | | + | | |
|- | |- | ||
| '''"AlphaClamp"''' | | '''"AlphaClamp"''' | ||
Line 246: | Line 244: | ||
|- | |- | ||
| '''"AlphaRegId"''' | | '''"AlphaRegId"''' | ||
− | | | + | | |
|- | |- | ||
| '''"SwapModes"''' | | '''"SwapModes"''' | ||
Line 322: | Line 320: | ||
| '''"Unknown1"''' | | '''"Unknown1"''' | ||
| | | | ||
− | | | + | |- |
[[Category:Pikmin 2]] | [[Category:Pikmin 2]] | ||
[[Category:File formats]] | [[Category:File formats]] |