ACE3/addons/advanced_ballistics/CfgVehicles.hpp

79 lines
3.3 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 = "Advanced Ballistics";
2015-04-05 19:08:55 +00:00
icon = QUOTE(PATHTOF(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 = "Advanced Ballistics";
2015-04-12 09:48:21 +00:00
description = "Enables advanced ballistics";
typeName = "BOOL";
2015-04-13 19:20:07 +00:00
defaultValue = 0;
2015-04-12 09:48:21 +00:00
};
class alwaysSimulateForSnipers {
displayName = "Always Enabled For Snipers";
description = "Always enables advanced ballistics when high power optics are used";
typeName = "BOOL";
defaultValue = 1;
};
class disabledInFullAutoMode {
displayName = "Disabled In FullAuto Mode";
description = "Disables the advanced ballistics during full auto fire";
typeName = "BOOL";
defaultValue = 0;
};
2015-04-12 09:48:21 +00:00
class onlyActiveForLocalPlayers {
displayName = "Disabled For Non Local Players";
description = "Disables the advanced ballistics for bullets coming from other players (enable this if you encounter frame drops during heavy firefights in multiplayer)";
typeName = "BOOL";
defaultValue = 1;
};
/* // 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 = "Enable Ammo Temperature Simulation";
description = "Muzzle velocity varies with ammo temperature";
typeName = "BOOL";
defaultValue = 1;
};
2015-04-12 09:48:21 +00:00
class barrelLengthInfluenceEnabled {
displayName = "Enable Barrel Length Simulation";
description = "Muzzle velocity varies with barrel length";
typeName = "BOOL";
defaultValue = 1;
};
2015-04-12 09:48:21 +00:00
class bulletTraceEnabled {
displayName = "Enable Bullet Trace Effect";
description = "Enables a bullet trace effect to high caliber bullets (only visible when looking through high power optics)";
typeName = "BOOL";
defaultValue = 1;
};
class simulationInterval {
displayName = "Simulation Interval";
description = "Defines the interval between every calculation step";
typeName = "NUMBER";
2015-04-12 14:27:24 +00:00
defaultValue = 0.0;
};
2015-04-12 09:48:21 +00:00
class simulationRadius {
displayName = "Simulation Radius";
2015-04-26 20:44:18 +00:00
description = "Defines the radius around the player (in meters) at which advanced ballistics are applied to projectiles";
2015-04-12 09:48:21 +00:00
typeName = "NUMBER";
defaultValue = 3000;
};
};
2015-04-05 19:08:55 +00:00
};
};