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

UTGameContent.UTArmorPickup_ShieldBelt

Extends
UTArmorPickupFactory

Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.NavigationPoint
      |   
      +-- Engine.PickupFactory
         |   
         +-- UDKBase.UDKPickupFactory
            |   
            +-- UTGame.UTPickupFactory
               |   
               +-- UTGame.UTItemPickupFactory
                  |   
                  +-- UTGame.UTArmorPickupFactory
                     |   
                     +-- UTGameContent.UTArmorPickup_ShieldBelt

Variables Summary
class<UTDroppedItemPickup>DroppedPickupClass
Inherited Variables from UTGame.UTArmorPickupFactory
ShieldAmount
Inherited Variables from UTGame.UTItemPickupFactory
PickupMessage, PickupSound, RespawnTime, UseHintMessage

Functions Summary
function AddShieldStrength (UTPawn P))
functionint CanUseShield (UTPawn P))
Inherited Functions from UTGame.UTArmorPickupFactory
AddShieldStrength, BotDesireability, CanUseShield, DetourWeight, PostBeginPlay, SpawnCopyFor, UpdateHUD, ValidTouch
Inherited Functions from UTGame.UTItemPickupFactory
BotDesireability, GetLocalString, GetRespawnTime, InitializePickup, SetRespawn, SpawnCopyFor


Variables Detail

DroppedPickupClass Source code

var class<UTDroppedItemPickup> DroppedPickupClass;


Functions Detail

AddShieldStrength Source code

function AddShieldStrength ( UTPawn P) )
AddShieldStrength() add shield to appropriate P armor type. @Param P The UTPawn to give shields to

CanUseShield Source code

function int CanUseShield ( UTPawn P) )
CanUseShield() returns how many shield units P could use @Returns returns how many shield units P could use


Defaultproperties

defaultproperties
{
	ShieldAmount=100
	bIsSuperItem=true
	RespawnTime=60.000000
	MaxDesireability=1.500000
	PickupStatName=PICKUPS_SHIELDBELT
	PickupSound=SoundCue'A_Pickups.Shieldbelt.Cue.A_Pickups_Shieldbelt_Activate_Cue'

	Begin Object Name=ArmorPickUpComp
	    StaticMesh=StaticMesh'Pickups.Armor_ShieldBelt.Mesh.S_UN_Pickups_Shield_Belt'
		Scale3D=(X=1.5,Y=1.5,Z=1.5)
	End Object

	bHasLocationSpeech=true
	LocationSpeech(0)=SoundNodeWave'A_Character_IGMale.BotStatus.A_BotStatus_IGMale_HeadingForTheShieldBelt'

	DroppedPickupClass=class'UTDroppedShieldBelt'

	RespawnSound=SoundCue'A_Pickups.Armor.Cue.A_Pickups_Armor_Respawn_Cue'

	Begin Object Name=BaseMeshComp
		StaticMesh=StaticMesh'Pickups.Base_Armor.Mesh.S_Pickups_Base_Armor'
		Translation=(X=0.0,Y=0.0,Z=-44.0)
	End Object

	Begin Object Class=UTParticleSystemComponent Name=ArmorParticles
		Translation=(X=0.0,Y=0.0,Z=-25.0)
		Template=ParticleSystem'Pickups.Base_Armor.Effects.P_Pickups_Base_Armor_Glow'
		SecondsBeforeInactive=2.0f
	End Object
	SpinningParticleEffects=ArmorParticles
	Components.Add(ArmorParticles)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:59.234 - Created with UnCodeX