ability_vomit

From Valve Developer Community
Jump to navigation Jump to search
edit
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

Stub

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

Class hierarchy
CVomit
CBaseAbility
CBaseEntity

ability_vomit is a logical entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It controls the boomer's vomit attack and creates several vomit_particles when vomiting (seems that only bot boomer creates those entities).

ConVars

z_vomit	1	"sv", "cheat"	
z_vomit_boxsize	1.0	"sv", "cheat"	Size of vomit damage entities.
z_vomit_debug	0	"cheat", "rep", "cl"	Visualize the vomit damage.
z_vomit_drag	0.89	"sv", "cheat"	Air drag of vomit damage entities.
z_vomit_duration	1.5	"cheat", "rep", "cl"	How long a puker continuously pukes for.
z_vomit_fade_duration	5	"cheat", "rep", "cl"	How long the fade takes
z_vomit_fade_start	5	"cheat", "rep", "cl"	When the vomit starts to fade away
z_vomit_fatigue	3000	"cheat", "rep", "cl"	Stamina impact of puking. High number will pin in place for a long time, lower will just slow.
z_vomit_float	-130.0	"sv", "cheat"	Upward float velocity of vomit damage entities.
z_vomit_hit_pitch_max	15	"sv", "cheat"	
z_vomit_hit_pitch_min	-15	"sv", "cheat"	
z_vomit_hit_yaw_max	10	"sv", "cheat"	
z_vomit_hit_yaw_min	-10	"sv", "cheat"	
z_vomit_interval	30	"cheat", "rep", "cl"	How often a puker can puke.
z_vomit_lifetime	0.5	"sv", "cheat"	Time to live of vomit damage entities.
z_vomit_maxdamagedist	350.0	"sv", "cheat"	Maximum damage distance for vomit.
z_vomit_range	300	"cheat", "rep", "cl"	
z_vomit_slide_mult	0.5	"cheat", "rep", "cl"	Multiplier for second texture slide rate
z_vomit_slide_rate	0.1	"cheat", "rep", "cl"	Percentage of screen height per second
z_vomit_target_dot	0.6	"cheat", "cl"	
z_vomit_target_range	280	"cheat", "cl"	
z_vomit_vecrand	0.05	"sv", "cheat"	Random vector added to initial velocity of vomit damage entities.
z_vomit_velocity	1700.0	"sv", "cheat"	Initial velocity of vomit damage entities.
z_vomit_velocityfadeend	.5	"sv", "cheat"	Time at which attacker's velocity contribution finishes fading.
z_vomit_velocityfadestart	.3	"sv", "cheat"	Time at which attacker's velocity contribution starts to fade.

See also