1. Go to BF2_ModTools/ToolsFL/bin/Fontedit.exe.
2. Open the program.
3. Click "Font", then "Capture". From there, select your font options.(Press "Show more fonts" to see all of the pre-installed windows fonts. In this way, you can install custom fonts and load them from the same "Show more fonts" window.) You should make sure you take the stock sizes as references.* See below for size refs.
4. After you have selected your options, press "Ok." You will now see the screen load all of the letters, numbers, and symbols. This may take a while depending on how big the font was.
5. Hit file, save. Save your new font in: data_***/Common/fonts. Make sure you save it as a Bitmap Font File(.FFF). Example: Newepicfont.FFF
6. Close the font program. Go to the folder where you saved the font to. (Should be data_***/Common/fonts). Copy one of the .fff.option files that was relative to your font's size and rename it to yours.*See below for size refs.
7. Now your font is ready for using! To load it for any use, go to data_***/common/core.req.
Add this line.
Code: Select all
REQN
{
"font"
"newfontthatyoujustmade"
"ifyoumadeanotheroneaddithere"
"anotherone..."
}
8. Now, you can reference your font in certain files and scripts. For example, I loaded my custom font in the HUD files.
Example of that.
Text("player1weapon1name")
{
TextBox(0.328125, 0.000000)
TextBreak("Word")
TextFont("tfu_med")
*Here are a list of the stock battlefront text sizes and formats.