mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e85c752ca6
* Added cookoff probability for vehicles. Tweaks to cookoff to stop total blocking of destruction in some cases. * Changed var name to probability. Better method for getting config value. * Fixed naming error * Changed setting to be a global coefficient. Added some info to cookoff doc * Reverted hitfuel check * Reverted damage threshold for cook-off * Tweaked probability calculation * Update fnc_handleDamage.sqf
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
|
|
class ACE_Settings {
|
|
class GVAR(enable) {
|
|
category = CSTRING(displayName);
|
|
displayName = CSTRING(enable_name);
|
|
description = CSTRING(enable_tooltip);
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
};
|
|
class GVAR(enableAmmobox) {
|
|
category = CSTRING(displayName);
|
|
displayName = CSTRING(enableBoxCookoff_name);
|
|
description = CSTRING(enableBoxCookoff_tooltip);
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
};
|
|
class GVAR(enableAmmoCookoff) { // For CBA Setting Switch: we can eliminate and just use (ammoCookoffDuration == 0)
|
|
category = CSTRING(displayName);
|
|
displayName = CSTRING(enableAmmoCookoff_name);
|
|
description = CSTRING(enableAmmoCookoff_tooltip);
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
};
|
|
class GVAR(ammoCookoffDuration) {
|
|
category = CSTRING(displayName);
|
|
displayName = CSTRING(ammoCookoffDuration_name);
|
|
description = CSTRING(ammoCookoffDuration_tooltip);
|
|
value = 1;
|
|
typeName = "SCALAR";
|
|
};
|
|
class GVAR(probabilityCoef) {
|
|
displayName = CSTRING(probabilityCoef_name);
|
|
description = CSTRING(probabilityCoef_tooltip);
|
|
value = 1;
|
|
typeName = "SCALAR";
|
|
};
|
|
};
|