Commit 039c310
Add 'Show Lifebars Only When Damaged' option
Adds a new HUD setting that hides lifebars on units at full HP. Bars
only appear once a unit has taken damage. Provides a noticeable FPS
gain in dense crowds where most units are undamaged.
Requires the matching binary patch (FAForever/FA-Binary-Patches#151)
which exposes the ui_LifebarOnlyDamaged ConVar this option drives via
ConExecute. Without that patch the option toggle is a no-op (the
ConVar is unrecognised).
- lua/options/options.lua: new toggle in the HUD section
- lua/ui/help/tooltips.lua: tooltip entry options_gui_lifebar_only_damaged
- loc/US/strings_db.lua: OPTIONS_0287 / OPTIONS_0288 strings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1d1530b commit 039c310
File tree
3 files changed
+22
-0
lines changed- loc/US
- lua
- options
- ui/help
3 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7619 | 7619 | | |
7620 | 7620 | | |
7621 | 7621 | | |
| 7622 | + | |
| 7623 | + | |
7622 | 7624 | | |
7623 | 7625 | | |
7624 | 7626 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
993 | 1009 | | |
994 | 1010 | | |
995 | 1011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
954 | 958 | | |
955 | 959 | | |
956 | 960 | | |
| |||
0 commit comments