Set enemy units display in map/minimap?
Moderator: Moderators
-
- Recruit Womprat Killer
- Posts: 10
- Joined: Tue Jan 17, 2017 5:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Set enemy units display in map/minimap?
How can I set the map and minimap to display the enemy unit markers like in the campaign missions? Is it possible to do through the LUA scripts or something?
- GAB
- 1st Lieutenant
- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Set enemy units display in map/minimap?
You mean those yellow arrows that point to the objective? If so, they're done through Lua. The campaign scripts have the best examples on how to implement them. I think you can find the code before the section of script that controls each campaign objective.
- giftheck
- Droid Pilot Assassin
- Posts: 2218
- Joined: Mon Jan 19, 2009 5:58 pm
- Projects :: Star Wars Battlefront Legacy
Re: Set enemy units display in map/minimap?
No, I think he wants the enemy units to show up on the minimap.
-
- Recruit Womprat Killer
- Posts: 10
- Joined: Tue Jan 17, 2017 5:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Set enemy units display in map/minimap?
That is right, @ggctuk. My apologies if anyone was confused. Is it possible to that? Just curious.
- GAB
- 1st Lieutenant
- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Set enemy units display in map/minimap?
I'm fairly sure it is. Just put the function ShowAllUnitsOnMinimap() and it should work.
-
- Recruit Womprat Killer
- Posts: 10
- Joined: Tue Jan 17, 2017 5:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Set enemy units display in map/minimap?
I tried putting the code quoted above in the LUA, but it did not work.GAB wrote:I'm fairly sure it is. Just put the function ShowAllUnitsOnMinimap() and it should work.
- GAB
- 1st Lieutenant
- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: Set enemy units display in map/minimap?
Oh well, that was my only bet. Maybe someone else knows a way to make it work, if there is one.
-
- Sith
- Posts: 1433
- Joined: Thu Jan 23, 2014 6:01 am
- Projects :: Star Wars - Battlefront III Legacy
- xbox live or psn: El_Fabricio#
- Location: Right behind you :)
Re: Set enemy units display in map/minimap?
Found these inside imp_inf_default_officer.odf
Not sure about them but I think ScanningRange sets the range of view on your minimap. And TransmitRange does the opposite for AI. But that's just a thought. Try using very high numbers and put both lines to all your unit odf's (Or just the highest possible parent odf).
Code: Select all
ScanningRange = 30.0
TransmitRange = 300.0