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

#include <JetAIUpdate.h>

Inherits AIUpdateModuleData.

Public Member Functions

 JetAIUpdateModuleData ()
 
- 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

Real m_outOfAmmoDamagePerSecond
 
Real m_takeoffDistForMaxLift
 percent of distance from start (100%) to end (0%) that gives us max lift. Higher value lifts off sooner.
 
Real m_minHeight
 how far off the ground to lift the drawable when taxiing
 
Real m_parkingOffset
 tweaking the park loc
 
Real m_sneakyOffsetWhenAttacking
 our sneaky offset when attacking (or zero)
 
Bool m_keepsParkingSpaceWhenAirborne
 if t, keeps its parking space reservation even when airborne
 
Bool m_needsRunway
 if t, needs runways to takeoff/land
 
UnsignedInt m_takeoffPause
 pre-takeoff pause
 
LocomotorSetType m_attackingLoco
 custom attacking loco
 
LocomotorSetType m_returningLoco
 custom return-for-ammo loco
 
UnsignedInt m_attackLocoPersistTime
 if we have a custom attack loco, it persists for this long after attack is done
 
UnsignedInt m_attackersMissPersistTime
 how long after our attack we continue immunity
 
UnsignedInt m_lockonTime
 time it takes for someone to lock-on to us.
 
AsciiString m_lockonCursor
 template used for lockon.
 
Real m_lockonInitialDist
 how far away the lockon cursor starts.
 
Real m_lockonFreq
 
Real m_lockonAngleSpin
 how many times to spin around it
 
Real m_lockonBlinky
 
UnsignedInt m_returnToBaseIdleTime
 if we're idle for this long, return to base
 
- 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 50 of file JetAIUpdate.h.

Constructor & Destructor Documentation

◆ JetAIUpdateModuleData()

JetAIUpdateModuleData::JetAIUpdateModuleData ( )

Definition at line 1650 of file JetAIUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void JetAIUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 1673 of file JetAIUpdate.cpp.

Member Data Documentation

◆ m_attackersMissPersistTime

UnsignedInt JetAIUpdateModuleData::m_attackersMissPersistTime

how long after our attack we continue immunity

Definition at line 65 of file JetAIUpdate.h.

◆ m_attackingLoco

LocomotorSetType JetAIUpdateModuleData::m_attackingLoco

custom attacking loco

Definition at line 62 of file JetAIUpdate.h.

◆ m_attackLocoPersistTime

UnsignedInt JetAIUpdateModuleData::m_attackLocoPersistTime

if we have a custom attack loco, it persists for this long after attack is done

Definition at line 64 of file JetAIUpdate.h.

◆ m_keepsParkingSpaceWhenAirborne

Bool JetAIUpdateModuleData::m_keepsParkingSpaceWhenAirborne

if t, keeps its parking space reservation even when airborne

Definition at line 59 of file JetAIUpdate.h.

◆ m_lockonAngleSpin

Real JetAIUpdateModuleData::m_lockonAngleSpin

how many times to spin around it

Definition at line 70 of file JetAIUpdate.h.

◆ m_lockonBlinky

Real JetAIUpdateModuleData::m_lockonBlinky

Definition at line 71 of file JetAIUpdate.h.

◆ m_lockonCursor

AsciiString JetAIUpdateModuleData::m_lockonCursor

template used for lockon.

Definition at line 67 of file JetAIUpdate.h.

◆ m_lockonFreq

Real JetAIUpdateModuleData::m_lockonFreq

Definition at line 69 of file JetAIUpdate.h.

◆ m_lockonInitialDist

Real JetAIUpdateModuleData::m_lockonInitialDist

how far away the lockon cursor starts.

Definition at line 68 of file JetAIUpdate.h.

◆ m_lockonTime

UnsignedInt JetAIUpdateModuleData::m_lockonTime

time it takes for someone to lock-on to us.

Definition at line 66 of file JetAIUpdate.h.

◆ m_minHeight

Real JetAIUpdateModuleData::m_minHeight

how far off the ground to lift the drawable when taxiing

Definition at line 56 of file JetAIUpdate.h.

◆ m_needsRunway

Bool JetAIUpdateModuleData::m_needsRunway

if t, needs runways to takeoff/land

Definition at line 60 of file JetAIUpdate.h.

◆ m_outOfAmmoDamagePerSecond

Real JetAIUpdateModuleData::m_outOfAmmoDamagePerSecond

amount of damage to take per SEC (not per frame) when out of ammo note that it's expressed as a percent of max health, not an absolute

Definition at line 53 of file JetAIUpdate.h.

◆ m_parkingOffset

Real JetAIUpdateModuleData::m_parkingOffset

tweaking the park loc

Definition at line 57 of file JetAIUpdate.h.

◆ m_returningLoco

LocomotorSetType JetAIUpdateModuleData::m_returningLoco

custom return-for-ammo loco

Definition at line 63 of file JetAIUpdate.h.

◆ m_returnToBaseIdleTime

UnsignedInt JetAIUpdateModuleData::m_returnToBaseIdleTime

if we're idle for this long, return to base

Definition at line 72 of file JetAIUpdate.h.

◆ m_sneakyOffsetWhenAttacking

Real JetAIUpdateModuleData::m_sneakyOffsetWhenAttacking

our sneaky offset when attacking (or zero)

Definition at line 58 of file JetAIUpdate.h.

◆ m_takeoffDistForMaxLift

Real JetAIUpdateModuleData::m_takeoffDistForMaxLift

percent of distance from start (100%) to end (0%) that gives us max lift. Higher value lifts off sooner.

Definition at line 55 of file JetAIUpdate.h.

◆ m_takeoffPause

UnsignedInt JetAIUpdateModuleData::m_takeoffPause

pre-takeoff pause

Definition at line 61 of file JetAIUpdate.h.


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