Cenia Posted October 6, 2017 Share Posted October 6, 2017 (edited) So I've finally got my custom character running with all the perks that i wanted, works fine but there's one problem, the mini map/map in general, icon goes invisible, the highlighted circle still appears where the icon should be, but no icon visible. it's not only me, other people see this same issue. I've tried replacing the .tex file for map icons, and the .png just in case. But after that it still doesn't work. What i next try is to remove all my perks and see if one caused the problem. This string of code, that has the same spider befriending properties as webber seemed to cause this problem local function common_postinit(inst) inst:AddTag("spiderwhisperer") inst:AddTag("monster") end I remove it and the icon appears, but when i add it, the problem comes back. Does anyone know why this is a problem? and if so how do i fix it? please help. bowse script file.rar Edited October 6, 2017 by Cenia Link to comment Share on other sites More sharing options...
Lumina Posted October 6, 2017 Share Posted October 6, 2017 I guess it's because you already have a common postinit function and you override it by adding another. Try to add the tag here : local common_postinit = function(inst) -- Minimap icon inst.MiniMapEntity:SetIcon( "bowse.tex" ) end Link to comment Share on other sites More sharing options...
Cenia Posted October 7, 2017 Author Share Posted October 7, 2017 Ah that would make sense, first time doing modding in dst, so thankyou for your help, it worked now! Link to comment 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