Bow animation is not ingame

Get help and support for using Cubik Studio.
Post Reply

Bow animation is not ingame

Post by zx4000 » 04 Sep 2017, 20:35

so i have started making textures for the minecraft bow which works inside minecraft, but i have now tried making a bow animation for the pulling but it wont load into the game for me and just keeps the new bow design but at a strange angle. would anyone be able to find out why this is not working? it is saved into the same place the model is saved? MANY THANKS!
Attachments
the bow design that shows in game
the bow design that shows in game
bow_pulling_0.json
this is the first step of the animation which doesnt show in game
(200.2 KiB) Downloaded 270 times
bow.json
this is the new bow model i worked on which does show up
(188.96 KiB) Downloaded 248 times
x
User avatar
zx4000
Early Adopter
Posts: 1
Joined: 26 Aug 2017, 20:28

Re: Bow animation is not ingame

Post by Geenium » 05 Sep 2017, 07:12

The animation for the bow is made using predicates, these are actually included in the bow.json by default.
When you made the custom model you've removed the predicates from the bow model, you need to add the predicates back into the bow.json.

Add this into your bow.json file:

Code: Select all

"overrides": [
    {
        "predicate": { "pulling": 1 }, "model": "item/bow_pulling_0"
    },
    {
        "predicate": { "pulling": 1, "pull": 0.65 }, "model": "item/bow_pulling_1"
    },
    {
        "predicate": { "pulling": 1, "pull": 0.9 }, "model": "item/bow_pulling_2"
    }
]
x
User avatar
Geenium
Early Adopter
Posts: 32
Joined: 19 Mar 2014, 12:04

Post Reply

Return to “Help Centre”