Jump to content
Sign in to follow this  
PurpleGaga27

Need help changing overall font in C&C3

Recommended Posts

Everyone knows the default font used in C&C3 is Russell Square and one other font. I tried using Eurostile to replace Russell Square on all menus and in-game texts, but it didn't work. The replacement font seems to work on selection tabs (in menus), power input text, building queue, intelligence database, map selection, movie selection menu, subtitles and cursor selection text of an object.

Here are the files responsible for changing a font (edit: coding parameters are bugged to only one):

FontSubstitution INI

FontSubstitution "SachaWynter"
    Size 8 = 12 Eurostile
    Size 40 = 70 Eurostile
End
 
FontSubstitution "Arial"
    Size 2 = 2 Eurostile
    Size 1000 = 1000 Eurostile
End
 
FontSubstitution "AlbertusMT"
    Size 2 = 2 Eurostile
    Size 1000 = 1000 Eurostile
End
 
FontSubstitution "TimesNewRoman"
    Size 2 = 2 Eurostile
    Size 1000 = 1000 Eurostile
END
 
FontSubstitution "Eurostile"
    Size 2 = 2 Eurostile
    Size 8 = 12 Eurostile
    Size 40 = 70 Eurostile
    Size 1000 = 1000 Eurostile
End

FontSettings INI

FontDefaultSettings "Eurostile"
  Antialiased = Yes
End
 
FontDefaultSettings "FixedSys"
  Antialiased = No
End
 
FontDefaultSettings "Courier New"
  Antialiased = No
End

Language INI

Language
  ;DecimalSeparator = "."
  ThousandSeparator = ","
  ;TimeMinuteToSecondSeparator = ":"
  UnicodeFontName = "Arial Unicode MS"
  ;LocalFontFile = PLCC____.TTF  ;//When we add our game fonts... this is where we do it.
  LocalFontFile = Eurostile.ttf
  CopyrightFont = "Eurostile" 12 Yes; //Used to display copyright at start of game
  MessageFont   = "Eurostile" 12 Yes; //Used for messages at top of screen.
  MilitaryCaptionTitleFont = "Eurostile" 16 Yes ;Mission briefing text in bottom left corner.
  MilitaryCaptionFont = "Eurostile" 16 Yes ;Mission briefing text in bottom left corner.
  AudioSubtitleFont = "Eurostile" 8 Yes ; Used for the automatic audio subtitling system
  NamedTimerCountdownNormalFont = "Eurostile" 12 Yes  ;mission specific timer
  NamedTimerCountdownReadyFont = "Eurostile" 12 Yes  ;mission specific timer
  DrawableCaptionFont = "Eurostile" 12 Yes ;captions over objects like construction percent.
  DefaultWindowFont = "Eurostile" 14 Yes; default font used by windows that don't specify font.
  DefaultDisplayStringFont = "Eurostile" 12 Yes;  default font used for strings that don't specify font.
  TooltipFontName = "Eurostile" 12 Yes; mouse tooltips
  NativeDebugDisplay = "Eurostile" 14 Yes;  used to display frame rate and other debug stats.
  DrawGroupInfoFont = "Eurostile" 12 Yes; used to diplay number of selection group to left of unit health bar.
  CreditsTitleFont = "Eurostile" 24 Yes; used to diplay number of selection group to left of unit health bar.
  CreditsMinorTitleFont = "Eurostile" 16 Yes; used to diplay number of selection group to left of unit health bar.
  CreditsNormalFont = "Eurostile" 14 Yes; used to diplay number of selection group to left of unit health bar.
  ResolutionFontAdjustment = 0.5 ; Fonts increase at 100% the rate the resolution increases.
End

HeaderTemplate INI

;///////////////////
; For the most part, only Apt... are now being used in the game
; Most others have become obsolete. 
 
;// Used in flash screens.
HeaderTemplate AptGadgets
  Font = "Eurostile"
  Point = 14
  Bold = No
End
 
HeaderTemplate AptGadgetsTiny
  Font = "Eurostile"
  Point = 12
  Bold = No
End
 
 
;/////////////////////////////////////////////////////////
 
;// Whenever we have large Titles
HeaderTemplate Title
  Font = "Eurostile"
  Point = 20
  Bold = No
End
 
;//This will be used for the buttons at the bottom of the screens
HeaderTemplate MainButton
  Font = "Eurostile"
  Point = 15
  Bold = No
End
 
;//This is used for all the rest of the buttons
HeaderTemplate Button
  Font = "Eurostile"
  Point = 12
  Bold = No
End
 
;//This is used for all the small buttons (Like the save load buttons for the campaigns
HeaderTemplate ButtonSmall
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// wherever we enter text we'll try to always use this
HeaderTemplate TextEntry
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// wherever we enter text we'll try to always use this
HeaderTemplate ComboBoxEntry
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// Used for all sub headings
HeaderTemplate MinorTitle
  Font = "Eurostile"
  Point = 14
  Bold = No
End
 
;// Used wherever we have static text labels (for example, all the score screen player information
HeaderTemplate LabelRegular
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// Used wherever we have small static text labels (for example, On the side select window)
HeaderTemplate LabelSmall
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// Used only on the loadscreen under the cameos that popup partway through the load movie
HeaderTemplate LoadScreenCameos
  Font = "Eurostile"
  Point = 10
  Bold = No
End
 
;// Used only on the loadscreen located at the bottom of the zoomed in map
HeaderTemplate LoadScreenMissionLocation
  Font = "Eurostile"
  Point = 14
  Bold = No
End

I am not sure what's missing there or there's a part where I might get wrong.

Edited by Sonic
Fixed all code tags

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×