Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.SniperRifle

Extends
  Weapon

    Core.Object
    |
    +-- Engine.Actor
       |
       +-- Gameplay.Equipment
          |
          +-- Gameplay.Equippable
             |
             +-- Gameplay.Weapon
                |
                +-- Gameplay.SniperRifle

Variables Summary

Inherited Variables from Gameplay.Weapon
AIAccelerationModifier, aimClass, AIspread, ammoCount, ammoUsage, bBeingSwitched, bFiredWeapon, bGenerateMissSpeechEvents, bMelee, bNeedIdleFX, emptyMaterials, fireAnimation, fireAnimSubString, fireOnce, hudReticule, hudReticuleCenterX, hudReticuleCenterY, hudReticuleHeight, hudReticuleWidth, lastFireTime, localAmmoCount, localPickupDelay, noAmmo, pickupDelay, projectileClass, projectileInheritedVelFactor, projectileSpawnBone, projectileSpawnOffset, projectileVelocity, roundsPerSecond, speedPackScale, startEquippingTime

Inherited Variables from Gameplay.Equippable
animClass, animPrefix, attemptedAttach, automaticallyHold, bFirstPersonUseTrace, bIsFirstPerson, bMeshChangeOK, bPlayedCharacterEquipAnim, demoFireCount, equipDuration, equipDurationCounter, equippablePos, equipped, equippedArmAnim, fireCount, fireState, firstPersonAltMesh, firstPersonAltOffset, firstPersonAltTraceExtent, firstPersonAltTraceLength, firstPersonBobMultiplier, firstPersonInterpCurrent, firstPersonInterpStep, firstPersonInterpTarget, firstPersonMesh, firstPersonOffset, firstPersonTraceExtent, firstPersonTraceLength, localDemoFireCount, localFireCount, releaseFireState, rookMotor, rookOwner, startEquippingTime, thirdPersonAltMesh, thirdPersonAltStaticMesh, thirdPersonAttachmentBone, thirdPersonAttachmentOffset, thirdPersonMesh, thirdPersonStaticMesh, unequipDuration

Functions Summary
| Projectile | makeProjectile (Rotator fireRot, Vector fireLoc))
|  | Tick (float Delta))
|  | useAmmo ()))

Inherited Functions from Gameplay.Weapon
addSpeedPackScale, AIAimTrace, aimTrace, allowPrompt, altFire, applyPickupDelay, attemptFire, BeginState, calcProjectileSpawnLocation, canExpire, canFire, canPickup, Destroyed, doSwitch, drawDebug, droppedByCharacter, EndState, extractFirstPersonMeshData, fire, firedEffectProcessing, FireEmpty, fireRatePassed, FireWeapon, getAimAdjustedViewRotation, getAimRotation, getMaxAmmo, getPredictedProjectileGravity, GetProjectileSpreadScale, handleReleaseFire, hasAmmo, heldByCharacter, increaseAmmo, initialiseVelocity, makeProjectile, needPrompt, onThirdPersonFireCount, pickup, playCharacterFireAnim, playEquipAnim, playIdleAnim, playPostFireAnim, playUnequipAnim, PostNetBeginPlay, PostNetReceive, PrecacheWeaponRenderData, releaseAltFire, removeSpeedPackScale, requestEquipmentDrop, setHasAmmoSkins, setOutOfAmmo, setupFirstPerson, Tick, TickFirePressed, TriggerWeaponEffect, UpdatePrecacheRenderData, useAmmo, willHurtFriendly

Inherited Functions from Gameplay.Equippable
armsFirstPersonStatus, attachWeaponHack, BeginState, calculateInterpolation, canUnequip, checkFireCount, drawDebug, EndState, equip, fire, firstPersonStatus, getFirstPersonOffset, handleFire, handleReleaseFire, initialiseRookMotor, keepArms, moveWeapon, onMessage, onThirdPersonFireCount, pickup, playEquipAnim, playIdleAnim, playUnequipAnim, PostBeginPlay, PostNetBeginPlay, PrecacheEquippableRenderData, releaseFire, selectMesh, sendServerRequestFire, sendServerRequestReleaseFire, setDroppedMesh, setFirstPersonOffset, setMovementReplication, setupFirstPerson, setupThirdPerson, shouldHide, shouldPlayEquipAnim, Tick, unEquip, UpdatePrecacheRenderData, useAlternateMesh

Functions Detail

#### makeProjectile Source code

protected function Projectile makeProjectile ( Rotator fireRot, Vector fireLoc) )

#### Tick Source code

simulated function Tick ( float Delta) )

#### useAmmo Source code

function useAmmo ( ) )

Defaultproperties

    defaultproperties
    {
    	firstPersonMesh = Mesh'Weapons.SniperRifle'
    	firstPersonOffset = (X=-25,Y=26,Z=-18)

    	roundsPerSecond = 0.5
    	ammoCount = 10
    	ammoUsage = 1

    	projectileClass = class'SniperRifleProjectile'
    	projectileVelocity = 25000
    	projectileInheritedVelFactor = 1.0

    	aimClass = class'AimProjectileWeapons'
    	animClass = class'CharacterEquippableAnimator'

    	animPrefix = "SniperRifle"
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Creation time: st 23.5.2018 00:10:34.695 - Created with UnCodeX