View Single Post
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-05-2022 , 12:56   Re: [L4D2] Double hunter and smoker patch
Reply With Quote #3

Quote:
Originally Posted by JLmelenchon View Post
Version 1.1
Fixed many clients index errors.

Next i will see if it is possible to unhook the death sound and hide the body.
well why not you just kick it
=====
some advices
can easy to just L4DD to process these, like forward
PHP Code:
// ====================================================================================================
// FORWARDS - left4downtown.inc (and new ones by Silvers)
// ====================================================================================================
/**
 * @brief Called whenever ZombieManager::SpawnSpecial(ZombieClassType,Vector&,QAngle&) is invoked
 * @remarks Only used for bot special spawns (not players)
 * @remarks zombieClass: 1=Smoker, 2=Boomer, 3=Hunter, 4=Spitter, 5=Jockey, 6=Charger
 *
 * @param zombieClass    Zombie class that will be spawned
 * @param vecPos        Vector coordinate where special will be spawned
 * @param vecAng        QAngle where special will be facing
 *
 * @return                Plugin_Handled to block special from spawning,
 *                         Plugin_Changed to change the zombie class type to spawn, Plugin_Continue otherwise.
 */
forward Action L4D_OnSpawnSpecial(int &zombieClass, const float vecPos[3], const float vecAng[3]); 
and change the zombieClass, then you dont have to kick new zombie
, for upload file, if you name file to .sp, the .smx file will automatically compile by forum, so you dont have to upload .smx yourself
__________________

Last edited by NoroHime; 12-05-2022 at 13:05.
NoroHime is offline