Inventory

From Tripwire Interactive Wiki
Jump to: navigation, search
Killing Floor class Inventory (source)
Object >> Actor >> Inventory


Any item carried by a player.

Killing Floor's KFWeapon class is distantly derived from it.

Properties

Main

bool bDrawingFirstPerson

Determines if we're in 1st person.

float BobDamping

How much to damp view bob.

IntBox IconCoords

Coordinates of icon in IconMaterial.

Material IconMaterial

Where icon is located.

string ItemName

Localized name of item.

Firstperson

vector PlayerViewOffset

Offset from view center.

rotator PlayerViewPivot

Additive rotation offset for tweaks.

Hidden

class<InventoryAttachment> AttachmentClass bool bDisplayableInv

Determines whether the item should be displayed in the HUD.

bool bTossedOut

True if weapon or inventory was tossed out (so players can't cheat w/ weaponstay)

byte GroupOffset

Position within inventory group. (used by prevweapon and nextweapon)

class<Pickup> PickupClass

What class of pickup is associated with this inventory item

Actor ThirdPersonActor

Mesh to use in 3rd person view.

External links