I'm a doctor, not a mechanic
UE2:U2PawnBasic (U2XMP)
Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn >> U2PawnBase >> U2PawnBasic |
Contents
- 1 Properties
- 1.1 Property group 'AI'
- 1.1.1 AttackActiveBehaviors
- 1.1.2 AttackActiveCantReachBehaviors
- 1.1.3 AttackActiveEnemyNotVisibleBehaviors
- 1.1.4 AttackActiveMeleeBehaviors
- 1.1.5 AttackActiveMeleeHitBehaviors
- 1.1.6 AttackActiveUseCoverBehaviors
- 1.1.7 AttackPassiveBehaviors
- 1.1.8 AttackPassiveCantReachBehaviors
- 1.1.9 AttackPassiveEnemyNotVisibleBehaviors
- 1.1.10 AttackPassiveMeleeBehaviors
- 1.1.11 AttackPassiveMeleeHitBehaviors
- 1.1.12 AttackPassiveUseCoverBehaviors
- 1.1.13 bForceRanges
- 1.1.14 bIgnoreRelativeHealth
- 1.1.15 DefaultLookedAtCos
- 1.1.16 FireOffset
- 1.1.17 RangedProjectileClass
- 1.1.18 RangeIdealAttack
- 1.1.19 RangeMaxAttackMobile
- 1.1.20 RangeMaxAttackMobileNoLOS
- 1.1.21 RangeMaxAttackStationary
- 1.1.22 RangeMaxAttackStationaryNoLOS
- 1.1.23 RangeMinAttack
- 1.2 Internal variables
- 1.3 Default values
- 1.1 Property group 'AI'
- 2 Structs
- 3 Functions
- 3.1 Events
- 3.2 Other instance functions
- 3.2.1 FilterMeleeAttack
- 3.2.2 FireAtEnemy
- 3.2.3 GetFireOffset
- 3.2.4 GetMeleeDamageRange
- 3.2.5 GetMeleeMomentumNormal
- 3.2.6 GetWeaponAnimationTypeW
- 3.2.7 HandleAcquireEnemySound
- 3.2.8 HandleLeapImpactSound
- 3.2.9 HandleLeapLandSound
- 3.2.10 HandleMiscSound
- 3.2.11 HandleSpawnShot
- 3.2.12 MeleeDamagedTarget
- 3.2.13 MeleeDamageTarget
- 3.2.14 NotifyImpale
- 3.2.15 NotifyLeapBegin
- 3.2.16 NotifyMelee01
- 3.2.17 NotifyMelee02
- 3.2.18 NotifyMelee03
- 3.2.19 NotifyMeleeBegin
- 3.2.20 NotifyMeleeMotionSound
- 3.2.21 NotifyStay01
- 3.2.22 NotifyUnImpale
- 3.2.23 RestoreSightRadius
- 3.2.24 SetSightRadius
- 3.2.25 SpawnShot
- 3.2.26 UpdateAttackRanges
- Package:
- U2AI
- Direct subclasses:
- U2SeagoatStowaway, U2Seagoat, U2AraknidBase, U2DrakkBoss, U2DrakkBossUpper, U2DrakkDroid, U2DrakkLight, U2DrakkMedium, U2FlyingSnake, U2KaiBase, U2KillerTadpole, U2Mukhogg, U2Parata, U2PawnAdvanced, U2Rammer, U2ShianWarrior, U2ShianWorker, U2SkaarjBase, U2Snipe, U2Tosc, U2Uglyfish
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. |
U2PawnBasic.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/18/02 4:50p $ $Revision: 95 $
Properties[edit]
Property group 'AI'[edit]
AttackActiveBehaviors[edit]
Modifiers: editconst
Default value:
Member | Value |
---|---|
Odds | 1.0 |
StateName | 'AttackClose' |
TimeMax | 4.0 |
TimeMin | 4.0 |
AttackActiveCantReachBehaviors[edit]
Modifiers: editconst
Default value, index 0:
Member | Value |
---|---|
Odds | 1.0 |
StateName | 'AttackStationary' |
TimeMax | 3.0 |
TimeMin | 3.0 |
Default value, index 1:
Member | Value |
---|---|
Odds | 1.0 |
StateLabel | 'DontClose' |
StateName | 'AttackTacticalMove' |
TimeMax | 2.0 |
TimeMin | 2.0 |
AttackActiveEnemyNotVisibleBehaviors[edit]
Modifiers: editconst
Default value:
Member | Value |
---|---|
Odds | 1.0 |
StateName | 'AttackHunt' |
TimeMax | 20.0 |
TimeMin | 20.0 |
AttackActiveMeleeBehaviors[edit]
Modifiers: editconst
Default value:
Member | Value |
---|---|
StateName | 'AttackMelee' |
TimeMax | 3.0 |
TimeMin | 3.0 |
AttackActiveMeleeHitBehaviors[edit]
Modifiers: editconst
AttackActiveUseCoverBehaviors[edit]
Modifiers: editconst
AttackPassiveBehaviors[edit]
Modifiers: editconst
Default value, index 0:
Member | Value |
---|---|
Odds | 0.4 |
StateName | 'AttackMoveToCoverCombat' |
TimeMax | 7.0 |
TimeMin | 7.0 |
Default value, index 1:
Member | Value |
---|---|
Odds | 0.06 |
StateName | 'AttackStationary' |
TimeMax | 3.0 |
TimeMin | 1.0 |
Default value, index 2:
Member | Value |
---|---|
Odds | 0.24 |
StateName | 'AttackFallback' |
TimeMax | 7.0 |
TimeMin | 2.5 |
AttackPassiveCantReachBehaviors[edit]
Modifiers: editconst
Default value, index 0:
Member | Value |
---|---|
Odds | 0.5 |
StateName | 'AttackStationary' |
TimeMin | 1.0 |
Default value, index 1:
Member | Value |
---|---|
Odds | 1.0 |
StateName | 'AttackFallback' |
TimeMax | 7.0 |
TimeMin | 2.0 |
AttackPassiveEnemyNotVisibleBehaviors[edit]
Modifiers: editconst
Default value:
Member | Value |
---|---|
Odds | 1.0 |
StateName | 'AttackFallback' |
TimeMax | 20.0 |
TimeMin | 20.0 |
AttackPassiveMeleeBehaviors[edit]
Modifiers: editconst
Default value, index 0:
Member | Value |
---|---|
StateName | 'AttackMelee' |
TimeMax | 2.0 |
TimeMin | 1.0 |
Default value, index 1:
Member | Value |
---|---|
StateName | 'AttackFallback' |
TimeMax | 5.0 |
TimeMin | 2.0 |
AttackPassiveMeleeHitBehaviors[edit]
Modifiers: editconst
AttackPassiveUseCoverBehaviors[edit]
Modifiers: editconst
Default value, index 0:
Member | Value |
---|---|
StateName | 'AttackStakeOutCover' |
TimeMax | 5.0 |
TimeMin | 2.0 |
Default value, index 1:
Member | Value |
---|---|
StateName | 'AttackRecoverEnemy' |
TimeMax | 4.0 |
TimeMin | 2.0 |
Default value, index 2:
Member | Value |
---|---|
StateName | 'AttackStationary' |
TimeMax | 4.0 |
TimeMin | 1.0 |
Default value, index 3:
Member | Value |
---|---|
StateName | 'AttackFallback' |
TimeMax | 20.0 |
TimeMin | 10.0 |
Default value, index 4:
Member | Value |
---|---|
StateName | 'AttackMoveToCoverCombat' |
TimeMax | 7.0 |
TimeMin | 7.0 |
bForceRanges[edit]
Type: bool
2002.12.15 hack to *force* NPCs to not fire outside min/max ranges
bIgnoreRelativeHealth[edit]
Type: bool
2002.12.15 (mdf) McMillan hack?
DefaultLookedAtCos[edit]
Type: float
cos of default fov angle to use when checking for LOS for ranged attack range
FireOffset[edit]
Type: Object.Vector
RangedProjectileClass[edit]
Type: class<Projectile>
RangeIdealAttack[edit]
Type: float
ideal attack range to target (NPC will try to maintain this distance)
RangeMaxAttackMobile[edit]
Type: float
max attack range to target if NPC can move
Default value: 65535.0
RangeMaxAttackMobileNoLOS[edit]
Type: float
max attack range to target if NPC can move and enemy can't see NPC (sneak in)
Default value: 65535.0
RangeMaxAttackStationary[edit]
Type: float
max attack range to target if NPC can't move
Default value: 65535.0
RangeMaxAttackStationaryNoLOS[edit]
Type: float
Default value: 65535.0
RangeMinAttack[edit]
Type: float
min attack range to target
Internal variables[edit]
See U2PawnBasic internal variables.
Default values[edit]
Property | Value |
---|---|
bAmbientCreature | False |
bCanKnockDown | True |
bSentient | True |
ControllerClass | Class'U2AI.U2NPCControllerBasic' |
MinKnockDownMomentumThreshold | 200.0 |
WanderSpeedMax | 1.5 |
WanderViewBlockedTurnOdds | 0.5 |
Structs[edit]
BehaviorT[edit]
- name StateName
- destination state
- name StateLabel
- destination label within destination state (optional)
- float Odds
- odds for state relative to other states in the list (0.0 ==> cycled)
- float EntryOdds
- if set (not 0.0) ==> odds used when entering metastate (from a different state), (< 0.0 ==> don't use)
- float TimeMin
- min time state will be maintained before reevaluating (unless situation changes)
- float TimeMax
- max time state will be maintained before reevaluating (unless situation changes)
- bool bDisabled
- disabled (by default or internally)
- bool bAvoidRepeat
- if true, state won't be re-selected 2x in a row if there is an alternative state
- float EnableTime
- can be set in-game to Level.TimeSeconds + X to disable that behavior temporarily
- float LowOddsTime
- used to temporarily make odds of behavior being used very low for a period of time
Functions[edit]
Events[edit]
PostBeginPlay[edit]
Overrides: U2PawnBase.PostBeginPlay
Other instance functions[edit]
FilterMeleeAttack[edit]
FireAtEnemy[edit]
GetFireOffset[edit]
GetMeleeDamageRange[edit]
GetMeleeMomentumNormal[edit]
GetWeaponAnimationTypeW[edit]
Overrides: U2Pawn.GetWeaponAnimationTypeW
HandleAcquireEnemySound[edit]
HandleLeapImpactSound[edit]
HandleLeapLandSound[edit]
HandleMiscSound[edit]
HandleSpawnShot[edit]
MeleeDamagedTarget[edit]
MeleeDamageTarget[edit]
NotifyImpale[edit]
NotifyLeapBegin[edit]
NotifyMelee01[edit]
NotifyMelee02[edit]
NotifyMelee03[edit]
NotifyMeleeBegin[edit]
NotifyMeleeMotionSound[edit]
NotifyStay01[edit]
NotifyUnImpale[edit]
RestoreSightRadius[edit]
Overrides: U2Pawn.RestoreSightRadius
SetSightRadius[edit]
Overrides: Pawn.SetSightRadius