My Project
|
NPC database item (complete) More...
#include <NpcDatabase.h>
Public Types | |
enum | UPDATE_FIELDS { POSITION_FACING = 0x1<<0, APPEARANCE_ATTRIBUTES = 0x1<<1, MENTAL_STATE_0 = 0x1<<2, MENTAL_STATE_1 = 0x1<<3, MENTAL_STATE_2 = 0x1<<4, MENTAL_STATE_3 = 0x1<<5, RPG_ATTRIBUTES = 0x1<<6, DND_ATTRIBUTES = 0x1<<7, ALL_ATTRIBUTES = 0xffffffff } |
selectively update data fields. More... | |
Public Member Functions | |
void | LoadDefaultValues () |
load the default database values. More... | |
Public Attributes | |
string | m_sName |
string | m_sAssetName |
bool | m_bIsGlobal |
bool | m_bSnapToTerrain |
float | m_fRadius |
float | m_fFacing |
float | m_fScaling |
Vector3 | m_vPos |
int | m_nID |
character ID in database. More... | |
int | m_nCharacterType |
DWORD | m_MentalState [4] |
character mental states | |
float | m_fLifePoint |
the life or hit point of the character. More... | |
float | m_fAge |
the age of the character. More... | |
float | m_fHeight |
the height of the character. More... | |
float | m_fWeight |
the weight of the character. More... | |
int | m_nOccupation |
the occupation of the character. More... | |
int | m_nRaceSex |
the race and sex of the character. More... | |
float | m_fStrength |
character strength | |
float | m_fDexterity |
character dexterity | |
float | m_fIntelligence |
character Intelligence | |
float | m_fBaseDefense |
character base defense | |
float | m_fDefense |
float | m_fDefenseflat |
float | m_fDefenseMental |
float | m_fBaseAttack |
character base attack | |
float | m_fAttackMelee |
float | m_fAttackRanged |
float | m_fAttackMental |
float | m_fMaxLifeLoad |
the maximum load that a character can lift or carry | |
int | m_nHeroPoints |
levels can be deducted from this value. More... | |
float | m_fPerceptiveRadius |
float | m_fSentientRadius |
int | m_nGroupID |
DWORD | m_dwSentientField |
string | m_sOnLoadScript |
vector< byte > | m_binCustomAppearance |
NPC database item (complete)
selectively update data fields.
void CNpcDbItem::LoadDefaultValues | ( | ) |
load the default database values.
perform test cases when reseting db.
float ParaEngine::CNpcDbItem::m_fAge |
the age of the character.
float ParaEngine::CNpcDbItem::m_fHeight |
the height of the character.
float ParaEngine::CNpcDbItem::m_fLifePoint |
the life or hit point of the character.
float ParaEngine::CNpcDbItem::m_fWeight |
the weight of the character.
int ParaEngine::CNpcDbItem::m_nCharacterType |
int ParaEngine::CNpcDbItem::m_nHeroPoints |
levels can be deducted from this value.
int ParaEngine::CNpcDbItem::m_nID |
character ID in database.
int ParaEngine::CNpcDbItem::m_nOccupation |
the occupation of the character.
int ParaEngine::CNpcDbItem::m_nRaceSex |
the race and sex of the character.
It 2N it is female, if 2N+1, it is male.