|
BF2 troubleshooting and tweaking thread
I found this on another forum so I thought I would share with others.
1. I highly recommend installing the included nvidia drivers that came with the demo if you have an nvidia card. They solved a lot of graphic glitches and shadow problems i was having.
2. remove the damn splash screens:
go to x:\Battlefield 2 Demo\mods\bf2\Movies
rename:
* demo_bf2legal.bik
* demo_bf2release.bik
* demo_demolegaltext.bik
* demo_locknload.bik
* Nvidia_logo.bik
* dice.bik
* EA.bik
you will now directly be lead to the menu
3. get rid of TIME LIMIT
Open up the file gpm_cq.py with notepad, it's under Program Files\EA GAMES\Battlefield 2 Demo\mods\bf2\python\game\gamemodes
On or about line 111, you see a paragraph starting:
def onTimeLimitReached(value):
and what follows it is an indented paragraph, whose last line is:
host.sgl_endGame(winner, victoryType)
Put a '#' infront of this line, just like in the previous example. However, go to the line right below this one, and add the word:
return
So the end result is something that looks like this:
#host.sgl_endGame(winner, victoryType)
return
This might clear up any problems you have with this. (Basically in this version you are replacing the onTimeLimitReleased function, with one that does nothing (is harmless) It's supposed to end the game. In the previous version, you dereference the entire function itself, which might be bad incase any other code is dependent upon it's existence etc.[/b]
4. Binding keys
If u want to bind any key that says is already bound go to my documents. Look for 001 then open config.con in notepad. Look for the keys binded to end,delete etc. Delete the lines they are binded to since u dont need them (its some sort of camera keys i believe). If u dont want to delete them just change the keys, save.
You can now go into the game options and bind whichever keys u want. I also use the numberpad keys and until i went into the options in the config file i couldnt use KeyPad 2, 4, 6, or 8 either.
Hope this helps.
|