Page 1 of 1

Map loads slowly

Posted: Thu Sep 29, 2011 12:08 am
by billy_madison
Hi,
I made a map. It has started to load slowly, when I added co-op mode to it.
When I host the map as a local server after starting BF42, the progress bar goes to 100% then sits there for several minutes. These are my specs, I don't feel they are the problem:
Intel Quad CPU
2.67GHz
3.25 GB of RAM
What is happening? How do I fix this?
Link to Download map:
http://www.gamefront.com/files/20840983/AnotherJay.rar
Screenshot of map:
Image

Re: Map loads slowly

Posted: Thu Sep 29, 2011 12:41 am
by fo0k
hi billy.. maps not loading at all for me :/ crash during load screen.

maybe someone else can take a look :)

Re: Map loads slowly

Posted: Sun Oct 02, 2011 7:50 pm
by archer
I haven't downloaded the map yet, so here's a wild guess: Maybe you are generating AI pathmaps every time your map loads? What tool did you use to add bots?

Re: Map loads slowly

Posted: Sat Oct 08, 2011 3:46 pm
by billy_madison
I don't think I am generating AI pathmaps on every map loads. Here is my AIPathFinding.con:

if v_arg1 == host

rem *** Pathfinding debug mode
rem game.aiPathfindingDebuggingActive 1

rem *** Set number of maps ***
rem ai.setNSearchMaps 2 *** DEPRICATED ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***

rem *** Set number of AStar resources ***
rem ai.numAStarResources 12

rem *** Setup map parameters ***
rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/considerAITypes
rem *** searchType name/mapNum/minSearchLevel


rem *** Tank ***
ai.addSearchMap Tank0 0 0 25 3.0 0.3 2.5 0
ai.addSearchType Tank 0 0
rem ai.setMapSpawnPoints 0 1072/1042
ai.setSmoothing 0 20
rem 1072/1042, 1072/1042, 770/1214, 770/1214, 870/1208, 870/1208, 761/1104, 761/1104

rem *** Infantry ***
ai.addSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
ai.addSearchType Infantry 1 0
rem ai.setMapSpawnPoints 1 1066/1002
ai.setSmoothing 1 10
rem 1066/1002, 1068/1059, 849/1208, 881/1191, 744/1095, 729/1125, 759/1116


rem *** Boat ***
ai.addSearchMap Boat2 1 8 30 4.0 0.3 2.5 0 2 5
ai.addSearchType Boat 2 2
rem ai.setMapSpawnPoints 2 798/1104
ai.setSmoothing 2 20
rem 798/1104, 798/1104, 810/1098, 810/1098, 810/445, 662/490


rem *** LandingCraft ***
ai.addSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0 2 5
ai.addSearchType LandingCraft 3 2
rem ai.setMapSpawnPoints 3 0/0
ai.setSmoothing 3 20
rem 0/0,

beginrem
rem *** Amphibius ***
ai.addSearchMap Amphibius4 0 1000 30 4.0 0.3 2.5 0
ai.addSearchType Amphibius 4 0
ai.setMapSpawnPoints 4 0/0
ai.setSmoothing 4 20
ai.setWaterCutOffDepth 1
endrem

rem *** Load maps ***
ai.loadMaps



endIf

I added bots by using the debug executable BF1942_r.exe and modifying the AI .con files,

Re: Map loads slowly

Posted: Sat Oct 08, 2011 5:28 pm
by Swaffy
It's not that issue. The line is "remmed" out.