- Joined
- May 6, 2009
- Messages
- 89
This tutorial aims to help you spruce up your text visuals, away from the vanilla font, making the map feel more like a custom than ever before!
Note: "I am fully aware of the thread on the same subject as this tutorial in the forums section, however that tutorial is a little unclear, should you be unfamiliar with the editor, or overhauls. This tutorial aims to provide a simplified and step-by-step mean to achieving this overhaul"
Note: "Remember that if you have any other .txt files imported, none of them, including this one, will work, and it may cause map crashes. All .txt edits must all be in a single .txt file, and that .txt file must be imported as war3mapskin.txt"
2. Now import the font(s) that you would like to use, into your map using the Import Manager. It is vital to remove the "war3mapImported" from the import path! You can then set the path to whatever you'd like, but the path MUST end with .ttf / .TTF / .otf / .OTF or it will not work!
If you are unable to import from this folder to the World Editor, a work around can be performed by saving the font you want to use into an alternate directory (such as C:\\Documents\War3EditorImports for instance).
3. Now open Note-Pad, and either type in or copy/paste the following:
"your font here" must be EXACTLY the same as the path of the imported font file, or the map will encounter a crash.
For instance, if you have used Arial.ttf as your custom font, your .txt will look like this:
"ChatFont" - Will change the player message font
"EscMenuTextFont" - Will change the menu and dialog fonts
"TextTagFont" - Will change the "Allies, All players, Observers, etc" font
"InfoPanelTextFont" - Will change quests, Menu, Allies, Message log button's font
"MessageFont" - Will change the game message font
"MasterFont" - Will change the base font used in-game
Note: "Some fonts will appear small in-game, and may be hard to read. If this happens with your chosen font, it is possible to increase the size by entering / copying the following into a new .txt called war3mapMisc.txt, and importing it into your map using the Import manager;"
Note: "0.011 is font size 11 and these are the default settings."
Note: "It is possible to change the font of the player inputted text, however it requires the use of an mpq editor."
Note: "I have heard rumors of games crashing because of this overhaul. In my opinion, this is because the game isn't using English as it's selected language option. I currently do not know how to fix this without changing the language options, or creating an entirely new map that uses other languages as it's selected language option.
This could also be caused by the user not actually having the font(s) that are being used in-game in their C:\Windows\Fonts directory"
Changelog:
(10 October 2017)- Overhauled the thread.
- Included fixes and amendments provided by comments.
- Added Changelog to the thread.
- Removed some confusing text for review; might re-add at a later stage.
- Removed attachments for the time being in order to provide more recent screen captures.
- Updated screenshots to show multiple variations of font, as well as multiple uses of font within the same instance
Note: "I am fully aware of the thread on the same subject as this tutorial in the forums section, however that tutorial is a little unclear, should you be unfamiliar with the editor, or overhauls. This tutorial aims to provide a simplified and step-by-step mean to achieving this overhaul"
Note: "Remember that if you have any other .txt files imported, none of them, including this one, will work, and it may cause map crashes. All .txt edits must all be in a single .txt file, and that .txt file must be imported as war3mapskin.txt"
Getting Started:
1. First you will need to locate the Windows Fonts Directory; the folder containing the globals fonts used by the Windows System. This folder can be found at the following location: "C:\Windows\Fonts"2. Now import the font(s) that you would like to use, into your map using the Import Manager. It is vital to remove the "war3mapImported" from the import path! You can then set the path to whatever you'd like, but the path MUST end with .ttf / .TTF / .otf / .OTF or it will not work!
If you are unable to import from this folder to the World Editor, a work around can be performed by saving the font you want to use into an alternate directory (such as C:\\Documents\War3EditorImports for instance).
3. Now open Note-Pad, and either type in or copy/paste the following:
Code:
[CustomSkin]
ChatFont=your font here.ttf
EscMenuTextFont=your font here.ttf
TextTagFont=your font here.ttf
InfoPanelTextFont=your font here.ttf
MessageFont=your font here.ttf
MasterFont=your font here.ttf
"your font here" must be EXACTLY the same as the path of the imported font file, or the map will encounter a crash.
For instance, if you have used Arial.ttf as your custom font, your .txt will look like this:
Code:
[CustomSkin]
ChatFont=Arial.ttf
EscMenuTextFont=Arial.ttf
TextTagFont=Arial.ttf
InfoPanelTextFont=Arial.ttf
MessageFont=Arial.ttf
MasterFont=Arial.ttf
"ChatFont" - Will change the player message font
"EscMenuTextFont" - Will change the menu and dialog fonts
"TextTagFont" - Will change the "Allies, All players, Observers, etc" font
"InfoPanelTextFont" - Will change quests, Menu, Allies, Message log button's font
"MessageFont" - Will change the game message font
"MasterFont" - Will change the base font used in-game
Note: "Some fonts will appear small in-game, and may be hard to read. If this happens with your chosen font, it is possible to increase the size by entering / copying the following into a new .txt called war3mapMisc.txt, and importing it into your map using the Import manager;"
Code:
[FontHeights]
// in-game ui
ToolTipName=0.011 // tooltip name (first line)
ToolTipDesc=0.011 // tooltip description and ubertip
ToolTipCost=0.011 // tooltip cost value
ChatEditBar=0.013 // chat edit bar text
CommandButtonNumber=0.009 // little number at the bottom right of command buttons
WorldFrameMessage=0.015 // single line of error text that appears above the console
WorldFrameTopMessage=0.024 // large upkeep text that appears below the time of day indicator
WorldFrameUnitMessage=0.015 // small text that is used for in-game trigger based dialog
WorldFrameChatMessage=0.013 // in-game chat text
Inventory=0.011 // "Inventory" text above your inventory
LeaderBoard=0.011 // leader board text
PortraitStats=0.011 // hit points and mana text below 3D unit portrait
QuestDescription=0.011 // quest description text in Quest Dialog
UnitTipPlayerName=0.011 // player name on unit tooltip
UnitTipUnitName=0.011 // unit name on unit tooltip
UnitTipDesc=0.011 // description text on unit tooltip
Note: "It is possible to change the font of the player inputted text, however it requires the use of an mpq editor."
4. Now import the .txt using the Import Manager. Set the import path of the .txt to war3mapskin.txt, and remember to remove the "war3mapImported" from the import path.Code:
[ChatFonts]ChatFont0="FontName.ttf"
Also, there are two easy ways to save interface settings:
1. Export old war3mapSkin.txt with mpq editor, add these lines there, and import it again
2. Put these custom changes in war3campaignSkin.txt and import that file, it works exactly the same as war3mapSkin.txt
Note: "I have heard rumors of games crashing because of this overhaul. In my opinion, this is because the game isn't using English as it's selected language option. I currently do not know how to fix this without changing the language options, or creating an entirely new map that uses other languages as it's selected language option.
This could also be caused by the user not actually having the font(s) that are being used in-game in their C:\Windows\Fonts directory"
Credits:
- CBX Entertainment (Creator of Tomb of Jarachon)
- Ap0calypse
- M0RT
- The Hive Workshop Community for their ongoing support for Map Modding
- Capture 1 shows the font Harington used globally.
- Capture 2 shows the font Papyrus used globally.
- Capture 3 shows Papyrus as the main font, but Harington as the game menu font.
Attachments
Last edited: