rott/kf_sources/KFMod/Classes/Vest.uc
2026-07-14 20:27:09 +07:00

43 lines
1.1 KiB
Ucode

//=============================================================================
// Kevlar Vest ... Don't leave home without it
//=============================================================================
class Vest extends SuperShieldPack
placeable;
var byte EquipmentCategoryID;
var int ItemCost;
static function string GetLocalString(
optional int Switch,
optional PlayerReplicationInfo RelatedPRI_1,
optional PlayerReplicationInfo RelatedPRI_2
)
{
return Default.PickupMessage;
}
function RespawnEffect()
{
// Get rid of the Yellow puff. It's not welcome here.
}
defaultproperties
{
ShieldAmount=100
PickupMessage="You found a Kevlar Assault Vest"
PickupSound=Sound'KF_InventorySnd.Vest_Pickup'
StaticMesh=StaticMesh'KillingFloorStatics.Vest'
Physics=PHYS_Falling
AmbientGlow=40
TransientSoundVolume=+150.000000
CollisionRadius=30.000000
CollisionHeight=5.000000
RotationRate=(Yaw=0)
DesiredRotation=(Yaw=0)
DrawScale3d = (X=1,Y=1,Z=0.4)
UV2Texture=FadeColor'PatchTex.Common.PickupOverlay'
EquipmentCategoryID=5
ItemCost=300
}