mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add stamina bar selective UI
This commit is contained in:
parent
70100825cf
commit
32c32b6cc5
@ -139,6 +139,15 @@ class ACE_Settings {
|
||||
isClientSettable = 1;
|
||||
};
|
||||
|
||||
// Stamina Bar
|
||||
class GVAR(staminaBar) {
|
||||
category = CSTRING(Category);
|
||||
displayName = CSTRING(StaminaBar);
|
||||
description = CSTRING(RequiresSoldierVehicleWeaponInfo);
|
||||
typeName = "BOOL";
|
||||
value = 1;
|
||||
isClientSettable = 1;
|
||||
};
|
||||
|
||||
// Vehicle
|
||||
class GVAR(vehicleName) {
|
||||
|
@ -115,6 +115,14 @@ class CfgVehicles {
|
||||
defaultValue = 1;
|
||||
};
|
||||
|
||||
// Stamina Bar
|
||||
class staminaBar {
|
||||
displayName = CSTRING(StaminaBar);
|
||||
description = CSTRING(RequiresSoldierVehicleWeaponInfo);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
|
||||
// Vehicle
|
||||
class vehicleName {
|
||||
displayName = CSTRING(VehicleName);
|
||||
|
@ -43,6 +43,7 @@ if (isArray (missionConfigFile >> "showHUD")) then {
|
||||
[_logic, QGVAR(zeroing), "zeroing"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(weaponLowerInfoBackground), "weaponLowerInfoBackground"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(stance), "stance"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(staminaBar), "staminaBar"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(vehicleName), "vehicleName"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(vehicleNameBackground), "vehicleNameBackground"] call EFUNC(common,readSettingFromModule);
|
||||
[_logic, QGVAR(vehicleFuelBar), "vehicleFuelBar"] call EFUNC(common,readSettingFromModule);
|
||||
|
@ -32,6 +32,7 @@
|
||||
[300, [151], QGVAR(throwableCount)], \
|
||||
[300, [1202], QGVAR(weaponLowerInfoBackground)], \
|
||||
[300, [168], QGVAR(zeroing)], \
|
||||
[305, [193], QGVAR(staminaBar)], \
|
||||
[303, [188, 1201], QGVAR(stance)], \
|
||||
[300, [120], QGVAR(vehicleName)], \
|
||||
[300, [1000, 1013], QGVAR(vehicleNameBackground)], \
|
||||
@ -86,4 +87,9 @@ RscStanceInfo = 303
|
||||
--------------------
|
||||
188 (Stance)
|
||||
+ 1201 (Stance Background)
|
||||
|
||||
|
||||
RscStaminaBar = 305
|
||||
--------------------
|
||||
193 (Stamina Bar)
|
||||
*/
|
||||
|
@ -64,6 +64,9 @@
|
||||
<Key ID="STR_ACE_UI_Stance">
|
||||
<English>Stance</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_UI_StaminaBar">
|
||||
<English>Stamina Bar</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_UI_VehicleName">
|
||||
<English>Vehicle Name</English>
|
||||
</Key>
|
||||
|
Loading…
Reference in New Issue
Block a user