CookiePLMonster / SilentPatchBully

SilentPatch for Bully: Scholarship Edition (fixes crashes on Windows 10)
MIT License
384 stars 36 forks source link

Model issue: Weapon models not reading NIF properties #78

Open xChillax opened 3 years ago

xChillax commented 3 years ago

As you are probably aware, they changed the model extension from .dff to .nif for this port of the game, and this caused a LOT of issues.

Models do not read certain properties from .nif files, in the PS2 version this was not an issue and models displayed properly. The information that they are refusing to read are rotation, origin, and scale from within .nif NiTriStrips blocks.

Since it is completely ignored, it causes issues such as:

Weapons having incorrect sizes: PC version: image

.nif information (notice how it's supposed to be resized to be smaller): image

PS2 version: image

Weapons "floating away" from character's hands: image

.nif information: image

I manually edited the models to see if it would fix the issue, and it displayed them properly.

I'm not sure if this is something that could be fixed with SilentPatch, but I wanted to make you aware of this issue.

xChillax commented 3 years ago

Upon further investigation, while this would fix plenty of issues, it should NOT be used for the map models and other props, because apparently, they have this information too, but they are placed properly (fixed) with the .ipl position instead of relying on the model's data. This means that if you apply this fix to the map models too, they will be offset from their position, instead of fixing them.

Tomasak commented 1 month ago

Bumping this i think props in certain classes suffer from this too. as seen here https://youtu.be/0fZt4MVflG0?t=203

It works fine on mobile port https://youtu.be/r_Mm1B_Nz1I?t=57 and also x360 version https://youtu.be/GC5yNmqNFfk?t=420