Jump to content

Custom Item floating animation


Recommended Posts

Well hello there, I'm in the proces of making a brand new character mod (a character mod, how original... yeah I know ;p). With this I'm adding a lot of new custom items, however some of these items are floatable, in which case they can float on water. The problem is that, even though I did use the function to make the item floatable, the ripples on the water do not appear. 

MakeInventoryFloatable(inst, "idle_water", "idle")

Besides this I've tried to set the

useownripples

variable to false with no result (should be nill if I didn't assign anything to it, but I thought to give it a try).

Furthermore I've been looking around in the floatable.lua and standardcomponents.lua component files but to no avail. If anyone has any tips, they are realy appreciated.

Edit: I could manually add a ripple effect to the idle_water animation of the custom items but that is something that I'm trying to prevent doing

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...