Resident Evil 4 2007 pc (UBISOFT port)
SMD hexadecimal parameters
Attention, this information is only useful for those who want to make changes to complete scenarios, as it is not enough to just replace the pmd models.
r100_004.SMD was used as a reference for this example.
The bytes below correspond to a complete SMD entry.
=====================================================================
40 00 1B 01 D0 46 00 00 D0 C9 26 00 00 00 00 00
9E 87 E2 C7 00 00 00 00 00 00 00 00 00 00 80 3F
00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F
00 00 20 41 00 00 20 41 00 00 20 41 00 00 80 3F
81 00 FF 00 00 00 00 00 09 00 00 00 00 00 00 00
2F AD 65 47 00 00 00 00 00 00 00 00 00 00 80 3F
00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F
00 00 20 41 00 00 20 41 00 00 20 41 00 00 80 3F|
=====================================================================
1B 01 = Number of models that the SMD has (283 in integer value)
81 00 = Model ID contained within the SMD
FF 00 = SMX ID
09 00 = Offset ( 09 00 Used for specific models ...)
2F AD 65 47 = Translation X
00 00 00 00 = Translation Y
00 00 00 00 = Translation Z
00 00 00 00 = Rotation X
00 00 00 00 = Rotation Y
00 00 00 00 = Rotation Z
00 00 20 41 = Scale X
00 00 20 41 = Scale Y
00 00 20 41 = Scale Z
I hope this is useful for those who modify scenarios