Always snap to grid
UE2:U2PlayerController (U2XMP)
Object >> Actor >> Controller >> LicenseeController >> PlayerController >> U2PlayerController |
Contents
- 1 Constants
- 2 Properties
- 2.1 Property group 'Music'
- 2.2 Property group 'U2PlayerController'
- 2.3 Internal variables
- 2.3.1 AmmoFlashTime
- 2.3.2 AutoSaveIndex
- 2.3.3 bAltWeaponKick
- 2.3.4 bAutoTaunt
- 2.3.5 bInstantRocket
- 2.3.6 bNoAutoTaunts
- 2.3.7 bNoMatureLanguage
- 2.3.8 bNoVoiceMessages
- 2.3.9 bNoVoices
- 2.3.10 bNoVoiceTaunts
- 2.3.11 bReleaseLeanKeys
- 2.3.12 bRising
- 2.3.13 bWantsToLean
- 2.3.14 bWeaponKickDisabled
- 2.3.15 bWeaponKicking
- 2.3.16 DesiredLeanOffset
- 2.3.17 LadderMoveLocation
- 2.3.18 LastAutoAimLocation
- 2.3.19 LastLeanDir
- 2.3.20 LastLeaningCheck
- 2.3.21 LastWeaponKickTime
- 2.3.22 LeanDir
- 2.3.23 StartSpot
- 2.3.24 U2P
- 2.3.25 UnFreezeState
- 2.3.26 WeaponKickOffset
- 2.3.27 WeaponKickPercent
- 2.3.28 WeaponOrder1
- 2.3.29 WeaponOrder2
- 2.3.30 WeaponOrder3
- 2.3.31 WeaponOrder4
- 2.3.32 WeaponOrder5
- 2.4 Default values
- 3 Enums
- 4 Structs
- 5 Functions
- 5.1 Exec functions
- 5.1.1 ActivateInventoryItem
- 5.1.2 AddBots
- 5.1.3 AltFire
- 5.1.4 ClearProgressMessages
- 5.1.5 DeactivateInventoryItem
- 5.1.6 Fire
- 5.1.7 Loaded
- 5.1.8 NextWeapon
- 5.1.9 PrevWeapon
- 5.1.10 QuickLoad
- 5.1.11 QuickSave
- 5.1.12 Reload
- 5.1.13 SetInstantRocket
- 5.1.14 SwitchToBestWeapon
- 5.1.15 SwitchWeapon
- 5.1.16 Taunt
- 5.1.17 ThrowWeapon
- 5.1.18 Unuse
- 5.1.19 Use
- 5.2 Events
- 5.3 Other instance functions
- 5.1 Exec functions
- 6 States
- Package:
- U2
- Direct subclass:
- U2PlayerTestController
- This class in other games:
- U2
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. |
U2PlayerController.uc
Constants
MissionFailedState
Value: 'MissionFailed'
ImpaledState
Value: 'Impaled'
LevelTransitionState
Value: 'LevelTransition'
MantlingState
Value: 'Mantling'
PlayerEndLevelImmediatelyState
Value: 'PlayerEndLevelImmediately'
LeanRate
Value: 256.0
offset change in units per sec when transition to/from leaning
LeanTraceFudge
Value: 16.0
fudge factor used when checking whether lean put camera into geometry
LeanWalkingPctScale
Value: 1.0
pct of walking speed used when leaning
Properties
Property group 'Music'
DeathMusic
Default value, index 0: "DEATH_1.ogg"
Default value, index 1: "DEATH_2.ogg"
Default value, index 2: "DEATH_3.ogg"
Default value, index 3: "DEATH_4.ogg"
Property group 'U2PlayerController'
bIgnoreNextWhenZoomed
Type: bool
Modifiers: globalconfig
Default value: True
ProneWeaponKickRatio
Type: float
Default value: 0.5
UIAlpha
Type: byte
Modifiers: globalconfig
Default value: 255
Internal variables
AmmoFlashTime
Type: float
AutoSaveIndex
Type: int
Modifiers: globalconfig
bAltWeaponKick
Type: bool
true for AltFire(), false for Fire()
bAutoTaunt
Type: bool
Modifiers: globalconfig
player automatically generates taunts when fragging someone
bInstantRocket
Type: bool
Modifiers: globalconfig
bNoAutoTaunts
Type: bool
Modifiers: globalconfig
don't receive auto-taunts
bNoMatureLanguage
Type: bool
Modifiers: globalconfig
bNoVoiceMessages
Type: bool
Modifiers: globalconfig
don't receive any voice messages
bNoVoices
Type: bool
Modifiers: globalconfig
bNoVoiceTaunts
Type: bool
Modifiers: globalconfig
don't receive any taunts
bReleaseLeanKeys
Type: bool
player needs to release lean keys before leaning direction can be set
bRising
Type: bool
bWantsToLean
Type: bool
player wants to lean -- next movement update will set direction
bWeaponKickDisabled
Type: bool
ARL test code
bWeaponKicking
Type: bool
true during recoil, false while idle or recovering
DesiredLeanOffset
Type: Object.Vector
desired additional camera offset due to leaning
LadderMoveLocation
Type: Object.Vector
hack to track ladder movement & play ladder climbing sound
LastAutoAimLocation
Type: Object.Vector
LastLeanDir
Type: ELeanDir
previous lean dir (for use while unleaning)
LastLeaningCheck
Type: float
LastWeaponKickTime
Type: float
last time weapon kick was updated
LeanDir
Type: ELeanDir
set to lean direction
StartSpot
Type: NavigationPoint
where player started the match
U2P
Type: U2Pawn
UnFreezeState
Type: name
WeaponKickOffset
Type: Object.Vector
resulting offset -- stored for use by U2Weapon.CalcDrawOffset()
WeaponKickPercent
Type: float
holds 0.0 (neutral position) to 1.0 (maximum kick offset)
WeaponOrder1
Type: array<WeaponInfo>
WeaponOrder2
Type: array<WeaponInfo>
WeaponOrder3
Type: array<WeaponInfo>
WeaponOrder4
Type: array<WeaponInfo>
WeaponOrder5
Type: array<WeaponInfo>
Default values
Property | Value |
---|---|
ExecManagerClasses[0] | Class'U2.CheatManager' |
ExecManagerClasses[1] | Class'U2.AdminManager' |
Enums
ELeanDir
- Lean_None
- Lean_Forward
- Lean_Left
- Lean_Right
- Lean_Up
Structs
WeaponInfo
Modifiers: native
- string WeaponName
- User readable name of the weapon.
- byte Priority
- Order within the tray (lower numbers = higher priority) - essentially group offset.
- Weapon Weapon
- Pointer to the associated weapon - if the player has it currently.
Functions
Exec functions
ActivateInventoryItem
Overrides: PlayerController.ActivateInventoryItem
AddBots
AltFire
Overrides: PlayerController.AltFire
ClearProgressMessages
Overrides: PlayerController.ClearProgressMessages
DeactivateInventoryItem
Fire
Overrides: PlayerController.Fire
Loaded
NextWeapon
Overrides: PlayerController.NextWeapon
PrevWeapon
Overrides: PlayerController.PrevWeapon
QuickLoad
Overrides: PlayerController.QuickLoad
QuickSave
Overrides: PlayerController.QuickSave
Reload
SetInstantRocket
SwitchToBestWeapon
Overrides: Controller.SwitchToBestWeapon
SwitchWeapon
Overrides: PlayerController.SwitchWeapon
Taunt
ThrowWeapon
Overrides: PlayerController.ThrowWeapon
Unuse
Overrides: PlayerController.Unuse
Use
Overrides: PlayerController.Use
Events
ClientHearSound
Overrides: PlayerController.ClientHearSound
EncroachingOn
Overrides: Actor.EncroachingOn
PlayerCalcView
Overrides: PlayerController.PlayerCalcView
PlayerTick
Overrides: PlayerController.PlayerTick
PostBeginPlay
Overrides: PlayerController.PostBeginPlay
RenderOverlays
Overrides: Controller.RenderOverlays
TeamMessage
Overrides: PlayerController.TeamMessage
Other instance functions
See U2PlayerController instance functions.