|
449 | 449 | "Type": "Checkbox", |
450 | 450 | "ToolTip": "Toggle crosshair feature.", |
451 | 451 | "Value": "false", |
452 | | - "Files": { |
453 | | - "resource/ui/customizations/crosshair/crosshair_base.res": { |
454 | | - "CustomCrosshair": { |
455 | | - "visible": { |
456 | | - "true": "1", |
457 | | - "false": "0" |
458 | | - } |
459 | | - } |
460 | | - } |
| 452 | + "WriteFile": { |
| 453 | + "FileName": "hud_crosshair_visibility.txt", |
| 454 | + "TrueText": "x{CustomCrosshair{visible 1}}", |
| 455 | + "FalseText": "" |
461 | 456 | } |
462 | 457 | }, |
463 | 458 | { |
|
466 | 461 | "Type": "Checkbox", |
467 | 462 | "ToolTip": "Toggle hitmarker animation.", |
468 | 463 | "Value": "true", |
469 | | - "Files": { |
470 | | - "scripts/hudanimations_hitmarker.txt": { |
471 | | - "uncomment": [ |
472 | | - "StopEvent HitMarker", |
473 | | - "RunEvent HitMarker" |
474 | | - ] |
475 | | - } |
| 464 | + "WriteFile": { |
| 465 | + "FileName": "hud_crosshair_animation.txt", |
| 466 | + "TrueText": "event DamagedPlayer{RunEvent CrosshairFlash 0.0}", |
| 467 | + "FalseText": "" |
476 | 468 | } |
477 | 469 | } |
478 | 470 | ], |
479 | 471 | "Customizations": [ |
480 | 472 | { |
481 | 473 | "Name": "fh_toggle_disguise_image", |
482 | | - "Label": "Show Disguise Image", |
| 474 | + "Label": "Hide Disguise Outline", |
483 | 475 | "Type": "Checkbox", |
484 | 476 | "ToolTip": "Toggle the spy silhouette seen when changing the disguise.", |
485 | | - "Value": "true", |
486 | | - "Files": { |
487 | | - "resource/ui/hudplayerclass_base.res": { |
488 | | - "PlayerStatusSpyOutlineImage": { |
489 | | - "image": { |
490 | | - "true": "../hud/class_spy_outline", |
491 | | - "false": "replay/thumbnails/transparent" |
492 | | - } |
493 | | - } |
494 | | - } |
| 477 | + "Value": "false", |
| 478 | + "WriteFile": { |
| 479 | + "FileName": "hud_disguise_anim.txt", |
| 480 | + "TrueText": "#base ../../custom/flawhud/resource/ui/customizations/disguise/hud_disguise_anim_off.res", |
| 481 | + "FalseText": "" |
495 | 482 | } |
496 | 483 | }, |
497 | 484 | { |
|
501 | 488 | "ToolTip": "Toggle transparent viewmodels.", |
502 | 489 | "Special": "TransparentViewmodels", |
503 | 490 | "Value": "false", |
504 | | - "Files": { |
505 | | - "resource/ui/customizations/transparent_viewmodels/transparent_viewmodels.res": { |
506 | | - "TransparentViewmodel": { |
507 | | - "visible": { |
508 | | - "true": "1", |
509 | | - "false": "0" |
510 | | - } |
511 | | - } |
512 | | - } |
| 491 | + "WriteFile": { |
| 492 | + "FileName": "hud_transparent_viewmodels.txt", |
| 493 | + "TrueText": "#base ../../custom/flawhud/resource/ui/customizations/transparent_viewmodels/transparent_viewmodels.res", |
| 494 | + "FalseText": "" |
513 | 495 | } |
514 | 496 | }, |
515 | 497 | { |
|
579 | 561 | "Type": "Checkbox", |
580 | 562 | "ToolTip": "Hides the player character model seen on the bottom left of the screen.", |
581 | 563 | "Value": "false", |
582 | | - "Files": { |
583 | | - "resource/ui/hudplayerclass_base.res": { |
584 | | - "PlayerStatusClassImage": { |
585 | | - "wide": { |
586 | | - "true": "0", |
587 | | - "false": "75" |
588 | | - } |
589 | | - }, |
590 | | - "classmodelpanel": { |
591 | | - "wide": { |
592 | | - "true": "0", |
593 | | - "false": "150" |
594 | | - } |
595 | | - } |
596 | | - } |
| 564 | + "WriteFile": { |
| 565 | + "FileName": "hud_player_model.txt", |
| 566 | + "TrueText": "#base ../../custom/flawhud/resource/ui/customizations/player_model/player_model_off.res", |
| 567 | + "FalseText": "" |
597 | 568 | } |
598 | 569 | }, |
599 | 570 | { |
|
603 | 574 | "ToolTip": "Expand the scoreboard to show 32 players.", |
604 | 575 | "Value": "false", |
605 | 576 | "Restart": false, |
606 | | - "Files": { |
607 | | - "resource/ui/scoreboard_base.res": { |
608 | | - "BlueBG": { |
609 | | - "ypos": { |
610 | | - "true": "50", |
611 | | - "false": "83" |
612 | | - } |
613 | | - }, |
614 | | - "BluePlayerBG": { |
615 | | - "tall": { |
616 | | - "true": "270", |
617 | | - "false": "210" |
618 | | - } |
619 | | - }, |
620 | | - "RedPlayerBG": { |
621 | | - "tall": { |
622 | | - "true": "270", |
623 | | - "false": "210" |
624 | | - } |
625 | | - }, |
626 | | - "BluePlayerList": { |
627 | | - "ypos": { |
628 | | - "true": "c-138", |
629 | | - "false": "c-106" |
630 | | - }, |
631 | | - "tall": { |
632 | | - "true": "270", |
633 | | - "false": "206" |
634 | | - } |
635 | | - }, |
636 | | - "RedPlayerList": { |
637 | | - "ypos": { |
638 | | - "true": "c-138", |
639 | | - "false": "c-106" |
640 | | - }, |
641 | | - "tall": { |
642 | | - "true": "270", |
643 | | - "false": "206" |
644 | | - } |
645 | | - } |
646 | | - } |
| 577 | + "WriteFile": { |
| 578 | + "FileName": "hud_scoreboard_style.txt", |
| 579 | + "TrueText": "#base ../../custom/flawhud/resource/ui/customizations/scoreboard/scoreboard_large.res", |
| 580 | + "FalseText": "" |
647 | 581 | } |
648 | 582 | }, |
649 | 583 | { |
|
653 | 587 | "ToolTip": "Displays a speedometer under the crosshair", |
654 | 588 | "Value": "false", |
655 | 589 | "Restart": false, |
656 | | - "Files": { |
657 | | - "resource/ui/hudplayerclass_base.res": { |
658 | | - "Speedometer": { |
659 | | - "visible": { |
660 | | - "true": "1", |
661 | | - "false": "0" |
662 | | - } |
663 | | - } |
664 | | - } |
| 590 | + "WriteFile": { |
| 591 | + "FileName": "hud_speedometer.txt", |
| 592 | + "TrueText": "#base ../../custom/flawhud/resource/ui/customizations/speedometer/speedometer_on.res", |
| 593 | + "FalseText": "" |
665 | 594 | } |
666 | 595 | }, |
667 | 596 | { |
|
1147 | 1076 | } |
1148 | 1077 | } |
1149 | 1078 | }, |
| 1079 | + { |
| 1080 | + "Name": "fh_uber_counter", |
| 1081 | + "Label": "Enable Uber Counter", |
| 1082 | + "Type": "Checkbox", |
| 1083 | + "ToolTip": "Enables a meter used for tracking other team's uber build.", |
| 1084 | + "Value": "false", |
| 1085 | + "Restart": false, |
| 1086 | + "WriteFile": { |
| 1087 | + "FileName": "hud_uber_counter.txt", |
| 1088 | + "TrueText": "event UberTimer{RunEvent UberTimerHide 0.0 RunEvent UberTimerRun 0.1}", |
| 1089 | + "FalseText": "" |
| 1090 | + } |
| 1091 | + }, |
1150 | 1092 | { |
1151 | 1093 | "Name": "fh_val_damage_values", |
1152 | 1094 | "Label": "Damage Numbers", |
|
1528 | 1470 | "ToolTip": "Toggle to the Code Pro fonts instead of TF2 Build.", |
1529 | 1471 | "Value": "false", |
1530 | 1472 | "Restart": true, |
1531 | | - "Files": { |
1532 | | - "resource/clientscheme.res": { |
1533 | | - "replace": [ |
1534 | | - "clientscheme_fonts.res", |
1535 | | - "clientscheme_fonts_pro.res" |
1536 | | - ] |
1537 | | - } |
| 1473 | + "WriteFile": { |
| 1474 | + "FileName": "hud_font.txt", |
| 1475 | + "TrueText": "#base ../../custom/flawhud/resource/scheme/clientscheme_fonts_pro.res", |
| 1476 | + "FalseText": "#base ../../custom/flawhud/resource/scheme/clientscheme_fonts.res" |
1538 | 1477 | } |
1539 | 1478 | }, |
1540 | 1479 | { |
|
0 commit comments