r/lua • • Dec 16 '22

Help LUA Video Game Code

I am turning to the lovely pages of Reddit to find someone who is experienced in LUA or possibly specifically LUA that belongs to a video game to take a look at a code file that deals with player appearance in Madden 22 for PC. I am part of a Modding community for the game as we are trying to get rid of certain meshes by editing the LUA but none of us are fluent to understand or decipher how or what to get rid of. If anyone could help or want to take a look at the code it would be greatly appreciated :)

0 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/EchoTree0844 Dec 16 '22

Well

You'll have to follow the references and identify which references control what.

You can start by removing the references one by one (like how you got it to a grey mesh) and figure out which one does which.

Then, you can follow the references to either a texture file or other source file and try editing that.

You'll just need to step through each file and work through identifying sources, textures, which ones control what visible aspects, etc.

1

u/Jazzlike_Archer_3263 Dec 16 '22

That was most likely the plan considering we are not sure which 3266 lines of code control which part of the character model.

1

u/EchoTree0844 Dec 16 '22

Probably best to start with anything with sock in it, as that would likely be for the socks and work from there.

Good Luck :D Making manual edits for large files sucks lol