1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFAIController_ZedClot_Alpha.uc

126 lines
7.1 KiB
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFAIController_ZedClot_Alpha
//=============================================================================
// Alpha clot AI controller
//=============================================================================
// Killing Floor 2
// Copyright (C) 2016 Tripwire Interactive LLC
//=============================================================================
class KFAIController_ZedClot_Alpha extends KFAIController_ZedClot;
DefaultProperties
{
// ---------------------------------------------
// AI / Navigation
SprintWithinEnemyRange=(X=520.f,Y=1200.f)
EvadeGrenadeChance=0.75f
RunOverEvadeDelayScale=0.5f
// ---------------------------------------------
// Combat
bIsProbingMeleeRangeEvents=true
StrikeRangePercentage=0.6
// ---------------------------------------------
// Danger Evasion Settings
DangerEvadeSettings.Empty
DangerEvadeSettings(0)={(ClassName="KFProj_Bullet_Pellet",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.00))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(1)={(ClassName="KFProj_Nail_Nailgun",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.00))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(2)={(ClassName="KFProj_Bullet_DragonsBreath",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.00))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(3)={(ClassName="KFProj_HighExplosive_M79",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(4)={(ClassName="KFProj_HighExplosive_M32",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(5)={(ClassName="KFProj_Rocket_RPG7",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.6, 0.5, 0.3, 0.2),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.2), (X=0.0, Y=0.0), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
//shooting fire
DangerEvadeSettings(6)={(ClassName="KFProj_CaulkNBurn_GroundFire",
Cooldowns=(3.0, 1.0, 1.0, 1.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(7)={(ClassName="KFProj_FlameThrower_GroundFire",
Cooldowns=(3.0, 1.0, 1.0, 1.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(8)={(ClassName="KFWeap_Flame_CaulkBurn",
Cooldowns=(2.5, 2.5, 2.5, 2.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(9)={(ClassName="KFWeap_Flame_Flamethrower",
Cooldowns=(2.5, 2.5, 2.5, 2.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(10)={(ClassName="KFWeap_Beam_Microwave",
Cooldowns=(2.5, 2.5, 2.5, 2.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
//Grenades
DangerEvadeSettings(11)={(ClassName="KFProj_FragGrenade",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.4, 0.6, 0.8),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.5), (X=0.0, Y=0.3), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(12)={(ClassName="KFProj_MolotovGrenade",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.4, 0.6, 0.8),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.5), (X=0.0, Y=0.3), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(13)={(ClassName="KFProj_DynamiteGrenade",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.4, 0.6, 0.8),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.5), (X=0.0, Y=0.3), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(14)={(ClassName="KFProj_NailBombGrenade",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.4, 0.6, 0.8),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.5), (X=0.0, Y=0.3), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
DangerEvadeSettings(15)={(ClassName="KFProj_HEGrenade",
Cooldowns=(3.0, 1.0, 0.1, 0.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.4, 0.6, 0.8),
ForcedEvadeChances={((FL=0.0, FR=0.0), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5), (FL=0.5, FR=0.5))},
ReactionDelayRanges={((X=0.0, Y=0.5), (X=0.0, Y=0.3), (X=0.0, Y=0.15), (X=0.0, Y=0.05))},
SoloChanceMultiplier=1.0)}
// Ground Fire
DangerEvadeSettings(16)={(ClassName="KFProj_Flame_HRGIncendiaryRifle",
Cooldowns=(3.0, 1.0, 1.0, 1.0), // Normal, Hard, Suicidal, HoE
EvadeChances=(0.2, 0.2, 0.3, 0.4),
ReactionDelayRanges={((X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5), (X=0.3, Y=0.5))},
SoloChanceMultiplier=1.0)}
}