I've been trying to make a sort of minigun-like animation on a weapon; Do nothing when idle, then loop a separate animation when firing. But I've been getting this weird line in the console: Code: [16:01:24.498] [Error] Could not load image asset '/items/guns/wornminigun/default', using placeholder default. (AssetException) No such asset '/items/guns/wornminigun/default' [16:01:24.500] [Error] Could not load image asset '/items/guns/wornminigun/default:idle.1', using placeholder default. (AssetException) No associated frames file found for image '/items/guns/wornminigun/default' while resolving image frame '/items/guns/wornminigun/default:idle.1' Why does it keep looking for a "default" file?! Here: From the wornminigun.activeitem file Code: "inventoryIcon" : [ { "image" : "wornminigun.png:idle" } From the wornminigun.animation file Code: { "globalTagDefaults" : { "paletteSwaps" : "" }, "animatedParts" : { "stateTypes" : { "firing" : { "wornminigun" : "off", "states" : { "off" : {}, "fire" : { "frames" : 3, "cycle" : 0.1, "mode" : "transition", "transition" : "off" } } }, "middle" : { "wornminigun" : "idle", "states" : { "idle" : { "frames" : 1, "cycle" : 1.0, "mode" : "loop" } } } }, "parts" : { "butt" : { "properties" : { "centered" : true, "image" : "<partImage><paletteSwaps>", "offset" : [0, 0], // x offset is set dynamically "transformationGroups" : ["weapon"] } }, "middle" : { "properties" : { "centered" : true, "offset" : [0, 0], // x offset is set dynamically "transformationGroups" : ["weapon"] }, "partStates" : { "middle" : { "idle" : { "properties" : { "image" : "<partImage>:idle.<frame><paletteSwaps>" } } } } }, "middlefullbright" : { "properties" : { "centered" : true, "offset" : [0.9, 0.35], "zLevel" : 1, "transformationGroups" : ["weapon"], "fullbright" : true }, "partStates" : { "middle" : { "idle" : { "properties" : { "image" : "<partImage>:idle.<frame><paletteSwaps>" } } } } }, "barrel" : { "properties" : { "centered" : true, "image" : "<partImage><paletteSwaps>", "offset" : [0, 0], // x offset is set dynamically "transformationGroups" : ["weapon"] } }, "muzzleFlash" : { "properties" : { "zLevel" : -1, "centered" : true, "offset" : [0.75, 0], "fullbright" : true, "transformationGroups" : ["muzzle"] }, "partStates" : { "firing" : { "fire" : { "properties" : { "image" : "<partImage>:<variant>.<frame>" } } } } } } } } And lastly, wornminigun.frames: Code: { "frameGrid" : { "size" : [57, 19], "dimensions" : [4, 1], "names" : [ [ "idle", "firing.1", "firing.2", "firing.3"] ] } }
I assume you changed the frame names to firing.1 2 and 3 yourself. The error says it's looking for idle.1 but your idle frame's name is just "idle". Change it to "idle.1" and see if that fix it. Anyway I'm not too sure it will.
Here is what you got wrong: You didn't set your image for the middle part. It wasn't able to load default because default is also the name of the backup file that is used if you don't set an image value for something. If you want some examples of animated guns you can check my dubstep cannon in my pony modpack it is fully animated. I haven't commented it but I think you should be able to find your self.