Raised This Month: $51 Target: $400
 12% 

Do the L4D2 cvars not work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spiderlemur
Senior Member
Join Date: Jul 2009
Old 11-27-2009 , 08:17   Do the L4D2 cvars not work?
Reply With Quote #1

I put this in my config, and the only cvar that I can tell actually works is the survivor modifier. Anybody else have any luck getting these to work?

sm_cvar director_convert_pills 0
sm_cvar director_vs_convert_pills 0
sm_cvar director_convert_pills_to_defib_health 0
sm_cvar director_vs_convert_pills_to_defib_health 0
sm_cvar director_defibrillator_density 0
sm_cvar director_vs_defibrillator_density 0
sm_cvar director_pain_pill_density 2
sm_cvar director_tank_checkpoint_interval 5
sm_cvar sv_allow_wait_command 0
sm_cvar versus_tank_chance 1
sm_cvar versus_witch_chance 1
sm_cvar versus_tank_chance_intro 1
sm_cvar versus_tank_chance_finale 1 //// use if you want a pre-event tank on finales, otherwise do not add
sm_cvar versus_witch_chance_finale 1 ///// use if you want a witch on finales
sm_cvar versus_witch_chance_intro 1 //// use if you want a witch on the opening map
sm_cvar vs_threat_radius 100 ///// keeps tanks spawn closer to the direct escape route
sm_cvar witch_force_wander 1 ///// forces witches to wander all the time, optional
sm_cvar z_spawn_mobs_behind_chance 50 ///// default chance mobs spawn behind survivors is 75%, lowered to 50%
sm_cvar vs_survival_bonus 100 ///// gives 100 points for each survivor reaching the saferoom, adjust as you see fit.



Defibs are still spawning, Tanks are not spawning, Witches are not spawning, Medkits are still spawning, etc.
spiderlemur is offline
Send a message via AIM to spiderlemur
Blade Kiro
Member
Join Date: Jul 2009
Old 11-27-2009 , 08:22   Re: Do the L4D2 cvars not work?
Reply With Quote #2

Confirmed. Most do not work except the last one.
Blade Kiro is offline
Sherb^Mo
Junior Member
Join Date: Nov 2009
Old 11-27-2009 , 08:43   Re: Do the L4D2 cvars not work?
Reply With Quote #3

Double confirmed ^^
Sherb^Mo is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 11-29-2009 , 08:57   Re: Do the L4D2 cvars not work?
Reply With Quote #4

Quote:
sm_cvar versus_tank_chance 1
sm_cvar versus_witch_chance 1
sm_cvar versus_tank_chance_intro 1
sm_cvar versus_tank_chance_finale 1 //// use if you want a pre-event tank on finales, otherwise do not add
sm_cvar versus_witch_chance_finale 1 ///// use if you want a witch on finales
sm_cvar versus_witch_chance_intro 1 //// use if you want a witch on the opening map
I believe these doesn't work any more.

In L4D2 they are using the same thing as they used in L4D Crash Course, e.g. the map have local variables that overrides the cvars above. That would explain how only one map of those 28 maps have insane amount of witches (Hard Rain, map 2) and not every map is affected.

HOWEVER! I can't edit the tank spawning like I would on L4D Crash Course. Crash Course could be edited by opening the file; l4d/left4dead/missions/garage.txt and edit the values. But opening the campaign4.txt file (Hardrain campaign) does not contain any boss values from what I can see.

The question is then how can we edit the boss spawning. And in worst case the item spawn system is maybe also controlled by the map locally.
Mr. Zero is offline
Blade Kiro
Member
Join Date: Jul 2009
Old 11-29-2009 , 09:43   Re: Do the L4D2 cvars not work?
Reply With Quote #5

Now from what I seen, the cvars seem to work in some cases. But like L4D1, some medkits and defibs are hard-coded. Tanks do not want to seem to spawn on Map 1, but will spawn on maps 2-4 or 2-5.

Bad part is sometimes tanks spawn during rolling crescendos.
Blade Kiro is offline
Gixxer
Member
Join Date: Nov 2009
Old 11-30-2009 , 22:36   Re: Do the L4D2 cvars not work?
Reply With Quote #6

Also having these issues, anyway around them?
Gixxer is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 12-01-2009 , 00:31   Re: Do the L4D2 cvars not work?
Reply With Quote #7

i havent looked yet, but assuming l4d2 follows l4d1:
sm_cvar director_pain_pill_density 2
wont work on most (if any) maps because that cvar (and all density cvars) are defined in each map. you need to set an override cvar first - which overrides every spawnable object to use the same generic game settings (usually results in massive spawning of items on some maps).

either that or try using stripper to modify the painpill density for each map.

some of the other cvars might also be setup within each map, doing a stripper dump will tell you.

how do you know:
sm_cvar z_spawn_mobs_behind_chance 50
isnt working? have you run a statistical analysis?
dirka_dirka is offline
dacomb
Senior Member
Join Date: Oct 2009
Old 12-03-2009 , 18:54   Re: Do the L4D2 cvars not work?
Reply With Quote #8

Quote:
Originally Posted by dirka_dirka View Post

either that or try using stripper to modify the painpill density for each map.

some of the other cvars might also be setup within each map, doing a stripper dump will tell you.

how do you know:
sm_cvar z_spawn_mobs_behind_chance 50
isnt working? have you run a statistical analysis?
How do you do a "stripper dump"?
dacomb is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode