[?] Change Map Name

Making or wanting help making your own asset? Check in here
Post Reply
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

[?] Change Map Name

Post by xxcarpathia »

Well my map is nearing completion... but im running into a problem changing the name of the map. Ive edited all the con files to the new map name and checked everything. When i get in game the map doesnt show up on the list?

Is there an easier way to do this. What do you think i missed? :confused:

Files I edited to the new map name..

CompiledRoads.con
Heightdata.con
Init.con
sky.con
terrain.con
D|ehard
Posts: 107
Joined: 2008-11-17 02:56

Re: Change Map Name

Post by D|ehard »

Change your DESC file in info to your map name :)

Exp : Org - Thunder

I want to change to Op_Thunder

Go to Info

Then rename your DESC file to that name
_____________________________________

This is another method with out doing it manually.

Go to terrain editor, and right next to save as and change the name. But you have to rename your DESC though too.

Also, there is Text Editors (Like Ultra Edit) that can replace and rename. Meaning that it renames the map and changes the all the files to the changed map name. After that rename the Map Folder. Hope this helps!
Last edited by D|ehard on 2009-02-19 02:22, edited 1 time in total.
Hfett
Posts: 1672
Joined: 2006-06-10 20:50

Re: Change Map Name

Post by Hfett »

You can open the "terrain" editor and click on "save as"

This will change the name of the "folder" of the map (just in case you named it something weird like i did).

To rename the name that will display ingame, just go on the "Info" folder and open the file: yourmapname.desc with a text editor

It will show something like this:

Code: Select all

<map>
	<name> Gaza Beach </name>
	<briefing locid="LOADINGSCREEN_MAPDESCRIPTION_gaza">map description for modders maps not localized (english only)</briefing>
	<music> levels/gaza/music/gaza.ogg </music>
	<modes>
		<mode type="gpm_insurgency">
			<maptype players="64" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>
		</mode>
	</modes>
</map>
On the line:
<name> Gaza Beach </name>

Name your map whatever you want
www.joinsquadbrasil.com.br
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: Change Map Name

Post by Hans Martin Slayer »

that's what you've got to do to rename a map:
Rename the map folder
Rename the .desc files in the map folder and the Info folder inside the map folder.
Change the name in the Info\map_name.desc file (this is what shows in the maplist in-game).

Change all the references to map name inside these files:

client.zip\Lightmaps\Objects\LightmapAtlas.tai
client.zip\terraindata.raw (binary) (just use Find & Replace in a hex editor)

server.zip\CompiledRoads.con
server.zip\Heightdata.con
server.zip\Init.con
server.zip\Sky.con
server.zip\Terrain.con
server.zip\UndergrowthAtlas.tai
server.zip\Overgrowth\Overgrowth.con
server.zip\Overgrowth\OvergrowthAtlas.tai
server.zip\envmaps\environmentmapinfo.emi
server.zip\AmbientObjects.con (may or may not be map name here)
xxcarpathia
Posts: 59
Joined: 2006-08-12 02:24

Re: Change Map Name

Post by xxcarpathia »

Thanks for the Reply so soon!
I eventually figure it our myself lol


NEW PROBLEM!
All my overgrowth has black boxes around them at a certain distance?
but when i get close they appear like normal.
do i need to regen my light maps?



::FIXED::
Post Reply

Return to “PR:BF2 Community Modding”