Public Member Functions | |
void | Killed (Pawn Killer, Pawn Other, Name DamageType) |
A player was killed. | |
void | AddDefaultInventory (Pawn Other) |
Give inventory to a player. | |
void | MutPreLogin (string Options, out string Error) |
Prelogin for a player. | |
void | MutLogin (string Portal, string Options, out string Error, out class< playerpawn > SpawnClass) |
Login for a player. | |
void | MutPostLogin (Playerpawn NewPlayer) |
PostLogin for a player. | |
void | MutLogout (Pawn Player) |
Logout for a player. | |
bool | RestartPlayer (Pawn aPawn) |
Restart a player. | |
void | ModifyPlayer (pawn aPlayer) |
Modify a player. | |
int | ReduceDamage (int Damage, name DamageType, pawn injured, pawn instigatedBy) |
Reduce inflicted damage. | |
bool | MutEndGame (String Reason) |
The game has ended. | |
bool | MutChangeName (Pawn Other, Out String S, bool bNameChange) |
A player is changing their name. | |
void | MutDiscardInventory (Pawn Other) |
Discard a player's inventory. | |
bool | MutPickupQuery (Pawn Other, Inventory item) |
A player wants to pick up an item. | |
void | Mutate (String Cmd, Pawn Other) |
A player has used Mutate. | |
bool | MutChangeTeam (Pawn Other, Int N) |
A player wants to change teams. | |
void | MutPostChangeTeam (Pawn Other, int N) |
A player has changed teams. | |
bool | MutAllowsBroadCast (Actor Broadcaster, int Len) |
Allow/disallow a broadcast. | |
bool | MutPlayerBroadcastMessage (Pawn Other, Out String Message, Out Name N) |
Allow/disallow a player messgae. | |
EDMMut | NextMutIsEDM () |
Get the next EDMMut. | |
Public Attributes | |
bool | bHUDMutator |
HUD mutator setting. | |
String | HUDMutateClass |
HUD mutator class. | |
class< Template_GameType > | InterpreterClass |
Serverside interpreter class. | |
class< Template_ServerPRIInfo > | ExtraPRIInfoClass |
Serverside information class. |
void Killed | ( | Pawn | Killer, | |
Pawn | Other, | |||
Name | DamageType | |||
) |
A player has been killed.
Killer | The pawn who did the killing, if any | |
Other | The pawn who died | |
DamageType | The name of the type of damage that caused the death |
void AddDefaultInventory | ( | Pawn | Other | ) |
Give inventory to a player when they spawn.
Other | The pawn that is respawning |
void MutPreLogin | ( | string | Options, | |
out string | Error | |||
) |
The prelogin function for when a player connects.
Options | The options string for the connecting player | |
Error | A variable that should be set if any error is detected during the player's prelogin |
void MutLogin | ( | string | Portal, | |
string | Options, | |||
out string | Error, | |||
out class< playerpawn > | SpawnClass | |||
) |
A player is logging in.
Portal | The tag of the teleporter to spawn at, if any | |
Options | The options string of the connecting player | |
Error | A variable that should be set if any error is detected during the player's login | |
SpawnClass | The class that should be used to spawn the player |
void MutPostLogin | ( | Playerpawn | NewPlayer | ) |
A player has reached the PostLogin point.
NewPlayer | The playerpawn that has logged in |
void MutLogout | ( | Pawn | Player | ) |
A player is logging out.
Player | The player that is logging out |
bool RestartPlayer | ( | Pawn | aPawn | ) |
A player is being restarted.
aPawn | The pawn that is being restarted |
void ModifyPlayer | ( | pawn | aPlayer | ) |
Modify a player when they spawn.
aPlayer | The player that is spawning |
int ReduceDamage | ( | int | Damage, | |
name | DamageType, | |||
pawn | injured, | |||
pawn | instigatedBy | |||
) |
Reduce damage that is inflicted on a pawn.
Damage | The amount of damage done | |
DamageType | The type of damage done | |
injured | The pawn that is being damaged | |
instigatedBy | The pawn that is inflicting the damage |
This is called by the gametype's ReduceDamage function
bool MutEndGame | ( | String | Reason | ) |
Called when the game has ended.
Reason | The reason for the game's ending |
This is called by the gametype's EndGame function
bool MutChangeName | ( | Pawn | Other, | |
Out String | S, | |||
bool | bNameChange | |||
) |
Called when a player wants to change their name.
Other | The player that wants to change their name | |
S | The name that they wish to change to | |
bNameChange | Whether this name change was requested by the player. This is true if the player changed their name themselves, and false if the gametype is assigning this name to the player. |
This is called by the gametype's ChangeName function
void MutDiscardInventory | ( | Pawn | Other | ) |
This is called right before a dead player's inventory is discarded.
Other | The pawn who has died |
bool MutPickupQuery | ( | Pawn | Other, | |
Inventory | item | |||
) |
This is called when a pawn attempts to pick up an item.
Other | The pawn that wants to pick up the item | |
item | The item that Other wants to pick up |
void Mutate | ( | String | Cmd, | |
Pawn | Other | |||
) |
This is called when a player uses the Mutate command.
Cmd | The command that has been used with Mutate | |
Other | The player that typed the command |
bool MutChangeTeam | ( | Pawn | Other, | |
Int | N | |||
) |
Called when a player wants to change teams.
Other | The player that wants to change teams | |
N | The index of the team the player wishes to change to |
void MutPostChangeTeam | ( | Pawn | Other, | |
int | N | |||
) |
Called after a player successfully changes teams.
Other | The player who has changed teams | |
N | The index of the team the player has changed to |
bool MutAllowsBroadCast | ( | Actor | Broadcaster, | |
int | Len | |||
) |
Called when a player wishes to broadcast a message.
Broadcaster | The actor (player) that wishes to broadcast a message | |
Len | The length of the message they wish to broadcast |
bool MutPlayerBroadcastMessage | ( | Pawn | Other, | |
Out String | Message, | |||
Out Name | N | |||
) |
Called when a player speaks using Say, TeamSay, PS or SpecSay.
Other | The player that is speaking | |
Message | The message that they are saying | |
N | The type of message that is being spoken |
EDMMut NextMutIsEDM | ( | ) |
bool bHUDMutator |
Set to true if this mutator has an accompanying HUD mutator.
String HUDMutateClass |
If this mutator has an accompanying HUD mutator, this should be set to the class of that HUD mutator. This setting is a string because it should be possible for the mutator author to make a serverside mutator that does not depend on its clientside mutator.
A class that will be responsible for interpreting all replicated playerpawn functions. This setting is intended for very HEAVY mods and will most likely not need to be used.
A class that can be used to store additional serverside-only information about a particular player. This can be none if you don't need to store any additional player-specific information.