Page 1 of 1

[?] Change Map Name

Posted: 2009-02-19 01:51
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

Re: Change Map Name

Posted: 2009-02-19 02:00
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!

Re: Change Map Name

Posted: 2009-02-19 02:18
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

Re: Change Map Name

Posted: 2009-02-19 02:29
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)

Re: Change Map Name

Posted: 2009-02-19 03:34
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::