Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE1:Cow (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Pawn >> ScriptedPawn >> Cow
Package: 
UnrealShare
Direct subclass:
BabyCow
This class in other games:
RTNP, UT

Cow.

Properties

Property group 'Cow'

bHasBaby

Type: bool


bStayClose

Type: bool


Default value: True

WanderRadius

Type: float


Default value: 500.0

Property group 'Sounds'

footstep

Type: Sound


Default value: Sound'UnrealShare.Cow.walkC'

shake

Type: Sound


Default value: Sound'UnrealShare.Cow.shakeC'

swish

Type: Sound


Default value: Sound'UnrealShare.Cow.swishC'

Internal variables

baby

Type: BabyCow


bForage

Type: bool


ScaryGuy

Type: Pawn


StartLocation

Type: Object.Vector


VoicePitch

Type: float


Default values

Property Value
Acquire Sound'UnrealShare.Cow.cMoo1c'
Aggressiveness 0.5
AmbientSound Sound'UnrealShare.Cow.ambCow'
AttitudeToPlayer ATTITUDE_Ignore
bHasRangedAttack True
bIsWuss True
CarcassType Class'UnrealShare.CowCarcass'
CollisionHeight 32.0
CollisionRadius 48.0
CombatStyle -1.0
Die Sound'UnrealShare.Cow.DeathC1c'
DrawType DT_Mesh
GroundSpeed 180.0
Health 60
HearingThreshold 0.7
HitSound1 Sound'UnrealShare.Cow.injurC1c'
HitSound2 Sound'UnrealShare.Cow.injurC2c'
Intelligence BRAINS_REPTILE
JumpZ -1.0
Mass 120.0
MaxStepHeight 17.0
Mesh LodMesh'UnrealShare.NaliCow'
Orders 'Grazing'
PeripheralVision -10.0
Roam Sound'UnrealShare.Cow.cMoo2c'
RotationRate
Member Value
Pitch 2048
Roll 0
Yaw 30000
SightRadius 1500.0
Threaten Sound'UnrealShare.Cow.cMoo2c'
UnderWaterTime 40.0
WaterSpeed 100.0

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


Other instance functions

AttitudeToCreature

function Pawn.EAttitude AttitudeToCreature (Pawn Other)

Overrides: ScriptedPawn.AttitudeToCreature


AttitudeWithFear

function Pawn.EAttitude AttitudeWithFear ()

Overrides: ScriptedPawn.AttitudeWithFear


Help

function Help (Cow Other)


PlayChallenge

function PlayChallenge ()

Overrides: ScriptedPawn.PlayChallenge


PlayDying

function PlayDying (name DamageType, Object.Vector HitLocation)

Overrides: Pawn.PlayDying


PlayInAir

function PlayInAir ()

Overrides: Pawn.PlayInAir


PlayLanded

function PlayLanded (float impactVel)

Overrides: Pawn.PlayLanded


PlayPatrolStop

function PlayPatrolStop ()

Overrides: Pawn.PlayPatrolStop


PlayRangedAttack

function PlayRangedAttack ()

Overrides: ScriptedPawn.PlayRangedAttack


PlayRunning

function PlayRunning ()

Overrides: Pawn.PlayRunning


PlayTakeHit

function PlayTakeHit (float tweentime, Object.Vector HitLoc, int damage)

Overrides: Pawn.PlayTakeHit


PlayThreatening

function PlayThreatening ()

Overrides: Pawn.PlayThreatening


PlayTurning

function PlayTurning ()

Overrides: Pawn.PlayTurning


PlayVictoryDance

function PlayVictoryDance ()

Overrides: Pawn.PlayVictoryDance


PlayWaiting

function PlayWaiting ()

Overrides: Pawn.PlayWaiting


PlayWaitingAmbush

function PlayWaitingAmbush ()

Overrides: Pawn.PlayWaitingAmbush


PlayWalking

function PlayWalking ()

Overrides: Pawn.PlayWalking


Step

function Step ()


TweenToFalling

function TweenToFalling ()

Overrides: Pawn.TweenToFalling


TweenToFighter

function TweenToFighter (float tweentime)

Overrides: Pawn.TweenToFighter


TweenToPatrolStop

function TweenToPatrolStop (float tweentime)

Overrides: Pawn.TweenToPatrolStop


TweenToRunning

function TweenToRunning (float tweentime)

Overrides: Pawn.TweenToRunning


TweenToWaiting

function TweenToWaiting (float tweentime)

Overrides: Pawn.TweenToWaiting


TweenToWalking

function TweenToWalking (float tweentime)

Overrides: Pawn.TweenToWalking


States

Grazing

Grazing.AnimEnd

event AnimEnd ()

Overrides: Actor.AnimEnd (global)


Grazing.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Grazing.Bump

event Bump (Actor Other)

Overrides: ScriptedPawn.Bump (global)


Grazing.EndState

event EndState ()

Overrides: Object.EndState (global)


Grazing.SeePlayer

event SeePlayer (Actor SeenPlayer)

Overrides: ScriptedPawn.SeePlayer (global)


Grazing.TakeDamage

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)

Overrides: Pawn.TakeDamage (global)


Grazing.timer

event timer ()

Overrides: Actor.Timer (global)


Grazing.EnemyAcquired

function EnemyAcquired ()

Overrides: ScriptedPawn.EnemyAcquired (global)


Grazing.Help

function Help (Cow Other)

Overrides: Help (global)


Grazing.PickDestination

function PickDestination ()


Grazing.SetFall

function SetFall ()

Overrides: ScriptedPawn.SetFall (global)


Grazing.SetTurn

function SetTurn ()


Grazing.TestDirection

function bool TestDirection (Object.Vector dir, out Object.Vector pick, bool bAlongWall)