Minimap radar

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
dresh
Recruit Womprat Killer
Posts: 11
Joined: Tue Dec 02, 2008 4:07 am

Minimap radar

Post by dresh »

How do I turn off all the 'radar' arrows in the minimap?

From a search i found out that in the odfs for the characters i change MapTexture from ' = "troop_icon" ' to ' = "" '
I have changed this for the characters odfs. (the ones listed in the mission LUA's).

I cleaned and munged. And the minimap arrows are still there.

Can I assume that the map is still using the shipped sides (C:\Program Files\LucasArts\Star Wars Battlefront\GameData\Data\_LVL_PC\SIDE) instead if the ones in the map in the addon folder?

If this is right what do i need to change to get my map using the sides I have edited?
jedikiller32
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 313
Joined: Sun Apr 02, 2006 9:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Texas
Contact:

Re: Minimap radar

Post by jedikiller32 »

You must add a dc: before the side in the LUA. This makes it call the sides from the map's SIDE folder instead of the game's main one.

Open up the LUA for the era you wish to edit: ***a is GCW and ***c is for CW. They are located in data***\Common\Scripts\**** or can be accessed through BFBuilder's Edit menu after loading a map.

For example:

Code: Select all

ReadDataFile("SIDE\\all.lvl",
        "all_inf_basicurban",
        "all_inf_lukeskywalker",
        "all_inf_smuggler");
    ReadDataFile("SIDE\\imp.lvl",
        "imp_inf_basic_tie",
        "imp_inf_dark_trooper",
        "imp_inf_darthvader");
must be changed to

Code: Select all

ReadDataFile("dc:SIDE\\all.lvl",
        "all_inf_basicurban",
        "all_inf_lukeskywalker",
        "all_inf_smuggler");
    ReadDataFile("dc:SIDE\\imp.lvl",
        "imp_inf_basic_tie",
        "imp_inf_dark_trooper",
        "imp_inf_darthvader");
dresh
Recruit Womprat Killer
Posts: 11
Joined: Tue Dec 02, 2008 4:07 am

Re: Minimap radar

Post by dresh »

JK, youre a legend!

Thanks again! I had managed everything else just didnt know that dc: bit and I doubt i would have found it in any forums (I trawled this forum to no avail)!

thanks again
Post Reply