Smoker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎See also: Unicodifying, replaced: See Also → See also)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|Smoker}}
{{CD|Smoker}}
{{this is a|name=smoker|series=Left 4 Dead|e0}} 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.
{{this is a|point entity|name=smoker|series=Left 4 Dead}} 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|To spawn smoker manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}}
{{tip|To spawn smoker manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left_4_Dead_2/Script_Functions/ZSpawn|ZSpawn]] script function can be used.}}
{{warning|Trying to spawn smoker using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}
{{warning|Trying to spawn smoker using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}

Revision as of 20:23, 17 May 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
Smoker
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

smoker is a point entity available in Left 4 Dead seriesLeft 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