# SpatialFear.SFWeapon

Spatial Fear
Class: SFTournamentWeapon
Descripton: Subclasses of Tournament weapon
modified to allow for behaviour adjustment required by SFPlayer class.
Author: Markus Nuebel

Extends:
Modifiers: abstract
Source code

    SpatialFear.SFWeapon

%%

## Variables

%function_comment% |  |  | float | AccuracyPenalty
%function_comment% |  |  | int | AltAmmoPerShot
%function_comment% |  |  | int | AmmoPerShot
%function_comment% |  |  | bool | bAlienWeapon
%function_comment% |  |  | bool | bCanUpgradeEnergyBooster
%function_comment% |  |  | bool | bCanUpgradeLaserSight
%function_comment% |  |  | bool | bFlash
%function_comment% | travel |  | bool | bInstantHit
%function_comment% |  |  | bool | bShake
%function_comment% |  |  | bool | bTrailEffect
%function_comment% | travel |  | int | CreateTag
%function_comment% |  |  | string | EnergyBoosterUpgradeMessage
%function_comment% |  |  | float | fAltDamage
%function_comment% |  |  | float | fAltDesiredRate
%function_comment% |  |  | float | fAltMomentum
%function_comment% |  |  | float | fDamage
%function_comment% |  |  | float | fDesiredRate
%function_comment% |  |  | float | fMomentum
%function_comment% |  |  | float | fNormalRate
%function_comment% |  |  | float | fProjLifeSpan
%function_comment% |  |  | Texture | Icon
%function_comment% |  |  | float | InstantFlashAlt
%function_comment% |  |  | vector | InstantFogAlt
%function_comment% |  |  | string | LaserSightUpgradeMessage
%function_comment% |  |  | int | MaxTargetRange
%function_comment% |  |  | int | MaxTargetRangeAlt
%function_comment% |  |  | bool | m_bAltMode
%function_comment% |  |  | bool | m_bHasEnergyBooster
%function_comment% |  |  | bool | m_bHasLaserSight
%function_comment% |  |  | bool | m_bSemiAuto
%function_comment% |  |  | bool | m_bSemiAutoAlt
%function_comment% |  |  | class<Actor> | m_clsHitPawnEffect
%function_comment% |  |  | class<Actor> | m_clsHitWallEffect
%function_comment% |  |  | class<Actor> | m_clsSmokeEffect
%function_comment% |  |  | class<Effects> | m_clsTrailEffect
%function_comment% |  |  | float | m_fAltCurrentRate
%function_comment% |  |  | float | m_fCurrentRate
%function_comment% |  |  | float | m_fTangentCalc
%function_comment% |  |  | float | m_fTangentCalcAlt
%function_comment% |  |  | float | m_fTrailEffectIntervallSize
%function_comment% |  |  | int | nProjRange
%function_comment% |  |  | float | ShakeMagAlt
%function_comment% |  |  | float | ShakeTimeAlt
%function_comment% |  |  | float | ShakeVertAlt
%function_comment% |  |  | Sound | UpgradeWeaponSound

## Functions

|  |  | AltFire (float Value)
| Idle |  | AnimEnd ()
|  |  | BecomePickup ()
|  | vector | calcProjectileDirection (Pawn Owner, vector vecStart, vector vecOwnerLocation, float fAccuracyError)
|  |  | Finish ()
|  |  | Fire (float Value)
|  |  | FlashPrimary ()
|  |  | FlashSecondary ()
|  | int | getAmmoPerShot ()
|  |  | PlayUseKeyHit ()
|  |  | PostBeginPlay ()
|  |  | ProcessTraceHit (Actor Other, Vector HitLocation, Vector HitNormal, Vector X, Vector Y, Vector Z)
|  | Projectile | ProjectileFire (class<projectile> ProjClass, float fProjSpeed, bool bWarn)
| Idle | bool | PutDown ()
|  |  | SetRespawn ()
|  |  | ShakePrimary ()
|  |  | ShakeSecondary ()
|  | inventory | SpawnCopy (pawn Other)
|  |  | spawnPawnHitEffect (vector HitLocation, vector HitNormal)
|  |  | spawnSmokeEffect (vector HitLocation, vector HitNormal)
|  | Effects | SpawnTrailEffect (class<Effects> TrailEffect, vector HitLocation, vector SmokeLocation, float fIntervalSize, int nMaxIntervals)
|  |  | spawnWallHitEffect (vector HitLocation, vector HitNormal)
|  | float | SwitchPriority ()
| Pickup |  | Touch (actor Other)
|  |  | TraceFire (float Accuracy)
|  |  | upgradeEnergyBooster (float fAmount)
|  |  | upgradeLaserSight ()
| Pickup |  | ZoneChange (ZoneInfo NewZone)

## Default properties

    {
         MaxTargetRange=1000
         MaxTargetRangeAlt=1000
         CreateTag=-1
         fNormalRate=0.330000
         fDesiredRate=0.330000
         fAltDesiredRate=0.330000
         fDamage=20.000000
         fAltDamage=20.000000
         AmmoPerShot=1
         AltAmmoPerShot=1
         LaserSightUpgradeMessage="Upgraded with Laser Sight"
         UpgradeWeaponSound=Sound'Botpack.Pickups.UTHealth'
         m_fTrailEffectIntervallSize=135.000000
         m_fTangentCalc=1000.000000
         m_fTangentCalcAlt=1000.000000
         FiringSpeed=0.330000
         MyDamageType='
         aimerror=1050.000000
         FireSound=Sound'Botpack.enforcer.E_Shot'
         AutoSwitchPriority=0
         InventoryGroup=0
         bRotatingPickup=False
         PickupMessageClass=None
         CollisionRadius=24.000000
         CollisionHeight=10.000000
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:43 PM
Created with UnCodeX