Jump to content

Recommended Posts

Just looking for a mod that removed the Player Icon from the map. Hopefully it sets the map origin point to a specific location every time not where the Player is (preferably (0,0) since that is the center at least I think it is center).
Just trying to make exploration continue into the later stages of the game and having to read the map seems like that would add to the fun of it. I know I could disable the map completely but holy beefalo that got stressful quickly.

Link to comment
https://forums.kleientertainment.com/forums/topic/143000-no-player-icon-on-map/
Share on other sites

--modmain.lua

AddPlayerPostInit(function(player)
    player.MiniMapEntity:SetEnabled(false)   --Hide ThePlayer Icon
end) 

AddClassPostConstruct("widgets/mapwidget",function (self)
    --Hide center light in map
    self.centerreticle:Remove()
    self.centerreticle = require("widgets/image")()

    --When show map, offset the pos. You need to find how to cal the dx, dy by youself
    --self.OnShow = function () self:Offset(dx,dy) end
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...