SpatialFear.SFPlayer

Spatial Fear
Name: SFPlayer
Description: SpatialFear implementation of general player behaviour.
Since the MOD is strongly based on these changes, this is
our workhorse class. Modify it wisely!

Author: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFPlayer
%%

Constants

%function_comment%
NO_ACCURACY=-1.0

Variables

%function_comment%
inputbytebDuck
%function_comment%
boolbJumpPenaltyAdded
%function_comment%
boolbRunPenaltyAdded
%function_comment%
boolbShowVersionInfo
%function_comment%
boolbStatInventory
%function_comment%
boolbStatPlayer
%function_comment%
boolbStatWeapon
%function_comment%
boolbStrafePenaltyAdded
%function_comment%
soundClimbStep
%function_comment%
floatCollisionHeightCreep
%function_comment%
floatCollisionHeightCrouch
%function_comment%
floatCorrection
%function_comment%
floatCreepSpeed
%function_comment%
floatCrouchSpeed
%function_comment%
floatfDiffCrouchCreep
%function_comment%
floatfDiffStandCreep
%function_comment%
floatfDiffStandCrouch
%function_comment%
floatfPenaltyModifier
%function_comment%
floatfSoundPitch
%function_comment%
floatJumpAccuracyPenalty
%function_comment%
SFMedStationMoverm_actNearestMedStation
%function_comment%
boolm_bCannotDrown
%function_comment%
inputbytem_bCreep
%function_comment%
boolm_bDreamMode
%function_comment%
boolm_bInventoryOpen
%function_comment%
boolm_bIsCreeping
%function_comment%
boolm_bIsJumping
%function_comment%
boolm_bIsRunning
%function_comment%
boolm_bIsStrafing
%function_comment%
boolm_bLoadDialogOpened
%function_comment%
boolm_bManualInput
%function_comment%
bytem_bSavedCreep
%function_comment%
bytem_bSavedDuck
%function_comment%
bytem_bStandState
%function_comment%
bytem_bUseKey
%function_comment%
boolm_bViewScent
%function_comment%
travelboolm_bVisorUnitUpgrade
%function_comment%
travelboolm_bWeaponDescUpgrade
%function_comment%
boolm_bWeaponSelectOpen
%function_comment%
floatm_fAccelRate
%function_comment%
floatm_fAirSpeedOrg
%function_comment%
floatm_fCurrentSpeedModification
%function_comment%
floatm_fFootstepVolume
%function_comment%
floatm_fFrobTime
%function_comment%
floatm_fGroundSpeedOrg
%function_comment%
floatm_fInitialPrePivotZ
%function_comment%
floatm_fLastPheromoneSpawn
%function_comment%
floatm_fPenaltyUpgrade
%function_comment%
floatm_fWaterSpeedOrg
%function_comment%
SFCommDetailm_listCommunications
%function_comment%
intm_nLastSaveSlot
%function_comment%
intm_nSafeFallDamage
%function_comment%
intm_nSafeFallKill
%function_comment%
intm_nXWipePos
%function_comment%
Weaponm_oCreepPendingWeapon
%function_comment%
travelSFFlashlightm_oFlashlight
%function_comment%
travelSFGoaltablem_oGoals
%function_comment%
Weaponm_oNullWeaponRestore
%function_comment%
SFCommunicationm_oScoutBotComm
%function_comment%
travelSFDamageProtectionm_oSmartVest
%function_comment%
EScreenEffectm_screenEffect
%function_comment%
floatNormalSpeed
%function_comment%
intnPenaltyCount
%function_comment%
intnShowVersionTime
%function_comment%
SFWeaponoModifiedWeapon
%function_comment%
PawnpawnCreatureMonitor
%function_comment%
EPlayerStatePlayerState
%function_comment%
transientUWindowRootWindowRoot
%function_comment%
floatRunAccuracyPenalty
%function_comment%
floatSafeFall_Damage
%function_comment%
floatSafeFall_Kill
%function_comment%
DecorationScoutBot
%function_comment%
EPlayerStateStartingPlayerState
%function_comment%
floatStrafeAccuracyPenalty
%function_comment%
stringstrSFVersion
%function_comment%
UWindowMessageBoxwinConfirmLoad

Enums

%function_comment%
EPlayerStateSTATE_UNDEF,
STATE_Crouch,
STATE_Creep,
STATE_Climb,
STATE_Swim,
STATE_Normal,
%function_comment%
EScreenEffectEFFECT_NONE,
EFFECT_LR_WIPE

Functions

addCommunication (SFCommunication oComm)
addNewCommunication (SFCommunication oComm)
AdjustAccuracy ()
boolAdjustCollisionStuff (EPlayerState state)
AdjustWeaponStuff (EPlayerState state)
PlayerChatAltFire (optional float F)
PlayerChatAnimEnd ()
ClimbingAnimEnd ()
PlayerWalkingAnimEnd ()
ScoutingAnimEnd ()
Attach (Actor Other)
autoLoadGame ()
autoSaveGame ()
BeginPlay ()
FeigningDeathBeginState ()
PlayerWalkingBeginState ()
PlayerChatBeginState ()
DyingBeginState ()
ClimbingBeginState ()
ScoutingBeginState ()
Bump (Actor Other)
boolCanAcceptScoutBotLinkup ()
CancelComm ()
ChangedWeapon ()
checkActorCreations ()
boolCheckPenalty (bool bMoveState, bool bPenaltyAdded, float fPenalty, string strPenaltyName)
boolCheckStandUp (float fDiff)
ClientMessage (coerce string S, optional Name Type, optional bool bBeep)
Climb (Bool B)
ClimbStepping ()
ClimbZoneEntered (float fLadderSpeedAcceleration)
ClimbZoneLeaving (float fLadderSpeedAcceleration)
Creeping ()
Detach (Actor o)
PlayerWalkingDodge (vector">eDodgeDir DodgeMove)
DoJump (optional float F)
DropDecoration ()
PlayerWalkingEndState ()
ScoutingEndState ()
PlayerChatEndState ()
Expired ()
PlayerWalkingFeignDeath ()
Fire (optional float F)
DyingFire (optional float F)
PlayerChatFire (optional float F)
FireCustomEvent (actor Other, Pawn Instigator, name nameEvt)
FootStepping ()
GainedChild (Actor Other)
floatgetAngle (vector vecFirst, vector vecSecond)
stringgetPlayerState ()
stringgetStartingPlayerState ()
GrabDecoration ()
HeadZoneChange (ZoneInfo newHeadZone)
HitWall (vector HitNormal, actor HitWall)
increasePenalty (float fUpgrade)
boolisAlive ()
PlayerChatJump (optional float F)
loadGame (int nNumber)
NextItem ()
NextWeapon ()
PassivItem ()
playCommunication (SFCommunication oComm)
PlayCreeping ()
PlayDeathHit (float Damage, vector HitLocation, name damageType, vector Momentum)
PlayDyingSound ()
DyingPlayerCalcView (out actor ViewActor, out vector CameraLocation, out rotator CameraRotation)
PlayerInput (float DeltaTime)
PlayerChatPlayerInput (float DeltaTime)
Forcing MouseSensitivity to be 1.0 during calculating input stuff.
?
ScoutingPlayerInput (float DeltaTime)
ScoutingPlayerMove (float DeltaTime)
ClimbingPlayerMove (float DeltaTime)
PlayerChatPlayerMove (float DeltaTime)
ScoutingPlayerTick (float DeltaTime)
PlayerChatPlayerTick (float DeltaTime)
PlayerWalkingPlayerTick (float DeltaTime)
DyingPlayerTick (float deltaTime)
ClimbingPlayerTick (float DeltaTime)
PlayKneel ()
PlayTakeHitSound (int damage, name damageType, int Mult)
PlayerChatPlayWaiting ()
Possess ()
PostBeginPlay ()
PostRender (canvas C)
PreBeginPlay ()
PrepareCanvas (out canvas C)
PrepareCanvasStat (out canvas C)
PrevItem ()
PrevWeapon ()
ClimbingProcessMove (float DeltaTime, vector NewAccel, vector">eDodgeDir DodgeMove, rotator DeltaRot)
PlayerChatProcessMove (float DeltaTime, vector NewAccel, vector">eDodgeDir DodgeMove, rotator DeltaRot)
PlayerWalkingProcessMove (float DeltaTime, vector NewAccel, vector">eDodgeDir DodgeMove, rotator DeltaRot)
putDownNullGun ()
raiseNullGun ()
RenderCreatureInfo (Canvas C, float fPosY)
floatRenderInventoryData (canvas C, float fPosY)
renderMedStationContact (Canvas C)
floatRenderPlayerData (canvas C, float fPosY)
RenderScreenEffect (canvas C)
RenderVersionInfo (canvas C)
floatRenderWeaponData (canvas C, float fPosY)
ResetInput ()
ResetManualInput ()
resetPenalties ()
resetScreenEffect ()
RestoreInput ()
saveGame (int nNumber)
SaveInput ()
PlayerWalkingServerFeignDeath ()
SetCreepInput ()
SetCrouchInput ()
setLRWipe ()
SetNormalInput ()
SFAccuracy (name Type, float fAccuracy)
SFCheckInv ()
sfClientError (string strMessage)
sfClientWarning (string strMessage)
SFCreepHeight (float fValue)
SFCrouchHeight (float fValue)
SFEnableHUD (name Type)
SFFootstepVolume (float fValue)
SFHealth (int nHealth)
SFJumpHeight (int nValue)
SFLoadDialog ()
SFLogLevel (int nLevel)
SFPlayerSpeed (float fPercentage, optional bool bTrackModification)
SFPrintGoals ()
SFQuickLoad ()
SFQuickSave ()
SFResetGoal (int nIndex)
SFS (string ClassName)
SFSafeFallDamage (int nValue)
SFSafeFallKill (int nValue)
SFSaveDialog ()
SFSetGoal (int nIndex)
SFShowConvHistory ()
SFStat (string strType)
SFSummon (string ClassName)
SFToggleFlashlight ()
SFUseKeyRange (int nValue)
SFVersion ()
SFViewCreature (name nameClass)
SFViewScents (int n)
showHUD (bool bEnable)
ShowLoadMenu ()
DyingShowMainMenu ()
SlipDecoration ()
SoundPitch (float fPitch)
Spawned ()
SpeedZoneEntered (float fAcceleration)
SpeedZoneLeaving (float fAcceleration)
PlayerChatSuicide ()
sweat (float fDelta)
SwitchToDefaultState ()
DyingTakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
TakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
TakeFallingDamage ()
Timer ()
TravelPostAccept ()
UnPossess ()
updateLRWipe ()
UseKey ()
ScoutingUseKey ()
UseKeyTargetting ()
PlayerChatUseKeyTargetting ()
ViewClass (class<actor> aClass, optional bool bQuiet)
ClimbingZoneChange (ZoneInfo NewZone)

Default properties

{
     JumpAccuracyPenalty=1.000000
     RunAccuracyPenalty=1.000000
     StrafeAccuracyPenalty=1.000000
     m_fPenaltyUpgrade=1.000000
     SafeFall_Damage=580.000000
     SafeFall_Kill=940.000000
     CollisionHeightCrouch=28.000000
     CollisionHeightCreep=21.000000
     nShowVersionTime=20
     NormalSpeed=0.800000
     CrouchSpeed=0.300000
     CreepSpeed=0.200000
     ClimbStep=Sound'SpatialFear.Female.FClimb1'
     m_fCurrentSpeedModification=1.000000
     strSFVersion="1.1.182"
     m_bIsRunning=True
     PlayerState=STATE_Normal
     m_fFootstepVolume=2.200000
     m_fLastPheromoneSpawn=-1.000000
     fSoundPitch=1.000000
     GroundSpeed=280.000000
     AirSpeed=280.000000
     AccelRate=1450.000000
     JumpZ=300.000000
     CollisionRadius=14.000000
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:41 PM
Created with UnCodeX