Raised This Month: $32 Target: $400
 8% 

help l4d2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
luis enrique
Member
Join Date: Oct 2017
Location: peru
Old 10-02-2019 , 15:51   help l4d2
Reply With Quote #1

someone could add support to work in l4d2, to this plugins, you would be infinitely grateful
Attached Files
File Type: sp Get Plugin or Get Source (l4d_punishments for hide seek.sp - 166 views - 2.2 KB)
luis enrique is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-02-2019 , 16:43   Re: help l4d2
Reply With Quote #2

EDIT: Try this attached version.
It may be L4D and L4D2 compatible (didn't tested)

###########################


I don't think that this plugin work as is, but if you want to make it run on L4D2 for tank just change this line (Line 71)

... "m_zombieClass") == 5 ...

to

... "m_zombieClass") == 8 ...

So it may be tank compatible with L4D2
Attached Files
File Type: sp Get Plugin or Get Source (l4d_punishments for hide seek.sp - 177 views - 2.8 KB)
__________________

Last edited by Marttt; 10-02-2019 at 16:57.
Marttt is offline
luis enrique
Member
Join Date: Oct 2017
Location: peru
Old 10-03-2019 , 17:47   Re: help l4d2
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
EDIT: Try this attached version.
It may be L4D and L4D2 compatible (didn't tested)

###########################


I don't think that this plugin work as is, but if you want to make it run on L4D2 for tank just change this line (Line 71)

... "m_zombieClass") == 5 ...

to

... "m_zombieClass") == 8 ...

So it may be tank compatible with L4D2



You're right it didn't work, what would be the solution? I would also like to add a height limit, and after a minute to lose life, do you think it can be done?
luis enrique is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-04-2019 , 06:07   Re: help l4d2
Reply With Quote #4

Well, I didn't make this plugin, but looking at the code, it seems that it only checks if the player is crouching (CTRL) after a jump (SPACE), while the tank is alive, that's why it works inside the ambulance.

I don't have time to make a plugin right now but to do some kind of punishment for players that hide from the tank, you can save the last hit to the tank for each client and later check if the time is greater than a defined cvar like 60 seconds.

Still is not a good solution since tanks can bug sometimes in unreachable spots, so would be better to check if the tank is hitting somebody before the punishment.
Also sometimes rush to the saferoom is better than making all players die to the tank and restarting the map (depends on the map, mainly customs with a great size).

In case of more than one simultaneous tank spawned maybe this logic need to be improved a little.
__________________

Last edited by Marttt; 10-04-2019 at 06:44.
Marttt is offline
Venom1777
Junior Member
Join Date: Oct 2019
Old 10-09-2019 , 01:15   Re: help l4d2
Reply With Quote #5

Quote:
Originally Posted by luis enrique View Post
You're right it didn't work, what would be the solution? I would also like to add a height limit, and after a minute to lose life, do you think it can be done?
you copied me the style of placing stairs on the maps but you couldn't think of anything about the wtf tank
Venom1777 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 17:46.


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