How do I fix this, I cant find a way to fix it. It's a copy of another object but I wanted to use a different image and animation. I should say it appears for 11/12 frames then disappears for that 1 frame. { "objectName" : "bountytv2", "colonyTags" : [], "rarity" : "Rare", "interactAction" : "OpenCraftingInterface", "interactData" : { "config" : "/interface/windowconfig/bountycraftinganvil.config", "paneLayoutOverride" : { "windowtitle" : { "title" : "Requisition Terminal", "subtitle" : "Used by Bounty Hunters to obtain equipment", "icon" : { "file" : "/interface/crafting/capturestation.png" } } }, "filter" : [ "requisition" ] }, "printable" : false, "description" : "Used by Bounty Hunters to obtain equipment.", "shortdescription" : "^orange;bounty tv2^white;", "race" : "generic", "category" : "crafting", "price" : 160, "lightColor" : [40, 120, 130], "apexDescription" : "Used by Bounty Hunters to obtain equipment.", "avianDescription" : "Used by Bounty Hunters to obtain equipment.", "floranDescription" : "Used by Bounty Hunters to obtain equipment.", "glitchDescription" : "Used by Bounty Hunters to obtain equipment.", "humanDescription" : "Used by Bounty Hunters to obtain equipment.", "hylotlDescription" : "Used by Bounty Hunters to obtain equipment.", "novakidDescription" : "Used by Bounty Hunters to obtain equipment.", "inventoryIcon" : "bountytv2icon.png", "orientations" : [ { "imageLayers" : [ { "image" : "bountytv2.png:<color>.<frame>", "fullbright" : true }, { "image" : "bountytv1lit.png:<color>.<frame>" } ], "imagePosition" : [-40, -24], "direction" : "left", "flipImages" : false, "frames" : 12, "animationCycle" : 1.1, "spaceScan" : 0.1, "anchors" : [ "background" ] }, { "imageLayers" : [ { "image" : "bountytv2.png:<color>.<frame>", "fullbright" : true }, { "image" : "bountytv1lit.png:<color>.<frame>" } ], "imagePosition" : [-40, -24], "direction" : "right", "frames" : 12, "animationCycle" : 1.1, "spaceScan" : 0.1, "anchors" : [ "background" ] } ] }
Does your weapon have light effects? If not you don't need all these "fullbright" and "bountytv1lit.png" lines. Maybe that's the problem.
I've tried that and it didn't work for the object. It just blinks after the last frame and nothing else does this. It's a copy paste of a previous item that works fine.
My best guess is that you forgot to fill in a frame somewhere. Though if you can capture it in a gift or a video that would be much appreciated as just flashing out could mean a lot of different problems.
I'm starting over and now my image wont load: [19:54:48.231] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png', using placeholder default. (AssetException) Image /objects/other/bountytv/bountyhunt.frames column 8 is out of bounds for x-dimension 7 [19:54:48.234] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.default', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.default' [19:54:48.239] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png', using placeholder default. (AssetException) Image /objects/other/bountytv/bountyhuntlit.frames column 8 is out of bounds for x-dimension 7 [19:54:48.241] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.default', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.default' [19:54:51.730] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.0', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.0' [19:54:51.733] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.0', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.0' [19:54:51.879] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.1', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.1' [19:54:51.883] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.1', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.1' [19:54:52.079] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.2', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.2' [19:54:52.083] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.2', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.2' [19:54:52.230] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.3', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.3' [19:54:52.233] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.3', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.3' [19:54:52.414] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.4', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.4' [19:54:52.418] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.4', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.4' [19:54:52.616] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.5', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhunt.png' while resolving image frame '/objects/other/bountytv/bountyhunt.png:default.5' [19:54:52.621] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.5', using placeholder default. (AssetException) No associated frames file found for image '/objects/other/bountytv/bountyhuntlit.png' while resolving image frame '/objects/other/bountytv/bountyhuntlit.png:default.5' I have tried adding frames(Started with 6 frames and one row, now its 7) and that doesn't work. I think I fixed the issue of the earlier post but deleted those files to try a new. So yeah
that just means that the dimentions you put in your frames file are wrong. here is a basic tutorial for you: 1st: A .frames must have the same name as an image name so if my image is called image.png my frame will be called image.frames 2nd: The Size and Dimension are what tells the game how to read your sprite sheet, i've made an example with one of my guns. The Size is the size of a single sprite, in the case of my gun each individual sprite frames are 38(x) by 9(y), so my my size element is declared like so: "size" : [ 39, 8 ] The Dimensions tells the game how to cut the sprite sheet to get each different state of the animation. the best way to visualize it is the number of columns and rows there is in your table, but you can also math it out if you can't count for what ever reason. since my sprite sheet has 5 columns and 16 lines, In my case my dimensions is declared like so: "dimensions" : [ 5, 16 ] 3rd: The names array, but i am sure that you are familiar with that. 4th there is one last optional element called "aliases", it's placed outside of the "frameGrid" Element. it is basically a json object that give alternate names to specific frames. the basic format of it goes a bit like this: on the right the source frame name on the left the alternate name. so if i wanted my idle frame to also be my fire.1 frame i'd have something a bit like this: Code: "aliases" : { "fire.1" : "idle" }
I'll just post what I have: { "frameGrid" : { "size" : [76, 48], "dimensions" : [7, 1], "names" : [ [ "default.0", "default.1", "default.2", "default.3", "default.4", "default.5", "default.6", "default.7" ] ] }, "aliases" : { "default.default" : "default.0" } } { "objectName" : "bountytv", "colonyTags" : [], "rarity" : "Rare", "interactAction" : "OpenCraftingInterface", "interactData" : { "config" : "/interface/windowconfig/bountycraftinganvil.config", "paneLayoutOverride" : { "windowtitle" : { "title" : "bounty tv", "subtitle" : "Used by Bounty Hunters to obtain equipment", "icon" : { "file" : "/interface/crafting/capturestation.png" } } }, "filter" : [ "requisition" ] }, "printable" : false, "description" : "Used by Bounty Hunters to obtain equipment.", "shortdescription" : "^orange;Bounty TV^white;", "race" : "generic", "category" : "crafting", "price" : 160, "lightColor" : [77, 110, 128], "lightPosition" : [0, 1], "flickerPeriod" : 0.8, "flickerMinIntensity" : 0.95, "flickerMaxIntensity" : 1.00, "flickerPeriodVariance" : 0.0, "flickerIntensityVariance" : 0.0, "apexDescription" : "Used by Bounty Hunters to obtain equipment.", "avianDescription" : "Used by Bounty Hunters to obtain equipment.", "floranDescription" : "Used by Bounty Hunters to obtain equipment.", "glitchDescription" : "Used by Bounty Hunters to obtain equipment.", "humanDescription" : "Used by Bounty Hunters to obtain equipment.", "hylotlDescription" : "Used by Bounty Hunters to obtain equipment.", "novakidDescription" : "Used by Bounty Hunters to obtain equipment.", "inventoryIcon" : "bountytvicon.png", "orientations" : [ { "imageLayers" : [ { "image" : "bountyhunt.png:<color>.<frame>", "fullbright" : true }, { "image" : "bountyhuntlit.png:<color>.<frame>" } ], "imagePosition" : [-38, -24], "direction" : "left", "flipImages" : false, "frames" : 7, "animationCycle" : 1.1, "spaceScan" : 0.1, "anchors" : [ "background" ] } ] } lit image for size example. Littarally a copy and paste of an earlier object I made and that one works flawlessly.
Ok, so that worked for the image not showing up and now we are back to the blink at the end of each animation. I'll upload a video of it:
It's exactly like the lit frames, so I have no clue what the problem could be. yea I thought that too but even if I take it down to 2 frames it does it with the last frame.
[12:56:21.655] [Error] Could not load image asset '/objects/other/bountytv/bountyhunt.png:default.0', using placeholder default. (AssetException) No such frame default.0 in frames spec /objects/other/bountytv/bountyhunt.frames [12:56:21.659] [Error] Could not load image asset '/objects/other/bountytv/bountyhuntlit.png:default.0', using placeholder default. (AssetException) No such frame default.0 in frames spec /objects/other/bountytv/bountyhuntlit.frames
It says that default.0 is missing. So you probably just need to delete the default.7 you have and add a default.0 name at the start of your name array. Welp this is weird. I thought it started at 1...