[Changed] - Knife replaced by machete (now with 0 weight) - Light vest now costs 50 instead of 100 - Horzine armor now costs 750 instead of 1000 - Dual pistols now have added spread of 500, same as SMGs - Dual pistols now shoot 1.5 times as fast as single ones, instead of double speed - Shiver's health is set to the gorefast's level, but without 6-players scaling - Commando's passive reload speed bonus reduced from 30% to 15% - Skill for commando "Perfect execution" no longer activates from Jasons - Weapon for commando AK47: total ammo decreased from 270 to 240 - Weapon for commando Mkb42: total ammo increased from 240 to 270, delay between shots decreased from 0.175 to 0.14 - Weapon for sharpshooter 9mm: perked decapitation mod increased from 0.5 to 0.6 - Weapon for sharpshooter MK23: delay between shots decreased from 0.35 to 0.3 seconds [Fixed] - Fixed bug that cause Benelli shotgun to deal 79 damage per pellet instead of 63 - Fixed bug that caused dual magnums to deal less damage that single one
112 lines
5.9 KiB
Ucode
112 lines
5.9 KiB
Ucode
class NiceVetCommando extends NiceVeterancyTypes
|
|
abstract;
|
|
static function AddCustomStats(ClientPerkRepLink Other){
|
|
other.AddCustomValue(Class'NiceVetCommandoExp');
|
|
}
|
|
static function int GetStatValueInt(ClientPerkRepLink StatOther, byte ReqNum){
|
|
return StatOther.GetCustomValueInt(Class'NiceVetCommandoExp');
|
|
}
|
|
static function array<int> GetProgressArray(byte ReqNum, optional out int DoubleScalingBase){
|
|
return default.progressArray0;
|
|
}
|
|
static function class<Grenade> GetNadeType(KFPlayerReplicationInfo KFPRI){
|
|
/*if(KFPRI != none && class'NiceVetFieldMedic'.static.hasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillMedicArmament'))
|
|
return class'NicePack.NiceMedicNade';*/
|
|
//return class'NiceMedicNadePoison';
|
|
return class'NicePack.NiceNade';
|
|
}
|
|
static function float GetHealthBarsDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
|
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
|
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
|
return 1.0;
|
|
}
|
|
static function float GetStalkerViewDistanceMulti(KFPlayerReplicationInfo KFPRI){
|
|
/*if(KFPRI != none && SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoStrategist'))
|
|
return class'NiceSkillCommandoStrategist'.default.visionRadius;*/
|
|
return 1.0;
|
|
}
|
|
static function bool CanCookNade(KFPlayerReplicationInfo KFPRI, Weapon Weap){
|
|
return GetNadeType(KFPRI) != class'NicePack.NiceMedicNadePoison';
|
|
}
|
|
static function float GetMagCapacityMod(KFPlayerReplicationInfo KFPRI, KFWeapon Other){
|
|
local class<NiceWeaponPickup> pickupClass;
|
|
pickupClass = GetPickupFromWeapon(other.class);
|
|
if(IsPerkedPickup(pickupClass) && HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoLargerMags'))
|
|
return class'NiceSkillCommandoLargerMags'.default.sizeBonus;
|
|
return 1.0;
|
|
}
|
|
static function float GetSyringeChargeRate(KFPlayerReplicationInfo KFPRI){
|
|
return 1.5;
|
|
}
|
|
static function float GetMovementSpeedModifier(KFPlayerReplicationInfo KFPRI, KFGameReplicationInfo KFGRI){
|
|
return 1.1;
|
|
}
|
|
static function float GetReloadSpeedModifierStatic(KFPlayerReplicationInfo KFPRI, class<KFWeapon> Other){
|
|
return 1.15;
|
|
}
|
|
static function float GetFireSpeedModStatic(KFPlayerReplicationInfo KFPRI, class<Weapon> other){
|
|
local float fireSpeed;
|
|
local NicePlayerController nicePlayer;
|
|
local class<NiceWeaponPickup> pickupClass;
|
|
pickupClass = GetPickupFromWeapon(other);
|
|
if(KFPRI.Owner == none)
|
|
return 1.0;
|
|
if(IsPerkedPickup(pickupClass) && HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoOverclocking'))
|
|
fireSpeed = class'NiceSkillHeavyOverclocking'.default.fireSpeedMult;
|
|
else
|
|
fireSpeed = 1.0;
|
|
nicePlayer = NicePlayerController(KFPRI.Owner);
|
|
return fireSpeed;
|
|
}
|
|
static function float ModifyRecoilSpread(KFPlayerReplicationInfo KFPRI, WeaponFire other, out float Recoil){
|
|
local class<NiceWeaponPickup> pickupClass;
|
|
pickupClass = GetPickupFromWeaponFire(other);
|
|
if(IsPerkedPickup(pickupClass) && HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoOverclocking'))
|
|
Recoil = class'NiceSkillCommandoOverclocking'.default.fireSpeedMult;
|
|
else
|
|
Recoil = 1.0;
|
|
return Recoil;
|
|
}
|
|
static function int ZedTimeExtensions(KFPlayerReplicationInfo KFPRI){
|
|
/*if(HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillCommandoTactitian'))
|
|
return class'NiceSkillCommandoTactitian'.default.bonusExt + 3;*/
|
|
return 4;
|
|
}
|
|
static function string GetCustomLevelInfo(byte Level){
|
|
return default.CustomLevelInfo;
|
|
}
|
|
defaultproperties
|
|
{
|
|
bNewTypePerk=True
|
|
SkillGroupA(0)=Class'NicePack.NiceSkillCommandoExplosivePower'
|
|
SkillGroupA(1)=Class'NicePack.NiceSkillCommandoLargerMags'
|
|
SkillGroupA(2)=Class'NicePack.NiceSkillCommandoPerfectExecution'
|
|
//SkillGroupA(3)=Class'NicePack.'
|
|
SkillGroupA(4)=Class'NicePack.NiceSkillCommandoZEDProfessional'
|
|
SkillGroupB(0)=Class'NicePack.NiceSkillCommandoRegeneration'
|
|
SkillGroupB(1)=Class'NicePack.NiceSkillCommandoQuickermags'
|
|
SkillGroupB(2)=Class'NicePack.NiceSkillCommandoOverclocking'
|
|
//SkillGroupB(3)=Class'NicePack.'
|
|
SkillGroupB(4)=Class'NicePack.NiceSkillCommandoZEDHeavenCanceller'
|
|
progressArray0(0)=100
|
|
progressArray0(1)=1000
|
|
progressArray0(2)=3000
|
|
progressArray0(3)=10000
|
|
progressArray0(4)=30000
|
|
progressArray0(5)=100000
|
|
progressArray0(6)=200000
|
|
DefaultDamageType=Class'NicePack.NiceDamageTypeVetCommando'
|
|
OnHUDIcons(0)=(PerkIcon=Texture'KillingFloorHUD.Perks.Perk_Commando',StarIcon=Texture'KillingFloorHUD.HUD.Hud_Perk_Star',DrawColor=(B=255,G=255,R=255,A=255))
|
|
OnHUDIcons(1)=(PerkIcon=Texture'KillingFloor2HUD.Perk_Icons.Perk_Commando_Gold',StarIcon=Texture'KillingFloor2HUD.Perk_Icons.Hud_Perk_Star_Gold',DrawColor=(B=255,G=255,R=255,A=255))
|
|
OnHUDIcons(2)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Green',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Green',DrawColor=(B=255,G=255,R=255,A=255))
|
|
OnHUDIcons(3)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Blue',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Blue',DrawColor=(B=255,G=255,R=255,A=255))
|
|
OnHUDIcons(4)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Purple',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Purple',DrawColor=(B=255,G=255,R=255,A=255))
|
|
OnHUDIcons(5)=(PerkIcon=Texture'ScrnTex.Perks.Perk_Commando_Orange',StarIcon=Texture'ScrnTex.Perks.Hud_Perk_Star_Orange',DrawColor=(B=255,G=255,R=255,A=255))
|
|
CustomLevelInfo="Level up by doing damage with perked weapons|15% faster reload with all weapons|10% faster movement speed|You get four additional Zed-Time Extensions|See health and cloacked zeds from 16 meters distance|Better Syringe handling"
|
|
PerkIndex=3
|
|
OnHUDIcon=Texture'KillingFloorHUD.Perks.Perk_Commando'
|
|
OnHUDGoldIcon=Texture'KillingFloor2HUD.Perk_Icons.Perk_Commando_Gold'
|
|
VeterancyName="Commando"
|
|
Requirements(0)="Required experience for the next level: %x"
|
|
}
|