Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

cRPG_classes.LimitBreakUtil

Extends
Object
Modifiers
config ( UT2004RPG )

Core.Object
|   
+-- cRPG_classes.LimitBreakUtil

Constants Summary
Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient

Variables Summary
intabilityLvl
floatbreakLength
floatdamageFactor
floathealthFactor
floathp15
floathp50
floathpCritical
floathpFull
boolisLimit
intlimitLvl
floatlimitPoints
floatlvlFactor
intmaxLimitPoints
intminLimitPoints
intplayerLvl
floatplayersLimitBreak
floatpointFactor
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[7], Outer

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis

Structures Summary
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Functions Summary
function calcHealthFactor (float health, float superMaxHealth)
function calcPoints (Pawn p, int Damage)
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllObjects, Asc, Asin, Atan, BeginState, Caps, Ceil, Chr, Clamp, ClassIsChildOf, ClearConfig, ClockwiseFrom, Cos, Created, Cross, Disable, Divide, Dot, DynamicLoadObject, EatStr, Enable, EndState, Eval, Exp, FClamp, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetItemName, GetPerObjectNames, GetPropertyText, GetReferencers, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, IsOnConsole, IsSoaking, Left, Len, Lerp, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, PlatformIs64Bit, PlatformIsMacOS, PlatformIsUnix, PlatformIsWindows, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, Repl, ReplaceText, ResetConfig, Right, RotRand, Round, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, StopWatch, StrCmp, Tan, VRand, VSize, Warn, ^, ^^, |, ||, ~, ~=


Variables Detail

abilityLvl Source code

var int abilityLvl;

breakLength Source code

var config float breakLength;
Length of lvl 1 limit break.
Higher lvls of limit break may add aditional time?

damageFactor Source code

var config float damageFactor;
Percentage for adjusting amount of points based on damage.
not used by defaul

healthFactor Source code

var float healthFactor;
Calculated from pawns current (health, max health, matched to hpFull - hpCritical ranges).

hp15 Source code

var config float hp15;
Used with lvlFactor when player has 15% - 50% max Health.

hp50 Source code

var config float hp50;
Used with lvlFactor when player has 50% - 75% max Health.

hpCritical Source code

var config float hpCritical;
Used with lvlFactor when player has less than 15% max Health.

hpFull Source code

var config float hpFull;
Used with lvlFactor when player has 75% - max health.

isLimit Source code

var bool isLimit;
true while players limitPoints == playersLimitBreak && countdown > 0

limitLvl Source code

var int limitLvl;
The players limit break lvl.

limitPoints Source code

var float limitPoints;
Current number of limit points the player has.

lvlFactor Source code

var config float lvlFactor;
Percentage of pawn lvl for adjusting amount of points based on players current level.

maxLimitPoints Source code

var config int maxLimitPoints;
Maximum number of limit points needed to reach a limit break.

minLimitPoints Source code

var config int minLimitPoints;
Minimum number of limit points needed to reach a limit break.

playerLvl Source code

var int playerLvl;
The players level.

playersLimitBreak Source code

var float playersLimitBreak;
Number of points needed for pawns limit break to be reached.

pointFactor Source code

var float pointFactor;
Calculated from (lvlFactor, pawns level) & (pawns.Health, healthFactor) & (Damage)


Functions Detail

calcHealthFactor Source code

function calcHealthFactor ( float health, float superMaxHealth )
Calculates the healthFactor used in limitPoint calculation.

calcPoints Source code

function calcPoints ( Pawn p, int Damage )
Calculates the actuall limitPoints given to the pawn from recieving damage.


Defaultproperties

defaultproperties
{


    limitPoints=0
    breakLength=5
    playersLimitBreak=800
    lvlFactor=0.60
    damageFactor=0.10
    hpFull=0.15
    hp50=0.50
    hp15=0.75
    hpCritical=1.00
    minLimitPoints=100
    maxLimitPoints=2000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Sun 4/3/2007 21:36:00.948 - Created with UnCodeX