KFWeaponPickup: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Created page with "{{KFClassInfo|Object >> Actor >> Pickup >> WeaponPickup|name=KFWeaponPickup|pkg=Engine}} Killing Floor-specific weapon pickup class. == Properties == ===...")
 
(Added some descriptions)
Line 6: Line 6:
=== Main ===
=== Main ===
'''int AmmoCost'''
'''int AmmoCost'''
:<<Description>>
: Cost of a single magazine or shell.
'''string AmmoItemName'''
'''string AmmoItemName'''
:<<Description>>
: Name of ammmo (ie. ''7.62mm Ammo'').
'''staticMesh AmmoMesh'''
'''staticMesh AmmoMesh'''
:<<Description>>
: Mesh for ammo pickup.
'''bool bBlobShadow'''
'''bool bBlobShadow'''
:<<Description>>
:<<Description>>
'''bool bPreviouslyDropped'''
'''bool bPreviouslyDropped'''
:<<Description>>
: Weapon was dropped by another player.
'''int BuyClipSize'''
'''int BuyClipSize'''
:<<Description>>
: Amount of rounds purchased when the player presses the ''buy clip'' button.
'''byte CorrespondingPerkIndex'''
'''byte CorrespondingPerkIndex'''
:<<Description>>
: Value describing which perk this weapon belongs to (0 = [[Field Medic]], 1 = [[Support Specialist]], 2 = [[Sharpshooter]], 3 = [[Commando]], 4 = [[Berserker]], 5 = [[Firebug]], 6 = [[Demolitions]]).
'''int Cost'''
'''int Cost'''
:<<Description>>
: How much this weapon costs in the trader.
'''string Description'''
'''string Description'''
:<<Description>>
: Description of the weapon.
'''PlayerController DroppedBy'''
'''PlayerController DroppedBy'''
:<<Description>>
: Player who dropped this weapon.
'''byte EquipmentCategoryID'''
'''byte EquipmentCategoryID'''
:<<Description>>
:<<Description>>

Revision as of 05:01, 28 November 2012

Killing Floor class KFWeaponPickup (source)
Object >> Actor >> Pickup >> WeaponPickup >> KFWeaponPickup


Killing Floor-specific weapon pickup class.

Properties

Main

int AmmoCost

Cost of a single magazine or shell.

string AmmoItemName

Name of ammmo (ie. 7.62mm Ammo).

staticMesh AmmoMesh

Mesh for ammo pickup.

bool bBlobShadow

<<Description>>

bool bPreviouslyDropped

Weapon was dropped by another player.

int BuyClipSize

Amount of rounds purchased when the player presses the buy clip button.

byte CorrespondingPerkIndex

Value describing which perk this weapon belongs to (0 = Field Medic, 1 = Support Specialist, 2 = Sharpshooter, 3 = Commando, 4 = Berserker, 5 = Firebug, 6 = Demolitions).

int Cost

How much this weapon costs in the trader.

string Description

Description of the weapon.

PlayerController DroppedBy

Player who dropped this weapon.

byte EquipmentCategoryID

<<Description>>

string ItemName

<<Description>>

string ItemShortName

<<Description>>

float LastCantCarryTime

<<Description>>

int MagAmmoRemaining

<<Description>>

KFRandomItemSpawn MySpawner

<<Description>>

ShadowProjector PlayerShadow

<<Description>>

int PowerValue

<<Description>>

class<KFWeaponPickup> PrimaryWeaponPickup

<<Description>>

int RangeValue

<<Description>>

string SecondaryAmmoShortName

<<Description>>

int SellValue

<<Description>>

Projector Shadow

<<Description>>

mesh showMesh

<<Description>>

int SpeedValue

<<Description>>

KFWeaponPickup

bool bNoRespawn

<<Description>>

bool bNoShadows

<<Description>>

bool bOnePickupOnly

<<Description>>

float Weight

<<Description>>

WeaponPickup

float LockerOffset

<<Description>>

vector StandUp

<<Description>>