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"
|
ComponentClassName="ScrnBalanceSrv.ScrnGUICheckBoxButton"
|
||||||
OnCreateComponent=DispWeapProgress.InternalOnCreateComponent
|
OnCreateComponent=DispWeapProgress.InternalOnCreateComponent
|
||||||
IniOption="@Internal"
|
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
|
WinTop=0.200000
|
||||||
WinLeft=0.012500
|
WinLeft=0.012500
|
||||||
WinWidth=0.278000
|
WinWidth=0.278000
|
||||||
|
@ -331,10 +331,16 @@ simulated function Tick(float deltaTime){
|
|||||||
niceMutator.ClearWeapProgress();
|
niceMutator.ClearWeapProgress();
|
||||||
if(!class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Controller), class'NiceSkillEnforcerMultitasker'))
|
if(!class'NiceVeterancyTypes'.static.hasSkill(NicePlayerController(Controller), class'NiceSkillEnforcerMultitasker'))
|
||||||
return;
|
return;
|
||||||
if(Role < ROLE_Authority && nicePlayer != none && nicePlayer.bFlagDisplayWeaponProgress){
|
if ( Role < ROLE_Authority && nicePlayer != none
|
||||||
|
&& nicePlayer.bFlagDisplayWeaponProgress)
|
||||||
|
{
|
||||||
// Update weapon progress for this skill
|
// Update weapon progress for this skill
|
||||||
if(niceMutator == none)
|
if(niceMutator == none) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Log("Failed to update holstered progress, because no mut! :(");
|
||||||
|
}
|
||||||
for(Item = Inventory; Item != none; Item = Item.Inventory){
|
for(Item = Inventory; Item != none; Item = Item.Inventory){
|
||||||
niceWeap = NiceWeapon(Item);
|
niceWeap = NiceWeapon(Item);
|
||||||
if(niceWeap != none && niceWeap != weapon && !niceWeap.IsMagazineFull()){
|
if(niceWeap != none && niceWeap != weapon && !niceWeap.IsMagazineFull()){
|
||||||
@ -344,6 +350,11 @@ simulated function Tick(float deltaTime){
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (Role < ROLE_Authority)
|
||||||
|
{
|
||||||
|
Log( "Failed to update holstered progress, checked variables:"
|
||||||
|
@ nicePlayer @ nicePlayer.bFlagDisplayWeaponProgress);
|
||||||
|
}
|
||||||
// Auto-reload holstered weapons
|
// Auto-reload holstered weapons
|
||||||
holsteredReloadCountDown -= deltaTime;
|
holsteredReloadCountDown -= deltaTime;
|
||||||
if(holsteredReloadCountDown <= 0.0){
|
if(holsteredReloadCountDown <= 0.0){
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
class NiceSkillEnforcerMultitasker extends NiceSkill
|
class NiceSkillEnforcerMultitasker extends NiceSkill
|
||||||
abstract;
|
abstract;
|
||||||
|
|
||||||
var float reloadSlowDown;
|
var float reloadSlowDown;
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
reloadSlowDown=5.000000
|
reloadSlowDown = 3.0
|
||||||
SkillName="Multitasker"
|
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
|
defaultproperties
|
||||||
{
|
{
|
||||||
AmmoPickupAmount=1
|
AmmoPickupAmount=1
|
||||||
MaxAmmo=10
|
MaxAmmo=16
|
||||||
InitialAmount=1
|
InitialAmount=4
|
||||||
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
||||||
IconCoords=(X1=458,Y1=34,X2=511,Y2=78)
|
IconCoords=(X1=458,Y1=34,X2=511,Y2=78)
|
||||||
ItemName="L.A.W Rockets"
|
ItemName="L.A.W Rockets"
|
||||||
|
@ -3,8 +3,8 @@ defaultproperties
|
|||||||
{
|
{
|
||||||
WeaponPickupClass=Class'NicePack.NiceSVDPickup'
|
WeaponPickupClass=Class'NicePack.NiceSVDPickup'
|
||||||
AmmoPickupAmount=10
|
AmmoPickupAmount=10
|
||||||
MaxAmmo=60
|
MaxAmmo=30
|
||||||
InitialAmount=15
|
InitialAmount=8
|
||||||
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
|
||||||
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
|
IconCoords=(X1=338,Y1=40,X2=393,Y2=79)
|
||||||
ItemName="7.62x54mm"
|
ItemName="7.62x54mm"
|
||||||
|
@ -5,7 +5,7 @@ defaultproperties
|
|||||||
{
|
{
|
||||||
Weight=8.000000
|
Weight=8.000000
|
||||||
cost=1250
|
cost=1250
|
||||||
AmmoCost=42
|
AmmoCost=100
|
||||||
BuyClipSize=10
|
BuyClipSize=10
|
||||||
PowerValue=90
|
PowerValue=90
|
||||||
SpeedValue=40
|
SpeedValue=40
|
||||||
|
Loading…
Reference in New Issue
Block a user