Font type with PrintBold
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 1783
- Joined: Wed Jul 23, 2003 9:22 pm
Font type with PrintBold
I know smallfont is that white text used in Print, but what is the font used in PrintBold (FONTAY##)?
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: Font type with PrintBold
Does it actually change the font between the two? I thought the only difference between Print and PrintBold was that PrintBold displays for all players, while Print only displays for the activator.
-
-
- Posts: 4723
- Joined: Mon Apr 10, 2006 1:49 pm
- Preferred Pronouns: He/Him
Re: Font type with PrintBold
I may be misremembering, but I believe Vanilla Hexen used PrintBold to send messages about "you have solved 1/nth of the puzzle..." to all the players. The font used was the same message font that Hexen and Heretic both used, just translated graphically to "yellow" (a sort of dark gold with grey outlines) - which is now part of ZDoom's message colors (CR_YELLOW).
-
- Posts: 1783
- Joined: Wed Jul 23, 2003 9:22 pm
Re: Font type with PrintBold
In vanilla, there was a font for Print (FONTA##) and a font for PrintBold (FONTAY##). This may just be yellow text instead of white and ZDoom does the same thing now, but since it's a separate font with its own graphics, PrintBold doesn't have to use yellow text. It could use a completely different font, like the basic Doom font for Print and...oh I don't know...an upside down text for PrintBold.
The problem is that using fontdefs, I don't know of a way to use the PrintBold font because there's no option for it that I know of (wiki is no help) and I don't know the font for it. Smallfont is for the white FONTA text, but what is the yellow FONTAY? I don't think smallfont2 is it since that's for Strife.
The problem is that using fontdefs, I don't know of a way to use the PrintBold font because there's no option for it that I know of (wiki is no help) and I don't know the font for it. Smallfont is for the white FONTA text, but what is the yellow FONTAY? I don't think smallfont2 is it since that's for Strife.
-
-
- Posts: 4723
- Joined: Mon Apr 10, 2006 1:49 pm
- Preferred Pronouns: He/Him
Re: Font type with PrintBold
If you have a FONTDEFS lump with this in it:
You should then be able to use that font through ACS/SBARINFO/Zscript.
Code: Select all
YellowFont
{
Template FONTAY%03d
}
-
- Posts: 1783
- Joined: Wed Jul 23, 2003 9:22 pm
Re: Font type with PrintBold
Alright, I tried that and PrintBold still prints out the white instead of yellow.
-
-
- Posts: 17924
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Font type with PrintBold
[wiki]Print[/wiki] and [wiki]PrintBold[/wiki] use different default color, as explained on the wiki. (Seriously. Read it.) The default color for print corresponds to the color from the msgmidcolor CVAR; for printbold it's the msgmidcolor2 CVAR. You can override that by using your own color specifier. Again, all that stuff is on the wiki.
-
- Posts: 1783
- Joined: Wed Jul 23, 2003 9:22 pm
Re: Font type with PrintBold
I do read it, and for the most part, it does help, but not in this case. I guess my only other option at this point is to use SetFont for the PrintBold commands, which should work anyway.
aaaaand even that didn't work, so now I'm not even going to care anymore if PrintBold prints out as white. At least the spacing question was answered and that did work. This was a much more trivial matter anway.
aaaaand even that didn't work, so now I'm not even going to care anymore if PrintBold prints out as white. At least the spacing question was answered and that did work. This was a much more trivial matter anway.
-
- Lead GZDoom+Raze Developer
- Posts: 49143
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Font type with PrintBold
Gez wrote:[wiki]Print[/wiki] and [wiki]PrintBold[/wiki] use different default color, as explained on the wiki. (Seriously. Read it.) The default color for print corresponds to the color from the msgmidcolor CVAR; for printbold it's the msgmidcolor2 CVAR. You can override that by using your own color specifier. Again, all that stuff is on the wiki.
Actually, no. Changing msgmidcolor will affect both. msgmidcolor2 is present but unused.
-
-
- Posts: 17924
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Font type with PrintBold
It does seem to be used, though.
-
- Lead GZDoom+Raze Developer
- Posts: 49143
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Font type with PrintBold
Ok, but for some reason it won't get used by PrintBold. Seems like it never sets the font color when doing the printing.