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

UT2004RPG.MutUT2004RPG

Extends
Mutator
Modifiers
config ( UT2004RPG )

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.Mutator
         |   
         +-- UT2004RPG.MutUT2004RPG

Constants Summary
RPG_VERSION=22

Variables Summary
array<class<RPGAbility>>Abilities
boolbAllowMagicSuperWeaponReplenish
boolbAutoAdjustInvasionLevel
boolbFakeBotLevels
boolbHasInteraction
boolbIronmanMode
boolbJustSaved
boolbMagicalStartingWeapons
boolbNoUnidentified
intBotBonusLevels
intBotSpendAmount
boolbReset
boolbUseOfficialRedirect
array<class<Monster>>ConfigMonsterList
RPGPlayerDataObjectCurrentLowestLevelPlayer
intEXPForWin
intHighestLevelPlayerLevel
stringHighestLevelPlayerName
intInfiniteReqEXPOp
intInfiniteReqEXPValue
floatInvasionAutoAdjustFactor
stringLastOverrideDownloadIP
floatLevelDiffExpGainDiv
array<int>Levels
intMaxLevelupEffectStacking
array<class<Monster>>MonsterList
array<RPGPlayerDataObject>OldPlayers
intPointsPerLevel
stringPropsDescText[21]
stringPropsDisplayText[21]
stringPropsExtras
array<class<RPGAbility>>RemovedAbilities
intSaveDuringGameInterval
intStartingLevel
intStatCaps[6]
array<name>SuperAmmoClassNames
intTotalModifierChance
array<VampireMarker>VampireMarkers
intVersion
floatWeaponModifierChance
array<WeaponModifier>WeaponModifiers
Inherited Variables from Engine.Mutator
bAddToServerPackages, bUserAdded, ConfigMenuClassName, DefaultWeapon, DefaultWeaponName, Description, FriendlyName, GroupName, IconMaterialName, NextMutator
Inherited Variables from Engine.Info
BotsGroup, ChatGroup, GameGroup, KickVoteGroup, MapVoteGroup, RulesGroup, ServerGroup

Structures Summary
WeaponModifier
WeaponClass, Chance

Functions Summary
function BotLevelUp (Bot B, RPGPlayerDataObject Data)
function CheckLevelUp (RPGPlayerDataObject data, PlayerReplicationInfo MessagePRI)
functionbool CheckReplacement (Actor Other, out byte bSuperRelevant)
function DriverEnteredVehicle (Vehicle V, Pawn P)
function DriverLeftVehicle (Vehicle V, Pawn P)
function FillMonsterList ()
function FillPlayInfo (PlayInfo PlayInfo)
function FindCurrentLowestLevelPlayer ()
functionstring GetDescriptionText (string PropName)
functionclass<RPGWeaponGetRandomWeaponModifier (class<Weapon> WeaponType, Pawn Other)
functionMutUT2004RPG GetRPGMutator (GameInfo G)
function GetServerDetails (out GameInfo.ServerResponseLine ServerState)
functionint GetVersion ()
functionbool IsSuperWeaponAmmo (class<Ammunition> AmmoClass)
function ModifyPlayer (Pawn Other)
function Mutate (string MutateString, PlayerController Sender)
function NotifyLogout (Controller Exiting)
eventbool OverrideDownload (string PlayerIP, string PlayerID, string PlayerURL, out string RedirectURL)
function PostBeginPlay ()
event PostLoadSavedGame ()
event PreSaveGame ()
functionActor ReplaceWithActor (actor Other, string aClassName)
function SaveData ()
function Tick (float deltaTime)
function Timer ()
function ValidateData (RPGPlayerDataObject Data)
Inherited Functions from Engine.Mutator
AddMutator, AlwaysKeep, CanEnterVehicle, CanLeaveVehicle, CheckRelevance, CheckReplacement, Destroyed, DriverEnteredVehicle, DriverLeftVehicle, GetDefaultWeapon, GetInventoryClass, GetInventoryClassOverride, GetServerDetails, GetServerPlayers, IsRelevant, ModifyLogin, ModifyPlayer, Mutate, MutatorFillPlayInfo, MutatorIsAllowed, MyDefaultWeapon, NewRecommendCombo, NotifyLogout, OverrideDownload, ParseChatPercVar, PlayerChangedClass, PreBeginPlay, RecommendCombo, ReplaceWith, ServerTraveling
Inherited Functions from Engine.Info
AcceptPlayInfoProperty, AllowClassRemoval, FillPlayInfo, GetDescriptionText, GetSecurityLevel


Constants Detail

RPG_VERSION Source code

const RPG_VERSION = 22;


Variables Detail

Abilities Source code

var config array<class<RPGAbility>> Abilities;

bAllowMagicSuperWeaponReplenish Source code

var config bool bAllowMagicSuperWeaponReplenish;

bAutoAdjustInvasionLevel Source code

var config bool bAutoAdjustInvasionLevel;

bFakeBotLevels Source code

var config bool bFakeBotLevels;

bHasInteraction Source code

var bool bHasInteraction;

bIronmanMode Source code

var config bool bIronmanMode;

bJustSaved Source code

var bool bJustSaved;

bMagicalStartingWeapons Source code

var config bool bMagicalStartingWeapons;

bNoUnidentified Source code

var config bool bNoUnidentified;

BotBonusLevels Source code

var config int BotBonusLevels;

BotSpendAmount Source code

var int BotSpendAmount;

bReset Source code

var config bool bReset;

bUseOfficialRedirect Source code

var config bool bUseOfficialRedirect;

ConfigMonsterList Source code

var config array<class<Monster>> ConfigMonsterList;

CurrentLowestLevelPlayer Source code

var transient RPGPlayerDataObject CurrentLowestLevelPlayer;

EXPForWin Source code

var config int EXPForWin;

HighestLevelPlayerLevel Source code

var config int HighestLevelPlayerLevel;

HighestLevelPlayerName Source code

var config string HighestLevelPlayerName;

InfiniteReqEXPOp Source code

var config int InfiniteReqEXPOp;

InfiniteReqEXPValue Source code

var config int InfiniteReqEXPValue;

InvasionAutoAdjustFactor Source code

var config float InvasionAutoAdjustFactor;

LastOverrideDownloadIP Source code

var transient string LastOverrideDownloadIP;

LevelDiffExpGainDiv Source code

var config float LevelDiffExpGainDiv;

Levels Source code

var config array<int> Levels;

MaxLevelupEffectStacking Source code

var config int MaxLevelupEffectStacking;

MonsterList Source code

var array<class<Monster>> MonsterList;

OldPlayers Source code

var transient array<RPGPlayerDataObject> OldPlayers;

PointsPerLevel Source code

var config int PointsPerLevel;

PropsDescText[21] Source code

var localized string PropsDescText[21];

PropsDisplayText[21] Source code

var localized string PropsDisplayText[21];

PropsExtras Source code

var localized string PropsExtras;

RemovedAbilities Source code

var config array<class<RPGAbility>> RemovedAbilities;

SaveDuringGameInterval Source code

var config int SaveDuringGameInterval;

StartingLevel Source code

var config int StartingLevel;

StatCaps[6] Source code

var config int StatCaps[6];

SuperAmmoClassNames Source code

var config array<name> SuperAmmoClassNames;

TotalModifierChance Source code

var int TotalModifierChance;

VampireMarkers Source code

var array<VampireMarker> VampireMarkers;

Version Source code

var config int Version;

WeaponModifierChance Source code

var config float WeaponModifierChance;

WeaponModifiers Source code

var config array<WeaponModifier> WeaponModifiers;


Structures Detail

WeaponModifier Source code

struct WeaponModifier
{
var int Chance;
var class<RPGWeapon> WeaponClass;
};



Functions Detail

BotLevelUp Source code

function BotLevelUp ( Bot B, RPGPlayerDataObject Data )

CheckLevelUp Source code

function CheckLevelUp ( RPGPlayerDataObject data, PlayerReplicationInfo MessagePRI )

CheckReplacement Source code

function bool CheckReplacement ( Actor Other, out byte bSuperRelevant )

DriverEnteredVehicle Source code

function DriverEnteredVehicle ( Vehicle V, Pawn P )

DriverLeftVehicle Source code

function DriverLeftVehicle ( Vehicle V, Pawn P )

FillMonsterList Source code

function FillMonsterList ( )

FillPlayInfo Source code

static function FillPlayInfo ( PlayInfo PlayInfo )

FindCurrentLowestLevelPlayer Source code

function FindCurrentLowestLevelPlayer ( )

GetDescriptionText Source code

static function string GetDescriptionText ( string PropName )

GetRandomWeaponModifier Source code

function class<RPGWeapon> GetRandomWeaponModifier ( class<Weapon> WeaponType, Pawn Other )

GetRPGMutator Source code

static final function MutUT2004RPG GetRPGMutator ( GameInfo G )

GetServerDetails Source code

function GetServerDetails ( out GameInfo.ServerResponseLine ServerState )

GetVersion Source code

static final function int GetVersion ( )

IsSuperWeaponAmmo Source code

static final function bool IsSuperWeaponAmmo ( class<Ammunition> AmmoClass )

ModifyPlayer Source code

function ModifyPlayer ( Pawn Other )

Mutate Source code

function Mutate ( string MutateString, PlayerController Sender )

NotifyLogout Source code

function NotifyLogout ( Controller Exiting )

OverrideDownload Source code

event bool OverrideDownload ( string PlayerIP, string PlayerID, string PlayerURL, out string RedirectURL )

PostBeginPlay Source code

function PostBeginPlay ( )

PostLoadSavedGame Source code

event PostLoadSavedGame ( )

PreSaveGame Source code

event PreSaveGame ( )

ReplaceWithActor Source code

function Actor ReplaceWithActor ( actor Other, string aClassName )

SaveData Source code

function SaveData ( )

Tick Source code

simulated function Tick ( float deltaTime )

Timer Source code

function Timer ( )

ValidateData Source code

function ValidateData ( RPGPlayerDataObject Data )


Defaultproperties

defaultproperties
{
     SaveDuringGameInterval=5
     StartingLevel=1
     PointsPerLevel=5
     Levels(1)=15
     Levels(2)=20
     Levels(3)=25
     Levels(4)=30
     Levels(5)=35
     Levels(6)=40
     Levels(7)=45
     Levels(8)=50
     Levels(9)=55
     Levels(10)=60
     Levels(11)=65
     Levels(12)=70
     Levels(13)=75
     Levels(14)=80
     Levels(15)=85
     Levels(16)=90
     Levels(17)=95
     Levels(18)=100
     Levels(19)=105
     Levels(20)=110
     Levels(21)=115
     Levels(22)=120
     Levels(23)=125
     Levels(24)=130
     Levels(25)=135
     Levels(26)=140
     Levels(27)=145
     Levels(28)=150
     InfiniteReqEXPValue=5
     LevelDiffExpGainDiv=2.000000
     MaxLevelupEffectStacking=5
     EXPForWin=50
     BotBonusLevels=4
     StatCaps(0)=1000
     StatCaps(1)=-1
     StatCaps(2)=-1
     StatCaps(3)=-1
     StatCaps(4)=-1
     StatCaps(5)=-1
     Abilities(0)=Class'UT2004RPG.AbilityRegen'
     Abilities(1)=Class'UT2004RPG.AbilityAdrenalineRegen'
     Abilities(2)=Class'UT2004RPG.AbilityAmmoRegen'
     Abilities(3)=Class'UT2004RPG.AbilityCounterShove'
     Abilities(4)=Class'UT2004RPG.AbilityJumpZ'
     Abilities(5)=Class'UT2004RPG.AbilityReduceFallDamage'
     Abilities(6)=Class'UT2004RPG.AbilityRetaliate'
     Abilities(7)=Class'UT2004RPG.AbilitySpeed'
     Abilities(8)=Class'UT2004RPG.AbilityShieldStrength'
     Abilities(9)=Class'UT2004RPG.AbilityNoWeaponDrop'
     Abilities(10)=Class'UT2004RPG.AbilityVampire'
     Abilities(11)=Class'UT2004RPG.AbilityHoarding'
     Abilities(12)=Class'UT2004RPG.AbilityReduceSelfDamage'
     Abilities(13)=Class'UT2004RPG.AbilitySmartHealing'
     Abilities(14)=Class'UT2004RPG.AbilityAirControl'
     Abilities(15)=Class'UT2004RPG.AbilityGhost'
     Abilities(16)=Class'UT2004RPG.AbilityUltima'
     Abilities(17)=Class'UT2004RPG.AbilityAdrenalineSurge'
     Abilities(18)=Class'UT2004RPG.AbilityFastWeaponSwitch'
     Abilities(19)=Class'UT2004RPG.AbilityAwareness'
     Abilities(20)=Class'UT2004RPG.AbilityMonsterSummon'
     WeaponModifierChance=0.500000
     WeaponModifiers(0)=(WeaponClass=Class'UT2004RPG.RW_Healing',Chance=1)
     WeaponModifiers(1)=(WeaponClass=Class'UT2004RPG.RW_Protection',Chance=2)
     WeaponModifiers(2)=(WeaponClass=Class'UT2004RPG.RW_Force',Chance=2)
     WeaponModifiers(3)=(WeaponClass=Class'UT2004RPG.RW_Piercing',Chance=1)
     WeaponModifiers(4)=(WeaponClass=Class'UT2004RPG.RW_Penetrating',Chance=1)
     WeaponModifiers(5)=(WeaponClass=Class'UT2004RPG.RW_Infinity',Chance=1)
     WeaponModifiers(6)=(WeaponClass=Class'UT2004RPG.RW_Damage',Chance=2)
     WeaponModifiers(7)=(WeaponClass=Class'UT2004RPG.RW_NoMomentum',Chance=1)
     WeaponModifiers(8)=(WeaponClass=Class'UT2004RPG.RW_Energy',Chance=1)
     WeaponModifiers(9)=(WeaponClass=Class'UT2004RPG.RW_Luck',Chance=2)
     WeaponModifiers(10)=(WeaponClass=Class'UT2004RPG.RW_Poison',Chance=2)
     Version=22
     bAutoAdjustInvasionLevel=True
     bFakeBotLevels=True
     bUseOfficialRedirect=True
     InvasionAutoAdjustFactor=0.300000
     SuperAmmoClassNames(0)="RedeemerAmmo"
     SuperAmmoClassNames(1)="BallAmmo"
     SuperAmmoClassNames(2)="SCannonAmmo"
     PropsDisplayText(0)="Autosave Interval (seconds)"
     PropsDisplayText(1)="Starting Level"
     PropsDisplayText(2)="Stat Points per Level"
     PropsDisplayText(3)="Divisor to EXP from Level Diff"
     PropsDisplayText(4)="EXP for Winning"
     PropsDisplayText(5)="Fake Bot Levels"
     PropsDisplayText(6)="Reset Player Data Next Game"
     PropsDisplayText(7)="Magic Weapon Chance"
     PropsDisplayText(8)="Magical Starting Weapons"
     PropsDisplayText(9)="No Unidentified Items"
     PropsDisplayText(10)="Auto Adjust Invasion Monster Level"
     PropsDisplayText(11)="Monster Adjustment Factor"
     PropsDisplayText(12)="Max Levelup Effects at Once"
     PropsDisplayText(13)="Stat Caps"
     PropsDisplayText(14)="Infinite Required EXP Operation"
     PropsDisplayText(15)="Infinite Required EXP Value"
     PropsDisplayText(16)="EXP Required for Each Level"
     PropsDisplayText(17)="Allowed Abilities"
     PropsDisplayText(18)="Ironman Mode"
     PropsDisplayText(19)="Use Official Redirect Server"
     PropsDisplayText(20)="Extra Bot Levelups After Match"
     PropsDescText(0)="During the game, all data will be saved every this many seconds."
     PropsDescText(1)="New players start at this Level."
     PropsDescText(2)="The number of stat points earned from a levelup."
     PropsDescText(3)="Lower values = more exp when killing someone of higher level."
     PropsDescText(4)="The EXP gained for winning a match."
     PropsDescText(5)="If checked, bots' data is not saved and instead they are simply given a level near that of the human player(s)."
     PropsDescText(6)="If checked, player data will be reset before the next match begins."
     PropsDescText(7)="Chance of any given weapon having magical properties."
     PropsDescText(8)="If checked, weapons given to players when they spawn can have magical properties."
     PropsDescText(9)="If checked, magical weapons will always be identified."
     PropsDescText(10)="If checked, Invasion monsters' level will be adjusted based on the lowest level player."
     PropsDescText(11)="Invasion monsters will be adjusted based on this fraction of the weakest player's level."
     PropsDescText(12)="The maximum number of levelup particle effects that can be spawned on a character at once."
     PropsDescText(13)="Limit on how high stats can go. Values less than 0 mean no limit. The stats are: 1: Weapon Speed 2: Health Bonus 3: Max Adrenaline 4: Damage Bonus 5: Damage Reduction 6: Max Ammo Bonus"
     PropsDescText(14)="Allows you to make the EXP required for the next level always increase, no matter how high a level you get. This option controls how it increases."
     PropsDescText(15)="Allows you to make the EXP required for the next level always increase, no matter how high a level you get. This option is the value for the previous option's operation."
     PropsDescText(16)="Change the EXP required for each level. Levels after the last in your list will use the last value in the list."
     PropsDescText(17)="Change the list of abilities players can choose from."
     PropsDescText(18)="If checked, only the winning player or team's data is saved - the losers lose the experience they gained that match."
     PropsDescText(19)="If checked, the server will redirect clients to a special official redirect server for UT2004RPG files (all other files will continue to use the normal redirect server, if any)"
     PropsDescText(20)="If Fake Bot Levels is off, bots gain this many extra levels after a match because individual bots don't play often."
     PropsExtras="0;Add Specified Value;1;Add Specified Percent"
     bAddToServerPackages=True
     GroupName="RPG"
     FriendlyName="UT2004 RPG"
     Description="UT2004 with a persistent experience level system, magic weapons, and artifacts."
     bAlwaysRelevant=True
     RemoteRole=ROLE_SimulatedProxy
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:06.968 - Created with UnCodeX