SenseiUsagi / umap-to-uefn-converter

This is the source code for my umap to uefn converter website.
https://senseiusagi.github.io/umap-to-uefn-converter/
GNU Affero General Public License v3.0
8 stars 0 forks source link

Script does not enable mirrored as "True". #9

Closed VisiIsHere closed 3 months ago

VisiIsHere commented 3 months ago

Description When the script converts the Json file into a pasteable .txt file, instead of changing a BP's mirrored function to "True", it simply sets the scale to -1. This would be fine, however it causes doors to open in strange ways. The fix to this in UEFN is just to enable mirrored, which causes them to open normally again.

To Reproduce

  1. Go to fmodel and find a umap you wish to convert.
  2. Save the json and put it in the converter.
  3. Go back to the Fmodel umap and search up "Mirrored"
  4. Find the display name of the actor, it will be nearby the "Mirrored" thing, next to "Name", copy the display name.
  5. Go to the converted .txt file and search that name, you'll find that there is no "Mirrored: True" section, only scale -1.
  6. Bonus, find a door with the scale of -1, (Not mirrored) go ingame and open the door, and you'll see how it opens weird. Then open a door that has "Mirrored" enabled, you will see it opens normally.

Expected behavior At first I thought it was an Epic issue, as they have sometimes set the scale to -1 instead of mirroring, however I found out that the script simply doesn't have anything to enable "Mirror", I expected it to do that when converting.

Screenshots Screenshot 2024-07-11 090220 Screenshot 2024-07-11 090146

^ ^ Here are two screenshots of the same actor, one in the original UMAP Json showing Mirrored: True, and another in the converted script txt.

Additional context None.