-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nametags - Adjustable colors settings (#6641)
* Move hard coded nametag team colors to settings Also made the default colors lighter to make them easier to read * Added myself to contributors * Fixed Nametag to Name Tag * Optimized array copying * Moved team color settings to color subcategory and used vanilla localization strings * Split a long line into a more readable multiline solution
- Loading branch information
1 parent
8119e87
commit e007230
Showing
5 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ Drill <[email protected]> | |
Dudakov aka [OMCB]Kaban <[email protected]> | ||
Drofseh <[email protected]> | ||
Dslyecxi <[email protected]> | ||
Eclipser <[email protected]> | ||
ElTyranos | ||
eRazeri | ||
evromalarkey <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ PREP_RECOMPILE_START; | |
#include "XEH_PREP.hpp" | ||
PREP_RECOMPILE_END; | ||
|
||
#include "initSettings.sqf" | ||
|
||
ADDON = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// CBA Settings [ADDON: ace_nametags]: | ||
|
||
[ | ||
QGVAR(defaultNametagColor), "COLOR", | ||
[LSTRING(DefaultNametagColor)], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[0.77, 0.51, 0.08, 1], | ||
false, // isGlobal | ||
{[QGVAR(defaultNametagColor), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(nametagColorMain), "COLOR", | ||
["str_team_main"], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[1.00, 1.00, 1.00, 1], | ||
false, // isGlobal | ||
{[QGVAR(nametagColorMain), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(nametagColorRed), "COLOR", | ||
["str_team_red"], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[1.00, 0.67, 0.67, 1], | ||
false, // isGlobal | ||
{[QGVAR(nametagColorRed), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(nametagColorGreen), "COLOR", | ||
["str_team_green"], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[0.67, 1.00, 0.67, 1], | ||
false, // isGlobal | ||
{[QGVAR(nametagColorGreen), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(nametagColorBlue), "COLOR", | ||
["str_team_blue"], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[0.67, 0.67, 1.00, 1], | ||
false, // isGlobal | ||
{[QGVAR(nametagColorBlue), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; | ||
|
||
[ | ||
QGVAR(nametagColorYellow), | ||
"COLOR", | ||
["str_team_yellow"], | ||
[format ["ACE %1", localize LSTRING(Module_DisplayName)], localize "str_a3_rscdisplaygameoptions_buttongui"], | ||
[1.00, 1.00, 0.67, 1], | ||
false, // isGlobal | ||
{[QGVAR(nametagColorYellow), _this] call EFUNC(common,cbaSettings_settingChanged)} | ||
] call CBA_settings_fnc_init; |