Add changed for updates 001 and 002

This commit is contained in:
Anton Tarasenko 2021-07-16 16:00:48 +07:00
commit 0ee6e2e0ca
16 changed files with 112 additions and 93 deletions

View file

@ -186,13 +186,13 @@ simulated function ZoomIn(bool bAnimateTransition)
scopePortalFOVHigh = default.scopePortalFOVHigh;
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(instigator != none && instigator.bIsCrouched && class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched && class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched){
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
}
super(BaseKFWeapon).ZoomIn(bAnimateTransition);
@ -213,12 +213,12 @@ simulated function ZoomOut(bool bAnimateTransition)
scopePortalFOVHigh = default.scopePortalFOVHigh;
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
super.ZoomOut(bAnimateTransition);
bAimingRifle = False;

View file

@ -187,12 +187,12 @@ simulated function ZoomIn(bool bAnimateTransition)
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(instigator != none && instigator.bIsCrouched && class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched){
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
}
super(BaseKFWeapon).ZoomIn(bAnimateTransition);
@ -213,12 +213,12 @@ simulated function ZoomOut(bool bAnimateTransition)
scopePortalFOVHigh = default.scopePortalFOVHigh;
scopePortalFOV = default.scopePortalFOV;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOVHigh *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
scopePortalFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
super.ZoomOut(bAnimateTransition);
bAimingRifle = False;

View file

@ -1550,19 +1550,19 @@ simulated function RenderOverlays(Canvas Canvas){
simulated function ZoomIn(bool bAnimateTransition){
default.ZoomTime = default.recordedZoomTime;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
if(instigator != none && instigator.bIsCrouched)
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
super.ZoomIn(bAnimateTransition);
}
simulated function ZoomOut(bool bAnimateTransition){
default.ZoomTime = default.recordedZoomTime;
PlayerIronSightFOV = default.PlayerIronSightFOV;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterHardWork')){
default.ZoomTime *= class'NiceSkillSharpshooterHardWork'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterHardWork'.default.zoomBonus;
if(class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Instigator.Controller), class'NiceSkillSharpshooterControl')){
default.ZoomTime *= class'NiceSkillSharpshooterControl'.default.zoomSpeedBonus;
PlayerIronSightFOV *= class'NiceSkillSharpshooterControl'.default.zoomBonus;
}
super.ZoomOut(bAnimateTransition);
}

View file

@ -1,8 +1,9 @@
class NiceDamTypeHuntingRifle extends NiceDamageTypeVetSharpshooter
abstract;
defaultproperties
{
stunMultiplier=1.500000
stunMultiplier=0.75
MaxPenetrations=5
BigZedPenDmgReduction=0.750000
MediumZedPenDmgReduction=1.000000
@ -22,4 +23,4 @@ defaultproperties
KDeathVel=115.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.700000
}
}

View file

@ -14,6 +14,7 @@ defaultproperties
{
//prReqMultiplier=0.600000
//prReqPrecise=0.600000
stunMultiplier=0.5
MaxPenetrations=-1
BigZedPenDmgReduction=0.750000
MediumZedPenDmgReduction=1.000000

View file

@ -7,6 +7,7 @@ static function ScoredNiceHeadshot(KFSteamStatsAndAchievements KFStatsAndAchieve
}
defaultproperties
{
stunMultiplier=0.5
HeadShotDamageMult=5.0
bSniperWeapon=True
WeaponClass=Class'NicePack.NiceMaulerRifle'

View file

@ -12,8 +12,8 @@ defaultproperties
StereoFireSoundRef="KF_SP_LongmusketSnd.KFO_Sniper_Fire_S"
NoAmmoSoundRef="KF_M14EBRSnd.M14EBR_DryFire"
DamageType=Class'NicePack.NiceDamTypeMauler'
DamageMin=121
DamageMax=121
DamageMin=115
DamageMax=115//121
Momentum=13000.000000
bWaitForRelease=True
TransientSoundVolume=1.800000

View file

@ -3,6 +3,7 @@ defaultproperties
{
//prReqMultiplier=0.400000
//prReqPrecise=0.400000
stunMultiplier=0.5
MaxPenetrations=3
BigZedPenDmgReduction=0.750000
MediumZedPenDmgReduction=0.900000

View file

@ -1,6 +1,7 @@
class NiceDamTypeSVDS extends NiceDamageTypeVetSharpshooter;
defaultproperties
{
stunMultiplier=0.5
MaxPenetrations=1
BigZedPenDmgReduction=0.750000
MediumZedPenDmgReduction=0.900000

View file

@ -1,7 +1,7 @@
class NiceDamTypeVSSDT extends NiceDamageTypeVetSharpshooter;
defaultproperties
{
stunMultiplier=0.500000
stunMultiplier=0.25
HeadShotDamageMult=1.490000
bSniperWeapon=True
WeaponClass=Class'NicePack.NiceVSSDT'

View file

@ -3,23 +3,23 @@ class NiceDamTypeWinchester extends NiceDamageTypeVetSharpshooter
defaultproperties
{
stunMultiplier=1.500000
flinchMultiplier=0.8
bIsProjectile=True
HeadShotDamageMult=2.500000
bSniperWeapon=True
WeaponClass=Class'NicePack.NiceWinchester'
DeathString="%k killed %o (Winchester)."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
bRagdollBullet=True
bBulletHit=True
PawnDamageEmitter=Class'ROEffects.ROBloodPuff'
LowGoreDamageEmitter=Class'ROEffects.ROBloodPuffNoGore'
LowDetailEmitter=Class'ROEffects.ROBloodPuffSmall'
FlashFog=(X=600.000000)
KDamageImpulse=2250.000000
KDeathVel=115.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.700000
}
stunMultiplier=0.75
flinchMultiplier=0.8
bIsProjectile=True
HeadShotDamageMult=2.500000
bSniperWeapon=True
WeaponClass=Class'NicePack.NiceWinchester'
DeathString="%k killed %o (Winchester)."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
bRagdollBullet=True
bBulletHit=True
PawnDamageEmitter=Class'ROEffects.ROBloodPuff'
LowGoreDamageEmitter=Class'ROEffects.ROBloodPuffNoGore'
LowDetailEmitter=Class'ROEffects.ROBloodPuffSmall'
FlashFog=(X=600.000000)
KDamageImpulse=2250.000000
KDeathVel=115.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.700000
}