kevinman4404
Lightning Warrior
There are currently utilities for easily editing the normal gamefont, but it does not work with the expanded gamefont. This is a tutorial for easy editing of the expanded gamefont by Johnnysmith using GIMP2.6
With this tutorial, you do not have to download Johnnysmith's expanded gamefont files seperately.
REQUIREMENTS
1) GIMP 2.6 http://www.gimp.org/downloads/.
2) Basic graphics/GIMP knowledge
3) Basic DLL knowledge (including how to compile)
4) Basic knowledge of how to use your own gamefont files
INSTRUCTIONS
1) open my GIMP gamefont template (GameFontTemplate.tga), which is attached, using GIMP.
2) edit the squares you want to change. Draw a rectangular selection so that you stay within the box and keep the file safe. The easiest ways to add an icon are to go on google, and either lasso/copy/paste, or, if the image has a white background, to select by colour/invert selection/copy/paste.
3) select by colour, in the toolbox set the threshold to 0, select the magenta grid, use the eraser tool (size 10.00, opacity 100%), erase all of it
4) repeat for gamefont_75.tga. Use the proper template for this, which is also attached. The easiest way to do the icons is just to copy/paste/resize icons from the full-sized gamefont file.
5) you will need to edit the DLL to handle the extra icons, as per the instructions at http://forums.civfanatics.com/showthread.php?t=340123&langid=1. As-is, iCurSymbolID will need to be set to 9200. If you add new lines of bonuses, just follow Sephi's instructions in the link. Save, compile, use. I have attached a DLL with this already done (9200), if there are no other DLL modifications in your mod.
Enjoy
With this tutorial, you do not have to download Johnnysmith's expanded gamefont files seperately.
REQUIREMENTS
1) GIMP 2.6 http://www.gimp.org/downloads/.
2) Basic graphics/GIMP knowledge
3) Basic DLL knowledge (including how to compile)
4) Basic knowledge of how to use your own gamefont files
INSTRUCTIONS
1) open my GIMP gamefont template (GameFontTemplate.tga), which is attached, using GIMP.
2) edit the squares you want to change. Draw a rectangular selection so that you stay within the box and keep the file safe. The easiest ways to add an icon are to go on google, and either lasso/copy/paste, or, if the image has a white background, to select by colour/invert selection/copy/paste.
3) select by colour, in the toolbox set the threshold to 0, select the magenta grid, use the eraser tool (size 10.00, opacity 100%), erase all of it
4) repeat for gamefont_75.tga. Use the proper template for this, which is also attached. The easiest way to do the icons is just to copy/paste/resize icons from the full-sized gamefont file.
5) you will need to edit the DLL to handle the extra icons, as per the instructions at http://forums.civfanatics.com/showthread.php?t=340123&langid=1. As-is, iCurSymbolID will need to be set to 9200. If you add new lines of bonuses, just follow Sephi's instructions in the link. Save, compile, use. I have attached a DLL with this already done (9200), if there are no other DLL modifications in your mod.
Enjoy