Attention

This page is incomplete and needs better descriptions and research into the behavior of the variables.

HumanInfo

Contains additional information about a human. Each human has their own unique copy of this type.

Variables

MaxHitPoints (int)
Max hit points this human can have.
MaxKnockdownHits (int)
The maximum number of melee hits before this human will be knocked over.
MaxSpeed (float)
Max speed in m/s of this human.
DefaultEquipItem (InvItemInfo)
The default item that this human has equipped.
DefaultLastEquipItem (InvItemInfo)
The last item equipped.
Name (char*)
The humans name.
NameCrc (unsigned int)
The names crc hash.
ModelName (char*)
This humans 3D model filename.
AnimSetName (char*)
This humans animation set filename.
AnimSetNameCrc (unsigned int)
The anim set filename’s crc hash.
RigName (char*)
This humans rigging filename.
SRID (int)
Likely a unique identifier for this human. Not confirmed.
SlotID (int)
Unknown value.
DefaultHeightScale (float)
The height scale of this human. With 1.0 being no scaling, 0.5 being half size, 2.0 being double the size, etc. Testing with this did not result in an immediate height change. A way to force rescaling may need to be found.
HeightScaleVariation (float)
Unknown value.
DefaultTeam (HumanTeams)
The team this human is on (EDF, Marauders, etc).
HurtThreshold (int16)
Unknown value.
HomeDistrict (int)
Unknown value.
AimErrorPercent (float)
Unknown value.
FootEffects (FootGroundEffects)
Unknown value.
NumHeads (int)
Unknown value.
Heads (CharDefHead*[4])
Unknown value.
NumGeneralProps (int)
The number of props this human has. The actual prop data has not yet been bound to lua.
LowerSpineBoneIndex (int)
Unknown value.
UpperSpineBoneIndex (int)
Unknown value.
PelvisBoneIndex (int)
Unknown value.
HeadBoneIndex (int)
Unknown value.
NeckBoneIndex (int)
Unknown value.
EyeLeftBoneIndex (int)
Unknown value.
EyeRightBoneIndex (int)
Unknown value.
CalfLeftBoneIndex (int)
Unknown value.
CalfRightBoneIndex (int)
Unknown value.
CameraBoneIndex (int)
Unknown value.
DropCashMin (int)
Unknown value.
DropCashMax (int)
Unknown value.
LightEffectHandle (unsigned int)
Unknown value.
LightTagNames (char*[2])
Unknown value.
Flags (HumanInfoFlags)
More flags used to describe this humans behavior.