Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class GreenGlowstickFire extends KFShotgunFire;
- #exec OBJ LOAD FILE=KF_AxeSnd.uax
- function InitEffects();
- /* function Timer()
- {
- Weapon.ConsumeAmmo(ThisModeNum, Load);
- DoFireEffect();
- Weapon.PlaySound(Sound'KF_AxeSnd.Axe_Fire',SLOT_Interact,TransientSoundVolume,,TransientSoundRadius,,false);
- if( Weapon.ammoAmount(0) <= 0 && Instigator != none && Instigator.Controller != none )
- {
- Weapon.Destroy();
- Instigator.Controller.ClientSwitchToBestWeapon();
- }
- } */
- simulated function bool AllowFire()
- {
- return (Weapon.AmmoAmount(ThisModeNum) >= AmmoPerFire);
- }
- function float MaxRange()
- {
- return 2500;
- }
- function DoFireEffect()
- {
- Super.DoFireEffect();
- }
- defaultproperties
- {
- FireSoundRef="KF_AxeSnd.AxeFireBase.Axe_Fire1"
- StereoFireSoundRef="KF_AxeSnd.AxeFireBase.Axe_Fire1"
- NoAmmoSoundRef="KF_AxeSnd.AxeFireBase.Axe_Fire1"
- FireRate=1.200000
- AmmoClass=Class'GreenGlowstickAmmo'
- ProjectileClass=Class'GreenGlowstickProj'
- FireAimedAnim=Iron_Fire
- KickMomentum=(X=0,y=0,Z=0)
- ProjPerFire=1
- TransientSoundVolume=1.8
- FireForce="AssaultRifleFire"
- ShakeOffsetMag=(X=3.000000,Y=3.000000,Z=3.000000)
- ShakeRotRate=(X=10000.000000,Y=10000.000000,Z=10000.000000)
- ShakeRotMag=(X=3.000000,Y=4.000000,Z=2.000000)
- BotRefireRate=1.800000
- aimerror=42.000000
- Spread=0.015//0.0085
- SpreadStyle=SS_Random
- ProjSpawnOffset=(X=50,Y=10,Z=-6)
- FlashEmitterClass=Class'ROEffects.MuzzleFlash1stNadeL'
- EffectiveRange=2500.000000
- maxVerticalRecoilAngle=200
- maxHorizontalRecoilAngle=50
- bWaitForRelease=true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement