Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

smoker

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default .
It should not be put directly in a map.
class hierarchy
Smoker
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

smoker is a point entity available in Left 4 Dead series Left 4 Dead series. By default director tries to spawn him in above survivors (SPAWN_ABOVE_SURVIVORS spawn set). Smoker spawns with weapon_smoker_claw which is his melee ability and ability_tongue which controls his special ability.

Tip.pngTip:To spawn smoker manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning.pngWarning:Trying to spawn smoker using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Icon-Important.pngImportant:Spawned smoker's classname is player

ConVars

z_gas_health                             : 250      : , "sv", "cheat"  : Gas Zombie max health
z_gas_speed                              : 210      : , "cheat", "rep", "cl" : 
Smoker_escape_range                      : 750      : , "sv", "cheat"  : 
smoker_pz_claw_dmg                       : 4        : , "cheat", "rep", "cl" : Amount of damage done by a PZ smoker's regular melee attack
smoker_tongue_delay                      : 1.5      : , "sv", "cheat"  :

Actions

  • SmokerAssault
  • SmokerAttack
  • SmokerBehavior
  • SmokerMoveToAttackPosition
  • SmokerRetreatToCover
  • SmokerTongueVictim

See also