[Help] Crash when loading map

Making or wanting help making your own asset? Check in here
Post Reply
Sgt. Mahi
Posts: 984
Joined: 2008-03-27 07:44

[Help] Crash when loading map

Post by Sgt. Mahi »

Yes I am a noob at this and forgive me. I know there have been some posts with question about this problem before but I just couldn't find them and I've searched two evenings now.

I wanted to play around with the BF2 editor so I took all the steps to set up the BF2 editor for PR. I then made a quick map with two spawnpoints, two objectspawnpoints and a couple of buildings. Before I go further with mapping I would like to try to load my map but the game crashes at 14%. I ran it in the debug window mode and I get this message:
Image

Does this mean I have to make the overgrowth part before I can I run a map? Can I just copy/paste from another map?

Also I copied Kashan's .desc file directly into my map's folder. Should I change anything there?:

Code: Select all

<map gsid="5055">
	<name> Zatar </name>
	<briefing locid="MAPDESCRIPTION_kashan_desert">map description for modders maps not localized (english only)</briefing>
	<music> common/sound/menu/music/map7.ogg </music>
	<modes>
		<mode type="gpm_cq">
			<maptype players="16" type="headon" locid="GAMEMODE_DESCRIPTION_aasinfantry">Unlocalized test for this mode on this map</maptype>
			<maptype players="32" type="headon" locid="GAMEMODE_DESCRIPTION_aasalternative">Unlocalized test for this mode on this map</maptype>
			<maptype players="64" type="headon" locid="GAMEMODE_DESCRIPTION_aasfullassets">Unlocalized test for this mode on this map</maptype>
		</mode>
		<mode type="gpm_vehicles">
			<maptype players="64" type="headon" locid="GAMEMODE_DESCRIPTION_vehiclewarfare">Unlocalized test for this mode on this map</maptype>
		</mode>
		<mode type="gpm_skirmish">
			<maptype players="16" type="skirmish" locid="GAMEMODE_DESCRIPTION_skirmish">Unlocalized test for this mode on this map</maptype>
		</mode>
		<mode type="gpm_cnc">
			<maptype players="16" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc">Unlocalized test for this mode on this map</maptype>
			<maptype players="32" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc">Unlocalized test for this mode on this map</maptype>
			<maptype players="64" type="cnc" locid="GAMEMODE_DESCRIPTION_cnc">Unlocalized test for this mode on this map</maptype>
		</mode>
		<mode type="gpm_coop">
			<maptype ai="1" players="64" type="headon" locid="GAMEMODE_DESCRIPTION_coopfullassets">Unlocalized test for this mode on this map</maptype>
		</mode>
	</modes>
Thanks :-D

P.S. can someone explain me what the Audit thing is? Do I need to do it for basic mapping?
Last edited by Sgt. Mahi on 2010-03-28 22:36, edited 1 time in total.
Peace is that brief glorious moment in history when everybody stands around reloading
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: [Help] Crash when loading map

Post by J.F.Leusch69 »

its right around the corner...
https://www.realitymod.com/forum/f189-m ... audit.html

as you can see in the error, there is something wrong with the overgrowth.
can be a lot of different things, maybe is down to you not having any overgrowth in your map? or the editor just packed the map wrong?

anyway doesnt really matter, because at the moment when havent supplied our community mapper with a full detailed tutorial on how to get your maps working with 0.9

and if you just started your map :D , than i dont really see a need for an ingame test.
Sgt. Mahi
Posts: 984
Joined: 2008-03-27 07:44

Re: [Help] Crash when loading map

Post by Sgt. Mahi »

Thanks for the quick reply.
I've read that post but I wasn't sure if I needed to do all that work before I could load a map?
as you can see in the error, there is something wrong with the overgrowth.
can be a lot of different things, maybe is down to you not having any overgrowth in your map?
I just didn't think it was necessary to make the overgrowth/undergrowth before you could load up the map...
and if you just started your map , than i dont really see a need for an ingame test.
... understand that it isn't my intention to make a big map right away.. I just want to puzzle around with the BF2 editor for PR. You know... for learning purposes and lulz :-)
Last edited by Sgt. Mahi on 2010-03-28 23:32, edited 1 time in total.
Peace is that brief glorious moment in history when everybody stands around reloading
kumade
Posts: 130
Joined: 2009-04-05 21:17

Re: [Help] Crash when loading map

Post by kumade »

I have the same problem now, and asked same questions, but did not get any suitable answers :) It would be great if we will have them here.

I think that someone just need to sit and write down detailed tutorial about making maps from scratch for PR.
By doing this, this man can count on better conditions in afterlife, because of incredible positive karma. ;)
dunem666
Posts: 559
Joined: 2009-06-02 13:04

Re: [Help] Crash when loading map

Post by dunem666 »

If its Crashin on 14% youll find that its Object Spawners

Open level editor and map, Check if you have any Object Spawners Too close to the ground.

Make sure u Drag the object spawner box for each spawner so it not in anyway touching the terrain completly, bumps in terrain can cause the box to bug thru the terrain and cause a ctd at 14%.

Ive had this problem a million times on baghdad in the last year. Give it a shot ive been writting a fix report for each crash i have, this is most common.

Will also post the reports on forums at some point.
jello999
Posts: 50
Joined: 2009-12-02 17:08

Re: [Help] Crash when loading map

Post by jello999 »

get a crash too on custom made map but at 13%...

Image

Any idea ?

(Terrain.con)
if v_arg1 == BF2Editor
terrain.create TerrainEditable
terrain.patchSize 128
terrain.subdividePatches 1
terrain.primaryWorldScale 4/0.0025/4
terrain.secondaryWorldScale 4/0.64/4
terrain.patchColormapSize 512
terrain.lowDetailmapSize 512
terrain.detailmapBaseName "Levels/ghost_zone_beta1/Detailmaps/tx"
terrain.lowDetailmapBaseName "Levels/ghost_zone_beta1/LowDetailmaps/tx"
terrain.colormapBaseName "Levels/ghost_zone_beta1/Colormaps/tx"
terrain.lightmapBaseName "Levels/ghost_zone_beta1/Lightmaps/tx"
terrain.farSideTiling 2/2
terrain.farTopTilingHi 16
terrain.farTopTilingLow 32
terrain.farYOffset 0
terrain.terrainWaterColor 0/0/0
terrain.init

else
terrain.create Terrain
terrain.load Levels/ghost_zone_beta1/terraindata.raw
endIf
Last edited by jello999 on 2010-06-02 01:39, edited 3 times in total.
Post Reply

Return to “PR:BF2 Community Modding”