Initialize Sheen HMG at 700 RPM.
This commit is contained in:
parent
f61e37fb3e
commit
24ae3ee3b7
2 changed files with 12 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ Class HeavyMahSheenGun : SWWMWeapon
|
|||
bool incooldown, stopfire, firstshot;
|
||||
int firetimer, shotcnt;
|
||||
int tcol; // for random
|
||||
bool initialized;
|
||||
|
||||
transient ui SmoothDynamicValueInterpolator HeatInter;
|
||||
transient SpreadSlugTracer st;
|
||||
|
|
@ -294,6 +295,15 @@ Class HeavyMahSheenGun : SWWMWeapon
|
|||
}
|
||||
return Super.CheckAmmo(firemode,autoswitch,requireammo,ammocount);
|
||||
}
|
||||
override void AttachToOwner( Actor other )
|
||||
{
|
||||
if ( !initialized )
|
||||
{
|
||||
initialized = true;
|
||||
firespeed = 1; // default to 700 RPM
|
||||
}
|
||||
Super.AttachToOwner(other);
|
||||
}
|
||||
|
||||
Default
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue