I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:UTConsolePlayerInput (UT3)
Object >> UIRoot >> Interaction >> Input >> PlayerInput >> GamePlayerInput >> UTPlayerInput >> UTConsolePlayerInput |
- Package:
- UTGame
- Within class:
- UTConsolePlayerController
- This class in other games:
- UDK
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. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'UTConsolePlayerInput'[edit]
bTargetFrictionEnabled[edit]
Type: bool
Modifiers: config
Whether TargetFriction is enabled or not *
Default value: True
bViewAccelerationEnabled[edit]
Type: bool
Modifiers: config
Whether ViewAcceleration is enabled or not *
Default value: True
Dodge_Threshold[edit]
Type: float
Modifiers: config
If user hits A when the thumbstick is above this threshold, they will dodge in the direction of their thumbstick *
Default value: 0.8
ViewAccel_BaseMultiplier[edit]
Type: float
Modifiers: config
How fast to start accelerating when the stick is slammed to the edge. It goes to a max of 2.0 over time *
Default value: 1.1
ViewAccel_CurrMutliplier[edit]
Type: float
Modifiers: private
ViewAccel_DiagonalThreshold[edit]
Type: float
Modifiers: config
Default value: 0.99
ViewAccel_TimeToHoldBeforeFastAcceleration[edit]
Type: float
Modifiers: config
how long you need to hold at edge before the fast acceleration kicks in *
Default value: 0.21
ViewAccel_Twitchy[edit]
Type: float
Modifiers: config
Amount of twitchy we will handle before just taking the real value of the aTurn. This basically make the controls feel a lot smoother and not just spastic looking all over the place. *
Default value: 0.98
ViewAccel_YawThreshold[edit]
Type: float
Modifiers: config
Threshold above when Yaw Acceleration kicks in
Default value: 0.99
Internal variables[edit]
See UTConsolePlayerInput internal variables.
Default values[edit]
Property | Value |
---|---|
bUsingGamepad | True |
Functions[edit]
Exec functions[edit]
DebugTargetAdhesion[edit]
Toggle debug display for target adhesion *
DebugTargetFriction[edit]
Toggle debug display for target friction *
DebugViewAcceleration[edit]
Toggle debug display for view acceleration *
Duck[edit]
Overrides: UTPlayerInput.Duck
SmartJump[edit]
Overrides: PlayerInput.SmartJump
Events[edit]
PostBeginPlay[edit]
Other instance functions[edit]
AdjustMouseSensitivity[edit]
Overrides: PlayerInput.AdjustMouseSensitivity
ApplyTargetAdhesion[edit]
This will attempt to keep the player aiming at the target. It will forcibly aim the player at the target.
TODO: move this to c++
ApplyTargetFriction[edit]
This will slow down the player's aiming when they are on "top" of a valid Target. So when you whip around there will be a slight slow down when you are directly aiming at a target.
TODO: move this to c++
ApplyViewAcceleration[edit]
This will scale the player's rotation speed depending on the location of their thumbstick and how long they have held it there.
ApplyViewAutoPitchCentering[edit]
This will auto center the player's view when they are moving along and not firing
ApplyViewAutoVehiclePitchCentering[edit]
This will auto center the player's view when they in a vehicle.
CheckForDoubleClickMove[edit]
Overrides: PlayerInput.CheckForDoubleClickMove
PreProcessInput[edit]
Overrides: UTPlayerInput.PreProcessInput
Overridden to add hooks for view acceleration, target friction, auto centering, controller sensitivity.