2022-05-16 13:35:37 +00:00
|
|
|
class WMPawn_ZedHusk_Tiny extends WMPawn_ZedHusk_NoDAR;
|
|
|
|
|
|
|
|
var linearColor glowColor;
|
|
|
|
|
|
|
|
static function string GetLocalizedName()
|
|
|
|
{
|
2024-03-08 14:06:36 +00:00
|
|
|
return class'WMPawn_ZedConstants'.default.TinyString @ super.GetLocalizedName();
|
2022-05-16 13:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function PossessedBy(Controller C, bool bVehicleTransition)
|
|
|
|
{
|
|
|
|
super.PossessedBy(C, bVehicleTransition);
|
|
|
|
|
|
|
|
if (KFAIController_ZedHusk(C) != None)
|
|
|
|
KFAIController_ZedHusk(C).RequiredHealthPercentForSuicide = 1.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
simulated function PostBeginPlay()
|
|
|
|
{
|
|
|
|
IntendedBodyScale = 0.7f;
|
|
|
|
|
|
|
|
super.PostBeginPlay();
|
|
|
|
|
|
|
|
UpdateGameplayMICParams();
|
|
|
|
}
|
|
|
|
|
|
|
|
simulated function UpdateGameplayMICParams()
|
|
|
|
{
|
|
|
|
local byte i;
|
|
|
|
|
|
|
|
super.UpdateGameplayMICParams();
|
|
|
|
|
2022-08-22 15:43:13 +00:00
|
|
|
if (WorldInfo.NetMode != NM_DedicatedServer)
|
2022-05-16 13:35:37 +00:00
|
|
|
{
|
|
|
|
for (i = 0; i < CharacterMICs.length; ++i)
|
|
|
|
{
|
|
|
|
CharacterMICs[i].SetVectorParameterValue('Vector_GlowColor', default.glowColor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
glowColor=(R=1.0f, G=1.0f, B=1.0f)
|
|
|
|
|
|
|
|
Health=225
|
|
|
|
GroundSpeed=480.0f
|
|
|
|
SprintSpeed=480.0f
|
|
|
|
|
|
|
|
Begin Object Class=WMExplosion_TinyHusk Name=TinyExploTemplate0
|
|
|
|
End Object
|
|
|
|
ExplosionTemplate=TinyExploTemplate0
|
|
|
|
|
|
|
|
Name="Default__WMPawn_ZedHusk_Tiny"
|
|
|
|
}
|