I'v been getting into animating items a lot lately, but I came to a halt when trying to make an animated 8 frame Axe. With no luck... I have the .png with all 8 frames and the .frames file to go with it, here is the code for the .frames { "frameGrid" : { "size" : [48, 24], "dimensions" : [8, 1], "names" : [ [ "default.0", "default.1", "default.2", "default.3", "default.4", "default.5", "default.6", "default.7" ] ] }, "aliases" : { "default.default" : "default.0" } } and here is the code for the .activeitem { "itemName" : "nebulanbattleaxe", "level" : 2, "price" : 480, "maxStack" : 1, "rarity" : "Common", "description" : "This axe is surprisingly hefty for its size.", "shortdescription" : "Tungsten Axe", "tooltipKind" : "sword", "category" : "axe", "twoHanded" : false, "itemTags" : ["weapon","melee","axe"], "inventoryIcon" : "nebulanbattleaxeicon.png", "animation" : "/items/active/weapons/melee/axe/battleaxe.animation", "animationParts" : { "blade" : "blade.png", "blade" : { "frames" : 8, "cycle" : 0.25, "mode" : "loop", }, "handle" : "" }, "animationCustom" : { "sounds" : { "fire" : [ "/sfx/melee/swing_axe.ogg" ] } }, "scripts" : ["/items/active/weapons/melee/meleeweapon.lua"], "elementalType" : "physical", "aimOffset" : -1.0, "primaryAbilityType" : "axecleave", "primaryAbility" : { "fireTime" : 0.9, "baseDps" : 9.5, "damageConfig" : { "knockback" : 25 } }, "builder" : "/items/buildscripts/buildunrandweapon.lua" } How do I get this to work?
Animated weapons have to use the energyweapons.lua See if that helps, if you still have trouble, I'll look through your files and get it working for you.