2015-04-05 19:08:55 +00:00
class CfgVehicles {
2015-04-12 09:59:02 +00:00
class ACE_Module ;
2015-04-12 10:33:09 +00:00
class GVAR ( ModuleSettings ) : ACE_Module {
2015-04-05 19:08:55 +00:00
scope = 2 ;
2015-04-12 10:33:09 +00:00
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 " ;
2015-04-11 20:34:19 +00:00
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 " ;
2015-04-11 20:34:19 +00:00
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 " ;
2015-04-11 20:34:19 +00:00
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 " ;
2015-04-11 20:34:19 +00:00
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) " ;
2015-04-11 20:34:19 +00:00
typeName = " BOOL " ;
defaultValue = 1 ;
} ;
2015-04-12 14:25:01 +00:00
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 14:25:01 +00:00
} ;
2015-04-12 09:48:21 +00:00
class simulationRadius {
displayName = " Simulation Radius " ;
description = " Defines the radius (in meters) in which advanced ballistics are applied " ;
typeName = " NUMBER " ;
defaultValue = 3000 ;
} ;
2015-04-11 20:34:19 +00:00
} ;
2015-04-05 19:08:55 +00:00
} ;
} ;