Scrimbles Posted July 14, 2020 Share Posted July 14, 2020 So, theres this shadow enemy I have that can ONLY be clicked on by one of its tails: And I have no idea why this is the case. creepingfear.lua It doesn't seem to have anything to do with the CharacterPhysics, the scale, or orientation and layer. 2 Link to comment https://forums.kleientertainment.com/forums/topic/120050-custom-mobs-clickable-area-is-super-small-and-limited-to-one-apendage/ Share on other sites More sharing options...
. . . Posted July 16, 2020 Share Posted July 16, 2020 (edited) this problem is common with mod stuff and from my experience it almost always happens when your stuff is texture is big and isn't super low res textures like the vanilla game (and even sometimes happens on stuff which isn't big so it's a very random problem that haunts mod stuff). there isn't any way to fix it to my knowledge other than trying to make a whole new scml from scratch... really annoying Edited July 16, 2020 by --- -.- Link to comment https://forums.kleientertainment.com/forums/topic/120050-custom-mobs-clickable-area-is-super-small-and-limited-to-one-apendage/#findComment-1354649 Share on other sites More sharing options...
IronHunter Posted July 18, 2020 Share Posted July 18, 2020 I noticed a number of ents that are aligned ground such as ponds or shadow hand usually have a sortorder of 3, even then I have no idea why the mouseover is acting funky. Small objects seem to use setraytestonbb(true), I assume that changes their bounding box for mouseover to the texture's dimensions, but there is very poor documentation for trouble shooting stuff like this. 1 Link to comment https://forums.kleientertainment.com/forums/topic/120050-custom-mobs-clickable-area-is-super-small-and-limited-to-one-apendage/#findComment-1355125 Share on other sites More sharing options...
Scrimbles Posted July 19, 2020 Author Share Posted July 19, 2020 (edited) Damn, not getting notified of some of these replies! Thanks people, unfortunately messing around with sortorder and SetRayTestOnBB don't seem to have any effect, and from brief tests I haven't been able to get it clickable by messing around with texture size. Maybe doing it again from scratch is the only option, damn... Edit: It seems that when the animations were made all of the sprites were rotated in spriter, instead of the original png being in the right orientation. Apparently this can cause problems with how the click boxes are made. Edited July 19, 2020 by Ogrecakes 1 Link to comment https://forums.kleientertainment.com/forums/topic/120050-custom-mobs-clickable-area-is-super-small-and-limited-to-one-apendage/#findComment-1355501 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