VR-Engage  2.2
Loading...
Searching...
No Matches
Gunner Control Logic Role Parameters

Detailed Description

Collaboration diagram for Gunner Control Logic Role Parameters:

Variables

constexpr const char * makVre::GunnerControlLogicConfig::altRole = "altRole"
 
constexpr const char * makVre::GunnerControlLogicConfig::armedProperty = "armedProperty"
 
constexpr const char * makVre::GunnerControlLogicConfig::azimuthStateAttribute = "azimuthStateAttribute"
 
constexpr const char * makVre::GunnerControlLogicConfig::extendedWeaponSystems = "extendedWeaponSystems"
 
constexpr const char * makVre::GunnerControlLogicConfig::fireRequiresIntersection = "fireRequiresIntersection"
 
constexpr const char * makVre::GunnerControlLogicConfig::forceResourceType = "forceResourceType"
 
constexpr const char * makVre::GunnerControlLogicConfig::isOverrideRole = "isOverrideRole"
 
constexpr const char * makVre::GunnerControlLogicConfig::maxFireDegreesAzimuth = "maxFireDegreesAzimuth"
 
constexpr const char * makVre::GunnerControlLogicConfig::maxFireRange = "maxFireRange"
 
constexpr const char * makVre::GunnerControlLogicConfig::minFireDegreesAzimuth = "minFireDegreesAzimuth"
 
constexpr const char * makVre::GunnerControlLogicConfig::minFireRange = "minFireRange"
 
constexpr const char * makVre::GunnerControlLogicConfig::overrideSystem = "overrideSystem"
 
constexpr const char * makVre::GunnerControlLogicConfig::slewToCueTargetSystem = "slewToCueTargetSystem"
 
constexpr const char * makVre::GunnerControlLogicConfig::slewToCueUpdateDeltaThreshold = "slewToCueUpdateDeltaThreshold"
 
constexpr const char * makVre::GunnerControlLogicConfig::slewToCueUpdateRate = "slewToCueUpdateRate"
 
constexpr const char * makVre::GunnerControlLogicConfig::systemName = "systemName"
 
constexpr const char * makVre::GunnerControlLogicConfig::zoomLevels = "zoomLevels"
 

Variable Documentation

◆ altRole

const char* makVre::GunnerControlLogicConfig::altRole = "altRole"
constexpr
Parameter NamealtRole
Parameter DescriptionAlternate role name that can be switched to from the gunner role.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
altRole = "";
...
};

◆ armedProperty

const char* makVre::GunnerControlLogicConfig::armedProperty = "armedProperty"
constexpr
Parameter NamearmedProperty
Parameter DescriptionName of the property that controls the armed state for weapons requiring arming.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
armedProperty = "";
...
};

◆ azimuthStateAttribute

const char* makVre::GunnerControlLogicConfig::azimuthStateAttribute = "azimuthStateAttribute"
constexpr
Parameter NameazimuthStateAttribute
Parameter DescriptionState attribute name for storing the main gun azimuth angle.
Parameter Typestring
Parameter Default"mainGunAzimuth"
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
azimuthStateAttribute = "mainGunAzimuth";
...
};

◆ extendedWeaponSystems

const char* makVre::GunnerControlLogicConfig::extendedWeaponSystems = "extendedWeaponSystems"
constexpr
Parameter NameextendedWeaponSystems
Parameter DescriptionTable of extended weapon system configurations for complex targeting scenarios.
Parameter Typetable
Parameter Default""
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
extendedWeaponSystems = "";
...
};

◆ fireRequiresIntersection

const char* makVre::GunnerControlLogicConfig::fireRequiresIntersection = "fireRequiresIntersection"
constexpr
Parameter NamefireRequiresIntersection
Parameter DescriptionDetermines whether firing requires a valid target intersection.
Parameter Typebool
Parameter Defaultfalse
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
fireRequiresIntersection = false;
...
};

◆ forceResourceType

const char* makVre::GunnerControlLogicConfig::forceResourceType = "forceResourceType"
constexpr
Parameter NameforceResourceType
Parameter DescriptionForces the use of a specific resource type for weapon systems.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
forceResourceType = "";
...
};

◆ isOverrideRole

const char* makVre::GunnerControlLogicConfig::isOverrideRole = "isOverrideRole"
constexpr
Parameter NameisOverrideRole
Parameter DescriptionIndicates whether this gunner role operates in commander override mode.
Parameter Typebool
Parameter Defaultfalse
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
isOverrideRole = false;
...
};

◆ maxFireDegreesAzimuth

const char* makVre::GunnerControlLogicConfig::maxFireDegreesAzimuth = "maxFireDegreesAzimuth"
constexpr
Parameter NamemaxFireDegreesAzimuth
Parameter DescriptionMaximum azimuth angle in degrees for weapon firing constraints.
Parameter Typedouble
Parameter Default180.0
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
maxFireDegreesAzimuth = 180.0;
...
};

◆ maxFireRange

const char* makVre::GunnerControlLogicConfig::maxFireRange = "maxFireRange"
constexpr
Parameter NamemaxFireRange
Parameter DescriptionMaximum range in meters for weapon engagement.
Parameter Typedouble
Parameter Default10000.0
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
maxFireRange = 10000.0;
...
};

◆ minFireDegreesAzimuth

const char* makVre::GunnerControlLogicConfig::minFireDegreesAzimuth = "minFireDegreesAzimuth"
constexpr
Parameter NameminFireDegreesAzimuth
Parameter DescriptionMinimum azimuth angle in degrees for weapon firing constraints.
Parameter Typedouble
Parameter Default-180.0
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
minFireDegreesAzimuth = -180.0;
...
};

◆ minFireRange

const char* makVre::GunnerControlLogicConfig::minFireRange = "minFireRange"
constexpr
Parameter NameminFireRange
Parameter DescriptionMinimum range in meters for weapon engagement.
Parameter Typedouble
Parameter Default0.0
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
minFireRange = 0.0;
...
};

◆ overrideSystem

const char* makVre::GunnerControlLogicConfig::overrideSystem = "overrideSystem"
constexpr
Parameter NameoverrideSystem
Parameter DescriptionSystem name to use when operating in override mode.
Parameter Typestring
Parameter Default"weapon"
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
overrideSystem = "weapon";
...
};

◆ slewToCueTargetSystem

const char* makVre::GunnerControlLogicConfig::slewToCueTargetSystem = "slewToCueTargetSystem"
constexpr
Parameter NameslewToCueTargetSystem
Parameter DescriptionTarget system name for slew-to-cue functionality.
Parameter Typestring
Parameter Default""
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
slewToCueTargetSystem = "";
...
};

◆ slewToCueUpdateDeltaThreshold

const char* makVre::GunnerControlLogicConfig::slewToCueUpdateDeltaThreshold = "slewToCueUpdateDeltaThreshold"
constexpr
Parameter NameslewToCueUpdateDeltaThreshold
Parameter DescriptionThreshold for slew-to-cue update sensitivity.
Parameter Typedouble
Parameter Default0.01
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
slewToCueUpdateDeltaThreshold = 0.01;
...
};

◆ slewToCueUpdateRate

const char* makVre::GunnerControlLogicConfig::slewToCueUpdateRate = "slewToCueUpdateRate"
constexpr
Parameter NameslewToCueUpdateRate
Parameter DescriptionUpdate rate in Hz for slew-to-cue operations.
Parameter Typedouble
Parameter Default10.0
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
slewToCueUpdateRate = 10.0;
...
};

◆ systemName

const char* makVre::GunnerControlLogicConfig::systemName = "systemName"
constexpr
Parameter NamesystemName
Parameter DescriptionPrimary weapon system name for this gunner role.
Parameter Typestring
Parameter Default"weapon"
Required?No

Example Role Config Usage:

["gunnerControlLogic"] = {
...
systemName = "weapon";
...
};

◆ zoomLevels

const char* makVre::GunnerControlLogicConfig::zoomLevels = "zoomLevels"
constexpr

\vreRoleParam{zoomLevels,table,"{1,2,4,8,16,32}",gunnerControlLogic,Array of available zoom magnification levels for the gunner sight system.}