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

UTGame.UTAmmoPickupFactory

Extends
UTItemPickupFactory
Modifiers
ClassGroup ( Pickups , Ammo ) abstract

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

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.NavigationPoint
      |   
      +-- Engine.PickupFactory
         |   
         +-- UDKBase.UDKPickupFactory
            |   
            +-- UTGame.UTPickupFactory
               |   
               +-- UTGame.UTItemPickupFactory
                  |   
                  +-- UTGame.UTAmmoPickupFactory

Direct Known Subclasses:

UTAmmo_LinkGun, UTAmmo_RocketLauncher, UTAmmo_ShockRifle

Variables Summary
intAmmoAmount
class<UTWeapon>TargetWeapon
Inherited Variables from UTGame.UTItemPickupFactory
PickupMessage, PickupSound, RespawnTime, UseHintMessage
Inherited Variables from UTGame.UTPickupFactory
bHasLocationSpeech, LastSeekNotificationTime, LightEnvironment, LocationSpeech, PickupReadySound, PickupStatName, PickUpWaveForm, RespawnSound, TeamOwner[4]

Functions Summary
functionfloat BotDesireability (Pawn P, Controller C))
functionfloat DetourWeight (Pawn P, loat PathWeight))
Pickup
function SpawnCopyFor (Pawn Recipient ))
function UpdateHUD (UTHUD H))
functionbool ValidTouch (Pawn Other ))
Pickup
Inherited Functions from UTGame.UTItemPickupFactory
BotDesireability, GetLocalString, GetRespawnTime, InitializePickup, SetRespawn, SpawnCopyFor
Inherited Functions from UTGame.UTPickupFactory
BeginState, BotDesireability, DisablePickup, EndState, GetPickupStatName, InitPickupMeshEffects, PickedUpBy, PostBeginPlay, PulseThresholdMet, ReplicatedEvent, RespawnEffect, SetInitialState, SetPickupHidden, SetPickupMesh, SetPickupVisible, SetResOut, ShouldCamp, ShutDown, StartPulse, StopsProjectile, UpdateHUD

States Summary
Pickup Source code
auto state Pickup
DetourWeight, ValidTouch


Variables Detail

AmmoAmount Source code

var int AmmoAmount;
The amount of ammo to give

TargetWeapon Source code

var class<UTWeapon> TargetWeapon;
The class of the weapon this ammo is for.


Functions Detail

BotDesireability Source code

function float BotDesireability ( Pawn P, Controller C) )

DetourWeight Pickup Source code

function float DetourWeight ( Pawn P,float PathWeight) )

SpawnCopyFor Source code

function SpawnCopyFor ( Pawn Recipient ) )

UpdateHUD Source code

simulated static function UpdateHUD ( UTHUD H) )

ValidTouch Pickup Source code

function bool ValidTouch ( Pawn Other ) )


Defaultproperties

defaultproperties
{
	RespawnSound=SoundCue'A_Pickups.Ammo.Cue.A_Pickup_Ammo_Respawn_Cue'

	MaxDesireability=+00000.200000

	Begin Object Name=CollisionCylinder
		CollisionRadius=24.0
		CollisionHeight=9.6
	End Object

	Begin Object Class=StaticMeshComponent Name=AmmoMeshComp
	    CastShadow=FALSE
		bCastDynamicShadow=FALSE
		bAcceptsLights=TRUE
		bForceDirectLightMap=TRUE
		LightingChannels=(BSP=TRUE,Dynamic=FALSE,Static=TRUE,CompositeDynamic=TRUE)
		LightEnvironment=PickupLightEnvironment
		CollideActors=false
		BlockActors = false
		BlockZeroExtent=false
		BlockNonZeroExtent=false
		BlockRigidBody=false
		Scale=1.8
		MaxDrawDistance=4000
	End Object
	PickupMesh=AmmoMeshComp
	Components.Add(AmmoMeshComp)
}

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