Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 |
class TurretSentryWeapon extends TurretWeapon; var() float spread; protected function Projectile makeProjectile(Rotator fireRot, Vector fireLoc) { local Rotator r; local float spreadInRotUnits; spreadInRotUnits = spread * 65536 / 360; r.Yaw = spreadInRotUnits * (2.0f * FRand() - 1); r.Pitch = spreadInRotUnits * (2.0f * FRand() - 1); return Super.makeProjectile( fireRot + r, fireLoc ); } defaultproperties { spread = 4 aimClass = class'AimProjectileWeapons' firstPersonMesh = Mesh'Weapons.Spinfusor' firstPersonOffset = (X=-26,Y=22,Z=-18) roundsPerSecond = 0.56 ammoCount = 20 ammoUsage = 1 projectileClass = class'SentryProjectile' projectileVelocity = 2600 projectileInheritedVelFactor = 0.5 animPrefix = "Spinfusor" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |