Skip to content

Commit b4a632d

Browse files
authored
Merge pull request #31 from micwoj92/master
add hud fixes from tf2 hud fix
2 parents f55e678 + ce2aa34 commit b4a632d

25 files changed

+1206
-157
lines changed

game_clean/copy/tf/custom/tc2/resource/ui/charinfoarmorysubpanel.res

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203

204204
"model_hide" "1"
205205
"text_center" "1"
206-
"resize_to_text" "1"
206+
"resize_to_text" "0"
207207

208208
"itemmodelpanel"
209209
{
@@ -256,6 +256,7 @@
256256
"PaintBackgroundType" "2"
257257
"paintborder" "1"
258258

259+
"text_xpos" "-10"
259260
"text_ypos" "20"
260261
"text_center" "1"
261262
"model_hide" "0"
@@ -283,7 +284,7 @@
283284
{
284285
"ControlName" "CExButton"
285286
"fieldName" "PrevPageButton"
286-
"xpos" "c-86"
287+
"xpos" "c-106"
287288
"ypos" "290"
288289
"zpos" "5"
289290
"wide" "20"
@@ -310,10 +311,10 @@
310311
"font" "HudFontSmallBold"
311312
"labelText" "%thumbnailpage%"
312313
"textAlignment" "center"
313-
"xpos" "c-60"
314+
"xpos" "c-80"
314315
"ypos" "290"
315316
"zpos" "5"
316-
"wide" "40"
317+
"wide" "60"
317318
"tall" "20"
318319
"autoResize" "1"
319320
"pinCorner" "0"
@@ -400,18 +401,18 @@
400401
{
401402
"ControlName" "CExButton"
402403
"fieldName" "StoreButton"
403-
"xpos" "c-138"
404-
"ypos" "323"
404+
"xpos" "c-300"
405+
"ypos" "290"
405406
"zpos" "20"
406-
"wide" "200"
407-
"tall" "25"
407+
"wide" "160"
408+
"tall" "20"
408409
"autoResize" "0"
409410
"pinCorner" "0"
410411
"visible" "0"
411412
"enabled" "1"
412413
"tabPosition" "0"
413414
"labelText" "#ArmoryButton_Store"
414-
"font" "HudFontSmallBold"
415+
"font" "HudFontSmallestBold"
415416
"textAlignment" "center"
416417
"dulltext" "0"
417418
"brighttext" "0"

game_clean/copy/tf/custom/tc2/resource/ui/classloadoutpanel.res

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
"spotlight" "1"
214214

215215
"modelname" ""
216-
216+
217217
"animation"
218218
{
219219
"name" "PRIMARY"
@@ -314,13 +314,13 @@
314314
"fieldName" "PassiveAttribsLabel"
315315
"font" "ItemFontAttribLarge"
316316
"xpos" "c-135"
317-
"ypos" "120"
317+
"ypos" "c-115"
318318
"zpos" "0"
319319
"wide" "270"
320320
"tall" "240"
321321
"autoResize" "0"
322322
"pinCorner" "0"
323-
"visible" "0"
323+
"visible" "1"
324324
"enabled" "1"
325325
"labelText" ""
326326
"textAlignment" "south"
@@ -492,13 +492,13 @@
492492
"ControlName" "CExImageButton"
493493
"fieldName" "CharacterLoadoutButton"
494494
"labelText" ""
495-
"xpos" "c-25"
496-
"ypos" "c90"
495+
"xpos" "c-166"
496+
"ypos" "c-180"
497497
"zpos" "2"
498498
"wide" "25"
499499
"tall" "25"
500500
"autoResize" "0"
501-
"pinCorner" "3"
501+
"pinCorner" "0"
502502
"visible" "1"
503503
"enabled" "1"
504504
"tabPosition" "0"
@@ -530,13 +530,13 @@
530530
"ControlName" "CExImageButton"
531531
"fieldName" "TauntLoadoutButton"
532532
"labelText" ""
533-
"xpos" "c2"
534-
"ypos" "c90"
533+
"xpos" "c-166"
534+
"ypos" "c-153"
535535
"zpos" "2"
536536
"wide" "25"
537537
"tall" "25"
538538
"autoResize" "0"
539-
"pinCorner" "3"
539+
"pinCorner" "0"
540540
"visible" "1"
541541
"enabled" "1"
542542
"tabPosition" "0"

game_clean/copy/tf/custom/tc2/resource/ui/classselection.res

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@
152152
"defaultFgColor_override" "TanDark"
153153
"armedFgColor_override" "TanDark"
154154
"depressedFgColor_override" "TanDark"
155-
"selectedFgColor_override" "TanDark"
156155

157156
"sound_depressed" "UI/buttonclick.wav"
158157
"sound_released" "UI/buttonclickrelease.wav"
@@ -216,7 +215,6 @@
216215
"defaultFgColor_override" "TanDark"
217216
"armedFgColor_override" "TanDark"
218217
"depressedFgColor_override" "TanDark"
219-
"selectedFgColor_override" "TanDark"
220218

221219
"sound_depressed" "UI/buttonclick.wav"
222220
"sound_released" "UI/buttonclickrelease.wav"
@@ -1640,7 +1638,7 @@
16401638

16411639
"modelname" ""
16421640
"vcd" "class_select.vcd"
1643-
1641+
16441642
"animation"
16451643
{
16461644
"name" "PRIMARY"

game_clean/copy/tf/custom/tc2/resource/ui/econ/backpackpanel.res

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"labelText" ">>"
162162
"textAlignment" "west"
163163
"xpos" "c-300"
164-
"ypos" "20"
164+
"ypos" "28"
165165
"zpos" "1"
166166
"wide" "20"
167167
"tall" "15"
@@ -179,14 +179,15 @@
179179
"labelText" "#ClassBeingEquipped"
180180
"textAlignment" "west"
181181
"xpos" "c-280"
182-
"ypos" "15"
182+
"ypos" "10"
183183
"zpos" "1"
184-
"wide" "210"
185-
"tall" "25"
184+
"wide" "190"
185+
"tall" "50"
186186
"autoResize" "0"
187187
"pinCorner" "0"
188188
"visible" "1"
189189
"enabled" "1"
190+
"wrap" "1"
190191
}
191192

192193
"tool_icon"
@@ -244,7 +245,7 @@
244245
"labelText" "#ShowBaseItemsCheckBox"
245246
"Font" "HudFontSmallestBold"
246247
"textAlignment" "east"
247-
"xpos" "c-70"
248+
"xpos" "c-88"
248249
"ypos" "15"
249250
"zpos" "1"
250251
"wide" "200"
@@ -268,7 +269,7 @@
268269
"ypos" "0"
269270
"zpos" "1"
270271
"wide" "90"
271-
"tall" "20"
272+
"tall" "15"
272273
"autoResize" "1"
273274
"pinCorner" "0"
274275
"visible" "1"
@@ -282,7 +283,7 @@
282283
"fieldName" "NameFilterTextEntry"
283284
"xpos" "c+137"
284285
"ypos" "15"
285-
"wide" "90"
286+
"wide" "120"
286287
"tall" "19"
287288
"autoResize" "0"
288289
"pinCorner" "0"
@@ -517,7 +518,7 @@
517518
"ControlName" "CExButton"
518519
"fieldName" "CancelApplyToolButton"
519520
"xpos" "c-288"
520-
"ypos" "323"
521+
"ypos" "337"
521522
"zpos" "20"
522523
"wide" "100"
523524
"tall" "25"
@@ -542,8 +543,8 @@
542543
{
543544
"ControlName" "CExButton"
544545
"fieldName" "ShowExplanationsButton"
545-
"xpos" "c275"
546-
"ypos" "10"
546+
"xpos" "c265"
547+
"ypos" "15"
547548
"zpos" "100"
548549
"wide" "20"
549550
"tall" "20"

game_clean/copy/tf/custom/tc2/resource/ui/econ/store/v2/storehome_base.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
"defaultFgColor_override" "124 114 99 255"
320320
"armedBgColor_override" "30 30 30 255"
321321
"armedFgColor_override" "124 114 99 255"
322-
"selectedBgColor_override" "10 10 10 255"
322+
"selectedBgColor_override" "24 22 20 255"
323323
"selectedFgColor_override" "235 227 203 255"
324324

325325
"sound_depressed" "UI/buttonclick.wav"

game_clean/copy/tf/custom/tc2/resource/ui/econ/store/v2/storepreviewitempanel_maps.res

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"spotlight" "1"
141141

142142
"modelname" ""
143-
143+
144144
"animation"
145145
{
146146
"name" "PRIMARY"
@@ -549,7 +549,7 @@
549549
"tall" "25"
550550
"autoResize" "1"
551551
"pinCorner" "0"
552-
"visible" "1"
552+
"visible" "0"
553553
"enabled" "1"
554554
"wrap" "1"
555555
"centerwrap" "1"
@@ -568,7 +568,7 @@
568568
"tall" "25"
569569
"autoResize" "1"
570570
"pinCorner" "0"
571-
"visible" "1"
571+
"visible" "0"
572572
"enabled" "1"
573573
"wrap" "1"
574574
"centerwrap" "1"

game_clean/copy/tf/custom/tc2/resource/ui/huddemomanpipes.res

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@
2626
"ControlName" "CExLabel"
2727
"fieldName" "ChargeLabel"
2828
"xpos" "25"
29+
"xpos_minmode" "0"
2930
"ypos" "27"
31+
"ypos_minmode" "3"
3032
"zpos" "2"
3133
"wide" "41"
34+
"wide_minmode" "50"
3235
"tall" "15"
3336
"autoResize" "1"
3437
"pinCorner" "2"

game_clean/copy/tf/custom/tc2/resource/ui/huditemeffectmeter_spy.res

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"enabled" "1"
88
"xpos" "r162" [$WIN32]
99
"ypos" "r92" [$WIN32]
10-
"xpos_minmode" "r70" [$WIN32]
11-
"ypos_minmode" "r74" [$WIN32]
10+
"xpos_minmode" "r115" [$WIN32]
11+
"ypos_minmode" "r80" [$WIN32]
1212
"xpos" "r194" [$X360]
1313
"ypos" "r74" [$X360]
1414
"wide" "100"
@@ -87,7 +87,7 @@
8787
"xpos" "25"
8888
"ypos" "10"
8989
"zpos" "2"
90-
"wide" "44"
90+
"wide" "40"
9191
"tall" "20"
9292
"pinCorner" "2"
9393
"visible" "1"
@@ -97,6 +97,6 @@
9797
"textAlignment" "north"
9898
"dulltext" "0"
9999
"brighttext" "0"
100-
"font" "HudFontMediumSmall"
100+
"font" "HudFontMedium"
101101
}
102102
}

game_clean/copy/tf/custom/tc2/resource/ui/hudmannvsmachinestatus.res

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"zpos" "0"
1010
"wide" "600"
1111
"tall" "67"
12-
"ypos_minmode" "-7"
1312
"visible" "1"
1413
"enabled" "1"
1514
}
@@ -52,7 +51,7 @@
5251
"ypos" "r100"
5352
"wide" "100"
5453
"tall" "100"
55-
"xpos_minmode" "65"
54+
"xpos_minmode" "105"
5655
"ypos_minmode" "r88"
5756
"visible" "1"
5857
"enabled" "1"
@@ -66,7 +65,7 @@
6665
"ypos" "r15"
6766
"wide" "100"
6867
"tall" "100"
69-
"xpos_minmode" "145"
68+
"xpos_minmode" "185"
7069
"ypos_minmode" "r12"
7170
"visible" "1"
7271
"enabled" "1"

0 commit comments

Comments
 (0)