Weird Minimap Issue [Solved]

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

Weird Minimap Issue [Solved]

Post by theultimat »

Ok, I put a minimap into my map, but, for some reason, the map is reflected on pressing the M key. For an example of what I mean, look at the minimap in the HUD:
Hidden/Spoiler:
Image
Notice how you are facing away from the huts, which it correct. Then, when I press the M key to open the map, it is reflected (unit facing the wrong way):
Hidden/Spoiler:
Image
Does anyone know why this would happen, and is there a fix?
Thanks.
Last edited by theultimat on Mon Mar 29, 2010 1:12 pm, edited 1 time in total.
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: Weird Minimap Issue

Post by Teancum »

Is SetMapNorthAngle() used at all in your lua?
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Weird Minimap Issue

Post by theultimat »

No, it isn't. Should it be used?
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: Weird Minimap Issue

Post by Teancum »

You might try it. I *think* that's what it's used for. Check the Jedi Temple lua for an example.
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Weird Minimap Issue

Post by theultimat »

Nope, no matter what I set the numbers to the problem remains. It's almost like your unit's arrow on the map when zoomed in is facing the wrong way.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Weird Minimap Issue

Post by AQT »

I'm not sure why that is happening but, it's worth a try, is the base of your mapbounds region a square? If it is, nevermind then.
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Weird Minimap Issue

Post by theultimat »

Yeah, it is indeed. Thanks for all the ideas so far guys.

EDIT:
Haha, just as well you asked that AQT. I went in to ZE to make sure it was a square, it was, but then I looked at the region from the side, and it turned out to be at about 30 degrees. I put it back on to 0 and the problem disappeared. I must've accidentally rotated it at some point. Sorry about that, an error on my part.

Thanks anyway. :)
Post Reply