How do I keep bots from using a vehicle?[edit | edit source]

You'll need to edit the "objects/vehicles/(air,land,sea)/(name-of-vehicle)/" file for the vehicle, and edit the line "aiTemplate.basicTemp #", and change the number to 0. Some times there's a spawn point that spawns the bot into the vehicle, you'll need to edit the map to get rid of those.

How would I get bots to man and stay on stationary weapons? -[edit | edit source]

Try increasing the temperature for the weapon in the "aiTemplate.basicTemp #" line in the file. 

How to get bots to use Landing Zones?  [edit | edit source]

Landing Zone AI in BF1942 was removed from the Refractor game engine for BF2. The only option is to set up Strategic Areas at Beaches. BF2 bots can exit a vehicle when they get to a strategic area, but they are not capable of using the landing craft door like in BF1942.  

How to stop Commander Spam? [edit | edit source]

One of the uncapable flags in the map was 2-way neighbored. The rule for neighboring uncapable flags is you 1 way neighbor the other flag to the uncap. It's useful to remember, "My neighbor comes to me" when neighboring SA.

How to stop Bot's grenade spam? [edit | edit source]

go into the "objects/weapons/handheld/(name of weapon)/AI/ file", and change the line"weaponTemplate.setStrength Infantry #". Set the number to 0, and they wont spam grenades again.

How can I generate just the infantry, or vehicle navmesh? [edit | edit source]

In the /battlefield2/navmesh/ file, Change the "modes = [ "Infantry", "Vehicle"]" line, and delete either the "infantry", or "vehicle" part, depending on which mesh you want gened.

How can I disable bots attacking with defibrillator?[edit | edit source]

To stop or decrease the Medic bots from attacking the enemy with the defibrillator versus using their knife during a melee you need to do the following: 1. Edit the file for both the knife and the defibrillator, 2. Reverse the weaponTemplate.setStrengths from the defibrillator to the knife. For example: weaponTemplate.setStrength Infantry 5.0 (Knife) weaponTemplate.setStrength Infantry 3.0 (Defibrillator).

The AI commander won't use the arty or supply drop [edit | edit source]

This is caused by a bug in the 1.5 patch for BF2. Only way to fix it is to go back to v1.41, there is nothing else you can do.

I have added some stationary weapons to my map, I am able to enter them, but not exit them [edit | edit source]

You need to move the weapon higher up, it's probably too low.….the exit for the weapon is blocked by something.

How do I open an existing map in the editor? I get a "can't find init.con" error![edit | edit source]

You Need to unzip the and for the map, into the map's folder. You should end up with a path like this, ".…/levels/(map name)/init.con" NOT ".…/levels/(map name)/server/init.con"

I see text in the water. [edit | edit source]

You need to disable the autoload of the singleplayer plugin and quit/restart the editor. Then re-do your envmaps.

How can I make a flag have multiple spawn locations? [edit | edit source]

in the editor, select a spawn point, then in the tweaker bar change the group number.

How do I add a custom sky to my map?[edit | edit source]

You need to put the sky texture, saved as a 2048x512 .dds file, into the, then in the sky.con, change the line "Skydome.skyTexture levels/(name-of-map)/(name-of-sky-texture)" to point to your new sky. Then go and change the other sky settings to match your new sky.

How to increase the view distance?[edit | edit source]

To change the view distance in a map, there are 2 main controls. The "GameLogic.MaximumLevelViewDistance ###" in the init.con in the map's, and the "Renderer.fogStartEndAndBase #/#/#/#" line in the sky.con, which is also in the map's

How do I change where the 3rd person camera is? [edit | edit source]

you need to change the settings in the lines, "ObjectTemplate.chaseDistance #""ObjectTemplate.chaseAngle #", and "ObjectTemplate.chaseOffset #/#/#" in the camera's template in the vehicle's .tweak file.

I moved a weapon/vehicle from one mod to another, and the HUD files[edit | edit source]

won't work?! 

You need to save the HUD pics as .DDS files, the game will not read .tga files. Also, see below.…

What are the proper file format settings for HUD pics? [edit | edit source]

You need to save the HUD pics as an "ARGB with no mipmaps".DDS file. You could also rename the file from .tga to .DDS, however this can cause problems.

How do I change which camera views are available in a vehicle? [edit | edit source]

In the camera's template in the vehicle's .tweak file, you can use the lines, "ObjectTemplate.CVMNose #, ObjectTemplate.CVMChase #, ObjectTemplate.CVMFrontChase #, ObjectTemplate.CVMFlyBy #" to turn on/off the different camera views. 1 = on, 0 = off. 

How do I convert music/sounds to BF2's .ogg file format? / my .ogg files wont work! [edit | edit source]

you need to download the BF2 Sound Tools. Then save your sound as a .wav file, and drag/drop your sound file onto the "oggenc.exe". That will create a .ogg file that BF2 can use. 

Weapon sound not playing or looping correctly? [edit | edit source]

you need to set region markers in the sound file and make sure the sound template is setup correctly

How do I increase the distance that a gunshot can be heard?[edit | edit source]

you will find the 2 lines in the 3p firing sound area of the weapon's .tweak file. "ObjectTemplate.minDistance #" and "ObjectTemplate.halfVolumeDistance #" Change those numbers to what you want, like, min 15, max 30.

I edited a skin, and now it's very shiny [edit | edit source]

You lost the alpha channel for the texture. The alpha channel controls how shiny a texture is, white = shiny, black = dull. You'll have to put the original alpha back into the texture, or make a new one, and resave the texture as "DTX5, ARGB, 8 bpp, | interpolated alpha", with mipmaps set to "all".

What are the proper file format settings for ground textures? [edit | edit source]

For colormap textures, you need to create a "512x512, ARGB with no MIP-maps".DDS texture. For detail texture, you need to create a "512x512, DXT1 RGB no alpha, with MIP-maps set to "all".DDS texture.(I'm not sure about the detail texture settings. If I'm wrong, correct me!)

I edited a weapon/vehicle, and now there are no projectiles/it won't fire [edit | edit source]

You need to make sure the weapon is properly setup to use a projectile that exists.

How do you edit the rate of fire of a weapon? [edit | edit source]

In the weapon's template in the .tweak file for the weapon or vehicle, this line " #" controls the ROF. *note* the RPM MUST be divisible by 1800(the frames per min the physics engine runs at). If it's not, the game will automatically round the number up. Example, if you try to use 550 RPM, the game will use 600 instead.

How can I make it take longer to make a weapon overheat? [edit | edit source]

the 2 lines, "ObjectTemplate.heatAddWhenFire #" and "ObjectTemplate.coolDownPerSec #" control the overheating.

The dummy projectiles on my vehicle don't reappear after the weapon reloads [edit | edit source]

You need to give the weapon 2 or more mags for the dummy projectiles to reappear. 

I went to fire my weapon and got an error "No barrels configured for this firearm" [edit | edit source]

Check the Weapon's TWEAK file in the SinglefireComp section. Make sure it says ObjectTemplate.createComponent SingleFireComp  If it's set up for MultifireComp be sure you have both inputs (standard fire and alt fire) properly setup for the weapon. Most weapons should use SinglefireComp and not MultifireComp.

How do I get the ejected shells to stay longer? [edit | edit source]

the empty shell effects are in "" folder. Open one of them, and change the line "ObjectTemplate.timeToLive CRD_UNIFORM/#/#/#" to change how long it lives.

How do I make dead bodies/vehicle wrecks stay longer? [edit | edit source]

Edit the "TimeStayAsWreck #" in the .tweak file for what ever it is. -1 will make it stay forever.

How do I remove the "Need Players to start" message? [edit | edit source]

Edit the "My Documents/Battlefield2/Profiles/(profile)/ServerSettings.con". Edit the line "sv.numPlayersNeededToStart #" line to have a 1. It might be a good idea to mark the file as "read only" when your done.

How do I make soldiers walk/run faster? [edit | edit source]

edit the file, "Objects\soldiers\Common\Common.con". The "phy-soldier-speed-factor #" line controls the walk/run speed. You can change jump height, and several other things in this file. There are other movement related settings in the "objects/soldiers/(team-name)/(soldier-name).con"

I've added more than 9 weapons/items to a kit, and now I get random CTD?[edit | edit source]

There is no known fix.

I'm seeing black flickering on the textures of weapons/buildings/etc! [edit | edit source]

This is called the "Z-fighting bug" and there is currently no known 100% fix. Best current remedy is "You could try "renderer.tweakNearPlane1p 0.1" and "renderer.tweakFarPlane1p 5" just add these to the Init.con of the mod. The default values are "renderer.tweakNearPlane1p 0.04" and "renderer.tweakFarPlane1p 15". Higher values for the near plane will allow better Z buffer precision (-> less Z-fighting) but too high will cause near culling and for the far plane lower values are better but too low will cause far culling."

Community content is available under CC-BY-SA unless otherwise noted.