RuneI
Class PlayerZombie

source: c:\runehov\RuneI\Classes\PlayerZombie.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Pawn
         |
         +--Engine.PlayerPawn
            |
            +--RuneI.RunePlayer
               |
               +--RuneI.PlayerZombie
Direct Known Subclasses:None

class PlayerZombie
extends RuneI.RunePlayer

//============================================================================= // PlayerZombie. //=============================================================================

Function Summary
 int BodyPartForPolyGroup(int polygroup)
     
//============================================================
//
// BodyPartForPolyGroup
//
//============================================================
 EMatterType MatterForJoint(int joint)
     
//============================================================
//
// MatterForJoint
//
// Returns what kind of material joint is associated with
//============================================================
 Texture PainSkin(int BodyPart)
     
//============================================================
//
// PainSkin
//
// returns the pain skin for a given polygroup
//============================================================



Source Code


00001	//=============================================================================
00002	// PlayerZombie.
00003	//=============================================================================
00004	class PlayerZombie extends RunePlayer;
00005	
00006	//============================================================
00007	//
00008	// MatterForJoint
00009	//
00010	// Returns what kind of material joint is associated with
00011	//============================================================
00012	function EMatterType MatterForJoint(int joint)
00013	{
00014		return MATTER_EARTH;
00015	}
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		return None;
00027	}
00028	
00029	//============================================================
00030	//
00031	// BodyPartForPolyGroup
00032	//
00033	//============================================================
00034	function int BodyPartForPolyGroup(int polygroup)
00035	{
00036		switch(polygroup)
00037		{
00038			case 1:	case 3:			return BODYPART_RARM1;
00039			case 2:					return BODYPART_RLEG1;
00040			case 4:					return BODYPART_TORSO;
00041			case 5:					return BODYPART_HEAD;
00042			case 6:					return BODYPART_LLEG1;
00043			case 7:	case 8:			return BODYPART_LARM1;
00044		}
00045		return BODYPART_BODY;
00046	}
00047	
00048	//================================================
00049	//
00050	// SeveredLimbClass
00051	//
00052	//================================================
00053	function class<Actor> SeveredLimbClass(int BodyPart)
00054	{
00055		switch(BodyPart)
00056		{
00057			case BODYPART_LARM1:
00058				return class'ZombieLArm';
00059			case BODYPART_RARM1:
00060				return class'ZombieRArm';
00061			case BODYPART_HEAD:
00062				return class'ZombieHead';
00063		}
00064	
00065		return None;
00066	}
00067	
00068	defaultproperties
00069	{
00070	     WeaponThrowSound=Sound'CreaturesSnd.Ragnar.ragpickup01'
00071	     WeaponDropSound=Sound'CreaturesSnd.Ragnar.ragpickup01'
00072	     JumpGruntSound(0)=None
00073	     JumpGruntSound(1)=None
00074	     JumpGruntSound(2)=None
00075	     FallingDeathSound=Sound'CreaturesSnd.Ragnar.ragsarkland02'
00076	     FallingScreamSound=None
00077	     EdgeGrabSound=Sound'CreaturesSnd.Ragnar.ragpickup02'
00078	     KickSound=Sound'CreaturesSnd.Ragnar.ragpickup02'
00079	     HitSoundLow(0)=Sound'CreaturesSnd.Zombie.zombiehit01'
00080	     HitSoundLow(1)=Sound'CreaturesSnd.Zombie.zombiehit01'
00081	     HitSoundLow(2)=Sound'CreaturesSnd.Zombie.zombiehit01'
00082	     HitSoundMed(0)=Sound'CreaturesSnd.Zombie.zombiehit02'
00083	     HitSoundMed(1)=Sound'CreaturesSnd.Zombie.zombiehit02'
00084	     HitSoundMed(2)=Sound'CreaturesSnd.Zombie.zombiehit02'
00085	     HitSoundHigh(0)=Sound'CreaturesSnd.Zombie.zombiehit03'
00086	     HitSoundHigh(1)=Sound'CreaturesSnd.Zombie.zombiehit03'
00087	     HitSoundHigh(2)=Sound'CreaturesSnd.Zombie.zombiehit03'
00088	     BerserkYellSound(0)=Sound'CreaturesSnd.Zombie.zombiearm01'
00089	     BerserkYellSound(1)=Sound'CreaturesSnd.Zombie.zombiearm01'
00090	     BerserkYellSound(2)=Sound'CreaturesSnd.Zombie.zombiearm01'
00091	     BerserkYellSound(3)=Sound'CreaturesSnd.Zombie.zombiearm02'
00092	     BerserkYellSound(4)=Sound'CreaturesSnd.Zombie.zombiearm02'
00093	     BerserkYellSound(5)=Sound'CreaturesSnd.Zombie.zombiearm02'
00094	     CarcassType=Class'RuneI.PlayerZombieCarcass'
00095	     Die=Sound'CreaturesSnd.Zombie.zombiedeath01'
00096	     Die2=Sound'CreaturesSnd.Zombie.zombiedeath03'
00097	     Die3=Sound'CreaturesSnd.Zombie.zombiedeath01'
00098	     LandGrunt=Sound'CreaturesSnd.Ragnar.ragsarkhit02'
00099	     SkelMesh=11
00100	     SkelGroupSkins(0)=Texture'Players.Ragnarragd_arms'
00101	     SkelGroupSkins(1)=Texture'Players.Ragnarz_armleg'
00102	     SkelGroupSkins(2)=Texture'Players.Ragnarz_armleg'
00103	     SkelGroupSkins(3)=Texture'Players.Ragnarz_armleg'
00104	     SkelGroupSkins(4)=Texture'Players.Ragnarz_body'
00105	     SkelGroupSkins(5)=Texture'Players.Ragnarz_head'
00106	     SkelGroupSkins(6)=Texture'Players.Ragnarz_armleg'
00107	     SkelGroupSkins(7)=Texture'Players.Ragnarz_armleg'
00108	     SkelGroupSkins(8)=Texture'Players.Ragnarz_armleg'
00109	     SkelGroupSkins(9)=Texture'Players.Ragnarz_head'
00110	     SkelGroupSkins(10)=Texture'Players.Ragnarz_neckgore'
00111	     SkelGroupSkins(11)=Texture'Players.Ragnarragd_arms'
00112	     SkelGroupSkins(12)=Texture'Players.Ragnarragd_arms'
00113	     SkelGroupSkins(13)=Texture'Players.Ragnarragd_arms'
00114	     SkelGroupSkins(14)=Texture'Players.Ragnarragd_arms'
00115	     SkelGroupSkins(15)=Texture'Players.Ragnarragd_arms'
00116	}

End Source Code