Update 007
[Changed] - Weapon for sharpshooter SVD: max ammo reduced from 60 to 30, initialial ammo from 15 to 8, ammo cost raised from 42 to 100 - Weapon for demolitionist LAW: max ammo increased from 10 to 16, starting ammo increased from 1 to 4 - Enforcer's skill 'Multitasking': now holstered weapons reload 3 times slower than normal, instead of 5 times [Technical] - Added logging to help figure out issue with Enforcer's 'Multitasking' skill
This commit is contained in:
parent
9bb40e03c8
commit
3ab2559616
@ -152,7 +152,7 @@ defaultproperties
|
||||
ComponentClassName="ScrnBalanceSrv.ScrnGUICheckBoxButton"
|
||||
OnCreateComponent=DispWeapProgress.InternalOnCreateComponent
|
||||
IniOption="@Internal"
|
||||
Hint="Displays weapon progress rate, whoever it's defined by a skill that's using this functionality"
|
||||
Hint="Displays weapon progress rate, however it's defined by a skill that's using this functionality"
|
||||
WinTop=0.200000
|
||||
WinLeft=0.012500
|
||||
WinWidth=0.278000
|
||||
|
@ -331,10 +331,16 @@ simulated function Tick(float deltaTime){
|
||||
niceMutator.ClearWeapProgress();
|
||||
if(!class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Controller), class'NiceSkillEnforcerMultitasker'))
|
||||
return;
|
||||
if(Role < ROLE_Authority && nicePlayer != none && nicePlayer.bFlagDisplayWeaponProgress){
|
||||
if ( Role < ROLE_Authority && nicePlayer != none
|
||||
&& nicePlayer.bFlagDisplayWeaponProgress)
|
||||
{
|
||||
// Update weapon progress for this skill
|
||||
if(niceMutator == none)
|
||||
if(niceMutator == none) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
Log("Failed to update holstered progress, because no mut! :(");
|
||||
}
|
||||
for(Item = Inventory; Item != none; Item = Item.Inventory){
|
||||
niceWeap = NiceWeapon(Item);
|
||||
if(niceWeap != none && niceWeap != weapon && !niceWeap.IsMagazineFull()){
|
||||
@ -344,6 +350,11 @@ simulated function Tick(float deltaTime){
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Role < ROLE_Authority)
|
||||
{
|
||||
Log( "Failed to update holstered progress, checked variables:"
|
||||
@ nicePlayer @ nicePlayer.bFlagDisplayWeaponProgress);
|
||||
}
|
||||
// Auto-reload holstered weapons
|
||||
holsteredReloadCountDown -= deltaTime;
|
||||
if(holsteredReloadCountDown <= 0.0){
|
||||
|
@ -1,9 +1,11 @@
|
||||
class NiceSkillEnforcerMultitasker extends NiceSkill
|
||||
abstract;
|
||||
|
||||
var float reloadSlowDown;
|
||||
|
||||
defaultproperties
|
||||
{
|
||||
reloadSlowDown=5.000000
|
||||
reloadSlowDown = 3.0
|
||||
SkillName = "Multitasker"
|
||||
SkillEffects="Reload holstered weapons at five times as much time."
|
||||
SkillEffects = "Reload holstered weapons, taking thrice as much time."
|
||||
}
|
@ -3,8 +3,8 @@ class NiceLAWAmmo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
|
||||
AmmoPickupAmount=1
|
||||
MaxAmmo=10
|
||||
InitialAmount=1
|
||||
MaxAmmo=16
|
||||
InitialAmount=4
|
||||
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
||||
IconCoords=(X1=458,Y1=34,X2=511,Y2=78)
|
||||
ItemName="L.A.W Rockets"
|
||||
|
@ -3,8 +3,8 @@ defaultproperties
|
||||
{
|
||||
WeaponPickupClass=Class'NicePack.NiceSVDPickup'
|
||||
AmmoPickupAmount=10
|
||||
MaxAmmo=60
|
||||
InitialAmount=15
|
||||
MaxAmmo=30
|
||||
InitialAmount=8
|
||||
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
||||
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
|
||||
ItemName="7.62x54mm"
|
||||
|
@ -5,7 +5,7 @@ defaultproperties
|
||||
{
|
||||
Weight=8.000000
|
||||
cost=1250
|
||||
AmmoCost=42
|
||||
AmmoCost=100
|
||||
BuyClipSize=10
|
||||
PowerValue=90
|
||||
SpeedValue=40
|
||||
|
Loading…
Reference in New Issue
Block a user