Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@//DEFAULT PROPERTIES OF THE SINGULARITY CANNON - GreatEmerald
- defaultproperties
- {
- AnimationType=AT_Large
- FireAnimRate=0.200000
- AltFireAnimRate=0.400000
- WeaponKickDirection=(X=-20.000000)
- WeaponKickDuration=0.200000
- WeaponKickRecoveryDuration=0.600000
- AltWeaponKickDirection=(X=-20.000000)
- AltWeaponKickDuration=0.200000
- AltWeaponKickRecoveryDuration=0.300000
- AmmoName=Class'U2Weapons.AmmoInvQuantumCore'
- PickupAmmoCount=12
- AutoSwitchPriority=9
- ProjectileClass=Class'U2Weapons.projectileBlackHole'
- AltProjectileClass=Class'U2Weapons.projectileQuantumWave'
- AIRating=0.750000
- FireSound=Sound'U2Weapons.SingularityCannon.SC_Fire'
- AltFireSound=Sound'U2Weapons.SingularityCannon.SC_AltFire'
- CockingSound=Sound'U2Weapons.SingularityCannon.SC_Reload'
- SelectSound=Sound'U2Weapons.SingularityCannon.SC_Select'
- InventoryGroup=6
- PickupClass=Class'U2Weapons.weaponSingularityCannon'
- PlayerViewOffset=(X=40.599998,Y=14.600000,Z=-16.600000)
- FirstPersonMesh=VertMesh'U2Weapons.SC_FP'
- StatusIcon=Texture'U2Weapons.Icons.SC_Icon'
- ItemName="Singularity Cannon"
- Mesh=VertMesh'U2Weapons.SC_TP'
- }
- @@//QUANTUM WAVE PROJECTILE - GreatEmerald
- //=============================================================================
- // projectileQuantumWave.uc -- spawned by the weaponSingularityCannon AltFire()
- // $Author: Mpoesch $
- // $Date: 4/18/01 7:58a $
- // $Revision: 3 $
- //=============================================================================
- class projectileQuantumWave extends U2Projectile;
- var() float GrowthRate;
- simulated function ZoneChange( ZoneInfo NewZone )
- {
- // do nothing
- }
- simulated function Tick( float DeltaTime )
- {
- local float DeltaGrowthRate;
- DeltaGrowthRate = 1.0 + ( GrowthRate * DeltaTime );
- SetCollisionSize( CollisionRadius * DeltaGrowthRate, CollisionHeight );
- ComponentScale.X *= DeltaGrowthRate;
- ComponentScale.Y *= DeltaGrowthRate;
- }
- simulated function ExplodeEx( CheckResult Hit )
- {
- if( Role == ROLE_Authority )
- {
- PlaySound( ImpactSound, SLOT_Interact );
- MakeNoise( 1.0 );
- Hit.Actor.TakeDamage( Damage, Instigator, Hit.Location, MomentumTransfer * Normal(Velocity), MyDamageType );
- }
- }
- defaultproperties
- {
- GrowthRate=0.750000
- speed=650.000000
- MaxSpeed=650.000000
- Damage=100.000000
- MomentumTransfer=90000.000000
- MyDamageType=Class'U2.DamageTypePhysical'
- LifeSpan=7.000000
- AmbientSound=Sound'U2Weapons.SingularityCannon.SC_QuantumWave'
- Mesh=VertMesh'U2Weapons.SC_QuantumWave'
- CollisionRadius=8.000000
- CollisionHeight=1.000000
- bCollideWorld=False
- bAllowClipping=True
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement