Changing fonts in 3.4

Norm Koger's The Operational Art of War III is the next game in the award-winning Operational Art of War game series. TOAW3 is updated and enhanced version of the TOAW: Century of Warfare game series. TOAW3 is a turn based game covering operational warfare from 1850-2015. Game scale is from 2.5km to 50km and half day to full week turns. TOAW3 scenarios have been designed by over 70 designers and included over 130 scenarios. TOAW3 comes complete with a full game editor.

Moderators: JAMiAM, ralphtricky

macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

Changing fonts in 3.4

Post by macgregor »

I did this before with the old version. There was some setting I remember that required a template to change. I don't mind the map fonts as they have improved. It's just the unit and battle report fonts that I'd like to change to something less 'courier-like' and perhaps larger for my tired eyes.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

Okay -I found the thread. I was able to change the font, but would prefer white over gold letters. Can anyone help?

Tried changing 'font color' under unit small and medium to no avail. I need to replace a color code, but to what?
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Changing fonts in 3.4

Post by ralphtricky »

ORIGINAL: macgregor

Okay -I found the thread. I was able to change the font, but would prefer white over gold letters. Can anyone help?

Tried changing 'font color' under unit small and medium to no avail. I need to replace a color code, but to what?
They're RGB values, so I looked for gold rgb, and wikipedia says that the magic number is...0xFFD700, so put that in for the text color. Make sure that WindowsFont=Y. The other option is to edit the actual bitmap if Windowsfont=N.

In case you missed it, you can also change the screen resolution by changing the Opart 3.ini file.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

Thanks Ralph. I appreciate the help. Now, you say you looked for gold. If I want white I should probably check back at Wikipedia for white, no? I'll give it a shot.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Changing fonts in 3.4

Post by ralphtricky »

White is easy, it's 0xffffff.

The best thing to do may be to download something like Paint.Net or some other program that has a color wheel, most of them will tell you the RGB values to put in.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

ORIGINAL: ralphtrick

White is easy, it's 0xffffff.

The best thing to do may be to download something like Paint.Net or some other program that has a color wheel, most of them will tell you the RGB values to put in.
I never looked for it, and the only time I really used it was to do AARs(way back when)but I thought it displayed more info like that. That definitely puts me in the driver's seat. Thanks -and I really like the way the game works now. I don't know what you'll do for the sailors, what you can do, but in time they'll get some fair representation. I'll be testing Countdown to Infamy with 3.4. I'm hopeful some of the weirdness i encountered with the Pearl Harbor attack will not occur(plus I'll be on my quad-core this time). I'm obligated not to start until these slow-pokes get War in the West to 11/41. You may have time. OTOH I'd be happy to have to start over for the right reason. Doing the math, we'll take 8 years or so at the current pace. Naturally , I'm trying to bring that number down with time rules.
User avatar
Telumar
Posts: 2346
Joined: Tue Jan 03, 2006 12:43 am

RE: Changing fonts in 3.4

Post by Telumar »

Macgregor, this: http://www.colorschemer.com/online.html might save you time.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

ORIGINAL: Telumar

Macgregor, this: http://www.colorschemer.com/online.html might save you time.
That's a pretty cool site! I can make them any color I want now. Thanks.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

Now the only problem appears to be which number to change. It's apparently not the unit info color. I'm hesitant to experiment too much.
User avatar
Telumar
Posts: 2346
Joined: Tue Jan 03, 2006 12:43 am

RE: Changing fonts in 3.4

Post by Telumar »

You can backup your original Opart 3 fonts.ini and start right away with experiments..why not?

Be it as it is, the most common fonts all in one picture:

Image

Note that i don't use the deafult font for the Place Name Fonts but that i kept the standard sizes/colours to stay in "sync" with the conventional use.

All other fonts that are not displayed on the screenshot should be self-explaining. Document Font, Small Supply Font, Objective Font, Tool Tip Font.


Medium Font is also used in the Battle Report and all other info screens (Theatre Options, Replacements, Air Briefing, Situation Briefing etc pp)
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

Telumar, what can I say? Thank you very much for this informative display. If I can't fix it now, it's my own fault.
User avatar
1_Lzard
Posts: 277
Joined: Wed Aug 18, 2010 7:36 pm
Location: McMinnville, OR

RE: Changing fonts in 3.4

Post by 1_Lzard »

Outstanding find, Telemar! Just the ticket!

WELL DONE, THAT MAN!
"I have the brain of a Genius, and the heart of a Little Child. I keep them in a jar under my bed!"
User avatar
Curtis Lemay
Posts: 15329
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Changing fonts in 3.4

Post by Curtis Lemay »

ORIGINAL: Telumar

You can backup your original Opart 3 fonts.ini and start right away with experiments..why not?

Be it as it is, the most common fonts all in one picture:

Image

Note that i don't use the deafult font for the Place Name Fonts but that i kept the standard sizes/colours to stay in "sync" with the conventional use.

All other fonts that are not displayed on the screenshot should be self-explaining. Document Font, Small Supply Font, Objective Font, Tool Tip Font.


Medium Font is also used in the Battle Report and all other info screens (Theatre Options, Replacements, Air Briefing, Situation Briefing etc pp)

Just note that if you want to see those SS Runes, you need to use the bitmapped fonts for the Small and Medium Fonts (and a couple of others - I forget their names).
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Telumar
Posts: 2346
Joined: Tue Jan 03, 2006 12:43 am

RE: Changing fonts in 3.4

Post by Telumar »

ORIGINAL: Curtis Lemay

Just note that if you want to see those SS Runes, you need to use the bitmapped fonts for the Small and Medium Fonts (and a couple of others - I forget their names).

UnitInfoSmallFont is the only other one where SS Runes are displayed i think.

Btw, could it be that the engine since 3.4 automatically 'translates' SS into the Runes? In the scenario from the above screenshot i entered the letters normally and it converted them to Runes. Previously one had to type Strg+B to get the runes. I would prefer the old setup as i always use windows fonts in small and medium font.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

I tried changing the medium and small font values but nothing changed. Do I need to restart the computer?
Actually, first I changed the back color as it was the only value listed. Then I injected a text color, though neither action has changed the text color in my reports. It's still gold, but I suppose I could learn to live with it. I'd really like to replace all the gold lettering with something white, but like i said, it's not a huge deal. Ian(sapper32) appears to have the font I want. Perhaps I'll just ask him for his Opart 3 Font.ini values so I can copy and paste them into mine.
User avatar
Telumar
Posts: 2346
Joined: Tue Jan 03, 2006 12:43 am

RE: Changing fonts in 3.4

Post by Telumar »

It's really not complicated. You need to restart the game after you made the changes. That is if you have the game running while you make the changes.

In the screenshot i posted i have disabled backgrounds. Under each Font Section you can do this with Background=Y.

Eras Medium ITC (with outline=N), Arial, Calibri and Verdana (these would need outline=Y, but in the end it's a question of personal taste) work well as Medium and Small Font.

Here's what i use (as in the screenshot):

[Colors]
 ToolTipDelay=10
 ToolTipAlpha=700
 ToolTipColor=0x76AD86
 Background=0x7F7F7F
 Gold=0xF4CF64
 Red=0xFF0000
 Silver=0xCAFFFF
 [DocumentFont]
 TextColor=0xF4CF64
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=N
 Background=N
 Spacing=1
 Weight=900
 Size=9
 Font=ERAS MEDIUM ITC
 [MediumFont]
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=N
 Background=N
 Spacing=1
 Weight=700
 Size=8
 Font=ERAS MEDIUM ITC
 [SmallFont]
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=N
 Background=N
 Spacing=1
 Weight=700
 Size=7
 Font=ERAS MEDIUM ITC
 [ObjectiveFont]
 TextColor=0xF4CF64
 BackColor=0xFFFFFF
 windowsFont=Y
 Outline=Y
 Background=N
 Spacing=0
 Weight=900
 Size=10
 Font=ERAS MEDIUM ITC
 [ToolTipFont]
 TextColor=0xF4CF64
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=N
 Background=N
 Spacing=0
 Weight=500
 Size=12
 Font=Times New Roman
 [SupplyFont]
 TextColor=0xFFDF28
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=N
 Background=N
 Spacing=0
 Weight=900
 Size=8
 Font=DokChampa
 [SmallSupplyFont]
 TextColor=0xFFFFFF
 BackColor=0x7F7F7F
 windowsFont=N
 Outline=Y
 Background=N
 Spacing=1
 Weight=900
 Size=9
 Font=Times New Roman
 [PlaceNameFont]
 TextColor=0xE3F5E5
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=Y
 Background=N
 Spacing=0
 Weight=900
 Size=11
 Font=cambria
 [PlaceNameFont1]
 TextColor=0xE3F5E5
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=Y
 Background=N
 Spacing=1
 Weight=900
 Size=20
 Font=cambria
 [PlaceNameFont2]
 TextColor=0x00BFFF
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=Y
 Background=N
 Spacing=0
 Weight=600
 Size=10
 Font=cambria italic
 [PlaceNameFont3]
 TextColor=0xCEFFFF
 BackColor=0x7F7F7F
 windowsFont=Y
 Outline=Y
 Background=N
 Spacing=0
 Weight=900
 Size=7
 Font=ERAS MEDIUM ITC
 [UnitInfoSmallFont]
 TextColor=0xF4CF64
 BackColor=0x7F7F7F
 windowsFont=N
 Outline=N
 Background=N
 Spacing=1
 Weight=700
 Size=7
 Font=ERAS medium ITC
 [UnitInfoMediumFont]
 TextColor=0xF4CF64
 BackColor=0x7F7F7F
 windowsFont=N
 Outline=n
 Background=N
 Spacing=1
 Weight=700
 Size=8
 Font=ERAS MEDIUM ITC
 [Unicode]
 UnicodeFonty=-4
 UnicodeFontx=0
 UnicodeFont=N

macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

In your display, your unit info is still gold. I was hoping to have all this font white as it would be easier on my eyes. I'm making a big deal out of nothing though.
User avatar
Telumar
Posts: 2346
Joined: Tue Jan 03, 2006 12:43 am

RE: Changing fonts in 3.4

Post by Telumar »

Then, under [Colors] change Gold= to 0xFFFFFF for white, or anything you prefer. That's all you gotta do.
macgregor
Posts: 1100
Joined: Tue Feb 10, 2004 6:44 pm

RE: Changing fonts in 3.4

Post by macgregor »

Thanks again. Your perseverance payed off, and I am grateful. Got it working. Perhaps I will tweak the color now.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: Changing fonts in 3.4

Post by fulcrum28 »

Im playing 3.4 and even though i modified .ini file
unitinfomediumfont and unitinfosmallfont do not change...

the rest of the fonts can be modified though..any reason for that?
thank you in advance.
Post Reply

Return to “Norm Koger's The Operational Art Of War III”