Gah - a solution with more questions. – EntropicLqd

Difference between revisions of "UE3:UTVWeap ScavengerGun (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(Talk)
 
Line 31: Line 31:
  
 
angle for locking for lock targets when on Console
 
angle for locking for lock targets when on Console
 +
 +
'''Default value:''' 0.9
  
 
====CrossHairTexture====
 
====CrossHairTexture====
Line 60: Line 62:
  
 
angle for locking for lock targets
 
angle for locking for lock targets
 +
 +
'''Default value:''' 0.93
  
 
====LockOnSound====
 
====LockOnSound====
Line 110: Line 114:
 
|-
 
|-
 
| {{tl|FireInterval||Weapon}}[0]
 
| {{tl|FireInterval||Weapon}}[0]
| 0.0
+
| 0.2
 
|-
 
|-
 
| {{tl|FireTriggerTags||UTVehicleWeapon}}[0]
 
| {{tl|FireTriggerTags||UTVehicleWeapon}}[0]
Line 120: Line 124:
 
| {{tl|ItemName||Inventory}}
 
| {{tl|ItemName||Inventory}}
 
| "Scavenger"
 
| "Scavenger"
 +
|-
 +
| {{tl|MaxFinalAimAdjustment||UTVehicleWeapon}}
 +
| 0.966
 
|-
 
|-
 
| {{tl|VehicleClass||UTVehicleWeapon}}
 
| {{tl|VehicleClass||UTVehicleWeapon}}

Latest revision as of 07:40, 23 May 2008

UT3 Object >> Actor >> Inventory >> Weapon >> GameWeapon >> UTWeapon >> UTVehicleWeapon >> UTVWeap_ScavengerGun
Package: 
UTGameContent

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

BeginFireSound[edit]

Type: SoundCue

Orb fires beam- non looping sound of initial fire

Default value: SoundCue'A_Vehicle_Scavenger.Scavenger.A_Vehicle_Scavenger_OrbFireStart_Cue'

BlueBoltClass[edit]

Type: class<Projectile>

Projectile class for the blue scavenger bolt *

Default value: Class'UTGameContent.UTProj_ScavengerBoltBlue'

ConsoleLockAim[edit]

Type: float

angle for locking for lock targets when on Console

Default value: 0.9

CrossHairTexture[edit]

Type: Texture2D


Default value: Texture2D'UI_HUD.HUD.UI_HUD_BaseA'

EndFireSound[edit]

Type: SoundCue

Orb stops beam- ending fire beam sound when loop stops

Default value: SoundCue'A_Vehicle_Scavenger.Scavenger.A_Vehicle_Scavenger_OrbFireStop_Cue'

FireAmbLoop[edit]

Type: SoundCue

Orb fires beam- looping sound orb’s laser locked on enemy target

LastCurrentTarget[edit]

Type: Actor


LockAim[edit]

Type: float

angle for locking for lock targets

Default value: 0.93

LockOnSound[edit]

Type: SoundCue

Targeting icon appears and quickly zooms to the target

Default value: SoundCue'A_Vehicle_Scavenger.Scavenger.A_Vehicle_Scavenger_TargetLock_Cue'

MyScavenger[edit]

Type: UTVehicle_Scavenger


Tracer[edit]

Type: ParticleSystemComponent


TracerTemplate[edit]

Type: ParticleSystem


Default value: ParticleSystem'WP_AVRiL.Particles.P_WP_AVRiL_TargetBeam'

WeaponAmbientSound[edit]

Type: AudioComponent


Default value: AudioComponent'WeaponAmbientSoundComponent'

Default values[edit]

Property Value
bFastRepeater True
bIgnoreSocketPitchRotation True
bLeadTarget False
Components[0] AudioComponent'WeaponAmbientSoundComponent'
FireInterval[0] 0.2
FireTriggerTags[0] 'MantaWeapon01'
FireTriggerTags[1] 'MantaWeapon02'
ItemName "Scavenger"
MaxFinalAimAdjustment 0.966
VehicleClass Class'UTGameContent.UTVehicle_Scavenger_Content'
WeaponFireTypes[0] EWFT_Custom
WeaponFireTypes[1] EWFT_None
WeaponProjectiles[0] Class'UTGameContent.UTProj_ScavengerBolt'

Subobjects[edit]

FirstPersonMesh[edit]

Class: UTGame.UTSkeletalMeshComponent

Inherits from: UTVehicleWeapon.FirstPersonMesh

No new values.

PickupMesh[edit]

Class: Engine.SkeletalMeshComponent

Inherits from: UTVehicleWeapon.PickupMesh

No new values.

WeaponAmbientSoundComponent[edit]

Class: Engine.AudioComponent

Property Value
bShouldRemainActiveIfDropped True
bStopWhenOwnerDestroyed True
SoundCue SoundCue'A_Vehicle_Scavenger.Scavenger.A_Vehicle_Scavenger_OrbFireLoop_Cue'

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: UTWeapon.Destroyed

Event called when weapon actor is destroyed

ReplicatedEvent[edit]

simulated event ReplicatedEvent (name VarName)

Overrides: UTVehicleWeapon.ReplicatedEvent


Other instance functions[edit]

ActiveRenderOverlays[edit]

simulated function ActiveRenderOverlays (HUD H)

Overrides: UTWeapon.ActiveRenderOverlays

(Description copied from UTWeapon.ActiveRenderOverlays)
Access to HUD and Canvas. Event always called when the InventoryManager considers this Inventory Item currently "Active" (for example active weapon)

Parameters:

  • HUD - HUD with canvas to draw on

CustomFire[edit]

simulated function CustomFire ()

Overrides: Weapon.CustomFire

If the weapon isn't an instant hit, or a simple projectile, it should use the tyoe EWFT_Custom. In those cases this function will be called. It should be subclassed by the custom weapon.

GetProjectileClass[edit]

function class<ProjectileGetProjectileClass ()

Overrides: Weapon.GetProjectileClass

Returns the type of projectile to spawn. We use a function so subclasses can override it if needed (case in point, homing rockets).

ProcessInstantHit[edit]

simulated function ProcessInstantHit (byte FiringMode, Actor.ImpactInfo Impact)

Overrides: UTWeapon.ProcessInstantHit

(Description copied from Weapon.ProcessInstantHit)
Processes a successful 'Instant Hit' trace and eventually spawns any effects. Network: LocalPlayer and Server

Parameters:

  • HitActor - Actor hit by trace
  • AimDir - Aim direction of shot
  • HitLocation - world location vector where HitActor was hit by trace
  • HitNormal - hit normal vector
  • HitInto - TraceHitInfo struct returning useful info like component hit, bone, material..

SpawnTracer[edit]

simulated function SpawnTracer (Object.Vector EffectLocation, Object.Vector HitLocation)


StartTracerSounds[edit]

simulated function StartTracerSounds ()


StopTracerSounds[edit]

simulated function StopTracerSounds ()


States[edit]

WeaponFiring[edit]

Inherits from: UTWeapon.WeaponFiring

Modifiers: simulated

WeaponFiring.EndState[edit]

simulated event EndState (name NextStateName)

Overrides: UTWeapon.WeaponFiring.EndState

Called immediately before going out of the current state, while within the GotoState() call that caused the state change, and before BeginState() is called within the new state.