Dictator Posted July 27, 2014 Share Posted July 27, 2014 So, I created the custom tab with one recipe (for testing purposes) but for someone reason the custom icon I created won't appear.In the Modmain I added the assets Asset( "IMAGE", "images/hud/tab_sorcery.tex" ), Asset( "ATLAS", "images/hud/tab_sorcery.xml" ),and lines for the tab and custom recipeGLOBAL.STRINGS.TABS.SORCERY = "Sorcery"GLOBAL.STRINGS.RECIPE_DESC.REDGEM = "Crimson like blood."In the Wayne prefab I added thislocal sorcerytab = {str = STRINGS.TABS.SORCERY, sort=999, icon = "tab_sorcery.tex"}inst.components.builder:AddRecipeTab(sorcerytab) Recipe("redgem", {Ingredient("goldnugget", 2), Ingredient("charcoal", 1)}, sorcerytab, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0})Is there something missing? Link to comment https://forums.kleientertainment.com/forums/topic/38949-help-cant-get-the-custom-tab-icon-to-appear/ Share on other sites More sharing options...
DeathDisciple Posted July 27, 2014 Share Posted July 27, 2014 try adding icon_atlas = "images/hud/tab_sorcery.xml", i.e.local sorcerytab = {str = STRINGS.TABS.SORCERY, sort=999, icon = "tab_sorcery.tex",icon_atlas = "images/hud/tab_sorcery.xml"} Link to comment https://forums.kleientertainment.com/forums/topic/38949-help-cant-get-the-custom-tab-icon-to-appear/#findComment-516880 Share on other sites More sharing options...
Dictator Posted July 27, 2014 Author Share Posted July 27, 2014 Thanks, it worked Link to comment https://forums.kleientertainment.com/forums/topic/38949-help-cant-get-the-custom-tab-icon-to-appear/#findComment-516898 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