Gah - a solution with more questions. – EntropicLqd
UE2:Weapon properties (UT2004)
Contents
- 1 Properties
- 1.1 Property group 'FirstPerson'
- 1.2 Property group 'OldFirstPerson'
- 1.3 Property group 'Weapon'
- 1.3.1 AimAnim
- 1.3.2 AimAnimRate
- 1.3.3 AIRating
- 1.3.4 Ammo
- 1.3.5 bCanThrow
- 1.3.6 bForceSwitch
- 1.3.7 bMeleeWeapon
- 1.3.8 bNotInPriorityList
- 1.3.9 BotMode
- 1.3.10 bSniping
- 1.3.11 ClientState
- 1.3.12 DefaultPriority
- 1.3.13 Description
- 1.3.14 ExchangeFireModes
- 1.3.15 FireMode
- 1.3.16 FireModeClass
- 1.3.17 IdleAnim
- 1.3.18 IdleAnimRate
- 1.3.19 MessageNoAmmo
- 1.3.20 Priority
- 1.3.21 PutDownAnim
- 1.3.22 PutDownAnimRate
- 1.3.23 RestAnim
- 1.3.24 RestAnimRate
- 1.3.25 RunAnim
- 1.3.26 RunAnimRate
- 1.3.27 SelectAnim
- 1.3.28 SelectAnimRate
- 1.3.29 SelectForce
- 1.3.30 SelectSound
- 1.4 Internal variables
- 1.4.1 AmmoCharge
- 1.4.2 AmmoClass
- 1.4.3 bBerserk
- 1.4.4 bDebugging
- 1.4.5 bEndOfRound
- 1.4.6 bInitOldMesh
- 1.4.7 bMatchWeapons
- 1.4.8 bNoAmmoInstances
- 1.4.9 bNoInstagibReplace
- 1.4.10 bNotInDemo
- 1.4.11 bNoVoluntarySwitch
- 1.4.12 bPendingSwitch
- 1.4.13 BringUpTime
- 1.4.14 bShowChargingBar
- 1.4.15 bSpectated
- 1.4.16 bUseOldWeaponMesh
- 1.4.17 CurrentRating
- 1.4.18 CustomCrosshair
- 1.4.19 CustomCrossHairColor
- 1.4.20 CustomCrossHairScale
- 1.4.21 CustomCrossHairTexture
- 1.4.22 CustomCrossHairTextureName
- 1.4.23 DemoReplacement
- 1.4.24 DownDelay
- 1.4.25 Hand
- 1.4.26 HudColor
- 1.4.27 MinReloadPct
- 1.4.28 OldMesh
- 1.4.29 OldPickup
- 1.4.30 OldWeapon
- 1.4.31 PutDownTime
- 1.4.32 RenderedHand
- 1.5 Default values
- Weapon properties in other games:
- RTNP, U1, UT
- Other member categories for this class:
- instance functions
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. |
Properties
Property group 'FirstPerson'
CenteredOffsetY
Type: float
Default value: -10.0
CenteredRoll
Type: int
Default value: 2000
CenteredYaw
Type: int
DisplayFOV
Type: float
Default value: 90.0
EffectOffset
Type: Object.Vector
where muzzle flashes and smoke appear. replace by bone reference eventually
SmallEffectOffset
Type: Object.Vector
SmallViewOffset
Type: Object.Vector
Offset from view center with small weapons option.
Property group 'OldFirstPerson'
OldCenteredOffsetY
Type: float
Default value: -10.0
OldCenteredRoll
Type: int
Default value: 2000
OldCenteredYaw
Type: int
OldDrawScale
Type: float
Default value: 1.0
OldPlayerViewOffset
Type: Object.Vector
OldPlayerViewPivot
Type: Object.Rotator
OldSmallViewOffset
Type: Object.Vector
Property group 'Weapon'
AimAnim
Type: name
Default value: 'Aim'
AimAnimRate
Type: float
Default value: 1.0
AIRating
Type: float
Default value: 0.5
Ammo
Type: Ammunition
Array size: 2 (NUM_FIRE_MODES
)
Modifiers: protected
bCanThrow
Type: bool
Default value: True
bForceSwitch
Type: bool
if true, this weapon will prevent any other weapon from delaying the switch to it (bomb launcher)
bMeleeWeapon
Type: bool
bNotInPriorityList
Type: bool
Modifiers: deprecated
Should be displayed in a GUI weapon list - refer to 'Description' documentation
BotMode
Type: int
the fire Mode currently being used for bots
bSniping
Type: bool
ClientState
Type: EWeaponClientState
this will always be None on the server
DefaultPriority
Type: byte
Modifiers: deprecated
Description
Type: string
Modifiers: localized, cache
ExchangeFireModes
Type: byte
Modifiers: config
FireMode
Type: WeaponFire
Array size: 2 (NUM_FIRE_MODES
)
Modifiers: protected
FireModeClass
Type: class<WeaponFire>
Array size: 2 (NUM_FIRE_MODES
)
IdleAnim
Type: name
Default value: 'Idle'
IdleAnimRate
Type: float
Default value: 1.0
MessageNoAmmo
Type: string
Modifiers: localized
Default value: " has no ammo"
Priority
Type: byte
Modifiers: config
PutDownAnim
Type: name
Default value: 'Down'
PutDownAnimRate
Type: float
Default value: 1.3636
RestAnim
Type: name
Default value: 'Rest'
RestAnimRate
Type: float
Default value: 1.0
RunAnim
Type: name
Default value: 'Run'
RunAnimRate
Type: float
Default value: 1.0
SelectAnim
Type: name
Default value: 'Select'
SelectAnimRate
Type: float
Default value: 1.3636
SelectForce
Type: string
SelectSound
Type: Sound
Internal variables
AmmoCharge
Type: int
Array size: 2
AmmoClass
Type: class<Ammunition>
Array size: 2
bBerserk
Type: bool
bDebugging
Type: bool
bEndOfRound
Type: bool
don't allow firing
bInitOldMesh
Type: bool
bMatchWeapons
Type: bool
OBSOLETE - see WeaponAttachment
bNoAmmoInstances
Type: bool
if true, replicated ammocount using the Weapons AmmoCharge property - true by default, included to allow mod authors to fallback to old style
Default value: True
bNoInstagibReplace
Type: bool
bNotInDemo
Type: bool
bNoVoluntarySwitch
Type: bool
bPendingSwitch
Type: bool
Modifiers: transient
BringUpTime
Type: float
Default value: 0.33
bShowChargingBar
Type: bool
bSpectated
Type: bool
bUseOldWeaponMesh
Type: bool
Modifiers: config
CurrentRating
Type: float
rating result from most recent RateSelf()
Default value: 0.5
CustomCrosshair
Type: int
Modifiers: config
CustomCrossHairColor
Type: Object.Color
Modifiers: config
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
CustomCrossHairScale
Type: float
Modifiers: config
Default value: 1.0
CustomCrossHairTexture
Type: Texture
CustomCrossHairTextureName
Type: string
Modifiers: config
Default value: "Crosshairs.Hud.Crosshair_Cross1"
DemoReplacement
DownDelay
Type: float
Hand
Type: float
HudColor
Type: Object.Color
Default value:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 255 |
R | 255 |
MinReloadPct
Type: float
Used to delay putting down weapons which have jsut been fired
Default value: 0.5
OldMesh
Type: Mesh
OldPickup
Type: string
OldWeapon
Type: Weapon
PutDownTime
Type: float
Default value: 0.33
RenderedHand
Type: float
Default values
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
AmbientGlow | 20 | ||||||||
AttachmentClass | Class'Engine.WeaponAttachment' | ||||||||
bNetNotify | True | ||||||||
DrawType | DT_Mesh | ||||||||
InventoryGroup | 1 | ||||||||
MaxLights | 6 | ||||||||
NetPriority | 3.0 | ||||||||
NetUpdateFrequency | 2.0 | ||||||||
PlayerViewOffset |
|
||||||||
ScaleGlow | 1.5 | ||||||||
SoundVolume | 255 |