I take no credit for this Tut. However, make sure to credit "
alaurenc9 ". Just wanted to share it with people.
First go open _zombiemode_spawner.gsc & Find :
self thread maps\_zombiemode_powerups::check_for_instakill( player );
Replace with :
self thread maps\_zombiemode_powerups::check_for_instakill( player, mod, hit_location );
Save and close the file, now go open _zombiemode_powerups.gsc Find & Replace the hole check_for_instakill() function with this :
check_for_instakill( player, mod ) { if( IsDefined( player ) && IsAlive( player ) && level.zombie_vars[ "zombie_insta_kill" ] ) { if( is_magic_bullet_shield_enabled( self ) ) { return; } if( self.animname == "boss_zombie" ) { return; } if( player.use_weapon_type == "MOD_MELEE" ) { player.last_kill_method = "MOD_MELEE"; } else { player.last_kill_method = "MOD_UNKNOWN"; } modName = remove_mod_from_methodofdeath( mod ); if( flag( "dog_round" ) ) { self DoDamage( self.health + 666, self.origin, player, undefined, modName ); player notify( "zombie_killed" ); } else { self maps\_zombiemode_spawner::zombie_head_gib(); self DoDamage( self.health + 666, self.origin, player, undefined, modName ); player notify( "zombie_killed" ); } } }
Save and close that file also. Now open _zombiemode_utility.gsc Paste this at the bottom of the file
remove_mod_from_methodofdeath( mod ) { modStrings = StrTok( mod, "_" ); modName = ""; for( i = 1; i < modStrings.size; i ++ ) { modName += modStrings[i]; } return modName; }
That's it enjoy.