I don't need to test my programs. I have an error-correcting modem.
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[edit]
MissionFailedState[edit]
Value: 'MissionFailed'
ImpaledState[edit]
Value: 'Impaled'
LevelTransitionState[edit]
Value: 'LevelTransition'
MantlingState[edit]
Value: 'Mantling'
PlayerEndLevelImmediatelyState[edit]
Value: 'PlayerEndLevelImmediately'
LeanRate[edit]
Value: 256.0
offset change in units per sec when transition to/from leaning
LeanTraceFudge[edit]
Value: 16.0
fudge factor used when checking whether lean put camera into geometry
LeanWalkingPctScale[edit]
Value: 1.0
pct of walking speed used when leaning
Properties[edit]
Property group 'Music'[edit]
DeathMusic[edit]
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'[edit]
bIgnoreNextWhenZoomed[edit]
Type: bool
Modifiers: globalconfig
Default value: True
ProneWeaponKickRatio[edit]
Type: float
Default value: 0.5
UIAlpha[edit]
Type: byte
Modifiers: globalconfig
Default value: 255
Internal variables[edit]
AmmoFlashTime[edit]
Type: float
AutoSaveIndex[edit]
Type: int
Modifiers: globalconfig
bAltWeaponKick[edit]
Type: bool
true for AltFire(), false for Fire()
bAutoTaunt[edit]
Type: bool
Modifiers: globalconfig
player automatically generates taunts when fragging someone
bInstantRocket[edit]
Type: bool
Modifiers: globalconfig
bNoAutoTaunts[edit]
Type: bool
Modifiers: globalconfig
don't receive auto-taunts
bNoMatureLanguage[edit]
Type: bool
Modifiers: globalconfig
bNoVoiceMessages[edit]
Type: bool
Modifiers: globalconfig
don't receive any voice messages
bNoVoices[edit]
Type: bool
Modifiers: globalconfig
bNoVoiceTaunts[edit]
Type: bool
Modifiers: globalconfig
don't receive any taunts
bReleaseLeanKeys[edit]
Type: bool
player needs to release lean keys before leaning direction can be set
bRising[edit]
Type: bool
bWantsToLean[edit]
Type: bool
player wants to lean -- next movement update will set direction
bWeaponKickDisabled[edit]
Type: bool
ARL test code
bWeaponKicking[edit]
Type: bool
true during recoil, false while idle or recovering
DesiredLeanOffset[edit]
Type: Object.Vector
desired additional camera offset due to leaning
LadderMoveLocation[edit]
Type: Object.Vector
hack to track ladder movement & play ladder climbing sound
LastAutoAimLocation[edit]
Type: Object.Vector
LastLeanDir[edit]
Type: ELeanDir
previous lean dir (for use while unleaning)
LastLeaningCheck[edit]
Type: float
LastWeaponKickTime[edit]
Type: float
last time weapon kick was updated
LeanDir[edit]
Type: ELeanDir
set to lean direction
StartSpot[edit]
Type: NavigationPoint
where player started the match
U2P[edit]
Type: U2Pawn
UnFreezeState[edit]
Type: name
WeaponKickOffset[edit]
Type: Object.Vector
resulting offset -- stored for use by U2Weapon.CalcDrawOffset()
WeaponKickPercent[edit]
Type: float
holds 0.0 (neutral position) to 1.0 (maximum kick offset)
WeaponOrder1[edit]
Type: array<WeaponInfo>
WeaponOrder2[edit]
Type: array<WeaponInfo>
WeaponOrder3[edit]
Type: array<WeaponInfo>
WeaponOrder4[edit]
Type: array<WeaponInfo>
WeaponOrder5[edit]
Type: array<WeaponInfo>
Default values[edit]
Property | Value |
---|---|
ExecManagerClasses[0] | Class'U2.CheatManager' |
ExecManagerClasses[1] | Class'U2.AdminManager' |
Enums[edit]
ELeanDir[edit]
- Lean_None
- Lean_Forward
- Lean_Left
- Lean_Right
- Lean_Up
Structs[edit]
WeaponInfo[edit]
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[edit]
Exec functions[edit]
ActivateInventoryItem[edit]
Overrides: PlayerController.ActivateInventoryItem
AddBots[edit]
AltFire[edit]
Overrides: PlayerController.AltFire
ClearProgressMessages[edit]
Overrides: PlayerController.ClearProgressMessages
DeactivateInventoryItem[edit]
Fire[edit]
Overrides: PlayerController.Fire
Loaded[edit]
NextWeapon[edit]
Overrides: PlayerController.NextWeapon
PrevWeapon[edit]
Overrides: PlayerController.PrevWeapon
QuickLoad[edit]
Overrides: PlayerController.QuickLoad
QuickSave[edit]
Overrides: PlayerController.QuickSave
Reload[edit]
SetInstantRocket[edit]
SwitchToBestWeapon[edit]
Overrides: Controller.SwitchToBestWeapon
SwitchWeapon[edit]
Overrides: PlayerController.SwitchWeapon
Taunt[edit]
ThrowWeapon[edit]
Overrides: PlayerController.ThrowWeapon
Unuse[edit]
Overrides: PlayerController.Unuse
Use[edit]
Overrides: PlayerController.Use
Events[edit]
ClientHearSound[edit]
Overrides: PlayerController.ClientHearSound
EncroachingOn[edit]
Overrides: Actor.EncroachingOn
PlayerCalcView[edit]
Overrides: PlayerController.PlayerCalcView
PlayerTick[edit]
Overrides: PlayerController.PlayerTick
PostBeginPlay[edit]
Overrides: PlayerController.PostBeginPlay
RenderOverlays[edit]
Overrides: Controller.RenderOverlays
TeamMessage[edit]
Overrides: PlayerController.TeamMessage
Other instance functions[edit]
See U2PlayerController instance functions.