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

#include <HelicopterSlowDeathUpdate.h>

Inherits SlowDeathBehaviorModuleData.

Public Member Functions

 HelicopterSlowDeathBehaviorModuleData (void)
 
- Public Member Functions inherited from SlowDeathBehaviorModuleData
 SlowDeathBehaviorModuleData ()
 
Bool hasNonLodEffects () 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 Bool isAiModuleData () 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 SlowDeathBehaviorModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- 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_spiralOrbitTurnRate
 (rads per frame) rate at which we do big circles down toward the ground
 
Real m_spiralOrbitForwardSpeed
 (dist per frame) speed at which we move "forward" in the downward spiral
 
Real m_spiralOrbitForwardSpeedDamping
 every frame our forward speed in the orbit is adjusted by this amount
 
Real m_minSelfSpin
 (rads per frame) min turning rate at which we spin around our center of gravity
 
Real m_maxSelfSpin
 (rads per frame) max turning rate at which we spin around our center of gravity
 
Real m_selfSpinUpdateDelay
 (frames) every this many frames we will update the self spin angle, but we'll keep it inbetween the min and max self spin
 
Real m_selfSpinUpdateAmount
 (radian) when we update the self spin every SelfSpinUpdateDelay frames, we change it this much, but keep it between min and max self spin
 
Real m_fallHowFast
 a fraction of gravity we use to modify the helicopert locmotor lift
 
Real m_minBladeFlyOffDelay
 (frames) min frame that the blade will fly off at
 
Real m_maxBladeFlyOffDelay
 (frames) max frame that the blade will fly off at
 
const ParticleSystemTemplatem_attachParticleSystem
 particle system to attach
 
AsciiString m_attachParticleBone
 bone to attach particle system to
 
Coord3D m_attachParticleLoc
 loc attach particle system to if bone not present
 
AsciiString m_bladeObjectName
 object name of the blade piece
 
AsciiString m_bladeBone
 bone name of main propeller blade
 
const ObjectCreationListm_oclEjectPilot
 OCL for ejecting pilot.
 
const FXListm_fxBlade
 blade fly off event fx list
 
const ObjectCreationListm_oclBlade
 OCL at blade fly off event.
 
const FXListm_fxHitGround
 fx for hitting the ground
 
const ObjectCreationListm_oclHitGround
 OCL at hit ground event.
 
const FXListm_fxFinalBlowUp
 the final blow up
 
const ObjectCreationListm_oclFinalBlowUp
 OCL at final blow up event.
 
Real m_delayFromGroundToFinalDeath
 (frames) delay from when we hit the ground to final BOOM!
 
AsciiString m_finalRubbleObject
 final rubble object to create after it's ALL over
 
Real m_maxBraking
 max braking we may use during death spiral
 
AudioEventRTS m_deathSound
 Sound played during death sequence.
 
- Public Attributes inherited from SlowDeathBehaviorModuleData
DieMuxData m_dieMuxData
 
Real m_sinkRate
 
Int m_probabilityModifier
 
Real m_modifierBonusPerOverkillPercent
 
UnsignedInt m_sinkDelay
 
UnsignedInt m_sinkDelayVariance
 
Real m_destructionAltitude
 
UnsignedInt m_destructionDelay
 
UnsignedInt m_destructionDelayVariance
 
FXListVec m_fx [SD_PHASE_COUNT]
 
OCLVec m_ocls [SD_PHASE_COUNT]
 
WeaponTemplateVec m_weapons [SD_PHASE_COUNT]
 
Real m_flingForce
 
Real m_flingForceVariance
 
Real m_flingPitch
 
Real m_flingPitchVariance
 
Byte m_maskOfLoadedEffects
 used to keep track of whether m_fx,m_ocls,m_weapons actually contain anything.
 

Additional Inherited Members

- Public Types inherited from SlowDeathBehaviorModuleData
enum  { HAS_FX = 1 , HAS_OCL = 2 , HAS_WEAPON = 4 , HAS_NON_LOD_EFFECTS = (HAS_OCL | HAS_WEAPON) }
 

Detailed Description

Definition at line 44 of file HelicopterSlowDeathUpdate.h.

Constructor & Destructor Documentation

◆ HelicopterSlowDeathBehaviorModuleData()

HelicopterSlowDeathBehaviorModuleData::HelicopterSlowDeathBehaviorModuleData ( void )

Definition at line 67 of file HelicopterSlowDeathUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void HelicopterSlowDeathBehaviorModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 106 of file HelicopterSlowDeathUpdate.cpp.

Member Data Documentation

◆ m_attachParticleBone

AsciiString HelicopterSlowDeathBehaviorModuleData::m_attachParticleBone

bone to attach particle system to

Definition at line 64 of file HelicopterSlowDeathUpdate.h.

◆ m_attachParticleLoc

Coord3D HelicopterSlowDeathBehaviorModuleData::m_attachParticleLoc

loc attach particle system to if bone not present

Definition at line 65 of file HelicopterSlowDeathUpdate.h.

◆ m_attachParticleSystem

const ParticleSystemTemplate* HelicopterSlowDeathBehaviorModuleData::m_attachParticleSystem

particle system to attach

Definition at line 63 of file HelicopterSlowDeathUpdate.h.

◆ m_bladeBone

AsciiString HelicopterSlowDeathBehaviorModuleData::m_bladeBone

bone name of main propeller blade

Definition at line 67 of file HelicopterSlowDeathUpdate.h.

◆ m_bladeObjectName

AsciiString HelicopterSlowDeathBehaviorModuleData::m_bladeObjectName

object name of the blade piece

Definition at line 66 of file HelicopterSlowDeathUpdate.h.

◆ m_deathSound

AudioEventRTS HelicopterSlowDeathBehaviorModuleData::m_deathSound

Sound played during death sequence.

Definition at line 80 of file HelicopterSlowDeathUpdate.h.

◆ m_delayFromGroundToFinalDeath

Real HelicopterSlowDeathBehaviorModuleData::m_delayFromGroundToFinalDeath

(frames) delay from when we hit the ground to final BOOM!

Definition at line 75 of file HelicopterSlowDeathUpdate.h.

◆ m_fallHowFast

Real HelicopterSlowDeathBehaviorModuleData::m_fallHowFast

a fraction of gravity we use to modify the helicopert locmotor lift

Definition at line 60 of file HelicopterSlowDeathUpdate.h.

◆ m_finalRubbleObject

AsciiString HelicopterSlowDeathBehaviorModuleData::m_finalRubbleObject

final rubble object to create after it's ALL over

Definition at line 76 of file HelicopterSlowDeathUpdate.h.

◆ m_fxBlade

const FXList* HelicopterSlowDeathBehaviorModuleData::m_fxBlade

blade fly off event fx list

Definition at line 69 of file HelicopterSlowDeathUpdate.h.

◆ m_fxFinalBlowUp

const FXList* HelicopterSlowDeathBehaviorModuleData::m_fxFinalBlowUp

the final blow up

Definition at line 73 of file HelicopterSlowDeathUpdate.h.

◆ m_fxHitGround

const FXList* HelicopterSlowDeathBehaviorModuleData::m_fxHitGround

fx for hitting the ground

Definition at line 71 of file HelicopterSlowDeathUpdate.h.

◆ m_maxBladeFlyOffDelay

Real HelicopterSlowDeathBehaviorModuleData::m_maxBladeFlyOffDelay

(frames) max frame that the blade will fly off at

Definition at line 62 of file HelicopterSlowDeathUpdate.h.

◆ m_maxBraking

Real HelicopterSlowDeathBehaviorModuleData::m_maxBraking

max braking we may use during death spiral

Definition at line 77 of file HelicopterSlowDeathUpdate.h.

◆ m_maxSelfSpin

Real HelicopterSlowDeathBehaviorModuleData::m_maxSelfSpin

(rads per frame) max turning rate at which we spin around our center of gravity

Definition at line 57 of file HelicopterSlowDeathUpdate.h.

◆ m_minBladeFlyOffDelay

Real HelicopterSlowDeathBehaviorModuleData::m_minBladeFlyOffDelay

(frames) min frame that the blade will fly off at

Definition at line 61 of file HelicopterSlowDeathUpdate.h.

◆ m_minSelfSpin

Real HelicopterSlowDeathBehaviorModuleData::m_minSelfSpin

(rads per frame) min turning rate at which we spin around our center of gravity

Definition at line 56 of file HelicopterSlowDeathUpdate.h.

◆ m_oclBlade

const ObjectCreationList* HelicopterSlowDeathBehaviorModuleData::m_oclBlade

OCL at blade fly off event.

Definition at line 70 of file HelicopterSlowDeathUpdate.h.

◆ m_oclEjectPilot

const ObjectCreationList* HelicopterSlowDeathBehaviorModuleData::m_oclEjectPilot

OCL for ejecting pilot.

Definition at line 68 of file HelicopterSlowDeathUpdate.h.

◆ m_oclFinalBlowUp

const ObjectCreationList* HelicopterSlowDeathBehaviorModuleData::m_oclFinalBlowUp

OCL at final blow up event.

Definition at line 74 of file HelicopterSlowDeathUpdate.h.

◆ m_oclHitGround

const ObjectCreationList* HelicopterSlowDeathBehaviorModuleData::m_oclHitGround

OCL at hit ground event.

Definition at line 72 of file HelicopterSlowDeathUpdate.h.

◆ m_selfSpinUpdateAmount

Real HelicopterSlowDeathBehaviorModuleData::m_selfSpinUpdateAmount

(radian) when we update the self spin every SelfSpinUpdateDelay frames, we change it this much, but keep it between min and max self spin

Definition at line 59 of file HelicopterSlowDeathUpdate.h.

◆ m_selfSpinUpdateDelay

Real HelicopterSlowDeathBehaviorModuleData::m_selfSpinUpdateDelay

(frames) every this many frames we will update the self spin angle, but we'll keep it inbetween the min and max self spin

Definition at line 58 of file HelicopterSlowDeathUpdate.h.

◆ m_spiralOrbitForwardSpeed

Real HelicopterSlowDeathBehaviorModuleData::m_spiralOrbitForwardSpeed

(dist per frame) speed at which we move "forward" in the downward spiral

Definition at line 54 of file HelicopterSlowDeathUpdate.h.

◆ m_spiralOrbitForwardSpeedDamping

Real HelicopterSlowDeathBehaviorModuleData::m_spiralOrbitForwardSpeedDamping

every frame our forward speed in the orbit is adjusted by this amount

Definition at line 55 of file HelicopterSlowDeathUpdate.h.

◆ m_spiralOrbitTurnRate

Real HelicopterSlowDeathBehaviorModuleData::m_spiralOrbitTurnRate

(rads per frame) rate at which we do big circles down toward the ground

Definition at line 53 of file HelicopterSlowDeathUpdate.h.


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