







Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!zombie_head_gib( attacker )
{
if ( is_german_build() )
{
return;
}
if( IsDefined( self.head_gibbed ) && self.head_gibbed )
{
return;
}
if( !isDefined( level.head_gibs_this_frame ) )
{
level thread cap_zombie_head_gibs();
}
if( level.head_gibs_this_frame >= level.max_head_gibs_per_frame )
{
return;
}
level.head_gibs_this_frame++;
self.head_gibbed = true;
self zombie_eye_glow_stop();
size = self GetAttachSize();
for( i = 0; i < size; i++ )
{
model = self GetAttachModelName( i );
if( IsSubStr( model, "head" ) )
{
// SRS 9/2/2008: wet em up
self thread headshot_blood_fx();
if(self.zomb_text == "tech_cap_1")
{
precacheModel("bo1_c_zom_moon_tech_cap_1");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo1_c_zom_moon_tech_cap_1");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);
self Detach("bo1_c_zom_moon_tech_cap_1", "" , true);
}
else if(self.zomb_text == "tech_cap_2")
{
precacheModel("bo1_c_zom_moon_tech_cap_2");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo1_c_zom_moon_tech_cap_2");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);
self Detach("bo1_c_zom_moon_tech_cap_2", "" , true);
}
else if(self.zomb_text == "tech_cap_3")
{
precacheModel("bo1_c_zom_moon_tech_cap_3");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo1_c_zom_moon_tech_cap_3");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);
self Detach("bo1_c_zom_moon_tech_cap_3", "" , true);
}
self play_sound_on_ent( "zombie_head_gib" );
self Detach( model, "", true );
self Attach( "char_ger_honorgd_zomb_behead", "", true );
break;
}
}
self thread damage_over_time( self.health * 0.2, 1, attacker );
}
timed_delete(time)
{
wait time;
self delete();
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |