Jump to content

Recommended Posts

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 by Cenia

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

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...