giabao1107 Posted July 24, 2023 Share Posted July 24, 2023 I made 2 new books for Wickerbottom (2 skull books in the pic). The Expanded is require the Abridged to craft, but the crafting image of the Abridged is missing. I have done everything I can but still can't fix it. 1 Link to comment https://forums.kleientertainment.com/forums/topic/149787-inventory-image-is-missing/ Share on other sites More sharing options...
-LukaS- Posted July 24, 2023 Share Posted July 24, 2023 When adding a custom item as an ingredient you need to specify the atlas and the image in the recipe. AddRecipe2("your_book", { Ingredient("your_ingredient", 1, "images/ingredient_atlas.xml", nil, "ingredient_image.tex") }, TECH, { atlas = "images/recipe_atlas.xml", image = "recipe_image.tex", builder_tag = "bookbuilder" },{ "CHARACTER", "BOOKS }) 1 Link to comment https://forums.kleientertainment.com/forums/topic/149787-inventory-image-is-missing/#findComment-1653864 Share on other sites More sharing options...
giabao1107 Posted July 24, 2023 Author Share Posted July 24, 2023 4 minutes ago, -LukaS- said: When adding a custom item as an ingredient you need to specify the atlas and the image in the recipe. AddRecipe2("your_book", { Ingredient("your_ingredient", 1, "images/ingredient_atlas.xml", nil, "ingredient_image.tex") }, TECH, { atlas = "images/recipe_atlas.xml", image = "recipe_image.tex", builder_tag = "bookbuilder" },{ "CHARACTER", "BOOKS }) Asset("IMAGE", "images/images_revive_upgrade.tex"), Asset("ATLAS", "images/images_revive_upgrade.xml"), Asset("ATLAS_BUILD", "images/images_revive_upgrade.xml", 256), Didn't these line specify the atlas and the image, bro? 1 Link to comment https://forums.kleientertainment.com/forums/topic/149787-inventory-image-is-missing/#findComment-1653866 Share on other sites More sharing options...
-LukaS- Posted July 24, 2023 Share Posted July 24, 2023 These are added to the Assets table just to register them, you still need to use them in the recipe. 1 Link to comment https://forums.kleientertainment.com/forums/topic/149787-inventory-image-is-missing/#findComment-1653869 Share on other sites More sharing options...
Rickzzs Posted July 24, 2023 Share Posted July 24, 2023 12 hours ago, giabao1107 said: Asset("IMAGE", "images/images_revive_upgrade.tex"), Asset("ATLAS", "images/images_revive_upgrade.xml"), Asset("ATLAS_BUILD", "images/images_revive_upgrade.xml", 256), Didn't these line specify the atlas and the image, bro? No, you need RegisterInventoryItemAtlas to really register. Link to comment https://forums.kleientertainment.com/forums/topic/149787-inventory-image-is-missing/#findComment-1654043 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now