Map loads slowly

Ask questions, discuss ideas, get answers
Post Reply
billy_madison
Posts: 5
Joined: Wed Sep 28, 2011 11:33 pm

Map loads slowly

Post 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
Last edited by billy_madison on Thu Sep 29, 2011 2:01 am, edited 1 time in total.
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Map loads slowly

Post by fo0k »

hi billy.. maps not loading at all for me :/ crash during load screen.

maybe someone else can take a look :)
User avatar
archer
Posts: 54
Joined: Fri Feb 05, 2010 4:40 pm
Location: Übertów
Contact:

Re: Map loads slowly

Post 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?
dzn.battlefield.pl - my Bf1942 modding website
billy_madison
Posts: 5
Joined: Wed Sep 28, 2011 11:33 pm

Re: Map loads slowly

Post 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,
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Map loads slowly

Post by Swaffy »

It's not that issue. The line is "remmed" out.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply