Post by Creelien on Mar 7, 2020 13:34:41 GMT
For editing an .mdf file, you'll need these:
- 010 Editor
- DMC5 mdf Template
1. Install 010 Editor and open DMC5 mdf edit.bt
2. Then open for example Dante DT's pl0110.mdf file located in \Devil May Cry 5\re_chunk_000\natives\x64\character\player\pl0110_dante_majin\pl0110_body\
3. Click on Struct Floats[0] to expand it.
4. You'll see many "struct Components" each labeled with a number. Now click on struct Components[0] to expand it.
Note: When you expand a "Components" part, you'll see it has a name, like: EmissiveMaskControl, HideArm_Limit, etc. under Value column. You'll need to find these 3 to edit DT Glow or any glowing effect on models found in .mdf files:
- EmissiveColor_Low
- EmissiveColor_Middle
- EmissiveColor_High
These 3 are the three levels of intensity for the glow.
If you can't see them make sure you have Show Local Variables enabled. You can do that by right clicking in the Template Results window and selecting Show Local Variables.
5. You'll need to edit 4 values, RGB and Alpha in each Emissive in order to change Glow Effect:
Note: R is for how much red in the color. G is for green and B is for Blue. Alpha is for transparency. Value 1 means 100% of that color and value 0 is 0% of that color. In case of Alpha, value 1 means 100% visible and value 0 means 0% visible.
6. Pick a color! For the sake of the example, let's go with blue! That means R and G values will be 0.
7. Double-click on float[0] and enter 0. Same goes for float[1]. For float[2] enter 0.33 as a value. This will make the EmissiveGlow_Low to be blue. You need to edit now both Middle and High for this to work properly. Give the value 0.66 to Middle, and 0.99 to High.
And leave the value for the Alpha 1 by default.
8. Press Ctrl+S to save your edit.
9. Congrats! You have edited an .mdf file, but your work is not done yet in this case. Now, repeat the whole process within Struct Floats[1], [2], [3] and inside their own "struct Components"
Note: In order to make the entire Emissive Glow of the DT model blue, you need to edit each EmissiveGlow_Low/Middle/High. Unless to plan your DT glow edit to have various colors. I may add that sometimes it is not struct Components[0] which contains the first level Glow a.k.a EmissiveGlow_Low. In that case you have to expand each "Components" until you find the one you need. Some model does not have 3 levels on glow intensity, but 2 instead (Low and High).
- 010 Editor
- DMC5 mdf Template
1. Install 010 Editor and open DMC5 mdf edit.bt
2. Then open for example Dante DT's pl0110.mdf file located in \Devil May Cry 5\re_chunk_000\natives\x64\character\player\pl0110_dante_majin\pl0110_body\
3. Click on Struct Floats[0] to expand it.
4. You'll see many "struct Components" each labeled with a number. Now click on struct Components[0] to expand it.
Note: When you expand a "Components" part, you'll see it has a name, like: EmissiveMaskControl, HideArm_Limit, etc. under Value column. You'll need to find these 3 to edit DT Glow or any glowing effect on models found in .mdf files:
- EmissiveColor_Low
- EmissiveColor_Middle
- EmissiveColor_High
These 3 are the three levels of intensity for the glow.
If you can't see them make sure you have Show Local Variables enabled. You can do that by right clicking in the Template Results window and selecting Show Local Variables.
5. You'll need to edit 4 values, RGB and Alpha in each Emissive in order to change Glow Effect:
Note: R is for how much red in the color. G is for green and B is for Blue. Alpha is for transparency. Value 1 means 100% of that color and value 0 is 0% of that color. In case of Alpha, value 1 means 100% visible and value 0 means 0% visible.
6. Pick a color! For the sake of the example, let's go with blue! That means R and G values will be 0.
7. Double-click on float[0] and enter 0. Same goes for float[1]. For float[2] enter 0.33 as a value. This will make the EmissiveGlow_Low to be blue. You need to edit now both Middle and High for this to work properly. Give the value 0.66 to Middle, and 0.99 to High.
And leave the value for the Alpha 1 by default.
8. Press Ctrl+S to save your edit.
9. Congrats! You have edited an .mdf file, but your work is not done yet in this case. Now, repeat the whole process within Struct Floats[1], [2], [3] and inside their own "struct Components"
Note: In order to make the entire Emissive Glow of the DT model blue, you need to edit each EmissiveGlow_Low/Middle/High. Unless to plan your DT glow edit to have various colors. I may add that sometimes it is not struct Components[0] which contains the first level Glow a.k.a EmissiveGlow_Low. In that case you have to expand each "Components" until you find the one you need. Some model does not have 3 levels on glow intensity, but 2 instead (Low and High).