RuneI
Class SnowBeastTrial

source: c:\runehov\RuneI\Classes\SnowBeastTrial.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Pawn
         |
         +--RuneI.ScriptPawn
            |
            +--RuneI.SnowBeast
               |
               +--RuneI.SnowBeastTrial
Direct Known Subclasses:None

class SnowBeastTrial
extends RuneI.SnowBeast

//============================================================================= // SnowBeastTrial. //=============================================================================

Function Summary
 Texture PainSkin(int BodyPart)
     
//============================================================
//
// PainSkin
//
// returns the pain skin for a given polygroup
//============================================================



Source Code


00001	//=============================================================================
00002	// SnowBeastTrial.
00003	//=============================================================================
00004	class SnowBeastTrial expands SnowBeast;
00005	
00006	/*	DESCRIPTION:
00007			Encountered in the trial pit, is bigger than snowbeast.  Ledges
00008			will exist and other ways of getting above him.  Best strategy
00009			is to jump from above and land on his back bash him with the
00010			trial pit mace.
00011			
00012			trial pit mace is the preferred weapon for killing him.
00013	
00014			TODO:
00015				allow landing on his back
00016	*/
00017	
00018	//============================================================
00019	//
00020	// PainSkin
00021	//
00022	// returns the pain skin for a given polygroup
00023	//============================================================
00024	function Texture PainSkin(int BodyPart)
00025	{
00026		switch(BodyPart)
00027		{
00028			case BODYPART_HEAD:
00029				SkelGroupSkins[1] = Texture'creatures.snowbeasttp_bodypain';
00030				SkelGroupSkins[8] = Texture'creatures.snowbeasttp_bodypain';
00031				SkelGroupSkins[4] = Texture'creatures.snowbeasttp_bodypain';//teeth
00032				SkelGroupSkins[5] = Texture'creatures.snowbeasttp_bodypain';
00033				break;
00034			case BODYPART_TORSO:
00035				SkelGroupSkins[3] = Texture'creatures.snowbeasttp_bodypain';
00036				SkelGroupSkins[6] = Texture'creatures.snowbeasttp_bodypain';
00037				break;
00038			case BODYPART_LARM1:
00039				SkelGroupSkins[10] = Texture'creatures.snowbeasttp_armlegpain';
00040				break;
00041			case BODYPART_RARM1:
00042				SkelGroupSkins[9] = Texture'creatures.snowbeasttp_armlegpain';
00043				break;
00044			case BODYPART_LLEG1:
00045				SkelGroupSkins[7] = Texture'creatures.snowbeasttp_armlegpain';
00046				break;
00047			case BODYPART_RLEG1:
00048				SkelGroupSkins[2] = Texture'creatures.snowbeasttp_armlegpain';
00049				break;
00050		}
00051		return None;
00052	}
00053	
00054	defaultproperties
00055	{
00056	     HowlingSound=Sound'CreaturesSnd.SnowBeast.beastyell01'
00057	     BreathSound=Sound'CreaturesSnd.SnowBeast.beastbreath04'
00058	     AcquireSound=Sound'CreaturesSnd.SnowBeast.beastyell11'
00059	     AmbientFightSounds(0)=Sound'CreaturesSnd.SnowBeast.beastattack01'
00060	     AmbientFightSounds(1)=Sound'CreaturesSnd.SnowBeast.beastattack05'
00061	     AmbientFightSounds(2)=Sound'CreaturesSnd.SnowBeast.beastattack06'
00062	     bIsBoss=True
00063	     GroundSpeed=411.000000
00064	     WalkingSpeed=160.500000
00065	     HitSound1=Sound'CreaturesSnd.SnowBeast.beasthit02'
00066	     HitSound2=Sound'CreaturesSnd.SnowBeast.beastdeath03'
00067	     HitSound3=Sound'CreaturesSnd.SnowBeast.beasthit04'
00068	     Die2=Sound'CreaturesSnd.SnowBeast.beastdeath03'
00069	     Die3=Sound'CreaturesSnd.SnowBeast.beastyell06'
00070	     FootStepWood(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00071	     FootStepWood(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00072	     FootStepWood(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00073	     FootStepMetal(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00074	     FootStepMetal(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00075	     FootStepMetal(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00076	     FootStepStone(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00077	     FootStepStone(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00078	     FootStepStone(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00079	     FootStepFlesh(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00080	     FootStepFlesh(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00081	     FootStepFlesh(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00082	     FootStepIce(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00083	     FootStepIce(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00084	     FootStepIce(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00085	     FootStepEarth(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00086	     FootStepEarth(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00087	     FootStepEarth(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00088	     FootStepSnow(0)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00089	     FootStepSnow(1)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00090	     FootStepSnow(2)=Sound'CreaturesSnd.SnowBeast.beastfootstep02'
00091	     DrawScale=1.500000
00092	     CollisionRadius=60.000000
00093	     CollisionHeight=69.500000
00094	     SkelMesh=1
00095	}

End Source Code