Removing the Mini Map [Solved]
Moderator: Moderators
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Removing the Mini Map [Solved]
How do you remove the minimap from the hud? I can't find the proper group for it. I've been searching through the player1hud file but I've only found a Group referring to the main map (the one that you toggle).
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Removing the Mini Map
DisableSmallMapMiniMap()
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: Removing the Mini Map
Just put that in the LUA? Does it matter where it goes?
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
Re: Removing the Mini Map
I wonder if we can do the opposite, you know, I would like to get rid of the Capital Ship icons on Assault and put a mini-map...
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Removing the Mini Map
You should just put that in ScriptPostLoad. I don't remember whether it needs to be (1) or just (), but you can always try both.trainmaster611 wrote:Just put that in the LUA? Does it matter where it goes?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Removing the Mini Map
Code: Select all
function ObjectiveSpaceAssault:AddCriticalSystem(name, pointValue, hudPosX, hudPosY)
if hudPosX and hudPosY then
--add the critical system as normal
SpaceAssaultAddCriticalSystem(name, pointValue, hudPosX, hudPosY)
else
--add the critical system, but tell C++ not to display a HUD marker
SpaceAssaultAddCriticalSystem(name, pointValue, -1.0, -1.0, false)
end
...
...
function ObjectiveSpaceAssault:Start()
--=======================================
-- Initialization logic
--=======================================
assert(self.multiplayerRules == true, "ObjectiveSpaceAssault is intended for multiplayer gametypes only! (i.e. set multiplayerRules = true)")
self.showTeamPoints = true
--initialize the base objective data
Objective.Start(self)
--notify C++ that we're running space assault now
--(so it can do team scoring with critical systems and whatnot)
SpaceAssaultEnable(true)
No function input is necessary; it's just DisableSmallMapMiniMap().I don't remember whether it needs to be (1) or just (), but you can always try both.
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: Removing the Mini Map
Ok thanks guys 
