Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

SkeletalChars.XanMk2Bot


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
//=============================================================================
// XanMk2.
//=============================================================================
class XanMk2Bot extends SkeletalBot;

static function SetMultiSkin(Actor SkinActor, string SkinName, string FaceName, byte TeamNum)
{
    local texture Face;

    if ( TeamNum == 1 )
    {
        SkinActor.Skin =  texture(DynamicLoadObject("SkeletalChars.XanRed",class'Texture'));
        Face =  texture(DynamicLoadObject("SkeletalChars.XanRedFace",class'Texture'));
    }
    else if ( TeamNum == 0 )
    {
        SkinActor.Skin =  texture(DynamicLoadObject("SkeletalChars.XanBlue",class'Texture'));
        Face =  texture(DynamicLoadObject("SkeletalChars.XanBlueFace",class'Texture'));
    }
    else if ( TeamNum == 3 )
    {
        SkinActor.Skin =  texture(DynamicLoadObject("SkeletalChars.XanBronze",class'Texture'));
        Face =  texture(DynamicLoadObject("SkeletalChars.BronzeFace",class'Texture'));
    }
    else if ( TeamNum == 2 )
    {
        SkinActor.Skin =  texture(DynamicLoadObject("SkeletalChars.SteveXan",class'Texture'));
        Face =  texture(DynamicLoadObject("SkeletalChars.XanFace",class'Texture'));
    }
    else
    {
        SkinActor.Skin =  texture(DynamicLoadObject("SkeletalChars.XanTitanium",class'Texture'));
        Face =  texture(DynamicLoadObject("SkeletalChars.TitanFace",class'Texture'));
    }
    if( Pawn(SkinActor) != None )   
        Pawn(SkinActor).PlayerReplicationInfo.TalkTexture =Face;
}

defaultproperties
{
     CarcassType=Class'Botpack.TBossCarcass'
     HitSound3=Sound'Botpack.Boss.BInjur3'
     HitSound4=Sound'Botpack.Boss.BInjur4'
     Deaths(0)=Sound'Botpack.Boss.BDeath1'
     Deaths(1)=Sound'Botpack.Boss.BDeath1'
     Deaths(2)=Sound'Botpack.Boss.BDeath3'
     Deaths(3)=Sound'Botpack.Boss.BDeath4'
     Deaths(4)=Sound'Botpack.Boss.BDeath3'
     Deaths(5)=Sound'Botpack.Boss.BDeath4'
     LandGrunt=Sound'Botpack.Boss.Bland01'
     JumpSound=Sound'Botpack.Boss.BJump1'
     StatusDoll=Texture'Botpack.Icons.BossDoll'
     StatusBelt=Texture'Botpack.Icons.BossBelt'
     VoicePackMetaClass="BotPack.VoiceBoss"
     SelectionMesh="SkeletalChars.NewXan"
     SpecialMesh="Botpack.TrophyMale1"
     HitSound1=Sound'Botpack.Boss.BInjur1'
     HitSound2=Sound'Botpack.Boss.BInjur2'
     Die=Sound'Botpack.Boss.BDeath1'
     MenuName="Xan Mark II"
     VoiceType="BotPack.VoiceBoss"
     Skin=Texture'SkeletalChars.Skins.SteveXan'
     Mesh=SkeletalMesh'SkeletalChars.NewXan'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 4.5.2008 11:20:56.000 - Creation time: Fr 7.6.2013 13:16:28.143 - Created with UnCodeX