[Help] Custom map not appearing

Making or wanting help making your own asset? Check in here
Post Reply
Heedicalking
Posts: 11
Joined: 2010-02-20 21:24

[Help] Custom map not appearing

Post by Heedicalking »

I followed this tutorial to create a terrain and level but when I save it and start BF2 like it says, my map isn't in the map list. I also noticed, by browsing through my map's files and the default maps' files, that my_level doesn't have a server and client zip like default maps do. Does anyone know why my custom map is not appearing in the load map screen? Also, I downloaded BF2 off of steam.
BroCop
Posts: 4155
Joined: 2008-03-08 12:28

Re: Custom map not appearing

Post by BroCop »

Did you packed the map first?

The game will read only compiled (packed) maps. If you look around the forums you will find a .bat script Rhino made for PR that will compile yer stuff so it can be readed.
Heedicalking
Posts: 11
Joined: 2010-02-20 21:24

Re: Custom map not appearing

Post by Heedicalking »

Will it work for just BF2 as well? I don't want to start modding for PR unless I can do a simple map for just BF2.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Custom map not appearing

Post by Rudd »

has your map got the correct .desc file in the info folder of your map?

it has to be the same name of your mapfolder and have the correctstuff inside as well afaik, look at other map's info folders to compare :)
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Custom map not appearing

Post by Rhino »

It's amazing what you can find with a quick search you know...

http://www.bfeditor.org/forums/index.ph ... ule=search

Searched for: "+showing +maplist" without the quotes

first result on there is this:
Getting Maps To Work - Official BF Editor Forums - Page 3

Which I quote:
'mschoeldgen[Xww2 wrote:']
Most of the basic problem with a new map not showing up is a wrongly configured /info folder in your map. Check if there's a <MyMapName>.desc file in it. This file needs to be named like your map and inside it there's an entry for the mapname how it should look up in the maplist. At least one gamemode needs to be announced in it , like :

Code: Select all

	<modes>
		<mode type="gpm_cq">
			<maptype players="16" type="doubleassault" locid="GAMEMODE_DESCRIPTION_doubleassault">CQ 16</maptype>
			<maptype players="32" type="headon" locid="GAMEMODE_DESCRIPTION_headon">CQ 32</maptype>
			<maptype players="64" type="headon" locid="GAMEMODE_DESCRIPTION_headon">CQ 64</maptype>
		</mode>
	</modes>
This is a gamemodes entry for a map supporting 16,32 and 64 players in conquest, but no singleplayer.

Btw, i merged your other thread into this one, jake777777. There's no need to open new threads if you still have the same problem.


Next time you have a problem, instead of making a topic on it strait away have a look around and see if you can find the answer yourself by using the SEARCH function on this site or better still, the BFeditor.org site as the chances are, your question has been asked 100 times before... If you really can't find anything on it after looking hard and trying lots of different types of searches, then make a topic.


PS. I refuse to help people (with the exception of maybe the first one or two times with a topic like this) who don't try to look for the answer themselves first.
Last edited by Rhino on 2010-05-22 15:44, edited 2 times in total.
Image
Heedicalking
Posts: 11
Joined: 2010-02-20 21:24

Re: Custom map not appearing

Post by Heedicalking »

Ok, I made a info folder and a My_Level.desc with the following code.

Code: Select all

<map gsid="200">
	<name> My Level </name>
	<briefing locid="LOADINGSCREEN_MAPDESCRIPTION_MSUN">map description for modders maps not localized (english only)</briefing>
	<music> common/sound/menu/music/load_US_music.ogg </music>
	<modes>
		<mode type="gpm_cq">
			<maptype ai="1" players="16" type="doubleassault" locid="GAMEMODE_DESCRIPTION_doubleassault">Unlocalized test for this mode on this map</maptype>
			<maptype players="32" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>
			<maptype players="64" type="headon" locid="GAMEMODE_DESCRIPTION_headon">Unlocalized test for this mode on this map</maptype>
			</mode>
		<mode type="gpm_coop">
			<maptype ai="1" players="16" type="doubleassault" locid="GAMEMODE_DESCRIPTION_COOP_doubleassault">Unlocalized test for this mode on this map</maptype>
			</mode>
	</modes>
</map>

And I started it up, chose the map, and then BF2 just crashed to desktop. No errors or anything, just closed itself out. I then searched +map +crashing and +map +crash and I found topics about the problem, but no actual solution. It crashed at 61% loading multiplayer co-op mode. I followed the first 2 tutorials in Rhino's map tutorial list (Making terrain and making a level) and then I added an info folder, but it crashes every time I try to play it.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Custom map not appearing

Post by Rhino »

Are you loading your map up with BF2 or PR? if its BF2 it is most likley a bad object you have put in your map, which you should be able to find out by running your map in windowed mode which you can find out how to do here: crashes when trying to test! - Official BF Editor Forums
or failing the the debugger my help: SELF HELP (Please read First) - Official BF Editor Forums

But if your running your map in PR then there is loads of things you need to do before it will work which you will read about in the other tutorials, if you want a crash course the Map Audit tut has most of them.
Image
Heedicalking
Posts: 11
Joined: 2010-02-20 21:24

Re: Custom map not appearing

Post by Heedicalking »

I am modding BF2, not PR.
Here is a picture of the error. By the looks of it, I am missing a lightmap. I don't have a C:/Dice folder either.
You do not have the required permissions to view the files attached to this post.
Last edited by Heedicalking on 2010-05-22 22:18, edited 1 time in total.
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: Custom map not appearing

Post by Amok@ndy »

your lightmaps are screwed up (maybe missing completly)
create a new map and clone the /newlevel/Lightmaps/
to /yourlevel/Lightmaps/
Image
Heedicalking
Posts: 11
Joined: 2010-02-20 21:24

Re: Custom map not appearing

Post by Heedicalking »

Amok@ndy wrote:your lightmaps are screwed up (maybe missing completly)
create a new map and clone the /newlevel/Lightmaps/
to /yourlevel/Lightmaps/
I follow this tutorial
Lightmap Tutorial For Beginners - Official BF Editor Forums
and compiled the lightmaps but it doesn't have the folder that it says it was missing.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Custom map not appearing

Post by Rudd »

click compile, genreate lightmaps, generate lightmap atlas, if it says it can't you just lightmap an object then try again.
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: Custom map not appearing

Post by Amok@ndy »

some times the Lightmap folder dont get created when you create a new level
thats causing the same error you posted up
Image
Post Reply

Return to “PR:BF2 Community Modding”