May 25, 2012, 12:00:05 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Change bot number  (Read 121 times)
koskok2695
Member
*

Karma: +0/-0
Offline Offline

Posts: 1


« on: December 08, 2011, 02:52:27 AM »

Hey guys,

Every time i play naw my pc lags constantly as I play.
So I want to remove the half of bots to stop the lag.I tried to change the max number of bots to 16 then naw crashes on load. Cry
How can I change the bot number?


Plz help me. Sad
Logged
HK_HunterKiller
Member
*

Karma: +0/-0
Offline Offline

Posts: 2

a.k.a L3HunterKiller


WWW
« Reply #1 on: December 12, 2011, 11:30:42 AM »

Do you think your PC lagging was normal? I mean if your PC is old, then it might be normal but crashing doesn't sound good at all. If you don't have any problems running BF2 (without any mods) or if you didn't have any problems running NAW before, I suggest you reinstall it (maybe even reinstall BF2 first). If you have edited any files of BF2 or NAW, the crash might be because of that, otherwise corrupted game files.

Anyway if you just want to try and change the number of bots, I'm not sure for NAW, but for BF2 you open this file "...\Program Files\EA Games\Battlefield 2\mods\bf2\AI" with notepad and read the instructions in the file which basically involves placing the word REM in front of each of the first 5 lines starting with 'aiSettings.set', then removing the REM's in front of the next 4 lines starting with 'aiSettings.set'. Change the number at the end of the aiSettings.setMaxNBots 32 line to determine the number of bots to use (e.g. aiSettings.setMaxNBots 64 for 64 bots).

If this doesn't work for NAW, then there should be a similar file located in the naw directory under ...\Program Files\EA Games\Battlefield 2\mods. However, I'm not sure.
If you think your PC is powerful enough to run the game smoothly, then like I said, you should reinstall before trying anything else.

It's nice to see some people are trying to keep this mod alive. I'm actually thinking of going back to playing BF2 mods and NAW is one of the first that came to my mind. Are there any servers running at the moment?

PS: I suggest you use the "troubleshooting" section of the forum for this type of topic.
« Last Edit: December 12, 2011, 11:38:02 AM by HK_HunterKiller » Logged

a.k.a L3HunterKiller
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!