Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MissileAIUpdateModuleData Class Reference

#include <MissileAIUpdate.h>

Inherits AIUpdateModuleData.

Public Member Functions

 MissileAIUpdateModuleData ()
 
- Public Member Functions inherited from AIUpdateModuleData
 AIUpdateModuleData ()
 
virtual ~AIUpdateModuleData ()
 
virtual Bool isAiModuleData () const
 
const LocomotorTemplateVectorfindLocomotorTemplateVector (LocomotorSetType t) const
 
- Public Member Functions inherited from BehaviorModuleData
 BehaviorModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () const
 
virtual const W3DModelDrawModuleDatagetAsW3DModelDrawModuleData () const
 
virtual const W3DTreeDrawModuleDatagetAsW3DTreeDrawModuleData () const
 
virtual StaticGameLODLevel getMinimumRequiredGameLOD () const
 
virtual void crc (Xfer *xfer)
 run the "light" crc check on this data structure
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Static Public Member Functions

static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from AIUpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
static void parseLocomotorSet (INI *ini, void *instance, void *store, const void *)
 
- Static Public Member Functions inherited from UpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from BehaviorModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from ModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 

Public Attributes

Bool m_tryToFollowTarget
 if true, attack object, not pos
 
UnsignedInt m_fuelLifetime
 num frames till missile runs out of motive power (0 == inf)
 
UnsignedInt m_ignitionDelay
 delay in frames from when missile is 'fired', to when it starts moving 15
 
Real m_initialVel
 
Real m_initialDist
 
Real m_diveDistance
 If I get this close to my target, start ignoring my preferred height.
 
const FXListm_ignitionFX
 FXList to do when missile 'ignites'.
 
Bool m_useWeaponSpeed
 if true, limit speed of projectile to the Weapon's info
 
Bool m_detonateOnNoFuel
 If true, don't just stop thrusting, blow up when out of gas.
 
Int m_garrisonHitKillCount
 
KindOfMaskType m_garrisonHitKillKindof
 the kind(s) of units that can be collided with
 
KindOfMaskType m_garrisonHitKillKindofNot
 the kind(s) of units that CANNOT be collided with
 
const FXListm_garrisonHitKillFX
 
Real m_distanceScatterWhenJammed
 How far I scatter when Jammed.
 
Real m_lockDistance
 If I get this close to my target, guaranteed hit.
 
Bool m_detonateCallsKill
 if true, kill() will be called, instead of KILL_SELF state, which calls destroy.
 
Int m_killSelfDelay
 If I have detonated and entered the KILL-SELF state, how ling do I wait before I Kill/destroy self?
 
- Public Attributes inherited from AIUpdateModuleData
LocomotorTemplateMap m_locomotorTemplates
 locomotors for object
 
const TurretAIDatam_turretData [MAX_TURRETS]
 
UnsignedInt m_moodAttackCheckRate
 how frequently we should recheck for enemies due to moods, when idle
 
Bool m_forbidPlayerCommands
 Should isAllowedToRespondToAiCommands() filter out commands from the player, thus making it ai-controllable only?
 
Bool m_turretsLinked
 Turrets are linked together and attack together.
 
UnsignedInt m_autoAcquireEnemiesWhenIdle
 

Detailed Description

Definition at line 46 of file MissileAIUpdate.h.

Constructor & Destructor Documentation

◆ MissileAIUpdateModuleData()

MissileAIUpdateModuleData::MissileAIUpdateModuleData ( )

Definition at line 66 of file MissileAIUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void MissileAIUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 86 of file MissileAIUpdate.cpp.

Member Data Documentation

◆ m_detonateCallsKill

Bool MissileAIUpdateModuleData::m_detonateCallsKill

if true, kill() will be called, instead of KILL_SELF state, which calls destroy.

Definition at line 65 of file MissileAIUpdate.h.

◆ m_detonateOnNoFuel

Bool MissileAIUpdateModuleData::m_detonateOnNoFuel

If true, don't just stop thrusting, blow up when out of gas.

Definition at line 57 of file MissileAIUpdate.h.

◆ m_distanceScatterWhenJammed

Real MissileAIUpdateModuleData::m_distanceScatterWhenJammed

How far I scatter when Jammed.

Definition at line 62 of file MissileAIUpdate.h.

◆ m_diveDistance

Real MissileAIUpdateModuleData::m_diveDistance

If I get this close to my target, start ignoring my preferred height.

Definition at line 54 of file MissileAIUpdate.h.

◆ m_fuelLifetime

UnsignedInt MissileAIUpdateModuleData::m_fuelLifetime

num frames till missile runs out of motive power (0 == inf)

Definition at line 50 of file MissileAIUpdate.h.

◆ m_garrisonHitKillCount

Int MissileAIUpdateModuleData::m_garrisonHitKillCount

Definition at line 58 of file MissileAIUpdate.h.

◆ m_garrisonHitKillFX

const FXList* MissileAIUpdateModuleData::m_garrisonHitKillFX

Definition at line 61 of file MissileAIUpdate.h.

◆ m_garrisonHitKillKindof

KindOfMaskType MissileAIUpdateModuleData::m_garrisonHitKillKindof

the kind(s) of units that can be collided with

Definition at line 59 of file MissileAIUpdate.h.

◆ m_garrisonHitKillKindofNot

KindOfMaskType MissileAIUpdateModuleData::m_garrisonHitKillKindofNot

the kind(s) of units that CANNOT be collided with

Definition at line 60 of file MissileAIUpdate.h.

◆ m_ignitionDelay

UnsignedInt MissileAIUpdateModuleData::m_ignitionDelay

delay in frames from when missile is 'fired', to when it starts moving 15

Definition at line 51 of file MissileAIUpdate.h.

◆ m_ignitionFX

const FXList* MissileAIUpdateModuleData::m_ignitionFX

FXList to do when missile 'ignites'.

Definition at line 55 of file MissileAIUpdate.h.

◆ m_initialDist

Real MissileAIUpdateModuleData::m_initialDist

Definition at line 53 of file MissileAIUpdate.h.

◆ m_initialVel

Real MissileAIUpdateModuleData::m_initialVel

Definition at line 52 of file MissileAIUpdate.h.

◆ m_killSelfDelay

Int MissileAIUpdateModuleData::m_killSelfDelay

If I have detonated and entered the KILL-SELF state, how ling do I wait before I Kill/destroy self?

Definition at line 66 of file MissileAIUpdate.h.

◆ m_lockDistance

Real MissileAIUpdateModuleData::m_lockDistance

If I get this close to my target, guaranteed hit.

Definition at line 64 of file MissileAIUpdate.h.

◆ m_tryToFollowTarget

Bool MissileAIUpdateModuleData::m_tryToFollowTarget

if true, attack object, not pos

Definition at line 49 of file MissileAIUpdate.h.

◆ m_useWeaponSpeed

Bool MissileAIUpdateModuleData::m_useWeaponSpeed

if true, limit speed of projectile to the Weapon's info

Definition at line 56 of file MissileAIUpdate.h.


The documentation for this class was generated from the following files: