There is no spoon
UE2:Weapon (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents |
- Package:
- Engine
- Known custom subclass:
- ReloadableWeaponBase
- This class in other games:
- RTNP, U1, U2, U2XMP, UDK, UT, UT2003, UT2004, UT3
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Parent class of all weapons. FIXME - should bReplicateInstigator be true???
[edit] Properties
[edit] Property group 'MuzzleFlash'
[edit] FlashLength
Type: float
How long muzzle flash should be displayed in seconds
Default value: 0.1
[edit] FlashOffsetX
Type: float
flash center offset from centered X (as pct. of Canvas X size)
[edit] FlashOffsetY
Type: float
flash center offset from centered Y (as pct. of Canvas Y size)
[edit] MuzzleFlashSize
Type: float
size of (square) texture
[edit] MuzzleScale
Type: float
scaling of muzzleflash
Default value: 1.0
[edit] Property group 'Weapon'
[edit] FireSound
Type: Sound
[edit] MessageNoAmmo
Type: string
Modifiers: localized
Default value: " has no ammo."
[edit] SelectSound
Type: Sound
[edit] Internal variables
See Weapon internal variables.
[edit] Default values
| Property | Value | ||||||
|---|---|---|---|---|---|---|---|
| AttachmentClass | Class'Engine.WeaponAttachment' | ||||||
| bReplicateInstigator | True | ||||||
| DrawType | DT_Mesh | ||||||
| Icon | Texture'Engine.S_Weapon' | ||||||
| InventoryGroup | 1 | ||||||
| ItemName | "Weapon" | ||||||
| PlayerViewOffset |
|
[edit] Functions
[edit] Events
[edit] AnimEnd
simulated event AnimEnd (int Channel)
Overrides: Actor.AnimEnd
[edit] Destroyed
event Destroyed ()
Overrides: Inventory.Destroyed
[edit] PostNetBeginPlay
simulated event PostNetBeginPlay ()
Overrides: Actor.PostNetBeginPlay
[edit] RenderOverlays
simulated event RenderOverlays (Canvas Canvas)
Overrides: Inventory.RenderOverlays
[edit] TravelPostAccept
event TravelPostAccept ()
Overrides: Inventory.TravelPostAccept
[edit] Other instance functions
See Weapon instance functions.
[edit] States
See Weapon states.
