Cogito, ergo sum
Difference between revisions of "UE3:UTWeap SniperRifle (UT3)"
(Auto-generated page) |
m (updated defaults) |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
}} | }} | ||
{{autogenerated}} | {{autogenerated}} | ||
− | Copyright 1998- | + | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. |
==Properties== | ==Properties== | ||
Line 28: | Line 28: | ||
<!-- enter variable description --> | <!-- enter variable description --> | ||
+ | |||
+ | '''Default value:''' 0.3 | ||
====HeadShotDamageMult==== | ====HeadShotDamageMult==== | ||
Line 54: | Line 56: | ||
headshot scale factor when running or falling | headshot scale factor when running or falling | ||
+ | |||
+ | '''Default value:''' 0.8 | ||
====SlowHeadshotScale==== | ====SlowHeadshotScale==== | ||
Line 60: | Line 64: | ||
headshot scale factor when moving slowly or stopped | headshot scale factor when moving slowly or stopped | ||
− | '''Default value:''' 1. | + | '''Default value:''' 1.75 |
====TeamSkins==== | ====TeamSkins==== | ||
Line 95: | Line 99: | ||
| {{tl|AimError||UTWeapon internal variables}} | | {{tl|AimError||UTWeapon internal variables}} | ||
| 600.0 | | 600.0 | ||
+ | |- | ||
+ | | {{tl|AIRating||Weapon}} | ||
+ | | 0.7 | ||
|- | |- | ||
| {{tl|AmmoCount||UTWeapon internal variables}} | | {{tl|AmmoCount||UTWeapon internal variables}} | ||
Line 132: | Line 139: | ||
| 256.0 | | 256.0 | ||
|} | |} | ||
+ | |- | ||
+ | | {{tl|CurrentRating||UTWeapon internal variables}} | ||
+ | | 0.7 | ||
+ | |- | ||
+ | | {{tl|EquipTime||Weapon}} | ||
+ | | 0.6 | ||
+ | |- | ||
+ | | {{tl|FireInterval||Weapon}}[0] | ||
+ | | 1.33 | ||
+ | |- | ||
+ | | {{tl|FireInterval||Weapon}}[1] | ||
+ | | 1.33 | ||
|- | |- | ||
| {{tl|FiringStatesArray||Weapon}}[1] | | {{tl|FiringStatesArray||Weapon}}[1] | ||
| 'Active' | | 'Active' | ||
+ | |- | ||
+ | | {{tl|GroupWeight||UTWeapon internal variables}} | ||
+ | | 0.5 | ||
|- | |- | ||
| {{tl|IconCoordinates||UTWeapon internal variables}} | | {{tl|IconCoordinates||UTWeapon internal variables}} | ||
Line 142: | Line 164: | ||
! Value | ! Value | ||
|- | |- | ||
− | | | + | | U |
− | | | + | | 726.0 |
|- | |- | ||
− | | | + | | UL |
− | | | + | | 165.0 |
|- | |- | ||
− | | | + | | V |
− | | | + | | 532.0 |
|- | |- | ||
− | | | + | | VL |
− | | | + | | 51.0 |
|} | |} | ||
|- | |- | ||
Line 183: | Line 205: | ||
|- | |- | ||
| {{tl|ItemName||Inventory}} | | {{tl|ItemName||Inventory}} | ||
− | | " | + | | "Sniper Rifle" |
|- | |- | ||
| {{tl|LockerAmmoCount||UTWeapon internal variables}} | | {{tl|LockerAmmoCount||UTWeapon internal variables}} | ||
Line 206: | Line 228: | ||
| {{tl|MaxAmmoCount||UTWeapon internal variables}} | | {{tl|MaxAmmoCount||UTWeapon internal variables}} | ||
| 40 | | 40 | ||
+ | |- | ||
+ | | {{tl|MaxDesireability||Inventory}} | ||
+ | | 0.63 | ||
|- | |- | ||
| {{tl|MuzzleFlashLightClass||UTWeapon internal variables}} | | {{tl|MuzzleFlashLightClass||UTWeapon internal variables}} | ||
Line 214: | Line 239: | ||
|- | |- | ||
| {{tl|PickupMessage||Inventory}} | | {{tl|PickupMessage||Inventory}} | ||
− | | " | + | | "Sniper Rifle" |
|- | |- | ||
| {{tl|PickupSound||Inventory}} | | {{tl|PickupSound||Inventory}} | ||
Line 220: | Line 245: | ||
|- | |- | ||
| {{tl|Priority||Weapon}} | | {{tl|Priority||Weapon}} | ||
− | | 4.0 | + | | 4.1 |
+ | |- | ||
+ | | {{tl|PutDownTime||Weapon}} | ||
+ | | 0.45 | ||
|- | |- | ||
| {{tl|QuickPickGroup||UTWeapon internal variables}} | | {{tl|QuickPickGroup||UTWeapon internal variables}} | ||
| 7 | | 7 | ||
+ | |- | ||
+ | | {{tl|QuickPickWeight||UTWeapon internal variables}} | ||
+ | | 0.8 | ||
|- | |- | ||
| {{tl|TargetFrictionMultiplierRange||UTWeapon}} | | {{tl|TargetFrictionMultiplierRange||UTWeapon}} | ||
Line 231: | Line 262: | ||
! Value | ! Value | ||
|- | |- | ||
− | | | + | | X |
+ | | 0.1 | ||
+ | |- | ||
+ | | Y | ||
+ | | 0.2 | ||
+ | |} | ||
+ | |- | ||
+ | | {{tl|TargetFrictionOffset||UTWeapon}} | ||
| | | | ||
+ | {| class="list defaults" | ||
+ | ! {{tl|Vector||Object structs|Member}} | ||
+ | ! Value | ||
|- | |- | ||
| X | | X | ||
| 0.0 | | 0.0 | ||
+ | |- | ||
+ | | Y | ||
+ | | 0.0 | ||
+ | |- | ||
+ | | Z | ||
+ | | 40.0 | ||
|} | |} | ||
|- | |- | ||
Line 262: | Line 309: | ||
| {{tl|WeaponFireSnd||UTWeapon}}[0] | | {{tl|WeaponFireSnd||UTWeapon}}[0] | ||
| {{cl|SoundCue}}'A_Weapon_Sniper.Sniper.A_Weapon_Sniper_Fire_Cue' | | {{cl|SoundCue}}'A_Weapon_Sniper.Sniper.A_Weapon_Sniper_Fire_Cue' | ||
+ | |- | ||
+ | | {{tl|WeaponFireWaveForm||UTWeapon internal variables}} | ||
+ | | {{cl|ForceFeedbackWaveform}}'UTGame.Default__UTWeap_SniperRifle:ForceFeedbackWaveformShooting1' | ||
|- | |- | ||
| {{tl|WeaponPutDownSnd||UTWeapon}} | | {{tl|WeaponPutDownSnd||UTWeapon}} | ||
Line 271: | Line 321: | ||
| {{tl|ZoomedTargetFOV||UTWeapon internal variables}} | | {{tl|ZoomedTargetFOV||UTWeapon internal variables}} | ||
| 12.0 | | 12.0 | ||
+ | |- | ||
+ | | {{tl|ZoomedTurnSpeedScalePct||UTWeapon}} | ||
+ | | 0.45 | ||
|} | |} | ||
Line 296: | Line 349: | ||
|- | |- | ||
| {{tl|Scale||PrimitiveComponent properties}} | | {{tl|Scale||PrimitiveComponent properties}} | ||
− | | 1. | + | | 1.5 |
|- | |- | ||
| {{tl|SkeletalMesh||SkeletalMeshComponent}} | | {{tl|SkeletalMesh||SkeletalMeshComponent}} |
Latest revision as of 07:28, 16 August 2009
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 BestMode
- 2.2.2 ChangeVisibility
- 2.2.3 DenyClientWeaponSet
- 2.2.4 DrawWeaponCrosshair
- 2.2.5 DrawZoomedOverlay
- 2.2.6 EndFire
- 2.2.7 EndZoom
- 2.2.8 GetAIRating
- 2.2.9 GetEffectLocation
- 2.2.10 Gotozoom
- 2.2.11 HolderEnteredVehicle
- 2.2.12 LeaveZoom
- 2.2.13 PlayWeaponPutDown
- 2.2.14 PreloadTextures
- 2.2.15 ProcessInstantHit
- 2.2.16 PutDownWeapon
- 2.2.17 RecommendRangedAttack
- 2.2.18 RestartCrosshair
- 2.2.19 SetSkin
- 2.2.20 StartZoom
- 2.2.21 StopZoom
- 2.2.22 SuggestAttackStyle
- 2.2.23 SuggestDefenseStyle
- Package:
- UTGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
bAbortZoom[edit]
Type: bool
Zoom minimum time
bDisplayCrosshair[edit]
Type: bool
Whether the standard crosshair should be displayed
Default value: True
FadeTime[edit]
Type: float
Default value: 0.3
HeadShotDamageMult[edit]
Type: float
Default value: 2.0
HeadShotDamageType[edit]
Type: class<UTDamageType>
Default value: Class'UTGame.UTDmgType_SniperHeadShot'
HudMaterial[edit]
Type: Texture2D
Default value: Texture2D'WP_SniperRifle.Textures.T_SniperCrosshair'
RunningHeadshotScale[edit]
Type: float
headshot scale factor when running or falling
Default value: 0.8
SlowHeadshotScale[edit]
Type: float
headshot scale factor when moving slowly or stopped
Default value: 1.75
TeamSkins[edit]
Type: array<MaterialInterface>
Default value, index 0: Material'WP_SniperRifle.Materials.M_WP_SniperRifle'
Default value, index 1: MaterialInstanceConstant'WP_SniperRifle.Materials.M_WP_SniperRifle_Blue'
ZoomCount[edit]
Type: int
tracks number of zoom started calls before zoom is ended
ZoomLoop[edit]
Type: AudioComponent
sound while the zoom is in progress
ZoomLoopCue[edit]
Type: SoundCue
Default value: SoundCue'A_Weapon_Sniper.Sniper.A_Weapon_Sniper_ZoomLoop_Cue'
Default values[edit]
Subobjects[edit]
FirstPersonMesh[edit]
Class: UTGame.UTSkeletalMeshComponent
Inherits from: UTWeapon.FirstPersonMesh
Property | Value |
---|---|
Animations | AnimNodeSequence'UTGame.Default__UTWeap_SniperRifle:MeshSequenceA' |
AnimSets[0] | AnimSet'WP_SniperRifle.Anims.K_WP_SniperRifle_1P_Base' |
bForceUpdateAttachmentsInTick | True |
FOV | 65.0 |
Scale | 1.5 |
SkeletalMesh | SkeletalMesh'WP_SniperRifle.Mesh.SK_WP_SniperRifle_1P' |
PickupMesh[edit]
Class: Engine.SkeletalMeshComponent
Inherits from: UTWeapon.PickupMesh
Property | Value |
---|---|
SkeletalMesh | SkeletalMesh'WP_SniperRifle.Mesh.SK_WP_SniperRifle_3P_Mid' |
Functions[edit]
Events[edit]
CauseMuzzleFlash[edit]
Overrides: UTWeapon.CauseMuzzleFlash
Causes the muzzle flash to turn on and setup a time to turn it back off again.
Other instance functions[edit]
BestMode[edit]
Overrides: UTWeapon.BestMode
BestMode() choose between regular or alt-fire
ChangeVisibility[edit]
Overrides: UTWeapon.ChangeVisibility
This function is called from the pawn when the visibility of the weapon changes
DenyClientWeaponSet[edit]
Overrides: Weapon.DenyClientWeaponSet
Returns true if this weapon wants to deny a ClientWeaponSwitch call
DrawWeaponCrosshair[edit]
Overrides: UTWeapon.DrawWeaponCrosshair
Draw the Crosshairs
DrawZoomedOverlay[edit]
EndFire[edit]
Overrides: UTWeapon.EndFire
We Override endfire to add support for zooming
EndZoom[edit]
Overrides: UTWeapon.EndZoom
Called when zooming ends
Parameters:
- PC - cast of Instigator.Controller for convenience
GetAIRating[edit]
Overrides: Weapon.GetAIRating
AI interface
GetEffectLocation[edit]
Overrides: UTWeapon.GetEffectLocation
(Description copied from UTWeapon.GetEffectLocation)
Returns:
- the location + offset from which to spawn effects (primarily tracers)
Gotozoom[edit]
HolderEnteredVehicle[edit]
Overrides: UTWeapon.HolderEnteredVehicle
called when Instigator enters a vehicle while we are its Weapon
LeaveZoom[edit]
PlayWeaponPutDown[edit]
Overrides: UTWeapon.PlayWeaponPutDown
Show the weapon being put away
PreloadTextures[edit]
Overrides: UTWeapon.PreloadTextures
ProcessInstantHit[edit]
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..
PutDownWeapon[edit]
Overrides: Weapon.PutDownWeapon
This function is called to put a weapon down
RecommendRangedAttack[edit]
Overrides: Weapon.RecommendRangedAttack
RestartCrosshair[edit]
SetSkin[edit]
Overrides: UTWeapon.SetSkin
(Description copied from UTWeapon.SetSkin)
Material control
Parameters:
- NewMaterial - The new material to apply or none to clear it
StartZoom[edit]
Overrides: UTWeapon.StartZoom
Called when zooming starts
Parameters:
- PC - cast of Instigator.Controller for convenience
StopZoom[edit]
SuggestAttackStyle[edit]
Overrides: Weapon.SuggestAttackStyle
SuggestDefenseStyle[edit]
Overrides: Weapon.SuggestDefenseStyle