Formats/SSXTricky:MPF(PS2 Model): Difference between revisions

no edit summary
No edit summary
No edit summary
Here is the structure made in programming languages for easy code implementation:
 
- [SSX Tricky mpf C# handler by GlitcherOG](<nowiki>https://github.com/GlitcherOG/SSX-PS2-Collection-ModderMultitool/blob/main/FileHandlers/Models/TrickyMPFModelHandlerTricky/TrickyPS2MPF.cs</nowiki>) SSX Tricky MPF C# handler by GlitcherOG]
 
- [SSX Tricky mpf GO struct by Erick](<nowiki>https://github.com/Erickson400/TheTrickyModels/blob/main/mpf/MpfStructure.go</nowiki>)
|-
|Byte[4]
|Version ID (Version 8)
|Unknown (Possibly version or magic)
|-
|UInt16
|-
|Bytes[4]
|Name/Type of Texture (UnusedUsed InTo PS2Tell Game If Material Has Gloss **_g)
|-
|Bytes[4]
|Name/Type of Texture (UnusedUsed InTo PS2Tell Game If The Object uses Environment Reflection envr)
|-
|Float32
|Flag Factor
|Unknown float value
|-
|Float32 
|-
|UInt32
|SubWeight Reference Group Offset
|-
|UInt32
|SubWeight Reference Group Count
|}
 
==== SubWeight Reference Group ====
{| class="wikitable"
!Type
|Bone weight (0 to 100)
|-
|UInt8
|UInt16
|Bone ID
|-
|UInt8
|UInt16
|Bone Internal File ID
|}
|-
|UInt32
|Starting Weight Ref ID (Generally Always 14)
|Unknown1
|-
|UInt32
|-
|Uint16
|Bone Weight Ref ID (In order to get ID you do (???))
|}