ACE3/addons/advanced_ballistics/CfgVehicles.hpp

56 lines
2.1 KiB
C++
Raw Permalink Normal View History

2015-04-05 19:08:55 +00:00
class CfgVehicles {
class ACE_Module;
class GVAR(ModuleSettings): ACE_Module {
scope = 1;
displayName = CSTRING(DisplayName);
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Icon_Module_Wind_ca.paa);
2015-04-12 09:48:21 +00:00
category = "ACE";
function = QUOTE(DFUNC(initModuleSettings));
functionPriority = 1;
isGlobal = 1;
isTriggerActivated = 0;
author = "Ruthberg";
class Arguments {
class enabled {
displayName = CSTRING(enabled_DisplayName);
description = CSTRING(enabled_Description);
2015-04-12 09:48:21 +00:00
typeName = "BOOL";
2015-04-13 19:20:07 +00:00
defaultValue = 0;
2015-04-12 09:48:21 +00:00
};
class muzzleVelocityVariationEnabled {
2017-11-29 20:07:44 +00:00
displayName = CSTRING(muzzleVelocityVariationEnabled_DisplayName);
description = CSTRING(muzzleVelocityVariationEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
2015-04-12 09:48:21 +00:00
class ammoTemperatureEnabled {
displayName = CSTRING(ammoTemperatureEnabled_DisplayName);
description = CSTRING(ammoTemperatureEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
2015-04-12 09:48:21 +00:00
class barrelLengthInfluenceEnabled {
displayName = CSTRING(barrelLengthInfluenceEnabled_DisplayName);
description = CSTRING(barrelLengthInfluenceEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
2015-04-12 09:48:21 +00:00
class bulletTraceEnabled {
displayName = CSTRING(bulletTraceEnabled_DisplayName);
description = CSTRING(bulletTraceEnabled_Description);
typeName = "BOOL";
defaultValue = 1;
};
class simulationInterval {
displayName = CSTRING(simulationInterval_DisplayName);
description = CSTRING(simulationInterval_Description);
typeName = "NUMBER";
defaultValue = 0.05;
};
};
class ModuleDescription {
description = CSTRING(Description);
};
2015-04-05 19:08:55 +00:00
};
};