doraexplora Posted August 23, 2024 Share Posted August 23, 2024 I am very confused at the concept of making a custom backpack, does anyone have the exact lua code to this? If not, then is it acceptable to just copy and paste the "backpack.lua" that's already in the game? Also, the biggest problem for me is the spriter file since I have no idea how it's supposed to look. Does it need three images or...? And what should the image size be in pixels? Let me know pls I got no idea Link to comment https://forums.kleientertainment.com/forums/topic/159159-does-anyone-know-how-to-make-a-custom-backpack/ Share on other sites More sharing options...
Haruhi Kawaii Posted August 24, 2024 Share Posted August 24, 2024 On 8/23/2024 at 8:13 AM, doraexplora said: I am very confused at the concept of making a custom backpack, does anyone have the exact lua code to this? If not, then is it acceptable to just copy and paste the "backpack.lua" that's already in the game? Also, the biggest problem for me is the spriter file since I have no idea how it's supposed to look. Does it need three images or...? And what should the image size be in pixels? Let me know pls I got no idea You can start by copying backpack.lua and renaming the prefab to match your custom backpack. To custom UI, slots, navigate to the assets folder where the .zip files contain the anim. Then, in your modmain, copy the relevant code for the backpack from scripts/containers.lua Link to comment https://forums.kleientertainment.com/forums/topic/159159-does-anyone-know-how-to-make-a-custom-backpack/#findComment-1742998 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now