Smoker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-smoker)
 
m (Classifying as model entity)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TabsBar|main=L4DZombies}}
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|Smoker}}
{{CD|Smoker}}
{{entity|type=e0|series=Left 4 Dead|smoker}} 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|model entity|name=smoker|series=Left 4 Dead}} By default the AI director tries to spawn him in above survivors (SPAWN_ABOVE_SURVIVORS spawn set). Smoker spawns with his melee ability {{ent|weapon_smoker_claw}} and {{ent|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}}
{{note|Spawned smoker's classname is <code>player</code>}}
{{important|Smoker's classname is changed to <code>player</code> upon spawning}}
{{OtherKIO|altlink={{ent|player|game=Left 4 Dead series}}|2=All}}
{{clr}}
{{clr}}


== ConVars ==
==ConVars==
<source>
<source>
z_gas_health                            : 250      : , "sv", "cheat"  : Gas Zombie max health
z_gas_health                            : 250      : , "sv", "cheat"  : Gas Zombie max health
Line 16: Line 18:
</source>
</source>


== See Also ==
==Actions==
* [[weapon_smoker_claw]]
* SmokerAssault
* [[ability_tongue]]
* SmokerAttack
* [[Player/Left_4_Dead_series|player]]
* SmokerBehavior
* [[spitter]]
* SmokerMoveToAttackPosition
* [[boomer]]
* SmokerRetreatToCover
* [[charger]]
* SmokerTongueVictim
* [[jockey]]
 
* [[hunter]]
==See also==
* [[NextBot]]
* {{ent|weapon_smoker_claw}}
* {{ent|ability_tongue}}
* {{ent|player|game=Left 4 Dead series}}
* {{ent|spitter}}
* {{ent|boomer}}
* {{ent|charger}}
* {{ent|jockey}}
* {{ent|hunter}}

Latest revision as of 04:34, 19 May 2025

edit
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 model entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. By default the AI director tries to spawn him in above survivors (SPAWN_ABOVE_SURVIVORS spawn set). Smoker spawns with his melee ability weapon_smoker_claw 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:Smoker's classname is changed to player upon spawning
Note.pngNote:All Keyvalues / Inputs / Outputs are same as 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