LOOK! how to: give your map a name on the map selection...

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

Assasin_Clone

LOOK! how to: give your map a name on the map selection...

Post by Assasin_Clone »

So... Here´s: 1-go to [modid]/addme and open the addme.lua.

2-Go down, find these: mapluafile = "[mapID]%s_%s"

3- delete the [mapID]%s_%s and put there your map name!


PS don´t delete the "" at the start and the end of your map name!
drummerzoid1

RE: LOOK! how to: give your map a name on the map selection.

Post by drummerzoid1 »

thanks! that's so cool!
Assasin_Clone

RE: LOOK! how to: give your map a name on the map selection.

Post by Assasin_Clone »

Yeah I know. I just discovered that!
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 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: Germany
Contact:

RE: LOOK! how to: give your map a name on the map selection.

Post by Rends »

Aeh what´s the difference between this method and changing the mapname and/or the 3 world lines description in the localize tool?
Murdocr

RE: LOOK! how to: give your map a name on the map selection.

Post by Murdocr »

This is in the selection menu so instead of it appearing as ABC%s_%s it appears as what you want it to.
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 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: Germany
Contact:

RE: LOOK! how to: give your map a name on the map selection.

Post by Rends »

what selection menu?

sorry but i still don´t get it.
forresal

RE: LOOK! how to: give your map a name on the map selection.

Post by forresal »

when you are in-game under "instant action" and your list of maps is on the left column. Rather than appear like %AB!% (or whatever) it will appear as the name you designate.
DakkerDB

RE: LOOK! how to: give your map a name on the map selection.

Post by DakkerDB »

My map always appeared with the right name... I don't get it.
Emraz

Post by Emraz »

So does mine one of my maps id is BUP but it always appears as Tunnels which is its name I didnt do aything fancy to get this its sort of auto.....
OGEB1103

Post by OGEB1103 »

They probabily forgot to give their maps a name. lol
drummerzoid1

Post by drummerzoid1 »

no just forgot to munge everything!
Murdocr

Post by Murdocr »

have you actually loaded your map after using this method Assasin_Clone, because when i try i get a fatal error saying it can't find "MISSION/whatever i change it to.lvl" or something like that. Any ideas?
is the addme all you have to change. as for the people who say it appears correct automatically, is that including other peoples map that you have downloaded?
Assasin_Clone

Post by Assasin_Clone »

You should NOT edit addme.LVL edit addme.LUA in your OWN map, you know, in the bfbuilder folder, there´s a data_[modid], go there and open addme folder, then edit the addme.LUA.
forresal

Post by forresal »

I'm making a series of Chandrila maps. The first is "CH1". When I load the game and head to "instant action" the map on the selection list appears as "%_CH1_%" (or something to that effect). When I select it and loads, then it shows the proper name.

It appears that this "fix" makes the name on the selection list appear properly (i.e. "Chandrila").

Anyway, thanks for the tip, Assassin!
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 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: Germany
Contact:

Post by Rends »

Hmm i still suggest to edit the mapname and the description in the localize tool rather than messing with the adme lua.
OGEB1103

Post by OGEB1103 »

I'm with murdocr here. It appears that this changes which mission is loaded. actually i can think of how this could be used, which is what i thought you were talking about at the start. say that you make a map thats name is too big to fit in the selection screen. you would rename the said line to something shorter that does fit and then change the name o you missio.lvl to that so that the selection screen would be different to the namr in the loading up screen. i hope this makes sense!
mnl1121

Post by mnl1121 »

What are u people talking about. When ur map shows up as modid%s_%s in the instant action collum that means u have a localization problem. U guys are gonna skrew something up when u change the lines in the addme.lua.
forresal

Post by forresal »

@mnl: thanks for the clarification!!
PAN-Fnord

Post by PAN-Fnord »

One of the issues that was fixed with the last PC patch was map names not showing up properly on the Instant Action screen. If you don't have the patched version, then even if you edit the Map Name and Description fields in VisualMunge it will show up as ABC%s_%s. If you have the patch, the description and name show up properly. There's no need for this fix, just go get the patch. :^)

Mike Z
Assasin_Clone

Post by Assasin_Clone »

ATENTION: better you NOT do this, It will crash your map. Iam sorry.
Post Reply