CODE Code related to changing path_id = for m_GameObject pointers (1 Viewer)

FusionFall.org

Website Owner
Staff member
Website Owner
Member
FFOrderedDict([('m_GameObject', ObjectPointer(file_id=0, path_id=1079)), ('m_Material', None), ('m_IsTrigger', False), ('m_SmoothSphereCollisions', False), ('m_Convex', True), ('m_Mesh', ObjectPointer(file_id=0, path_id=60))])

^^ This is the output for index 1851 from CustomAssetBundle-f084c5842e2eb4f738aa4218bbc4514c

We're trying to change the path_id from 60 to 61

We tried these lines of code
Try 1 : https://pastebin.com/XrabAhR5 Try 2 : https://pastebin.com/E7UCyniy

But we get errors
Image

try 1 ^^
Image

Try 2 ^^


Sir.Dank wrote those commands, but I wrote this one : xdtdata['m_Mesh'] = 'ObjectPointer(file_id=0, path_id=61)'

Image


mine works, but it adds apostrophes where they don't belong, and it breaks the game


your one is actually pretty near to the actual way of doing it


simply do this: xdtdata['m_Mesh'].path_id = 61

It works!
😄
🥳
 

Attachments

  • path code.txt
    933 bytes · Views: 28
Top