I'm a doctor, not a mechanic
Difference between revisions of "UE3:UTAmmoPickupFactory (UT3)"
(Auto-generated page) |
(Talk) |
||
Line 37: | Line 37: | ||
| {{tl|Components||Actor internal variables}}[4] | | {{tl|Components||Actor internal variables}}[4] | ||
| {{cl|StaticMeshComponent}}'{{tl|AmmoMeshComp}}' | | {{cl|StaticMeshComponent}}'{{tl|AmmoMeshComp}}' | ||
+ | |- | ||
+ | | {{tl|MaxDesireability||PickupFactory}} | ||
+ | | 0.2 | ||
|- | |- | ||
| {{tl|PickupMessage||UTItemPickupFactory}} | | {{tl|PickupMessage||UTItemPickupFactory}} | ||
− | | " | + | | "Ammo" |
|- | |- | ||
| {{tl|RespawnSound||UTPickupFactory}} | | {{tl|RespawnSound||UTPickupFactory}} | ||
Line 103: | Line 106: | ||
|- | |- | ||
| {{tl|Scale||PrimitiveComponent properties}} | | {{tl|Scale||PrimitiveComponent properties}} | ||
− | | 1. | + | | 1.8 |
|} | |} | ||
Line 123: | Line 126: | ||
|- | |- | ||
| CollisionHeight | | CollisionHeight | ||
− | | 9. | + | | 9.6 |
|- | |- | ||
| CollisionRadius | | CollisionRadius |
Latest revision as of 07:40, 23 May 2008
Object >> Actor >> NavigationPoint >> PickupFactory >> UTPickupFactory >> UTItemPickupFactory >> UTAmmoPickupFactory |
Contents
- Package:
- UTGame
- Direct subclasses:
- UTAmmo_BioRifle_Content, UTAmmo_Enforcer, UTAmmo_AVRiL, UTAmmo_BioRifle, UTAmmo_FlakCannon, UTAmmo_LinkGun, UTAmmo_RocketLauncher, UTAmmo_ShockRifle, UTAmmo_SniperRifle, UTAmmo_Stinger
- This class in other games:
- UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties[edit]
AmmoAmount[edit]
Type: int
The amount of ammo to give
TargetWeapon[edit]
The class of the weapon this ammo is for.
TransformedClass[edit]
Type: class<UTAmmoPickupFactory>
Modifiers: repnotify
set when TransformAmmoType() has been called on this ammo pickup to transform it into a different kind, to notify clients
Default values[edit]
Property | Value |
---|---|
Components[4] | StaticMeshComponent'AmmoMeshComp' |
MaxDesireability | 0.2 |
PickupMessage | "Ammo" |
RespawnSound | SoundCue'A_Pickups.Ammo.Cue.A_Pickup_Ammo_Respawn_Cue' |
Subobjects[edit]
AmmoMeshComp[edit]
Class: Engine.StaticMeshComponent
Property | Value | ||||||
---|---|---|---|---|---|---|---|
bCastDynamicShadow | False | ||||||
bForceDirectLightMap | True | ||||||
BlockActors | False | ||||||
BlockNonZeroExtent | False | ||||||
BlockRigidBody | False | ||||||
BlockZeroExtent | False | ||||||
bUseAsOccluder | False | ||||||
CachedCullDistance | 4000.0 | ||||||
CastShadow | False | ||||||
CollideActors | False | ||||||
CullDistance | 4000.0 | ||||||
LightEnvironment | DynamicLightEnvironmentComponent'UTGame.Default__UTAmmoPickupFactory:PickupLightEnvironment' | ||||||
LightingChannels |
|
||||||
Scale | 1.8 |
BaseMeshComp[edit]
Class: Engine.StaticMeshComponent
Inherits from: UTItemPickupFactory.BaseMeshComp
No new values.
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: UTItemPickupFactory.CollisionCylinder
Property | Value |
---|---|
CollisionHeight | 9.6 |
CollisionRadius | 24.0 |
PathRenderer[edit]
Class: Engine.PathRenderingComponent
Inherits from: UTItemPickupFactory.PathRenderer
No new values.
PickupLightEnvironment[edit]
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: UTItemPickupFactory.PickupLightEnvironment
No new values.
Functions[edit]
Static functions[edit]
UpdateHUD[edit]
Overrides: UTPickupFactory.UpdateHUD
Native functions[edit]
TransformAmmoType[edit]
transforms this ammo into the specified kind of ammo the native implementation copies pickup related properties from NewAmmoClass but if an ammo class implements special code functionality, that might not work so you can override this and simply spawn a new pickup factory instead
Parameters:
- NewAmmoClass - the kind of ammo to emulate
Events[edit]
ReplicatedEvent[edit]
Overrides: UTPickupFactory.ReplicatedEvent
Look for changes in bPulseBase or bPickupHidden and set the TargetEmissive accordingly
Other instance functions[edit]
BotDesireability[edit]
Overrides: UTItemPickupFactory.BotDesireability
SpawnCopyFor[edit]
Overrides: UTItemPickupFactory.SpawnCopyFor
Give the benefit of this pickup to the recipient
States[edit]
Pickup[edit]
Inherits from: UTPickupFactory.Pickup
Modifiers: auto
Pickup.DetourWeight[edit]
Overrides: PickupFactory.Pickup.DetourWeight
Pickup.ValidTouch[edit]
Overrides: PickupFactory.Pickup.ValidTouch