SuperHackio / GalaxyLevelEngine

A new Level Engine for Super Mario Galaxy 2. Featuring a hubworld system replacing the worldmap, 8 stars per galaxy, and more!
56 stars 3 forks source link

TicoFatStarPiece Camera Issue #95

Closed mariokirby1703 closed 1 year ago

mariokirby1703 commented 1 year ago

Describe the bug i'm having trouble with a TicoFatStarPiece camera, when talking to him first the camera is completely fine, after feeding him the starbits the camera rotates 180°. I only changed the camera when he's flying off and spawing the planet. Notice: the hungry luma is on the underside of a planet

To Reproduce Steps to reproduce the behavior:

  1. Place a TicoFatStarPiece on the underside of a planet
  2. Talk to him ingame (the first talking cam will work normally, after feeding him it will rotate 180°)
  3. When trying to set up the Hungry Luma's cams like in SMG1 <e:ハラペコスターピースチコ固有飛行> works for when he's flying off and spawning the planet, but <e:ハラペコスターピースチコ固有変身> doesnt work (which we think is used for talk cam after feeding)

Expected behavior Camera should either not rotate after feeding him and rather use the camera of the camera area Mario is inside at the moment or just the same cam as used before feeding him.

Video:

https://github.com/SuperHackio/GalaxyLevelEngine/assets/60894103/1396ccbc-7fcf-4688-a98e-580ac2aa5c9a

SuperHackio commented 1 year ago

OKAY!

I experienced this bug in testing, and I know what this is.

It's actually NOT a bug! The vanilla MSBT label for the Starpiece hungry luma actually registers an event camera and not the normal talk camera.

You can change this, though! Just open up LocalizeData/<language>/MessageData/SceneCommonMessage.arc and go to the TicoFat MSBT.

Change the TicoFat_StarPiece007 message's Camera Type to Normal, and the Camera ID to Zero.

image

That will make the NPC use the normal talking camera instead. (which will be correctly rotated. I did test this on gravity planets and it does work)

Also, you can change TicoFat_Request001's Talk Type from Auto to Normal, if you want to match what GLE-V3 will default to upon release. (GLE-V3's "stock GLE files" will already have these MSBT changes)

SuperHackio commented 1 year ago

Also, the Camera ID's you're looking for are the ones from SMG2, not SMG1 (unless they're the same, I didn't verify that)

e:ハラペコスターピースチコ固有変身VVV for the Transformation camera (replace VVV with the Camera ID) e:ハラペコスターピースチコ固有飛行VVV for the actual flight camera (replace VVV with the Camera ID)

I should put these on the Wiki...