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

UTGame.UTMutator_WeaponReplacement

Extends
UTMutator
Modifiers
config ( Game )

replaces weapons with other weapons (including ammo) Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.Mutator
         |   
         +-- UTGame.UTMutator
            |   
            +-- UTGame.UTMutator_WeaponReplacement

Variables Summary
array<ReplacementInfo>AmmoToReplace
array<ReplacementInfo>WeaponsToReplace
Inherited Variables from UTGame.UTMutator
bExportMenuData
Inherited Variables from Engine.Mutator
bUserAdded, GroupNames, NextMutator

Structures Summary
ReplacementInfo
OldClassName, NewClassPath

Functions Summary
functionbool CheckReplacement (Actor Other))
function PostBeginPlay ()))
Inherited Functions from UTGame.UTMutator
GetNextUTMutator, MutatorIsAllowed, ProcessSpeechRecognition, ReplaceWith
Inherited Functions from Engine.Mutator
AddMutator, AllowBecomeActivePlayer, AllowBecomeSpectator, AllowChangeTeam, AlwaysKeep, CanLeaveVehicle, CheckRelevance, CheckReplacement, Destroyed, DriverEnteredVehicle, DriverLeftVehicle, GetSeamlessTravelActorList, GetServerDetails, GetServerPlayers, InitMutator, IsRelevant, ModifyLogin, ModifyPlayer, Mutate, MutatorIsAllowed, NotifyBecomeActivePlayer, NotifyBecomeSpectator, NotifyLogin, NotifyLogout, NotifySetTeam, ParseChatPercVar, PreBeginPlay


Variables Detail

AmmoToReplace Source code

var config array<ReplacementInfo> AmmoToReplace;

WeaponsToReplace Source code

var config array<ReplacementInfo> WeaponsToReplace;


Structures Detail

ReplacementInfo Source code

struct ReplacementInfo
{
var string NewClassPath;
var name OldClassName;
};

NewClassPath:
fully qualified path of the class to replace it with
OldClassName:
class name of the weapon we want to get rid of


Functions Detail

CheckReplacement Source code

function bool CheckReplacement ( Actor Other) )

PostBeginPlay Source code

function PostBeginPlay ( ) )


Defaultproperties

defaultproperties
{
   WeaponsToReplace(0)=(OldClassName="UTWeap_LinkGun",NewClassPath="UTGameContent.UTWeap_BioRifle_Content")
   WeaponsToReplace(1)=(OldClassName="UTWeap_FlakCannon",NewClassPath="UTGameContent.UTWeap_BioRifle_Content")
   AmmoToReplace(0)=(OldClassName="UTAmmo_FlakCannon",NewClassPath="UTGameContent.UTAmmo_BioRifle_Content")
   AmmoToReplace(1)=(OldClassName="UTAmmo_LinkGun",NewClassPath="UTGameContent.UTAmmo_BioRifle_Content")
   GroupNames(0)="WEAPONMOD"
   Begin Object Class=SpriteComponent Name=Sprite ObjName=Sprite Archetype=SpriteComponent'UTGame.Default__UTMutator:Sprite'
      ObjectArchetype=SpriteComponent'UTGame.Default__UTMutator:Sprite'
   End Object
   Components(0)=Sprite
   Name="Default__UTMutator_WeaponReplacement"
   ObjectArchetype=UTMutator'UTGame.Default__UTMutator'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:53.874 - Created with UnCodeX