Initialize Sheen HMG at 700 RPM.
This commit is contained in:
parent
f61e37fb3e
commit
24ae3ee3b7
2 changed files with 12 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r390 \cu(Wed 31 Aug 01:28:59 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r390 \cu(2022-08-31 01:28:59)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r391 \cu(Wed 31 Aug 10:07:48 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r391 \cu(2022-08-31 10:07:48)\c-";
|
||||
|
|
|
|||
|
|
@ -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