Page 1 of 1
Animated Inventory Images

Posted:
Mon Jan 16, 2017 22:38
by GreenDimond
How would I make an inventory image animated? Is this even possible? Such as an enchantment texture: Animated shinyness type thing on tools if enchanted (just an example).
Re: Animated Inventory Images

Posted:
Tue Jan 17, 2017 07:34
by D00Med
I would also like to know whether this is possible
Re: Animated Inventory Images

Posted:
Tue Jan 17, 2017 13:18
by Wuzzy
Nope.
Re: Animated Inventory Images

Posted:
Tue Jan 17, 2017 13:59
by TumeniNodes
GreenDimond wrote:How would I make an inventory image animated? Is this even possible? Such as an enchantment texture: Animated shinyness type thing on tools if enchanted (just an example).
I was thinking the same thing but for wielded items. But I do not believe it is an available option for now.
I could swear though that when I first started using MT that the torches were animated when wielding... of course, I'm psychotic too so.... :P
Re: Animated Inventory Images

Posted:
Tue Jan 17, 2017 14:42
by texmex
I guess this is as good as it gets.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Re: Animated Inventory Images

Posted:
Tue Jan 17, 2017 19:52
by D00Med
I could swear though that when I first started using MT that the torches were animated when wielding... of course, I'm psychotic too so.... :P
I think I've seen that before, maybe in freeminer or voxelands?
Re: Animated Inventory Images

Posted:
Wed Jan 18, 2017 20:35
by Byakuren
It's possible to animate an inventory image. For each frame of animation, register a copy of your item with that frame as its texture. Then in a globalstep callback, search through all players' inventories and look for the item, replacing it with the next frame of animation if found.
Re: Animated Inventory Images

Posted:
Wed Jan 18, 2017 20:46
by D00Med
Byakuren wrote:It's possible to animate an inventory image. For each frame of animation, register a copy of your item with that frame as its texture. Then in a globalstep callback, search through all players' inventories and look for the item, replacing it with the next frame of animation if found.
That seems a bit inefficient.
Re: Animated Inventory Images

Posted:
Wed Jan 18, 2017 22:58
by GreenDimond
Byakuren wrote:It's possible to animate an inventory image. For each frame of animation, register a copy of your item with that frame as its texture. Then in a globalstep callback, search through all players' inventories and look for the item, replacing it with the next frame of animation if found.
code?
Re: Animated Inventory Images

Posted:
Sat Jan 21, 2017 09:20
by Alcyone
I've seen that
in a video of sys4, check after 3:21 (it's in French). You may ask him
Re: Animated Inventory Images

Posted:
Sat Jan 21, 2017 12:42
by Wuzzy
Alcyone, this is just the effect of the setting “inventory_items_animations = true” as mentioned earlier.
This setting is a client-only setting.
This is missing the point of this thread, I guess the goal is to make it controllable by mods.
Re: Animated Inventory Images

Posted:
Tue Jan 24, 2017 10:57
by Alcyone
Wuzzy wrote:Alcyone, this is just the effect of the setting “inventory_items_animations = true” as mentioned earlier.
This setting is a client-only setting.
This is missing the point of this thread, I guess the goal is to make it controllable by mods.
Sorry, I do not see your answer.
I can't help on this
Re: Animated Inventory Images

Posted:
Sat Feb 11, 2017 23:54
by bigfoot547
I made a github issue for this, but it got shut right down.
paramat...
Re: Animated Inventory Images

Posted:
Sun Feb 12, 2017 00:25
by kaeza
bigfoot547 wrote:I made a github issue for this, but it got shut right down.
paramat...
You mean
#4758? It's still open, but it seems people misunderstood the issue.
Re: Animated Inventory Images

Posted:
Sun Feb 12, 2017 00:54
by TumeniNodes
Obviously this is not in reference to the animated, spinning (or rotating) inventory animations.
In my opinion..., working on animated wielded items would make more sense and a better feature than having animated items in the inventory.
Think how cool it would be to walk around holding a torch... which is animated in the hand : )
(though my brain is still convinced this was possible in an older build) and I have no idea why... back around .0.4.09 or 10?
Then again.... I am heavily medicated so.... it may have been during a transition from one med to another :P
Either that or, I can see into the future.
either way.... I'm telling you..., it was wicked cool!