kyupita Posted September 20, 2025 Share Posted September 20, 2025 Hi, new modder here! I'm currently working on my second character mod, and he's pretty close to being done, but I'm having an issue with the item. I'm trying to make a custom fishing rod and plan to replace the art with my own. My first problem is that it's too small when equipped. For context, I'm using a custom item template. The ground sprite is the correct size since I scaled it up in the code, but it seems it doesn't apply to the swap sprite (I tried putting the same SetScale in the OnEquip function, but that didn't work). I'm also a little too scared to use a different sized canvas for the sprite since I'm worried that would mess something up... Second, nothing happens whenever I hover over the item on the ground. Nothing else is wrong with it, and I can pick it up while holding Space, it's just that clicking on it does nothing and no name pops up. Not that big of an issue, just a minor annoyance Also felt worth adding: I had the same issue with my first mod since he also has a custom item, only a little different. When it was placed on the ground, you could just step on top of it, your character wouldn't go behind it (The item sprite had a different canvas size, so that's probably why). However, I noticed whenever it was placed in the ocean the sprite was placed differently as it floated, and I could click on the ripple where it was supposed to be. That made me think that maybe the hitbox was just placed weirdly, but placing it back on land and trying to click everywhere on the screen did nothing Here's the prefab for the item: tsurizao.lua Link to comment https://forums.kleientertainment.com/forums/topic/168104-item-sprite-trouble/ Share on other sites More sharing options...
kyupita Posted September 25, 2025 Author Share Posted September 25, 2025 Don't need help with this anymore I finally figured out what went wrong 😭😭 Just needed to make a new scml file Link to comment https://forums.kleientertainment.com/forums/topic/168104-item-sprite-trouble/#findComment-1837297 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