Page 1 of 1

Removing minimap

Posted: Mon Jul 28, 2008 7:38 pm
by Culvar
Is there anyway to remove the minimap from a mode only via LUA(Or anything else if necasary) If not can you remove the hud altogether. I've made a map for the clan I'm in and one of the modes is "Find me" which is easy with a map.

Re: Removing minimap

Posted: Mon Jul 28, 2008 8:24 pm
by bobfinkl
It should work by lua but I didn't try it so I wouldn't know the code.

Re: Removing minimap

Posted: Mon Jul 28, 2008 8:27 pm
by RepSharpshooter
I believe you can mess around with the minimap in the data_BLA\common\hud\pc\1playerhud.hud. Open it up and search for "map" and see what you can do. I wrote a hud reference (in the everything you need thread) which may be usesful. Don't know if you could get rid of the big map though, I would think it to be hardcoded (but you never know). I only vaguely remember seeing "map" while poking around the hud.

Re: Removing minimap

Posted: Mon Jul 28, 2008 8:30 pm
by Culvar
RepSharpshooter wrote:I believe you can mess around with the minimap in the data_BLA\common\hud\pc\1playerhud.hud. Open it up and search for "map" and see what you can do. I wrote a hud reference (in the everything you need thread) which may be usesful. Don't know if you could get rid of the big map though, I would think it to be hardcoded (but you never know). I only vaguely remember seeing "map" while poking around the hud.
Is there a way to do it via "ingame.lvl" so I could load the custom ingame on somemaps and or others have a map?

Re: Removing minimap

Posted: Mon Jul 28, 2008 10:28 pm
by [RDH]Zerted
There are a few ways you can try to do it:

You can change the ODFs to prevent units from showing up on the map.
You can override the map texture icons and black everything out (ingame.lvl's map_mask icon)
You can override all the marker icons.
You can override the map's lua screen script and do crazy things.
You can figure out how to use ShowAllUnitsOnMinimap(), SetMapCameraZoom(), SetMapCameraPosition(), ScriptCB_SetMetaAllMapsOn(), and DisableSmallMapMiniMap().

Re: Removing minimap (Solved)

Posted: Mon Jul 28, 2008 11:42 pm
by Culvar
What do you edit in the ODFs?

Re: Removing minimap

Posted: Tue Jul 29, 2008 11:04 am
by Teancum
You could also just take the minimap texture out of [mapname].req

Re: Removing minimap

Posted: Tue Jul 29, 2008 11:06 am
by theultimat
Or you just paste this:

Code: Select all

DisableSmallMapMiniMap()
into your lua.

Re: Removing minimap

Posted: Tue Jul 29, 2008 2:20 pm
by Culvar
theultimat wrote:Or you just paste this:

Code: Select all

DisableSmallMapMiniMap()
into your lua.
But won't the large one still be visible via the "M" Key?

Re: Removing minimap

Posted: Wed Jul 30, 2008 9:41 am
by theultimat
Yes. I dont think you can stop that.