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

[L4D2] Difficulty Override


Post New Thread Reply   
 
Thread Tools Display Modes
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 11-08-2010 , 21:02   Re: [L4D2] Difficulty Override
Reply With Quote #21

I can confirm what paul92 is claiming. The l4d2_force_difficulty has no affect on whether the difficulty is overrode by the user.

For instance, if one is to install this plug-in and set l4d2_force_difficulty via RCON on their server and set z_difficulty to (x) via RCON as well, whatever they set the difficulty to will stay with the server across all gamemodes (even after a restart?) regardless if the force_difficulty cvar defaults to "0" after a map change or server restart.

I am deleting this plug-in in the mean time until a fix comes but even after I have deleted the plug-in the difficulty I set with the plug-in remains.
__________________
danielmyst777 is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 11-09-2010 , 13:33   Re: [L4D2] Difficulty Override
Reply With Quote #22

@Daniel, have you tried the latest version w/ latest left4downtown2?
ProdigySim is offline
paul92
Senior Member
Join Date: Sep 2010
Old 11-09-2010 , 17:18   Re: [L4D2] Difficulty Override
Reply With Quote #23

@Danielmyst777, you should redownload the last version of left4downtown 2 and the 1.1 version of this plugin!!!

Because, dear Prodigy, YOU MADE IT!
Ahahah, Awesoome! You solved it!
Now the l4d2_force_difficulty 1 is really working, and i can change the difficulty during the game!
So i can say that now this plugin works for Windows servers!
Thank you for All!

P.S: Tomorrow, after some others try, i want to suggest you some little improvements, because (like AtomycStryker told you), some value doesn't change on versus...
paul92 is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 11-09-2010 , 19:43   Re: [L4D2] Difficulty Override
Reply With Quote #24

Glad to hear it works.
Quote:
Originally Posted by paul92 View Post
P.S: Tomorrow, after some others try, i want to suggest you some little improvements, because (like AtomycStryker told you), some value doesn't change on versus...
Most of the values that don't obey difficulty setting in versus are changed with cvars. For example, SI damage and tank health stays the same, but there are cvars for them

Quote:
Originally Posted by CVars
hunter_pz_claw_dmg : 6 : , "sv", "cheat", "rep" : Amount of damage done by a PZ hunter's regular melee attack
z_tank_health : 4000 : , "sv", "cheat" : Tank Zombie max health
Tank health is actually 150% greater on versus, so this is the 6 damage scratch + 6000 HP tanks we're used to in versus.

If you look at how much damage hunters do in various difficulties, you'll see they don't match

Hunter Scratch damage:
Normal: 10
Advanced: 20
Versus: 6

The versus values for many attributes are controlled by cvars.


Oh, and make sure to get left4downtown 0.5.2.2 if you're on linux.
ProdigySim is offline
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 11-09-2010 , 20:06   Re: [L4D2] Difficulty Override
Reply With Quote #25

@ProdigySim I just installed the newest plug-in you posted in the OP but when I type "sm plugins list" in the console, it lists the plug-in as 1.0

Is this the newest version or still the old one with the l4d2_force_difficulty convar problem?
__________________
danielmyst777 is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 11-09-2010 , 21:46   Re: [L4D2] Difficulty Override
Reply With Quote #26

I probably just forgot to bump the version number in the compiled version I had posted. It's updated now, and the version you got should probably work too.
ProdigySim is offline
paul92
Senior Member
Join Date: Sep 2010
Old 11-10-2010 , 09:06   Re: [L4D2] Difficulty Override
Reply With Quote #27

Quote:
Originally Posted by ProdigySim View Post
Glad to hear it works.

Most of the values that don't obey difficulty setting in versus are changed with cvars. For example, SI damage and tank health stays the same, but there are cvars for them


Tank health is actually 150% greater on versus, so this is the 6 damage scratch + 6000 HP tanks we're used to in versus.

If you look at how much damage hunters do in various difficulties, you'll see they don't match

Hunter Scratch damage:
Normal: 10
Advanced: 20
Versus: 6

The versus values for many attributes are controlled by cvars.


Oh, and make sure to get left4downtown 0.5.2.2 if you're on linux.
I know, but i was asking if you can make that changing the difficulty, will change also theese cvars without activing "sv_cheats 1".

If i will post here all the cvars, can you insert them so they will change with the rispective difficulty?

P.S: The 6000 tank health is normal... It has 6000 health also in campaign, so in versus the tank's health isn't greater than coop.
P.S.S: Can you tell me the cvars to:
1)Modify the Charger's melee attack?
2)Modify the Tank's melee attack?
3)Active the drag damage (not choking) on coop?
I didn't find theese 3 cvars... :S
paul92 is offline
ProdigySim
SourceMod Plugin Approver
Join Date: Feb 2010
Old 11-10-2010 , 19:15   Re: [L4D2] Difficulty Override
Reply With Quote #28

Use sm_cvar on those cvars, you don't need to turn on cheats.

Code:
vs_tank_damage                           : 24       : , "sv", "cheat"  : Amount of damage done by a vs tank's melee attack
z_charger_pound_dmg                      : 15       : , "sv", "cheat"  : 
z_charge_max_damage                      : 10       : , "sv", "cheat", "rep" :
I don't think there's a cvar for the last one.
ProdigySim is offline
paul92
Senior Member
Join Date: Sep 2010
Old 11-11-2010 , 16:45   Re: [L4D2] Difficulty Override
Reply With Quote #29

Quote:
Originally Posted by ProdigySim View Post
Use sm_cvar on those cvars, you don't need to turn on cheats.

Code:
vs_tank_damage                           : 24       : , "sv", "cheat"  : Amount of damage done by a vs tank's melee attack
z_charger_pound_dmg                      : 15       : , "sv", "cheat"  : 
z_charge_max_damage                      : 10       : , "sv", "cheat", "rep" :
I don't think there's a cvar for the last one.
For the Chargers, the pound_dmg is the damage that he does when he immobilizes you...I was asking for the charger's punching damage cvar.

The z_charge_max_damage doesn't work and i don't know what it's for...(Not for the charge damage surely, because i set it 100 but when he charged us he make the usual 10 damage to all survivors)

I'm posting all the cvars because some of them are wrong with this plugin:
For example in impossible versus, the smoker do 15 damage per second instead of 30.

Please, can you put this in your plugin so they will change automatically on the respective difficulty change (if you want to improve it)? Or if you don't want, can you tell me how can i do this? (if i only need to copy-past the Cvars in somewhere. I'm a newbie with source code because i'm a child )

Easy:
Doesn't need changes.

Normal:
sm_cvar hunter_pz_claw_dmg 10
sm_cvar tongue_choke_damage_amount 10

Hard:
sm_cvar hunter_pz_claw_dmg 20
sm_cvar z_pounce_damage 10
sm_cvar smoker_pz_claw_dmg 5
sm_cvar tongue_choke_damage_amount 20
sm_cvar tongue_drag_damage_amount 5
sm_cvar boomer_pz_claw_dmg 5
sm_cvar spitter_pz_claw_dmg 5
sm_cvar (charger's melee damage 15)
sm_cvar (charger's charge damage 15)
sm_cvar jockey_pz_claw_dmg 5
sm_cvar jockey_ride_damage 8
sm_cvar vs_tank_damage 33

Impossible:
sm_cvar hunter_pz_claw_dmg 40
sm_cvar z_pounce_damage 15
sm_cvar smoker_pz_claw_dmg 20
sm_cvar tongue_choke_damage_amount 30
sm_cvar tongue_drag_damage_amount 10
sm_cvar boomer_pz_claw_dmg 20
sm_cvar spitter_pz_claw_dmg 20
sm_cvar (charger's melee damage 20)
sm_cvar (charger's charge damage 20)
sm_cvar jockey_pz_claw_dmg 20
sm_cvar jockey_ride_damage 12
sm_cvar vs_tank_damage 150

Last edited by paul92; 11-14-2010 at 05:49. Reason: Grammar
paul92 is offline
Doswhore
Junior Member
Join Date: Feb 2011
Old 06-14-2011 , 00:07   Re: [L4D2] Difficulty Override
Reply With Quote #30

Hello. Every once and a while the difficulty on my server resets to normal. My Left 4 Downtown 2 and sourcemod are up to date. Other than that everything works great for me. Any advice? I've tried sm_cvar z_difficulty hard and z_difficulty hard in my server cfg. Also overide is on.
Doswhore 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 03:41.


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