Posts
371
Respect
160Add +1
Forum Rank
Perk Hacker
Primary Group
Member
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!PrecacheShader( "specialty_doublepoints_zombies" );
PrecacheShader( "specialty_instakill_zombies" );
// Soy-yo's perma-insta-kill
PrecacheShader( "specialty_perma_instakill_zombies" );
insta_kill_powerup( drop_item )
level notify( "powerup instakill" );
level endon( "powerup instakill" );
// Soy-yo's perma-insta-kill
players = get_players();
for( i = 0; i < players.size; i++ ) {
if( isAlive( players[i] ) )
players[i].initialKills = players[i].kills;
if( isDefined( players[i].zeroInstaKills ) && ( players[i].zeroInstaKills >= 2
|| ( players[i].zeroInstaKills == 1 && randomInt(100) == 0 ) )
&& isAlive( players[i] ) )
players[i] thread soy_yos_insta_kill_perma_perk_init();
}
players[i] notify("insta_kill_over");
// Soy-yo's perma-insta-kill
if( isDefined( players[i].initialKills ) && isAlive( players[i] ) && players[i].kills == players[i].initialKills ) { // the player hasn't killed anybody this time
if( !isDefined( players[i].zeroInstaKills ) )
players[i].zeroInstaKills = 1;
else players[i].zeroInstaKills++;
} else if( isDefined( players[i].zeroInstaKills ) )
players[i].zeroInstaKills = undefined;
soy_yos_insta_kill_perma_perk_init() {
self endon( "death" );
self endon( "disconnect" );
self.ignoreme = true;
self thread soy_yos_perma_insta_kill_hud();
self thread soy_yos_insta_kill_perma_perk_main();
wait(15);
self notify( "insta_kill_perma_perk_out" );
self.ignoreme = false;
}
soy_yos_perma_insta_kill_hud() {
hud = create_simple_hud( self );
hud.foreground = true;
hud.sort = 2;
hud.hidewheninmenu = false;
hud.alignX = "center";
hud.alignY = "bottom";
hud.horzAlign = "center";
hud.vertAlign = "bottom";
hud.y = hud.y - 80;
hud.alpha = 1;
hud setShader( "specialty_perma_instakill_zombies", 24, 24 );
hud thread soy_yos_perma_insta_kill_hud_overlay();
self waittill_any( "insta_kill_perma_perk_out","death","disconnect" );
hud destroy_hud();
hud notify( "hud_destroyed" );
}
soy_yos_perma_insta_kill_hud_overlay() {
self endon( "hud_destroyed" );
wait(10);
for( i = 0; i < 5; i++ ) {
self.alpha = 0;
wait(.25);
self.alpha = 1;
wait(.25);
}
while(1) {
self.alpha = 0;
wait(.1);
self.alpha = 1;
wait(.1);
}
}
soy_yos_insta_kill_perma_perk_main() {
self endon( "insta_kill_perma_perk_out" );
self endon( "death" );
self endon( "disconnect" );
while(1) {
zombies = getAIArray( "axis" );
for( i = 0; i < zombies.size; i++ ) {
if( isAlive( self ) && !( self maps\_laststand::player_is_in_laststand() ) && distance( zombies[i].origin, self.origin ) < 30 ) {
zombies[i] doDamage( zombies[i].health + 935, zombies[i].origin );
zombies[i] maps\_zombiemode_spawner::zombie_head_gib();
self maps\_zombiemode_score::add_to_player_score(50);
wait(.3); // don't kill zombies too fast
}
}
wait(.1);
}
}
if( isDefined( eAttacker.is_zombie ) && eAttacker.is_zombie )
{
// Soy-yo's instakill perma-perk
if( level.zombie_vars["zombie_insta_kill"] == 1 && isDefined( self.zeroInstaKills ) && self.zeroInstaKills >= 2 )
self.zeroInstaKills = undefined;
// Edited For Perma Instakill
material,specialty_perma_instakill_zombies

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
That's pretty cool, but why didn't you put this in the tutorials section?
That's pretty cool, but why didn't you put this in the tutorials section?
For the shader, make sure you convert the image with the 'blend' option instead of 'replace'.

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Don't you mean the downloadable items for mappers lol?
It's here mainly because I didn't add that stupid green fx and the shader didn't look well. But if you think this shouldn't be here, please, some mod, move it.
And thanks. Now the shader has transparency.
atleast make it set a dvar or table to check