Raised This Month: $319 Target: $400
 79%   Almost there!

[L4D2]Tank commando resistance to weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Maur0
Member
Join Date: Aug 2020
Old 05-07-2021 , 15:09   [L4D2]Tank commando resistance to weapons
Reply With Quote #1

Hello, I would like to know if there is a possibility of creating a plugin that allows adding some commands that modify the damage factor that the Tank receives in different weapons. For example, the automatic shotguns and the grenade launcher already have theirs:

z_tank_autoshotgun_dmg_scale 0.85 // Benelli and Spas DMG factor
z_tank_grenade_launcher_dmg_scale 3.0 // Grenade Launcher DMG factor

If it were possible to add some commands for the other weapons and thus give better resistance or vulnerability to the Tank.

z_tank_pistols_dmg_scale 0.85
z_tank_smg_dmg_scale 0.65
z_tank_shotgun_dmg_scale 0.5
z_tank_rifles_dmg_scale 0.65
z_tank_snipers_dmg_scale 0.75
z_tank_m60_dmg_scale 0.75

The values are as an example more or less. But if they arrive, a better balanced value has occurred, the better.

More than that and I hope it is a possibility, since it is something very useful to balance the Tank with different damages and that occurred to me because of the Killing Floor 2 game where each Zeds have resistances and vulnerabilities in different weapons.

Thank you for your attention.
Maur0 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: TW
Old 05-08-2021 , 17:28   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #2

Since someone needs it, I share my private work here

l4d2 Gun Damage Modify v1.1 (2021/5/9)
Modify every weapon damage done to Tank, SI, Witch, Common including melee in l4d2

-Convar-
Spoiler


-Edit Github-
Latest version always here
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_gun_damage_modify.sp - 45 views - 22.5 KB)
__________________

Last edited by HarryPotter; 05-09-2021 at 00:55.
HarryPotter is offline
Maur0
Member
Join Date: Aug 2020
Old 05-09-2021 , 14:54   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #3

@HarryPotter - Yes! It is just what I needed and more than you put in to apply to the Witch, SI and Common. You are a genious!

Something that yes, I have tried it and it works perfect. The only thing I notice is that when I lower the damage factor in melee with the SI to 0.75, when their health is already empty, they do not tend to die and they do not make noise of pain. The only thing they die is hitting him on the head. The only one that is good, is the Charger, the rest do not die properly when you lower the factor to make them more resistant.

I have also tried the common ones, although I think that more or less I stick with these commands and the Marttt plugin to not complicate things too much.
Code:
z_non_head_damage_factor_normal 0.5
z_non_head_damage_factor_easy 0.5
z_non_head_damage_factor_hard 0.5
z_non_head_damage_factor_multiplier 0.5
[L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]
HTML Code:
https://forums.alliedmods.net/showthread.php?p=2733328
Anyway, thank you very much. I hope you can correct that adjustment that I told you about minor factor damage against SIs and maybe you can publish it. Thank you!

Nice job!

Last edited by Maur0; 05-09-2021 at 14:57.
Maur0 is offline
bald14
Member
Join Date: Aug 2021
Old 09-24-2021 , 07:19   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #4

Quote:
Originally Posted by HarryPotter View Post
Since someone needs it, I share my private work here

l4d2 Gun Damage Modify v1.1 (2021/5/9)
Modify every weapon damage done to Tank, SI, Witch, Common including melee in l4d2

-Convar-
Spoiler


-Edit Github-
Latest version always here
the default as in cvar is damage reduction to the tank or how should i set it?
bald14 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-24-2021 , 07:41   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #5

check his GitHub plugin and change the "*_damage_tank_multi" cvars values
__________________
Marttt is online now
bald14
Member
Join Date: Aug 2021
Old 09-24-2021 , 07:56   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #6

Quote:
Originally Posted by Marttt View Post
check his GitHub plugin and change the "*_damage_tank_multi" cvars values
I just don't know how to set it properly. For example, if I want to reduce AK damage to the tank by half, how do I set it?
bald14 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-24-2021 , 08:01   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #7

// Modfiy ak47 Damage to tank multi.

l4d_ak47_damage_tank_multi "1.0"

to

l4d_ak47_damage_tank_multi "0.5"
__________________

Last edited by Marttt; 09-24-2021 at 08:02.
Marttt is online now
bald14
Member
Join Date: Aug 2021
Old 09-24-2021 , 08:06   Re: [L4D2]Tank commando resistance to weapons
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
// Modfiy ak47 Damage to tank multi.

l4d_ak47_damage_tank_multi "1.0"

to

l4d_ak47_damage_tank_multi "0.5"
Love you so much
bald14 is offline
Reply


Thread Tools
Display Modes

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 11:19.


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