AgentParameters

C++
struct AgentParameters {
  AgentPerceptionParameters m_PerceptionParams;
  int m_CombatClass;
  float m_fAccuracy;
  float m_fPassRadius;
  float m_fStrafingPitch;
  float m_fAttackRange;
  float m_fCommRange;
  float m_fAttackZoneHeight;
  float m_fProjectileLaunchDistScale;
  int m_weaponAccessories;
  float m_fMeleeRange;
  float m_fMeleeRangeShort;
  float m_fMeleeHitRange;
  float m_fMeleeAngleCosineThreshold;
  float m_fMeleeDamage;
  float m_fMeleeKnowckdownChance;
  float m_fMeleeImpulse;
  bool factionHostility;
  uint8 factionID;
  int m_nGroup;
  bool m_bAiIgnoreFgNode;
  bool m_bPerceivePlayer;
  float m_fAwarenessOfPlayer;
  bool m_bInvisible;
  bool m_bCloaked;
  float m_fCloakScale;
  float m_fCloakScaleTarget;
  float m_fLastCloakEventTime;
  float m_lookIdleTurnSpeed;
  float m_lookCombatTurnSpeed;
  float m_aimTurnSpeed;
  float m_fireTurnSpeed;
  float distanceToCover;
  float effectiveCoverHeight;
  float effectiveHighCoverHeight;
  float inCoverRadius;
  string m_sTerritoryName;
  string m_sWaveName;
};
File

AgentParams.h

AgentParameters::distanceToCover Data Member
C++
float distanceToCover;
Description

Cover

AgentParameters::effectiveCoverHeight Data Member
C++
float effectiveCoverHeight;
AgentParameters::effectiveHighCoverHeight Data Member
C++
float effectiveHighCoverHeight;
AgentParameters::factionHostility Data Member
C++
bool factionHostility;
Description

grouping data

AgentParameters::factionID Data Member
C++
uint8 factionID;
AgentParameters::inCoverRadius Data Member
C++
float inCoverRadius;
AgentParameters::m_aimTurnSpeed Data Member
C++
float m_aimTurnSpeed;
Description

How fast the character turn towards target when aiming (radians/sec). -1=immediate

AgentParameters::m_bAiIgnoreFgNode Data Member
C++
bool m_bAiIgnoreFgNode;
AgentParameters::m_bCloaked Data Member
C++
bool m_bCloaked;
AgentParameters::m_bInvisible Data Member
C++
bool m_bInvisible;
Description

cloaking/invisibility

AgentParameters::m_bPerceivePlayer Data Member
C++
bool m_bPerceivePlayer;
AgentParameters::m_CombatClass Data Member
C++
int m_CombatClass;
Description

combat class of this agent

AgentParameters::m_fAccuracy Data Member
C++
float m_fAccuracy;
AgentParameters::m_fAttackRange Data Member
C++
float m_fAttackRange;
Description

Behavior

AgentParameters::m_fAttackZoneHeight Data Member
C++
float m_fAttackZoneHeight;
AgentParameters::m_fAwarenessOfPlayer Data Member
C++
float m_fAwarenessOfPlayer;
AgentParameters::m_fCloakScale Data Member
C++
float m_fCloakScale;
Description

0- no cloaked, 1- complitly cloaked (invisible)

AgentParameters::m_fCloakScaleTarget Data Member
C++
float m_fCloakScaleTarget;
Description

cloak scale should fade to this value

AgentParameters::m_fCommRange Data Member
C++
float m_fCommRange;
AgentParameters::m_fireTurnSpeed Data Member
C++
float m_fireTurnSpeed;
Description

How fast the character turn towards target when aiming and firing (radians/sec). -1=immediate

AgentParameters::m_fLastCloakEventTime Data Member
C++
float m_fLastCloakEventTime;
AgentParameters::m_fMeleeAngleCosineThreshold Data Member
C++
float m_fMeleeAngleCosineThreshold;
AgentParameters::m_fMeleeDamage Data Member
C++
float m_fMeleeDamage;
AgentParameters::m_fMeleeHitRange Data Member
C++
float m_fMeleeHitRange;
AgentParameters::m_fMeleeImpulse Data Member
C++
float m_fMeleeImpulse;
AgentParameters::m_fMeleeKnowckdownChance Data Member
C++
float m_fMeleeKnowckdownChance;
AgentParameters::m_fMeleeRange Data Member
C++
float m_fMeleeRange;
Description

Melee

AgentParameters::m_fMeleeRangeShort Data Member
C++
float m_fMeleeRangeShort;
AgentParameters::m_fPassRadius Data Member
C++
float m_fPassRadius;
AgentParameters::m_fProjectileLaunchDistScale Data Member
C++
float m_fProjectileLaunchDistScale;
Description

Controls the preferred launch distance of a projectile (grenade, etc.) in range [0..1].

AgentParameters::m_fStrafingPitch Data Member
C++
float m_fStrafingPitch;
Description

if this > 0, will do a strafing draw line firing. 04/12/05 Tetsuji

AgentParameters::m_lookCombatTurnSpeed Data Member
C++
float m_lookCombatTurnSpeed;
Description

How fast the character turn towards target when looking (radians/sec). -1=immediate

AgentParameters::m_lookIdleTurnSpeed Data Member
C++
float m_lookIdleTurnSpeed;
Description

How fast the character turn towards target when looking (radians/sec). -1=immediate

AgentParameters::m_nGroup Data Member
C++
int m_nGroup;
AgentParameters::m_PerceptionParams Data Member
C++
AgentPerceptionParameters m_PerceptionParams;
AgentParameters::m_sTerritoryName Data Member
C++
string m_sTerritoryName;
Description

Territory name set by designers - the only string used in this structure but should be fine

AgentParameters::m_sWaveName Data Member
C++
string m_sWaveName;
AgentParameters::m_weaponAccessories Data Member
C++
int m_weaponAccessories;
AgentParameters::AgentParameters Constructor
C++
AgentParameters();
AgentParameters::Reset Method
C++
void Reset();
AgentParameters::Serialize Method
C++
void Serialize(TSerialize ser);