Removing minimap

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Removing minimap

Post 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.
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Removing minimap

Post by bobfinkl »

It should work by lua but I didn't try it so I wouldn't know the code.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Removing minimap

Post 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.
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: Removing minimap

Post 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?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Removing minimap

Post 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().
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: Removing minimap (Solved)

Post by Culvar »

What do you edit in the ODFs?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Removing minimap

Post by Teancum »

You could also just take the minimap texture out of [mapname].req
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Removing minimap

Post by theultimat »

Or you just paste this:

Code: Select all

DisableSmallMapMiniMap()
into your lua.
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: Removing minimap

Post 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?
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Removing minimap

Post by theultimat »

Yes. I dont think you can stop that.
Post Reply