Skip to content

Commit 80f6a08

Browse files
committed
ControlBarPro: Create scripts to generate language files for different screen resolutions
1 parent 4e30c04 commit 80f6a08

27 files changed

+1358
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
;// FILE: HeaderTemplate.ini ///////////////////////////////////////
2+
;// Contains templates we can assign to control in the game. The game can be customized
3+
;// depending on location with this system. For example, if we go to a chinease font, we probably don't
4+
;// want things to be in bold so we can setup all the sections that use to use bold to not, as well as
5+
;// change the font if need be.
6+
7+
;/////////////////////////////////////////////////////////////////////
8+
;// Modify this file if you're working on different languages!!!!! //
9+
;/////////////////////////////////////////////////////////////////////
10+
11+
;// Whenever we have large Titles
12+
HeaderTemplate Title
13+
Font = "Batang"
14+
Point = 22
15+
Bold = Yes
16+
End
17+
18+
;//This will be used for the buttons at the bottom of the screens
19+
HeaderTemplate MainButton
20+
Font = "Batang"
21+
Point = 12
22+
Bold = No
23+
End
24+
25+
;//This is used for all the rest of the buttons
26+
HeaderTemplate Button
27+
Font = "Batang"
28+
Point = 12
29+
Bold = No
30+
End
31+
32+
;//This is used for all the small buttons (Like the save load buttons for the campaigns
33+
HeaderTemplate ButtonSmall
34+
Font = "Batang"
35+
Point = 10
36+
Bold = No
37+
End
38+
39+
;// wherever we enter text we'll try to always use this
40+
HeaderTemplate TextEntry
41+
Font = "Batang"
42+
Point = 10
43+
Bold = No
44+
End
45+
46+
;// wherever we enter text we'll try to always use this
47+
HeaderTemplate ComboBoxEntry
48+
Font = "Batang"
49+
Point = 10
50+
Bold = No
51+
End
52+
53+
;// Used for all sub headings
54+
HeaderTemplate MinorTitle
55+
Font = "Batang"
56+
Point = 10
57+
Bold = No
58+
End
59+
60+
;// Used wherever we have static text labels (for example, all the score screen player information
61+
HeaderTemplate LabelRegular
62+
Font = "Batang"
63+
Point = 10
64+
Bold = No
65+
End
66+
67+
;// Used wherever we have small static text labels (for example, On the side select window)
68+
HeaderTemplate LabelSmall
69+
Font = "Batang"
70+
Point = 8
71+
Bold = No
72+
End
73+
74+
;// Used only on the loadscreen under the cameos that popup partway through the load movie
75+
HeaderTemplate LoadScreenCameos
76+
Font = "Batang"
77+
Point = 10
78+
Bold = No
79+
End
80+
81+
;// Used only on the loadscreen located at the bottom of the zoomed in map
82+
HeaderTemplate LoadScreenMissionLocation
83+
Font = "Placard MT Condensed"
84+
Point = 14
85+
Bold = No
86+
End
87+
88+
HeaderTemplate Arial10BoldTemplate
89+
Font = "Batang"
90+
Point = 10
91+
Bold = No
92+
End
93+
94+
HeaderTemplate Arial12BoldTemplate
95+
Font = "Batang"
96+
Point = 12
97+
Bold = No
98+
End
99+
100+
HeaderTemplate Arial14Template
101+
Font = "Batang"
102+
Point = 14
103+
Bold = No
104+
End
105+
106+
HeaderTemplate Arial14BoldTemplate
107+
Font = "Batang"
108+
Point = 14
109+
Bold = No
110+
End
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
;// FILE: HeaderTemplate.ini ///////////////////////////////////////
2+
;// Contains templates we can assign to control in the game. The game can be customized
3+
;// depending on location with this system. For example, if we go to a chinease font, we probably don't
4+
;// want things to be in bold so we can setup all the sections that use to use bold to not, as well as
5+
;// change the font if need be.
6+
7+
;/////////////////////////////////////////////////////////////////////
8+
;// Modify this file if you're working on different languages!!!!! //
9+
;/////////////////////////////////////////////////////////////////////
10+
11+
;// Whenever we have large Titles
12+
HeaderTemplate Title
13+
Font = �ө���
14+
Point = 22
15+
Bold = Yes
16+
End
17+
18+
;//This will be used for the buttons at the bottom of the screens
19+
HeaderTemplate MainButton
20+
Font = �ө���
21+
Point = 16
22+
Bold = No
23+
End
24+
25+
;//This is used for all the rest of the buttons
26+
HeaderTemplate Button
27+
Font = �ө���
28+
Point = 12
29+
Bold = No
30+
End
31+
32+
;//This is used for all the small buttons (Like the save load buttons for the campaigns
33+
HeaderTemplate ButtonSmall
34+
Font = �ө���
35+
Point = 10
36+
Bold = No
37+
End
38+
39+
;// wherever we enter text we'll try to always use this
40+
HeaderTemplate TextEntry
41+
Font = �ө���
42+
Point = 10
43+
Bold = No
44+
End
45+
46+
;// wherever we enter text we'll try to always use this
47+
HeaderTemplate ComboBoxEntry
48+
Font = �ө���
49+
Point = 10
50+
Bold = No
51+
End
52+
53+
;// Used for all sub headings
54+
HeaderTemplate MinorTitle
55+
Font = �ө���
56+
Point = 10
57+
Bold = No
58+
End
59+
60+
;// Used wherever we have static text labels (for example, all the score screen player information
61+
HeaderTemplate LabelRegular
62+
Font = �ө���
63+
Point = 10
64+
Bold = No
65+
End
66+
67+
;// Used wherever we have small static text labels (for example, On the side select window)
68+
HeaderTemplate LabelSmall
69+
Font = �ө���
70+
Point = 8
71+
Bold = No
72+
End
73+
74+
;// Used only on the loadscreen under the cameos that popup partway through the load movie
75+
HeaderTemplate LoadScreenCameos
76+
Font = �ө���
77+
Point = 10
78+
Bold = No
79+
End
80+
81+
;// Used only on the loadscreen located at the bottom of the zoomed in map
82+
HeaderTemplate LoadScreenMissionLocation
83+
Font = �ө���
84+
Point = 14
85+
Bold = No
86+
End
87+
88+
HeaderTemplate Arial10BoldTemplate
89+
Font = �ө���
90+
Point = 10
91+
Bold = No
92+
End
93+
94+
HeaderTemplate Arial12BoldTemplate
95+
Font = �ө���
96+
Point = 12
97+
Bold = No
98+
End
99+
100+
HeaderTemplate Arial14Template
101+
Font = �ө���
102+
Point = 14
103+
Bold = No
104+
End
105+
106+
HeaderTemplate Arial14BoldTemplate
107+
Font = �ө���
108+
Point = 14
109+
Bold = No
110+
End
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
;// Language.ini ///
2+
;// This file contains all declarations that are specific to a language.
3+
;// for example, this is where we set the unicode font for a language
4+
5+
Language
6+
;UnicodeFontName = "Batang Unicode MS"
7+
UnicodeFontName = "Batang"
8+
;LocalFontFile = PLCC____.TTF ;//When we add our game fonts... this is where we do it.
9+
UseHardWordWrap = Yes ;// Used to force word wrapping no matter what character we are on at the end of the space
10+
CopyrightFont = Courier 12 Yes; //Used to display copyright at start of game
11+
MessageFont = Batang 10 No; //Used for messages at top of screen.
12+
MilitaryCaptionTitleFont = "Batang" 12 Yes ;Mission briefing text in bottom left corner.
13+
MilitaryCaptionFont = "Batang" 12 No ;Mission briefing text in bottom left corner.
14+
MilitaryCaptionDelayMS = 250
15+
SuperweaponCountdownNormalFont = Batang 10 No ;superweapon countdown in top right
16+
SuperweaponCountdownReadyFont = Batang 10 No ;superweapon countdown in top right
17+
NamedTimerCountdownNormalFont = Batang 10 No ;mission specific timer
18+
NamedTimerCountdownReadyFont = Batang 10 No ;mission specific timer
19+
DrawableCaptionFont = Batang 10 No ;captions over objects like construction percent.
20+
DefaultWindowFont = Batang 14 No; default font used by windows that don't specify font.
21+
DefaultDisplayStringFont = Batang 12 No; default font used for strings that don't specify font.
22+
TooltipFontName = Batang 8 No; mouse tooltips
23+
NativeDebugDisplay = FixedSys 8 No; used to display frame rate and other debug stats.
24+
DrawGroupInfoFont = Batang 10 No; used to diplay number of selection group to left of unit health bar.
25+
CreditsTitleFont = "Placard MT Condensed" 24 No; used to diplay number of selection group to left of unit health bar.
26+
CreditsMinorTitleFont = "Batang Unicode MS" 16 Yes; used to diplay number of selection group to left of unit health bar.
27+
CreditsNormalFont = "Batang Unicode MS" 14 No; used to diplay number of selection group to left of unit health bar.
28+
End
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
;// Language.ini ///
2+
;// This file contains all declarations that are specific to a language.
3+
;// for example, this is where we set the unicode font for a language
4+
5+
Language
6+
UnicodeFontName = �ө���
7+
;LocalFontFile = PLCC____.TTF ;//When we add our game fonts... this is where we do it.
8+
UseHardWordWrap = Yes ;// Used to force word wrapping no matter what character we are on at the end of the space
9+
CopyrightFont = �ө��� 12 Yes; //Used to display copyright at start of game
10+
MessageFont = �ө��� 10 Yes; //Used for messages at top of screen.
11+
MilitaryCaptionTitleFont = �ө��� 12 Yes ;Mission briefing text in bottom left corner.
12+
MilitaryCaptionFont = �ө��� 12 No ;Mission briefing text in bottom left corner.
13+
MilitaryCaptionDelayMS = 250
14+
SuperweaponCountdownNormalFont = �ө��� 10 No ;superweapon countdown in top right
15+
SuperweaponCountdownReadyFont = �ө��� 10 Yes ;superweapon countdown in top right
16+
NamedTimerCountdownNormalFont = �ө��� 10 No ;mission specific timer
17+
NamedTimerCountdownReadyFont = �ө��� 10 No ;mission specific timer
18+
DrawableCaptionFont = �ө��� 10 No ;captions over objects like construction percent.
19+
DefaultWindowFont = �ө��� 14 No; default font used by windows that don't specify font.
20+
DefaultDisplayStringFont = �ө��� 12 No; default font used for strings that don't specify font.
21+
TooltipFontName = �ө��� 8 No; mouse tooltips
22+
NativeDebugDisplay = FixedSys 8 No; used to display frame rate and other debug stats.
23+
DrawGroupInfoFont = �ө��� 10 No; used to diplay number of selection group to left of unit health bar.
24+
CreditsTitleFont = "Placard MT Condensed" 24 No; used to diplay number of selection group to left of unit health bar.
25+
CreditsMinorTitleFont = "Arial Unicode MS" 16 Yes; used to diplay number of selection group to left of unit health bar.
26+
CreditsNormalFont = "Arial Unicode MS" 14 No; used to diplay number of selection group to left of unit health bar.
27+
End
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
;// FILE: HeaderTemplate.ini ///////////////////////////////////////
2+
;// Contains templates we can assign to control in the game. The game can be customized
3+
;// depending on location with this system. For example, if we go to a chinease font, we probably don't
4+
;// want things to be in bold so we can setup all the sections that use to use bold to not, as well as
5+
;// change the font if need be.
6+
7+
;/////////////////////////////////////////////////////////////////////
8+
;// Modify this file if you're working on different languages!!!!! //
9+
;/////////////////////////////////////////////////////////////////////
10+
11+
;// Whenever we have large Titles
12+
HeaderTemplate Title
13+
Font = "Generals"
14+
Point = 20
15+
Bold = No
16+
End
17+
18+
;//This will be used for the buttons at the bottom of the screens
19+
HeaderTemplate MainButton
20+
Font = "Generals"
21+
Point = 15
22+
Bold = No
23+
End
24+
25+
;//This is used for all the rest of the buttons
26+
HeaderTemplate Button
27+
Font = "Arial"
28+
Point = 12
29+
Bold = No
30+
End
31+
32+
;//This is used for all the small buttons (Like the save load buttons for the campaigns
33+
HeaderTemplate ButtonSmall
34+
Font = "Arial"
35+
Point = 10
36+
Bold = No
37+
End
38+
39+
;// wherever we enter text we'll try to always use this
40+
HeaderTemplate TextEntry
41+
Font = "Arial"
42+
Point = 10
43+
Bold = No
44+
End
45+
46+
;// wherever we enter text we'll try to always use this
47+
HeaderTemplate ComboBoxEntry
48+
Font = "Arial"
49+
Point = 10
50+
Bold = No
51+
End
52+
53+
;// Used for all sub headings
54+
HeaderTemplate MinorTitle
55+
Font = "Arial" ; Generals
56+
Point = 14
57+
Bold = No
58+
End
59+
60+
;// Used wherever we have static text labels (for example, all the score screen player information
61+
HeaderTemplate LabelRegular
62+
Font = "Arial"
63+
Point = 10
64+
Bold = No
65+
End
66+
67+
;// Used wherever we have small static text labels (for example, On the side select window)
68+
HeaderTemplate LabelSmall
69+
Font = "Arial"
70+
Point = 8
71+
Bold = No
72+
End
73+
74+
;// Used only on the loadscreen under the cameos that popup partway through the load movie
75+
HeaderTemplate LoadScreenCameos
76+
Font = "Arial"
77+
Point = 10
78+
Bold = No
79+
End
80+
81+
;// Used only on the loadscreen located at the bottom of the zoomed in map
82+
HeaderTemplate LoadScreenMissionLocation
83+
Font = "Arial"
84+
Point = 14
85+
Bold = No
86+
End
87+
88+
HeaderTemplate Arial10BoldTemplate
89+
Font = "Arial"
90+
Point = 10
91+
Bold = Yes
92+
End
93+
94+
HeaderTemplate Arial12BoldTemplate
95+
Font = "Arial"
96+
Point = 12
97+
Bold = Yes
98+
End
99+
100+
HeaderTemplate Arial14Template
101+
Font = "Arial"
102+
Point = 14
103+
Bold = No
104+
End
105+
106+
HeaderTemplate Arial14BoldTemplate
107+
Font = "Arial"
108+
Point = 14
109+
Bold = Yes
110+
End

0 commit comments

Comments
 (0)