Patch [Version 0.3.4 "Private balance round #3"]
This commit is contained in:
parent
78b4dfeb29
commit
c536198a52
76 changed files with 376 additions and 154 deletions
|
|
@ -1,4 +1,5 @@
|
|||
class NiceDualies extends NiceWeapon;
|
||||
var bool startedWithFullPistol;
|
||||
var class<NiceSingle> SingleClass;
|
||||
var name altFlashBoneName;
|
||||
var name altTPAnim;
|
||||
|
|
@ -45,6 +46,22 @@ simulated function SetupDualReloadEvents(){
|
|||
record.eventFrame = rightInsert;
|
||||
relEvents[relEvents.Length] = record;
|
||||
}
|
||||
exec simulated function ClientReloadMeNow(){
|
||||
startedWithFullPistol = false;
|
||||
if ( MagAmmoRemLeftClient >= GetSingleMagCapacity()
|
||||
|| MagAmmoRemRightClient >= GetSingleMagCapacity()) {
|
||||
startedWithFullPistol = true;
|
||||
}
|
||||
super.ClientReloadMeNow();
|
||||
}
|
||||
simulated function float GetCurrentReloadMult(){
|
||||
local float normalMultiplier;
|
||||
normalMultiplier = super.GetCurrentReloadMult();
|
||||
if (startedWithFullPistol) {
|
||||
return normalMultiplier * 2;
|
||||
}
|
||||
return normalMultiplier;
|
||||
}
|
||||
// Don't use that one for dualies
|
||||
simulated function AddReloadedAmmo(){}
|
||||
// Use this one
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ function ServerSwitchToOtherSingle(){
|
|||
MagAmmoRemaining = otherMagazine;
|
||||
otherMagazine = swap;
|
||||
ClientSetMagSize(MagAmmoRemaining, bRoundInChamber);
|
||||
//nicePawn.ClientChangeWeapon(self);
|
||||
nicePawn.ClientChangeWeapon(self);
|
||||
}
|
||||
function ServerSwitchToDual(){
|
||||
local int m;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue