ACE3/addons/advanced_ballistics/CfgVehicles.hpp

87 lines
3.5 KiB
C++
Raw Normal View History

2015-04-05 19:08:55 +00:00
class CfgVehicles {
class ACE_Module;
class GVAR(ModuleSettings): ACE_Module {
2015-04-05 19:08:55 +00:00
scope = 2;
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 simulateForSnipers {
displayName = CSTRING(simulateForSnipers_DisplayName);
description = CSTRING(simulateForSnipers_Description);
2015-04-12 09:48:21 +00:00
typeName = "BOOL";
defaultValue = 1;
};
class simulateForGroupMembers {
displayName = CSTRING(simulateForGroupMembers_DisplayName);
description = CSTRING(simulateForGroupMembers_Description);
typeName = "BOOL";
defaultValue = 0;
};
class simulateForEveryone {
displayName = CSTRING(simulateForEveryone_DisplayName);
description = CSTRING(simulateForEveryone_Description);
typeName = "BOOL";
defaultValue = 0;
};
2015-04-12 09:48:21 +00:00
class disabledInFullAutoMode {
displayName = CSTRING(disabledInFullAutoMod_DisplayName);
description = CSTRING(disabledInFullAutoMod_Description);
typeName = "BOOL";
defaultValue = 0;
};
2015-04-12 09:48:21 +00:00
/* // TODO: We currently do not have firedEHs on vehicles
class vehicleGunnerEnabled {
displayName = "Enabled For Vehicle Gunners";
description = "Enables advanced ballistics for vehicle gunners";
typeName = "BOOL";
defaultValue = 0;
};
*/
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;
};
2015-04-12 09:48:21 +00:00
class simulationRadius {
displayName = CSTRING(simulationRadius_DisplayName);
description = CSTRING(simulationRadius_Description);
2015-04-12 09:48:21 +00:00
typeName = "NUMBER";
defaultValue = 3000;
};
};
class ModuleDescription {
description = CSTRING(Description);
};
2015-04-05 19:08:55 +00:00
};
};