Cogito, ergo sum
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[edit]
Property group 'FirstPerson'[edit]
CenteredOffsetY[edit]
Type: float
Default value: -10.0
CenteredRoll[edit]
Type: int
Default value: 2000
CenteredYaw[edit]
Type: int
DisplayFOV[edit]
Type: float
Default value: 90.0
EffectOffset[edit]
Type: Object.Vector
where muzzle flashes and smoke appear. replace by bone reference eventually
SmallEffectOffset[edit]
Type: Object.Vector
SmallViewOffset[edit]
Type: Object.Vector
Offset from view center with small weapons option.
Property group 'OldFirstPerson'[edit]
OldCenteredOffsetY[edit]
Type: float
Default value: -10.0
OldCenteredRoll[edit]
Type: int
Default value: 2000
OldCenteredYaw[edit]
Type: int
OldDrawScale[edit]
Type: float
Default value: 1.0
OldPlayerViewOffset[edit]
Type: Object.Vector
OldPlayerViewPivot[edit]
Type: Object.Rotator
OldSmallViewOffset[edit]
Type: Object.Vector
Property group 'Weapon'[edit]
AimAnim[edit]
Type: name
Default value: 'Aim'
AimAnimRate[edit]
Type: float
Default value: 1.0
AIRating[edit]
Type: float
Default value: 0.5
Ammo[edit]
Type: Ammunition
Array size: 2 (NUM_FIRE_MODES
)
Modifiers: protected
bCanThrow[edit]
Type: bool
Default value: True
bForceSwitch[edit]
Type: bool
if true, this weapon will prevent any other weapon from delaying the switch to it (bomb launcher)
bMeleeWeapon[edit]
Type: bool
bNotInPriorityList[edit]
Type: bool
Modifiers: deprecated
Should be displayed in a GUI weapon list - refer to 'Description' documentation
BotMode[edit]
Type: int
the fire Mode currently being used for bots
bSniping[edit]
Type: bool
ClientState[edit]
Type: EWeaponClientState
this will always be None on the server
DefaultPriority[edit]
Type: byte
Modifiers: deprecated
Description[edit]
Type: string
Modifiers: localized, cache
ExchangeFireModes[edit]
Type: byte
Modifiers: config
FireMode[edit]
Type: WeaponFire
Array size: 2 (NUM_FIRE_MODES
)
Modifiers: protected
FireModeClass[edit]
Type: class<WeaponFire>
Array size: 2 (NUM_FIRE_MODES
)
IdleAnim[edit]
Type: name
Default value: 'Idle'
IdleAnimRate[edit]
Type: float
Default value: 1.0
MessageNoAmmo[edit]
Type: string
Modifiers: localized
Default value: " has no ammo"
Priority[edit]
Type: byte
Modifiers: config
PutDownAnim[edit]
Type: name
Default value: 'Down'
PutDownAnimRate[edit]
Type: float
Default value: 1.3636
RestAnim[edit]
Type: name
Default value: 'Rest'
RestAnimRate[edit]
Type: float
Default value: 1.0
RunAnim[edit]
Type: name
Default value: 'Run'
RunAnimRate[edit]
Type: float
Default value: 1.0
SelectAnim[edit]
Type: name
Default value: 'Select'
SelectAnimRate[edit]
Type: float
Default value: 1.3636
SelectForce[edit]
Type: string
SelectSound[edit]
Type: Sound
Internal variables[edit]
AmmoCharge[edit]
Type: int
Array size: 2
AmmoClass[edit]
Type: class<Ammunition>
Array size: 2
bBerserk[edit]
Type: bool
bDebugging[edit]
Type: bool
bEndOfRound[edit]
Type: bool
don't allow firing
bInitOldMesh[edit]
Type: bool
bMatchWeapons[edit]
Type: bool
OBSOLETE - see WeaponAttachment
bNoAmmoInstances[edit]
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[edit]
Type: bool
bNotInDemo[edit]
Type: bool
bNoVoluntarySwitch[edit]
Type: bool
bPendingSwitch[edit]
Type: bool
Modifiers: transient
BringUpTime[edit]
Type: float
Default value: 0.33
bShowChargingBar[edit]
Type: bool
bSpectated[edit]
Type: bool
bUseOldWeaponMesh[edit]
Type: bool
Modifiers: config
CurrentRating[edit]
Type: float
rating result from most recent RateSelf()
Default value: 0.5
CustomCrosshair[edit]
Type: int
Modifiers: config
CustomCrossHairColor[edit]
Type: Object.Color
Modifiers: config
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
CustomCrossHairScale[edit]
Type: float
Modifiers: config
Default value: 1.0
CustomCrossHairTexture[edit]
Type: Texture
CustomCrossHairTextureName[edit]
Type: string
Modifiers: config
Default value: "Crosshairs.Hud.Crosshair_Cross1"
DemoReplacement[edit]
DownDelay[edit]
Type: float
Hand[edit]
Type: float
HudColor[edit]
Type: Object.Color
Default value:
Member | Value |
---|---|
A | 255 |
B | 0 |
G | 255 |
R | 255 |
MinReloadPct[edit]
Type: float
Used to delay putting down weapons which have jsut been fired
Default value: 0.5
OldMesh[edit]
Type: Mesh
OldPickup[edit]
Type: string
OldWeapon[edit]
Type: Weapon
PutDownTime[edit]
Type: float
Default value: 0.33
RenderedHand[edit]
Type: float
Default values[edit]
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 |