View Single Post
Old 06-12-2005, 01:09 AM   #1 (permalink)
Psycho Nitro
Senior Member
Eagle Eye
 
Psycho Nitro's Avatar
 
Posts: 258
Shouts: 0
Join Date: Jun 2005
Location: Salem, OR
Age: 30

Thanks: 40
Thanked 10 Times in 6 Posts



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.
__________________

BattleField 2 Info

My Pictures
Psycho Nitro is offline   Reply With Quote Submit this thread to digg Submit this thread to del.icio.us
Sponsored Links