I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:U2PawnAdvanced (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn >> U2PawnBase >> U2PawnBasic >> U2PawnAdvanced
Package: 
U2AI
Direct subclasses:
U2MercJapMedium, TestDB, TestNPC, U2Civilian, U2Izarian, U2MarineLight, U2MarineMedium, U2MercFemLight, U2MercFemMedium, U2MercJapLight, U2PawnHeavyHuman, U2Player, U2SpecialCivilian

U2PawnAdvanced.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/13/02 2:28a $ $Revision: 49 $

Properties[edit]

Property group 'AI'[edit]

DisabledAltFireWeapons[edit]

Type: array<name>


Default value, index 0: weaponInvDispersion

Default value, index 1: weaponInvFlamethrower

Default value, index 2: weaponInvShotgun

Default value, index 3: weaponInvSniperRifle

DisabledFireWeapons[edit]

Type: array<name>

weapons which NPC can't fire

Default values[edit]

Property Value
AttackActiveCantReachBehaviors[0]
Member Value
Odds 1.0
StateName 'AttackStationary'
TimeMax 5.0
TimeMin 1.0
AttackActiveCantReachBehaviors[1]
Member Value
Odds 1.0E-6
StateName 'AttackTacticalMove'
TimeMax 1.0
TimeMin 0.5
bAlertOthersRequiresLOS False
bCanAdjustStationaryPosition True
bCanCrouch True
bCanDoSpecial True
bCanOpenDoors True
bDistressedWandering False
bHasRangedAttack True
bHeadTrackingEnabled True
bMonitorStanceRanges True
bScaleRotationRates True
bSpecialHardLandings True
bWeaponAimingEnabled True
ControllerClass Class'U2AI.U2NPCControllerAdvanced'
CosMinMoveBackAngle 0.866
CosMinMoveForwardAngle 0.866
DamageFilterClass Class'U2.DamageFilterFlesh'
DefaultWeapon "U2Weapons.weaponInvDispersion"
FireCheckFailedRate 0.25
FireFastDuration 3.0
FireFastPauseTime 0.5
FireSlowPauseTime 0.0
Health 75
Melee01MaxDamage 50
Melee01MomentumPerUnitDamage 1000
Melee02MaxDamage 50
Melee02MomentumPerUnitDamage 1000
Melee03MaxDamage 50
Melee03MomentumPerUnitDamage 1000
MeleeDamageRangeMultiplier 1.1
MeleeDamageXMPPawnMultiplier 5.0
RotationRate
Member Value
Yaw 20000
RotationRateYawEnemy 48000
RotationRateYawEnemySeen 65536
SightRadiusFriend 1024.0
SightRadiusFriendAlert 2500.0
TacticalMoveFallbackOdds 1.0
TacticalMoveType TMT_Serpentine
WalkingAnims[0]
Member Value
WalkingAnimType WAT_WalkSlow
WalkingAnims[1]
Member Value
MinSpeed 0.125
WalkingAnimType WAT_WalkFast
WalkingAnims[2]
Member Value
MinSpeed 0.45
WalkingAnimType WAT_RunSlow
WalkingAnims[3]
Member Value
MinSpeed 0.725
WalkingAnimType WAT_RunFast
WanderPauseMax 3.0
WanderPauseMin 1.0
WanderPauseOdds 0.1
WanderSpreadAngle 45.0
WanderViewBlockedTurnOdds 0.9