Smoker: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Tip:To spawn smoker manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Tip:To spawn smoker manually commentary_zombie_spawner, info_zombie_spawn or 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
 Important:Spawned smoker's classname is
Important:Spawned smoker's classname is 
		
	
|  (-smoker) |  (-actions) | ||
| Line 4: | Line 4: | ||
| {{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}} | ||
| {{ | {{important|Spawned smoker's classname is <code>player</code>}} | ||
| {{clr}} | {{clr}} | ||
| Line 15: | Line 15: | ||
| smoker_tongue_delay                      : 1.5      : , "sv", "cheat"  :   | smoker_tongue_delay                      : 1.5      : , "sv", "cheat"  :   | ||
| </source> | </source> | ||
| == Actions == | |||
| * SmokerAssault | |||
| * SmokerAttack | |||
| * SmokerBehavior | |||
| * SmokerMoveToAttackPosition | |||
| * SmokerRetreatToCover | |||
| * SmokerTongueVictim | |||
| == See Also == | == See Also == | ||
| * [[NextBot]] | |||
| * [[weapon_smoker_claw]] | * [[weapon_smoker_claw]] | ||
| * [[ability_tongue]] | * [[ability_tongue]] | ||
Revision as of 06:39, 3 August 2023
|  Class hierarchy | 
|---|
| Smoker | 
Template:Entity 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 commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Tip:To spawn smoker manually commentary_zombie_spawner, info_zombie_spawn or 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 Important:Spawned smoker's classname is
Important:Spawned smoker's classname is playerConVars
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
