70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: BF2 Tweaks  (Read 3019 times)

Offline Pride

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4714
  • Karma: 0
BF2 Tweaks
« on: June 16, 2005, 01:05:39 PM »
1280x1024 Desktop Resolution

Edit BF Shortcut
Code: [Select]
"C:\Program Files\EA GAMES\Battlefield 2 Demo\BF2.exe" +menu 1 +fullscreen 1 +szx 1280 +szy 1024

===============================================

Remove Tutorial Voice
Edit "Battlefield 2 Demo\mods\bf2\gamelogicinit.con"
Code: [Select]
set gameLogic.enableVoHelp from 1 to 0

===============================================

Remove Intro/Nag Screens
C:\Program Files\EA GAMES\Battlefield 2 Demo\mods\bf2 - open init.con with notepad and add beginrem and endrem in the places shown below
Code: [Select]

rem ** gameLogic hasn't been initialized yet **


rem *** These should be noops in server & editor
beginrem
bf2Engine.playMovie Movies\EA.bik 1
bf2Engine.playMovie Movies\dice.bik 1
bf2Engine.playMovie Movies\nvidia_logo.bik 1
bf2Engine.playMovie Movies\demo_demolegaltext.bik 1
bf2Engine.playMovie Movies\demo_bf2legal.bik 1
bf2Engine.playMovie Movies\demo_locknload.bik 1
bf2Engine.playMovie Movies\demo_bf2release.bik 1
endrem


===============================================

Play with 32 Bots
Wanna get bots working in the 32-player map instead of the 16-player map? It's possible, and it works great with the ticket increaser and time limit remover...

First off, I'm not responsible for anything that happens as a result of you trying this hack out. If it doesn't work and it buggers up your install, you're Crap out of luck.

The bots are a bit messed up because the 16-player map control points are different to those in the 32-player map, so I had to 'improvise' with regards to bot spawn locations. Basically it doesn't work very well, but for the most part, it DOES work.

Code: [Select]

Anyway, here's what you gotta do:

1) Go to your /mods/bf2/levels/gulf_of_oman folder inside your demo folder
2) Unzip the server.zip file in that directory into that location, retaining directory structure
3) rename the server.zip to something like serverbackup.zip
4) Go to the new /gamemodes/sp1/ directory that will have been created and rename the '16' directory to '32'
5) Go back out and then through to /gamemodes/gpm_cq/32 and copy the GamePlayObjects.con file from that dir into that new /gamemodes/sp1/32 directory. If done correctly it should ask to overwrite, click yes.
6) Replace the strategicareas.ai file in /gamemodes/sp1/32/ai with the one in the zip file linked below

strategicareas.zip

This could be working a lot better, and I can only hope that someone smarter than me gets the idea behind what I've done and improves on it. That's why I've posted this, even though it doesn't work well, it's a start.

By the way, if you have any probs, remove everything that should have been created when you unzipped that server.zip, rename that file back to server.zip, and it should be working as it was originally. If all else fails, simply uninstall, then reinstall... but hopefully it won't come to that

===============================================
Insert witty signature here...

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
BF2 Tweaks
« Reply #1 on: June 16, 2005, 01:52:33 PM »
Did you think that all up yourself? Or did you get that from somewhere? If you got it from somewhere please add credits.
 :10:

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline Pride

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4714
  • Karma: 0
Insert witty signature here...

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
BF2 Tweaks
« Reply #3 on: June 16, 2005, 02:25:58 PM »
I wonder can you hack the dimentions to 1280 X 2048, play across my dual monitors and have it suck cause the crosshairs would be in the split?
/me thinks about getting the thrid hooked up.

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline Agent4054

  • 3D Modeler
  • Godlike Gamer
  • *
  • Posts: 6471
  • Karma: 0
  • Jerky is love. Jerky is life.
  • Steam ID: agent4054
  • XFire: Agent4054
BF2 Tweaks
« Reply #4 on: June 16, 2005, 03:25:55 PM »
for a full guide: http://www.tweakguides.com/BF2_1.html

A better way to skip the intro movies is to just delete em (duh! *smacks forehead*)

there is a way to play with 64 bots as well. (i like that better than the 32 version. its total chaos :D)

"To increase the number of bots used in singleplayer mode, go to your \Program Files\EA Games\Battlefield 2 Demo\mods\bf2\AI directory and open the file aidefault.ai with Notepad or Wordpad. Read the instructions in the file, and remove the words 'rem' from in front of the relevant lines. To alter the number of actual bots, edit the number at the end of the aiSettings.setMaxNBots 32 line (e.g. aiSettings.setMaxNBots 64 for 64 bots). Note that more bots can really stress your system and hence destabilize it."

Offline Pride

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4714
  • Karma: 0
BF2 Tweaks
« Reply #5 on: June 16, 2005, 03:29:57 PM »
Just remember... if you want to play online... the server has a built in content checker, so you cannot play online with these modified files...

make sure you have backups of all changed files if that is an issue for you.
Insert witty signature here...

TekieB

  • Guest
BF2 Tweaks
« Reply #6 on: June 16, 2005, 03:47:43 PM »
Quote from: "Pride"
Just remember... if you want to play online... the server has a built in content checker, so you cannot play online with these modified files...

make sure you have backups of all changed files if that is an issue for you.


one reason not to install punkbuster (that and the horrible EULA that states they can look at your entire hard drive and sell info about it to anyone they please)

Offline cuzzNkev

  • Administrator
  • Uber Gamer
  • *
  • Posts: 1705
  • Karma: 0
  • XFire: cuzznkev
BF2 Tweaks
« Reply #7 on: June 19, 2005, 07:48:33 AM »
Has anyone been able to get the play with 32 bots tweak to work?  I haven't and would like some suggestions on what is not working right.

Offline Agent4054

  • 3D Modeler
  • Godlike Gamer
  • *
  • Posts: 6471
  • Karma: 0
  • Jerky is love. Jerky is life.
  • Steam ID: agent4054
  • XFire: Agent4054
BF2 Tweaks
« Reply #8 on: June 19, 2005, 11:15:18 AM »
Ive gotten it to play with both either 32 or 64 bots... using the method i posted. i havent tried the other way.

ok step by step and with illustration:

1. goto your Battlefield 2 Demo\mods\bf2\AI folder and open up aidefault.ai in notepad

2. the parts in question should look like this:

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

rem aiSettings.overrideMenuSettings 1
rem aiSettings.setMaxNBots 32
rem aiSettings.maxBotsIncludeHumans 0
rem aiSettings.setBotSkill 0.4


3. remove the "rem" in front of the 4 "aisettings". notice the line in bold. the one that says overidesettings. this will overide the setting at top aisettings commands. so if you want 32 bots in the game.... it should look like this:

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 32
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 1.0



4. just save the file and your good to go.