Charger: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Tip:To spawn charger manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Tip:To spawn charger manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
 Warning:Trying to spawn charger using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Warning:Trying to spawn charger using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
 Note:Spawned charger's classname is
Note:Spawned charger's classname is 
		
	
|  (Nescius moved page Charger to Charger (disambiguation): -l4d2 entity is named charger so moving this page elsewhere) Tag: New redirect |  (-charger) Tag: Removed redirect | ||
| Line 1: | Line 1: | ||
| {{Ent not in fgd|nolink=1}} | |||
| {{CD|Charger}} | |||
| {{entity|type=e0|series=Left 4 Dead 2|charger}} By default director tries to spawn anywhere around survivors (SPAWN_SPECIALS_ANYWHERE spawn set). Charger spawns with [[weapon_charger_claw]] which is his melee ability and [[ability_charge]] which controls his special ability. | |||
| {{tip|To spawn charger 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 charger using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}} | |||
| {{note|Spawned charger's classname is <code>player</code>}} | |||
| {{clr}} | |||
| == ConVars == | |||
| <source> | |||
| z_charge_duration                        : 2.5      : , "cheat", "rep", "cl" :  | |||
| z_charge_impact_angle                    : .7       : , "sv", "cheat"  :  | |||
| z_charge_impact_radius                   : 120      : , "sv", "cheat"  :  | |||
| z_charge_interval                        : 12       : , "cheat", "rep", "cl" :  | |||
| z_charge_max_damage                      : 10       : , "cheat", "rep", "cl" :  | |||
| z_charge_max_force                       : 800      : , "cheat", "rep", "cl" :  | |||
| z_charge_max_speed                       : 500      : , "cheat", "rep", "cl" :  | |||
| z_charge_min_force                       : 550      : , "cheat", "rep", "cl" :  | |||
| z_charge_prop_damage                     : 20       : , "sv", "cheat"  :  | |||
| z_charge_start_speed                     : 250      : , "cheat", "rep", "cl" :  | |||
| z_charge_tooshort                        : 0        : , "cheat", "rep", "cl" :  | |||
| z_charge_warmup                          : 0.5      : , "cheat", "rep", "cl" :  | |||
| z_charger_allow_shove                    : 0        : , "sv", "cheat"  : 0 = Cannot be shoved, 1 = Can be shoved | |||
| z_charger_health                         : 600      : , "sv", "cheat"  : Charger max health | |||
| z_charger_impact_epsilon                 : 8        : , "sv", "cheat"  :  | |||
| z_charger_limit                          : 1        : , "sv", "cheat"  :  | |||
| z_charger_max_prop_force                 : 3000     : , "sv", "cheat"  :  | |||
| z_charger_pound_dmg                      : 15       : , "sv", "cheat"  :  | |||
| z_charger_probe_alone                    : 6        : , "sv", "cheat"  :  | |||
| z_charger_probe_attack                   : 24       : , "sv", "cheat"  :  | |||
| </source> | |||
| == See Also == | |||
| * [[weapon_charger_claw]] | |||
| * [[ability_charge]] | |||
| * [[Player/Left_4_Dead_series|player]] | |||
| * [[spitter]] | |||
| * [[boomer]] | |||
| * [[jockey]] | |||
| * [[hunter]] | |||
| * [[smoker]] | |||
Revision as of 09:39, 18 July 2023
|  Class hierarchy | 
|---|
| Charger | 
Template:Entity By default director tries to spawn anywhere around survivors (SPAWN_SPECIALS_ANYWHERE spawn set). Charger spawns with weapon_charger_claw which is his melee ability and ability_charge which controls his special ability.
 Tip:To spawn charger manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Tip:To spawn charger manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used. Warning:Trying to spawn charger using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Warning:Trying to spawn charger using SpawnEntityFromTable script function or by placing him directly in a map will crash the game Note:Spawned charger's classname is
Note:Spawned charger's classname is playerConVars
z_charge_duration                        : 2.5      : , "cheat", "rep", "cl" : 
z_charge_impact_angle                    : .7       : , "sv", "cheat"  : 
z_charge_impact_radius                   : 120      : , "sv", "cheat"  : 
z_charge_interval                        : 12       : , "cheat", "rep", "cl" : 
z_charge_max_damage                      : 10       : , "cheat", "rep", "cl" : 
z_charge_max_force                       : 800      : , "cheat", "rep", "cl" : 
z_charge_max_speed                       : 500      : , "cheat", "rep", "cl" : 
z_charge_min_force                       : 550      : , "cheat", "rep", "cl" : 
z_charge_prop_damage                     : 20       : , "sv", "cheat"  : 
z_charge_start_speed                     : 250      : , "cheat", "rep", "cl" : 
z_charge_tooshort                        : 0        : , "cheat", "rep", "cl" : 
z_charge_warmup                          : 0.5      : , "cheat", "rep", "cl" : 
z_charger_allow_shove                    : 0        : , "sv", "cheat"  : 0 = Cannot be shoved, 1 = Can be shoved
z_charger_health                         : 600      : , "sv", "cheat"  : Charger max health
z_charger_impact_epsilon                 : 8        : , "sv", "cheat"  : 
z_charger_limit                          : 1        : , "sv", "cheat"  : 
z_charger_max_prop_force                 : 3000     : , "sv", "cheat"  : 
z_charger_pound_dmg                      : 15       : , "sv", "cheat"  : 
z_charger_probe_alone                    : 6        : , "sv", "cheat"  : 
z_charger_probe_attack                   : 24       : , "sv", "cheat"  :