Page 1 of 2

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

Posted: Sun Mar 26, 2006 9:18 pm
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!

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

Posted: Sun Mar 26, 2006 9:21 pm
by drummerzoid1
thanks! that's so cool!

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

Posted: Sun Mar 26, 2006 9:23 pm
by Assasin_Clone
Yeah I know. I just discovered that!

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

Posted: Mon Mar 27, 2006 9:36 am
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?

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

Posted: Mon Mar 27, 2006 11:47 am
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.

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

Posted: Mon Mar 27, 2006 12:01 pm
by Rends
what selection menu?

sorry but i still don´t get it.

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

Posted: Mon Mar 27, 2006 12:16 pm
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.

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

Posted: Mon Mar 27, 2006 12:39 pm
by DakkerDB
My map always appeared with the right name... I don't get it.

Posted: Mon Mar 27, 2006 1:17 pm
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.....

Posted: Mon Mar 27, 2006 1:19 pm
by OGEB1103
They probabily forgot to give their maps a name. lol

Posted: Mon Mar 27, 2006 1:34 pm
by drummerzoid1
no just forgot to munge everything!

Posted: Mon Mar 27, 2006 3:17 pm
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?

Posted: Mon Mar 27, 2006 3:28 pm
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.

Posted: Mon Mar 27, 2006 3:43 pm
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!

Posted: Mon Mar 27, 2006 4:19 pm
by Rends
Hmm i still suggest to edit the mapname and the description in the localize tool rather than messing with the adme lua.

Posted: Mon Mar 27, 2006 4:20 pm
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!

Posted: Mon Mar 27, 2006 4:24 pm
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.

Posted: Mon Mar 27, 2006 4:27 pm
by forresal
@mnl: thanks for the clarification!!

Posted: Mon Mar 27, 2006 5:16 pm
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

Posted: Mon Mar 27, 2006 5:23 pm
by Assasin_Clone
ATENTION: better you NOT do this, It will crash your map. Iam sorry.