McSchmidty Posted December 5, 2013 Share Posted December 5, 2013 I've been looking all over the place for some sort of tutorial, but the only ones I could find was just making random minimap icons at hand. I just need some help giving my custom character his own icon on the map. Link to comment https://forums.kleientertainment.com/forums/topic/30199-custom-character-minimap-icon/ Share on other sites More sharing options...
Rosten Posted December 5, 2013 Share Posted December 5, 2013 I haven't looked through it my self, but this http://forums.kleientertainment.com/files/file/379-minimap-icon-sample/ should be what you're looking for Link to comment https://forums.kleientertainment.com/forums/topic/30199-custom-character-minimap-icon/#findComment-383884 Share on other sites More sharing options...
squeek Posted December 5, 2013 Share Posted December 5, 2013 (edited) All minimap icons are done the same way. Characters are simply prefabs, after all. See: http://forums.kleientertainment.com/files/file/379-minimap-icon-sample/ Edited December 5, 2013 by squeek Link to comment https://forums.kleientertainment.com/forums/topic/30199-custom-character-minimap-icon/#findComment-383889 Share on other sites More sharing options...
McSchmidty Posted December 5, 2013 Author Share Posted December 5, 2013 I've already seen that, but I still don't understand it doesn't exactly come with instructions. Again i'm not trying to make some separate icon, just a custom one that my character uses. I'm still very new to modding and such, I just need a little guidance. Link to comment https://forums.kleientertainment.com/forums/topic/30199-custom-character-minimap-icon/#findComment-384037 Share on other sites More sharing options...
squeek Posted December 5, 2013 Share Posted December 5, 2013 (edited) The important parts:In modmain.lua:--Load AssetsAssets = { Asset("IMAGE", "images/youricon.tex"), Asset("ATLAS", "images/youricon.xml"),}--Add the new atlasAddMinimapAtlas("images/youricon.xml")In your prefab's fn function:inst.MiniMapEntity:SetIcon("youricon.tex") Edited December 5, 2013 by squeek Link to comment https://forums.kleientertainment.com/forums/topic/30199-custom-character-minimap-icon/#findComment-384175 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