AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [L4D2]Tank commando resistance to weapons (https://forums.alliedmods.net/showthread.php?t=332365)

Maur0 05-07-2021 15:09

[L4D2]Tank commando resistance to weapons
 
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.

HarryPotter 05-08-2021 17:28

Re: [L4D2]Tank commando resistance to weapons
 
1 Attachment(s)
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

Maur0 05-09-2021 14:54

Re: [L4D2]Tank commando resistance to weapons
 
@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! :D

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! :D:up:

bald14 09-24-2021 07:19

Re: [L4D2]Tank commando resistance to weapons
 
Quote:

Originally Posted by HarryPotter (Post 2746314)
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?

Marttt 09-24-2021 07:41

Re: [L4D2]Tank commando resistance to weapons
 
check his GitHub plugin and change the "*_damage_tank_multi" cvars values

bald14 09-24-2021 07:56

Re: [L4D2]Tank commando resistance to weapons
 
Quote:

Originally Posted by Marttt (Post 2758737)
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?

Marttt 09-24-2021 08:01

Re: [L4D2]Tank commando resistance to weapons
 
// Modfiy ak47 Damage to tank multi.

l4d_ak47_damage_tank_multi "1.0"

to

l4d_ak47_damage_tank_multi "0.5"

bald14 09-24-2021 08:06

Re: [L4D2]Tank commando resistance to weapons
 
Quote:

Originally Posted by Marttt (Post 2758741)
// 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 :3


All times are GMT -4. The time now is 09:44.

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