Removing minimap
Moderator: Moderators
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Removing minimap
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.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Removing minimap
It should work by lua but I didn't try it so I wouldn't know the code.
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Removing minimap
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.
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Removing minimap
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?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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Removing minimap
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().
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().
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Removing minimap (Solved)
What do you edit in the ODFs?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Removing minimap
You could also just take the minimap texture out of [mapname].req
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Removing minimap
Or you just paste this:
into your lua.
Code: Select all
DisableSmallMapMiniMap()- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Removing minimap
But won't the large one still be visible via the "M" Key?theultimat wrote:Or you just paste this:
into your lua.Code: Select all
DisableSmallMapMiniMap()
-
theultimat
- Lieutenant General

- Posts: 679
- Joined: Sun Apr 13, 2008 1:39 pm
- Location: UK
Re: Removing minimap
Yes. I dont think you can stop that.
