class SchlonzAssaultAttachment extends AssaultAttachment; simulated event ThirdPersonEffects() { local rotator r; if ( Level.NetMode != NM_DedicatedServer ) { WeaponLight(); if( OldSpawnHitCount != SpawnHitCount ) { OldSpawnHitCount = SpawnHitCount; GetHitInfo(); Spawn( class'HitEffect'.static.GetHitEffect( mHitActor, mHitLocation, mHitNormal ),,, mHitLocation, Rotator( mHitNormal ) ); } if( mMuzFlash3rd == None ) { mMuzFlash3rd = Spawn( mMuzFlashClass ); AttachToBone( mMuzFlash3rd, 'tip' ); } mMuzFlash3rd.mStartParticles++; r.Roll = Rand( 65536 ); SetBoneRotation( 'Bone_Flash', r, 0, 1.f ); } if (Level.NetMode != NM_DedicatedServer) { if( xPawn( Instigator ) == None ) return; if( FlashCount == 0 ) { xPawn( Instigator ).StopFiring(); } else if ( FiringMode == 0 ) { xPawn( Instigator ).StartFiring( bHeavy, bRapidFire ); } else { xPawn( Instigator ).StartFiring( bHeavy, bAltRapidFire ); } } } // ThirdPersonEffects defaultproperties { }