| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
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 | ||
|---|---|---|
![]() | bool | CheckReplacement (Actor Other)) |
![]() | PostBeginPlay ())) | |
| Inherited Functions from UTGame.UTMutator |
|---|
| GetNextUTMutator, MutatorIsAllowed, ProcessSpeechRecognition, ReplaceWith |
| Variables Detail |
|---|
| Structures Detail |
|---|
NewClassPath:fully qualified path of the class to replace it withOldClassName:class name of the weapon we want to get rid of
| Functions Detail |
|---|
CheckReplacement Source code
PostBeginPlay Source code| 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 | UnrealScript Documentation |
| previous class next class | frames no frames | |||||