Boomer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-stuff)
Line 5: Line 5:
{{tip|To spawn boomer 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 boomer 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 boomer using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}
{{warning|Trying to spawn boomer using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}
{{note|Spawned boomer's classname is <code>player</code>}}
{{important|Spawned boomer's classname is <code>player</code>}}
{{note|AI boomers take fall damage. IgnoreFallDamage and IgnoreFallDamageWithoutReset inputs can be used to prevent it}}
{{clr}}
{{clr}}
== Mission file settings ==
{{seealso|[[L4D2_Mission_Files]]}}
{{KV|no_female_boomers|int|Disables female boomers if set to 1}}
{{KV|BoomerVariant|model|}}
{{KV|BoometteVariant|model|}}
{{KV|BoomerArmsVariant|model|}}
{{KV|BoometteArmsVariant|model|Specified model for the given chapter will be used}}


== ConVars/ConCommands ==
== ConVars/ConCommands ==

Revision as of 17:17, 21 July 2023

Stub

This article or section is a stub. You can help by expanding it.

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

Template:Entity By default director tries to spawn him in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Boomer spawns with weapon_boomer_claw which is his melee ability and ability_vomit which controls his special ability.

Tip.pngTip:To spawn boomer manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning.pngWarning:Trying to spawn boomer using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Icon-Important.pngImportant:Spawned boomer's classname is player
Note.pngNote:AI boomers take fall damage. IgnoreFallDamage and IgnoreFallDamageWithoutReset inputs can be used to prevent it

Mission file settings

See also:  L4D2_Mission_Files
no_female_boomers ([todo internal name (i)]) <integer>
Disables female boomers if set to 1
BoomerVariant ([todo internal name (i)]) <model path>
BoometteVariant ([todo internal name (i)]) <model path>
BoomerArmsVariant ([todo internal name (i)]) <model path>
BoometteArmsVariant ([todo internal name (i)]) <model path>
Specified model for the given chapter will be used

ConVars/ConCommands

z_boomer_gibs                            : 1        : , "cheat", "cl"  : 
z_boomer_limit                           : 1        : , "sv", "cheat"  : 
z_boomer_near_dist                       : 180      : , "sv", "cheat"  : 
z_exploding_force                        : 5000     : , "sv", "launcher" : 
z_exploding_health                       : 50       : , "sv", "cheat"  : Exploding Zombie max health
z_exploding_inner_radius                 : 130      : , "sv", "launcher" : 
z_exploding_outer_radius                 : 200      : , "sv", "launcher" : 
z_exploding_shove_interval               : 10       : , "sv", "cheat"  : 
z_exploding_shove_max                    : 5        : , "sv", "cheat"  : 
z_exploding_shove_min                    : 4        : , "sv", "cheat"  : 
z_exploding_speed                        : 175      : , "cheat", "rep", "cl" : 
z_exploding_splat                        : 50       : , "sv", "cheat"  : Boomers splat instead of making a thud when taking this much falling damage
z_exploding_splat_radius                 : 200      : , "sv", "cheat"  : Boomers splattering on the ground make survivors inside this radius it
z_female_boomer_spawn_chance             : 25       : , "sv", "cheat"  : **Chance (0 - 100) if a female Boomer shouldn't be allowed to spawn. Setting to 100 means no female Boomers.

See Also