PDA

View Full Version : CVAR fun



Tonster
17-11-2008, 14:51
I was looking around for some ways of adding a little more life to the demo and found the following info on the CVAR commands.

You need to activate the console in Options first, then press tilde (~) to bring down the console. You may also need to activate cheats for a lot of this with;
sv_cheats 1

Interesting stuff beyond the usual gravity type effects includes;

More frequent (but smaller) waves:
director_finale_max_loops 3
director_relax_min_interval 20
director_relax_max_interval 50
z_skirmish_spawn_max_interval 30
z_skirmish_spawn_max_size 6
z_skirmish_spawn_min_interval 10
z_skirmish_spawn_min_size 2
z_mob_spawn_finale_size 15
z_mob_spawn_max_interval_expert 180
z_mob_spawn_min_interval_expert 90
z_mob_spawn_max_size 20
z_mob_spawn_min_size 10
z_mega_mob_size 40
z_mega_mob_spawn_max_interval 720
z_mega_mob_spawn_min_interval 300
z_mob_music_size 6


More frequent special zombies:
director_special_respawn_interval 35
z_special_spawn_interval 35


Various item changes: rarity and effect
director_convert_pills 0
director_pain_pill_density 8
director_pipe_bomb_density 2
pain_pills_decay_rate 0.10
pain_pills_health_threshold 60
pain_pills_health_value 40
inferno_damage 50
inferno_flame_lifetime 20


Zombie health quadrupled (hunter / tank unaffected)
tongue_health 150
z_exploding_health 100
z_health 200


Boomer explosion radius x1.5
z_exploding_splat_radius 300


Weapon push less spammable
z_gun_swing_interval 1


Hordes spawn more randomly
z_spawn_mobs_behind_chance 50



z_spawn xxx (hunter/smoker/boomer/tank/witch)
Zombies spawn where you look. Just use z_spawn on it's own to spawn normal zombies. z_add has the same function.


Increase the max zombies
z_common_limit 100
z_mega_mob_limit 120


You can give your teammates (Bots only?) weapons with
sb_give *WEAPONNAME*
You can give yourself weapons with
give *WeaponName*


Director_force_panic_event
director_panic_forever 1
Makes the director panic more often so there is always a hell of a lot of hordes.

sv_infinite_ammo 1
will help you so you do not have to reload

You can also use
thirdperson
No prizes for guessing what it does


Complete cvar list
http://left4dead411.com/l4d_cvar_list.pdf

JamesBPK
17-11-2008, 16:59
I'd like to point out that this will only work in single player mode. We are not considering enabling sv_cheats on the servers.