Mostly Harmless

UE1:CSPlayer (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Pawn >> PlayerPawn >> UnrealIPlayer >> CSPlayer
Package: 
UDSDemo
Direct subclass:
CSHuman

The Unreal Director's Suite Release version: Jan 7th, 1999

[ CSPlayer ]

This is our new player class. It holds all the additional information needed to handle a cut sequence. It also has some of the specific code needed for the include ladder's mod.

MOD AUTHORS

If you have not already begun primary coding on your mod, I suggest just using this file to begin your new player class. If your mod already has extensive changes to the UrealIPlayer class, the you will need to merge this file in. You will also need to alter all of the other UDS classes to reference your particular new player class.

Properties

AdjVelocity

Type: Object.Vector

How to adjust his movement.

bCamDebug

Type: bool

Are we viewing a camera

bCanEsc

Type: bool

Can the player ESC this sequence

bCSCameraMode

Type: bool

Are we in Camera Mode

bCSInDebug

Type: bool

Are we debugging

bIsActing

Type: bool

Ignore movement commands

CSAbortSpeed

Type: float

When we abort, set the speed here

CSCamera

Type: CS_Camera

Where is the Camera pointed

CSDebug1

Type: string


CSDebug2

Type: string

Big ass hack, but UnrealScript doesn't allow

CSDebug3

Type: string

Array's of strings (as far as I can tell

CSDebug4

Type: string


CSDebug5

Type: string


CSDebug6

Type: string


CSDebugCnt

Type: int

Which debug line to drop shit in

CSLastAction

Type: string

The name of the last action command

CSMoveTarget

Type: CS_SpikeTape

Where is the player susposed to be going.

CSShotList

Type: CS_ShotList

What shotlist is currently in charge.

oldhudMode

Type: int

what is the old hud mode

Functions

Exec functions

AltFire

exec function AltFire (optional float F)

Overrides: PlayerPawn.AltFire


CamAdj

exec function CamAdj (int p, int r, int y)


CamMove

exec function CamMove (int x, int y, int z)


DebugCS

exec function DebugCS ()


Fire

exec function Fire (optional float F)

Overrides: PlayerPawn.Fire


GotoCamera

exec function GotoCamera (name CName)


ListCameras

exec function ListCameras ()


ResetView

exec function ResetView ()


ShowMenu

exec function ShowMenu ()

Overrides: PlayerPawn.ShowMenu


Events

PlayerCalcView

event PlayerCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)

Overrides: PlayerPawn.PlayerCalcView


Other instance functions

AdjustPlayer

function string AdjustPlayer ()


CS_AddDebug

function CS_AddDebug (string msg)


Freeze

function Freeze (bool value)


POVFirstPerson

function POVFirstPerson ()


POVGotoLocation

function POVGotoLocation (CS_Camera Camera)


POVThirdPerson

function POVThirdPerson (bool letterboxed)


ResetScriptedMove

function ResetScriptedMove ()


ScriptedMove

function ScriptedMove (Object.Vector NewVelocity)


States

LadderClimbing

Ignores: Bump, HearNoise, SeePlayer, TakeDamage

LadderClimbing.AnimEnd

event AnimEnd ()

Overrides: Actor.AnimEnd (global)


LadderClimbing.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


LadderClimbing.PlayerTick

event PlayerTick (float DeltaTime)

Overrides: PlayerPawn.PlayerTick (global)


LadderClimbing.PlayerMove

function PlayerMove (float DeltaTime)


LadderClimbing.ProcessMove

function ProcessMove (float DeltaTime, Object.Vector NewAccel, Actor.EDodgeDir DodgeMove, Object.Rotator DeltaRot)

Overrides: PlayerPawn.ProcessMove (global)


PlayerActing

Ignores: Bump, HearNoise, SeePlayer

PlayerActing.AnimEnd

event AnimEnd ()

Overrides: Actor.AnimEnd (global)


PlayerActing.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


PlayerActing.EndState

event EndState ()

Overrides: Object.EndState (global)


PlayerActing.Landed

event Landed (Object.Vector HitNormal)

Overrides: PlayerPawn.Landed (global)


PlayerActing.PlayerTick

event PlayerTick (float DeltaTime)

Overrides: PlayerPawn.PlayerTick (global)


PlayerActing.ZoneChange

event ZoneChange (ZoneInfo NewZone)

Overrides: Actor.ZoneChange (global)


PlayerActing.FeignDeath

exec function FeignDeath ()

Overrides: PlayerPawn.FeignDeath (global)


PlayerActing.PlayerMove

function PlayerMove (float DeltaTime)


PlayerActing.ProcessMove

function ProcessMove (float DeltaTime, Object.Vector NewAccel, Actor.EDodgeDir DodgeMove, Object.Rotator DeltaRot)

Overrides: PlayerPawn.ProcessMove (global)


PlayerWalking

PlayerWalking.PlayerMove

function PlayerMove (float DeltaTime)

Overrides: PlayerPawn.PlayerWalking.PlayerMove