Ability vomit: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}} {{CD|CVomit}} {{This is a|logical entity|name=ability_vomit|game=Left 4 Dead series}} It controls the boomer's vomit attack. == See also == * List_of_L4D2_Netprops#CVomit")
 
No edit summary
Line 2: Line 2:
{{CD|CVomit}}
{{CD|CVomit}}
{{This is a|logical entity|name=ability_vomit|game=Left 4 Dead series}} It controls the [[boomer]]'s vomit attack.
{{This is a|logical entity|name=ability_vomit|game=Left 4 Dead series}} It controls the [[boomer]]'s vomit attack.
== Convars ==
<pre>
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.
</pre>


== See also ==
== See also ==
* [[List_of_L4D2_Netprops#CVomit]]
* [[List_of_L4D2_Netprops#CVomit]]

Revision as of 13:08, 23 May 2025

Stub

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

C++ 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.

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