mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4c995d4c5c
* Improve selective UI API, Disable ammo count when reload component is loaded, Fix stance UI * Upgrade Selective UI framework for controls that share IDCs for gunner and soldier * Separate more soldier and gunner settings sharing same IDCs, Remove vehicle gunner weapon which has no effect anymore * Separate more soldier and gunner IDC sharing elements, Fix typo, Fix API setting not being respected in case where selective type is not the same on load * Rework Selective UI using ACE_UI config, Cleanup, Add ACE_UI to FCS component to mark it (is already disabled due to other necessary settings for FCS to function) * Do location check in function, Rename condition to location, change to number * Use macros in ACE_UI location
181 lines
4.2 KiB
C++
181 lines
4.2 KiB
C++
#define ANYWHERE 0
|
|
#define GROUND_ONLY 1
|
|
#define VEHICLE_ONLY 2
|
|
|
|
class ACE_UI {
|
|
class weaponName {
|
|
idd = 300;
|
|
elements[] = {118};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class weaponNameBackground {
|
|
idd = 300;
|
|
elements[] = {1001, 1008};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class firingMode {
|
|
idd = 300;
|
|
elements[] = {187, 1203};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class ammoType {
|
|
idd = 300;
|
|
elements[] = {155};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class ammoCount {
|
|
idd = 300;
|
|
elements[] = {184};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class magCount {
|
|
idd = 300;
|
|
elements[] = {185};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class throwableName {
|
|
idd = 300;
|
|
elements[] = {152};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class throwableCount {
|
|
idd = 300;
|
|
elements[] = {151};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class zeroing {
|
|
idd = 300;
|
|
elements[] = {168};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class weaponLowerInfoBackground {
|
|
idd = 300;
|
|
elements[] = {1202};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class staminaBar {
|
|
idd = 305;
|
|
elements[] = {193};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class stance {
|
|
idd = 303;
|
|
elements[] = {188, 1201};
|
|
location = GROUND_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerWeaponName {
|
|
idd = 300;
|
|
elements[] = {118};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerWeaponNameBackground {
|
|
idd = 300;
|
|
elements[] = {1001, 1008};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerFiringMode {
|
|
idd = 300;
|
|
elements[] = {187, 1203};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerAmmoType {
|
|
idd = 300;
|
|
elements[] = {155};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerAmmoCount {
|
|
idd = 300;
|
|
elements[] = {184};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerMagCount {
|
|
idd = 300;
|
|
elements[] = {185};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerLaunchableName {
|
|
idd = 300;
|
|
elements[] = {152};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerLaunchableCount {
|
|
idd = 300;
|
|
elements[] = {151};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerZeroing {
|
|
idd = 300;
|
|
elements[] = {168};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class gunnerWeaponLowerInfoBackground {
|
|
idd = 300;
|
|
elements[] = {1202};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleName {
|
|
idd = 300;
|
|
elements[] = {120};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleNameBackground {
|
|
idd = 300;
|
|
elements[] = {1000, 1013};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleFuelBar {
|
|
idd = 300;
|
|
elements[] = {113, 1202};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleSpeed {
|
|
idd = 300;
|
|
elements[] = {121, 1004, 1006};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleAltitude {
|
|
idd = 300;
|
|
elements[] = {122, 1005, 1014};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleDamage {
|
|
idd = 300;
|
|
elements[] = {111};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
class vehicleInfoBackground {
|
|
idd = 300;
|
|
elements[] = {1200};
|
|
location = VEHICLE_ONLY;
|
|
class conditions {};
|
|
};
|
|
};
|