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

[L4D & L4D2] God Frames Patch (1.7) [29-Apr-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 12-10-2019 , 08:19   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #11

@Silvers, I notice that your plugin does not work in l4d1 windows and linux when I tested

I did put gamedata
there is a cfg/sourcemod/l4d_god_frames.cfg created by plugin, but nothing works
no error logs, I didn't change any convars
__________________

Last edited by HarryPotter; 12-10-2019 at 08:19.
HarryPotter is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-12-2020 , 19:50   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #12

I like the fact that you added float ConVars. That would really help add a whole new dynamic to the game. Maybe some forwards would also be great for this sort of plugin to disable godframes on particular situations.
__________________

Last edited by Spirit_12; 01-12-2020 at 19:51.
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-12-2020 , 20:37   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #13

Attached example plugin using the main plugins forward. Thanks to Lux for example idea: common damage on invulnerable incapped client.

Also these are the cvars common infected actually use for invulnerable timers:
PHP Code:
z_throttle_hit_interval_easy             0.5      : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_expert           
1        : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_hard             
0.5      : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_normal           
0.33     : , "sv""cheat"  Minimum time between damaging a Survivor from a mob 
Attached Files
File Type: inc l4d_god_frames.inc (524 Bytes, 138 views)
File Type: sp Get Plugin or Get Source (l4d_god_frames_forward.sp - 131 views - 1.3 KB)
__________________

Last edited by Silvers; 01-20-2020 at 22:51.
Silvers is offline
paul92
Senior Member
Join Date: Sep 2010
Old 01-18-2020 , 19:30   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #14

Thank you Silver. Will try out the new version and see how it goes. Will report back in the next days!
paul92 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-20-2020 , 03:57   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #15

still didn't work in l4d1,
PHP Code:
public Action OnTakeDamage(int clientint &attackerint &inflictorfloat &damageint &damagetype)
{
    
PrintToChatAll("here");
    if( 
g_bInvulnerable[client] )
    {
        
PrintToChatAll("here2"); //server never prints this line
    
....
    .... 
__________________
HarryPotter is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-20-2020 , 22:50   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #16

Quote:
Originally Posted by fbef0102 View Post
still didn't work in l4d1
Thanks, fixed.

Code:
1.2 (21-Jan-2020)
    - Fixed L4D1 not using IsInvulnerable function in OnTakeDamage. Thanks to "fbef0102" for reporting.
    - Thanks to Lux for various help. L4D1 now reads and sets the IsInvulnerable timer directly.
    - L4D1 gamedata update required.
    - L4D2 gamedata update required if updating from 1.0.
Had a test with some cvars and they seem to be working so I removed the beta versions and pushed to the first post.
__________________
Silvers is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-21-2020 , 09:49   Re: [L4D & L4D2] God Frames Patch (1.2) [21-Jan-2020]
Reply With Quote #17

finally it works in l4d1,
thanks, Silvers
__________________
HarryPotter is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-05-2020 , 22:11   Re: [L4D & L4D2] God Frames Patch (1.3) [05-Feb-2020]
Reply With Quote #18

Code:
1.3 (05-Feb-2020)
    - Moved forward creation to the correct place. Was rushed for demonstration.
__________________
Silvers is offline
kmah
Junior Member
Join Date: Oct 2019
Old 01-22-2021 , 13:23   Re: [L4D & L4D2] God Frames Patch (1.5) [10-May-2020]
Reply With Quote #19

can someone tell me please what is this plugin for ? (l4d2_godframes_control)
kmah is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-22-2021 , 14:44   Re: [L4D & L4D2] God Frames Patch (1.5) [10-May-2020]
Reply With Quote #20

You need to understand what is god frame first.

God frame is a behaviour that cancels incoming damages for a while.
In an RPG it would be the spawn/teleport protection (for example).

Here is an example in L4D2 that I remember having this:
  • When a survivor is in a spit pool taking damage and then a smoker tongues him, the spit damage is cancelled for a while.

This is more noticeable in versus, cause sometimes 2 infecteds attacks the same survivor, but you can see that the damage doesn't count or was less than it should.
__________________

Last edited by Marttt; 01-22-2021 at 14:45.
Marttt 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 08:22.


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