So I'm very confused about this particular error, not because I don't know why it appears, but because I have no clue why it's appearing for this particular object. That being said, the object renders fine ingame, except for in the inventory and when placing it, but once it's placed, it shows up fine. The reason this is odd is because I've compared it and it's associated frames files with multiple vanilla objects and by all accounts it shouldn't be causing any errors, but well, it is. Anyways, here's the object file: Code: { "objectName" : "star21pxred", "colonyTags" : ["light"], "rarity" : "Common", "category" : "decorative", "price" : 10, "description" : "An artificial star.", "shortdescription" : "Star, Red 21px", "race" : "generic", "apexDescription" : "Quite pretty, I must admit.", "avianDescription" : "Why be a Stargazer when the stars are within our grasp?", "floranDescription" : "Starsss.", "glitchDescription" : "Observation. An artificial star.", "humanDescription" : "To the stars! Oh, it's right here? Nevermind.", "hylotlDescription" : "An amazing reproduction of the real thing.", "novakidDescription" : "I see m'self in this.", "inventoryIcon" : "icon.png", "orientations" : [ { "imageLayers" : [ { "image" : "star21pxred.png:<color>.<frame>", "fullbright" : true }, { "image" : "star21pxredlit.png:<color>.<frame>" } ], "imagePosition" : [-10, 0], "frames" : 4, "animationCycle" : 1.0, "spaces" : [ [0, 0], [0, 0] ], "anchors" : [ "background" ] } ] } And it's associated frames file (the one for the lit image is the same): Code: { "frameGrid" : { "size" : [21, 21], "dimensions" : [4, 1], "names" : [ [ "default.0", "default.1", "default.2", "default.3" ] ], "aliases" : { "default.default" : "default.0" } } } This is the error it causes: Code: Error: Could not load image asset '/objects/generic/stars/star21pxred.png:default.default', using placeholder default. (AssetException) No such frame default.default in frames spec /objects/generic/stars/star21pxred.frames Error: Could not load image asset '/objects/generic/stars/star21pxredlit.png:default.default', using placeholder default. (AssetException) No such frame default.default in frames spec /objects/generic/stars/star21pxredlit.frames So what am I doing wrong here? I seriously can't tell. Hopefully one of you will. Thanks in advance.
go ahead and pull from my directory here https://github.com/sayterdarkwynd/FrackinUniverse_RC/tree/master/celestial/stars and https://github.com/sayterdarkwynd/FrackinUniverse_RC/blob/master/celestial.config.patch that should give you a visual comparison. mine work without errors. long story short: frames files are a-holes sometimes.
my bad. missed the code clicky. edit: okay ... you're right. Code looks clean and dandy. The only things I can see being the issue: - you've got it pointing to the wrong directory, so it can't find the image - the image name and the frames file name don't match up perfectly. - typo I've had similar issues and sometimes it ends up being a simple brain-fart. Quadruple-Umpteen check the file names and folder structure to make certain everything is pointing to the right place. Failing that, duplicate another object, replace all the crap with your own stuff again, rename all the files and you're probably golden.
-No I don't. All the object files, sprites, and frames files are in the same directory. -frames files and sprite files share the same file names (except for extensions of course) -where's the typo? I'll fool around with the files later but honestly I see no reason why these are causing issues. What's even stranger to me is the fact that when I actually place the stars they show up fine, but when I am placing them there's no preview of them, they only show up once I actually place them. I had this same problem happen recently with another file I was working on and I am starting to think the game is having trouble loading all the mods I have running. I might try merging some together to see if it helps.
Yea, because all is working but the icons, I figured maybe you just had a single error in there somewhere. Filename mistyped, etc. It happens, and sometimes you just don't notice. Nothing else looks out of place. Hate when that happens.
The icon is working fine. I'm using a temporary icon (icon.png) because I haven't done all the icons for the different stars yet. When I click on the object in my inventory and drag it out to place it but still haven't placed it yet, that's when it doesn't show up, when I actually click to place it it'll show.
ah, my bad. Strange though....as I suggested: remake the item from scratch via copy of another working object. modify with your actual code....see what happens. Worst case scenario , that usually does the trick (redundancy sucks, but such is life)
hate this error what kind of object is this? if its toggleable light, i think it needs animation file to work properly
It looks like you didn't close your frameGrid before opening aliases. (You have aliases inside of frameGrid instead of the two being the same depth.) Check out outpostmicrowave: Code: { "frameGrid" : { "size" : [24, 16], "dimensions" : [4, 1], "names" : [ [ "default.0", "default.1", "default.2", "default.3" ] ] }, "aliases" : { "default.default" : "default.0" } }