Core.Object | +--Engine.Actor | +--Engine.Decoration | +--Engine.Carcass | +--Botpack.UTCreatureChunks | +--Botpack.UTMasterCreatureChunk | +--Botpack.TFemaleMasterChunk
simulated
ClientExtraChunks()
00001 //============================================================================= 00002 // TFemaleMasterChunk 00003 //============================================================================= 00004 class TFemaleMasterChunk extends UTMasterCreatureChunk; 00005 00006 simulated function ClientExtraChunks() 00007 { 00008 local carcass carc; 00009 local UT_BloodBurst b; 00010 local PlayerPawn P; 00011 00012 If ( Level.NetMode == NM_DedicatedServer ) 00013 return; 00014 if ( class'GameInfo'.Default.bLowGore ) 00015 { 00016 Destroy(); 00017 return; 00018 } 00019 00020 b = Spawn(class 'UT_Bloodburst'); 00021 if ( bGreenBlood ) 00022 b.GreenBlood(); 00023 b.RemoteRole = ROLE_None; 00024 00025 if ( CarcassAnim != 'Dead6' ) 00026 { 00027 carc = Spawn(class'UT_HeadFemale'); 00028 if ( carc != None ) 00029 carc.Initfor(self); 00030 } 00031 00032 // arm, leg and thigh 00033 if ( Level.bHighDetailMode && !Level.bDropDetail ) 00034 { 00035 if ( FRand() < 0.3 ) 00036 { 00037 carc = Spawn(class 'UTLiver'); 00038 if (carc != None) 00039 carc.Initfor(self); 00040 } 00041 else if ( FRand() < 0.5 ) 00042 { 00043 carc = Spawn(class 'UTStomach'); 00044 if (carc != None) 00045 carc.Initfor(self); 00046 } 00047 else 00048 { 00049 carc = Spawn(class 'UTHeart'); 00050 if (carc != None) 00051 carc.Initfor(self); 00052 } 00053 if ( FRand() < 0.5 ) 00054 { 00055 carc = Spawn(class 'UT_FemaleFoot'); 00056 if (carc != None) 00057 carc.Initfor(self); 00058 } 00059 } 00060 00061 carc = Spawn(class 'UT_Thigh'); 00062 if (carc != None) 00063 carc.Initfor(self); 00064 carc = Spawn(class 'UT_FemaleTorso'); 00065 if (carc != None) 00066 carc.Initfor(self); 00067 if ( !Level.bDropDetail ) 00068 { 00069 carc = Spawn(class 'UT_FemaleFoot'); 00070 if (carc != None) 00071 carc.Initfor(self); 00072 } 00073 00074 carc = Spawn(class 'UT_FemaleArm'); 00075 if (carc != None) 00076 carc.Initfor(self); 00077 } 00078 00079 defaultproperties 00080 { 00081 }