88f2c71e54
Fixed scoreboard avatars not working Added the ServerExt perk menu to the lobby Made the perk buttons look better (Reset, Unload, Prestige) Added a better damage popup system Added a better pet info hud system Made player info bars fade out with distance Added missing traits from most of the perks Made lobby menu support 12 players Medic Pistol from the trait can't be dropped, sold and has infinite ammo 9mm Pistol now has infinite ammo Pet sirens do not blow up grenades Unlocked all cosmetics and emotes Hide bad cosmetics that were debug Hans pet no longer forces the camera on his death Custom weapons in the trader now support the proper weapon names Updated character info system to support alot of added items
28 lines
982 B
Ucode
28 lines
982 B
Ucode
Class Ext_TraitSWATEnforcer extends Ext_TraitBase;
|
|
|
|
static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
if( ExtHumanPawn(Player)!=None )
|
|
ExtHumanPawn(Player).bMovesFastInZedTime = true;
|
|
}
|
|
static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
if( ExtHumanPawn(Player)!=None )
|
|
ExtHumanPawn(Player).bMovesFastInZedTime = false;
|
|
}
|
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Perk.bHasSWATEnforcer = true;
|
|
}
|
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Perk.bHasSWATEnforcer = false;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
TraitName="ZED TIME - SWAT Enforcer"
|
|
TraitGroup=class'Ext_TGroupZEDTime'
|
|
DefLevelCosts(0)=50
|
|
Description="This trait makes you move at normal speed and allows you to knock down zeds by bumping into them during ZED-time."
|
|
} |