AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D1/2]Critical Shot (https://forums.alliedmods.net/showthread.php?t=122379)

[E]c 03-26-2010 10:24

[L4D1/2]Critical Shot
 
1 Attachment(s)
With this plugin, every shot made by survivors will have chance to become critical shot.

Critical shot will have the following effects:
  • Bonus damage
  • Ignites common infected
  • Knockback on Special Infected

ConVars
sm_critical_enable - turn on/off this plugin (default 1)
sm_critical_chance - chance to crit ,1 means 1% (default 5)
sm_critical_damage - damages bonus multiple when crit ,this will add along with normal damages ,for example: 3 means x4 damage (default 2)
sm_critical_force - force apply to special infected when crit (default 100)
sm_critical_print - show extra damage dealt by critical on chat? (default 1)

Credits
ztar for his Lethal Weapon
Mortiegama for his HP Regeneration

Changelog
  • v1.1 - Changed damage method and now print will show total damage dealt
  • v1.03 - Fixed extra damage not apply to special infected
  • v1.02 - Molotov, melee, shove no longer trigger crit
  • v1.01 - Fixed plugin not trigger on L4D2's weapons
  • v1.0 - Initial Release

IronWarrior 03-26-2010 10:33

Re: [L4D1/2]Critical Shot
 
Very nice idea, but I think a little too overpowered.

ghosthunterfool 03-26-2010 10:39

Re: [L4D1/2]Critical Shot
 
Can u make the critical shot only for the sniper rifles ???

IronWarrior 03-26-2010 10:47

Re: [L4D1/2]Critical Shot
 
Quote:

Originally Posted by ghosthunterfool (Post 1129305)
Can u make the critical shot only for the sniper rifles ???

That be a good suggestion and maybe Grenade Launchers?

Hmm, thinking about it, could you go further and add a list where you can disable/enable what this plugin works for what weapon?

[E]c 03-26-2010 11:01

Re: [L4D1/2]Critical Shot
 
Maybe i can...but it'll take abit long cuz im new to this

ghosthunterfool 03-26-2010 11:04

Re: [L4D1/2]Critical Shot
 
release the sniper first since its the more needed for critical damage !!

RavenDan29 05-29-2010 08:24

critical shot, cant see if it works :(
 
I was hopeing for a dramatic "Critical Shot" to appear above the head of the victim, but nothing, no way to tell if it actually works, any chance of an update please to try and do something similiar to this would be very cool

Thank You

sudloa 05-31-2010 00:08

Re: [L4D1/2]Critical Shot
 
another suggestion,
- hint or chat msg to tell all player that has someone get crit
- can infected has critical? I mean normal infected not special infected (with another msg to tell that which player received crit from normal infected) (for making overall game become balance)
- can u set the mode like Berserk mode for activate "Critical mode", every shot survivor shoot becomes crit for a few secs (with msg to tell everyone which player has activated this mode)

many thanks for this plugin.

PieOnEar 09-26-2010 13:28

Re: [L4D1/2]Critical Shot
 
I sorta wanted a plugin like this, but couldn't be bothered to request it, thanks man

PieOnEar 09-26-2010 16:16

Re: [L4D1/2]Critical Shot
 
I just found a few problems on L4D2
1: Only Pistols ignite Infected
2: Special Infected never get Ignited

Could you also make this plugin always crit on headshot?


EDIT: Seems that only SMGs AND Pistols ignite, and Crits don't work on the new L4D2 weapons, no pushback at all, not even the M16 and Shotguns ignite/pushback

[E]c 05-07-2012 11:44

Re: [L4D1/2]Critical Shot
 
Temp fix'd (hopefully) it to work with L4D2. (made the script even more crappy :V)
Issue: damage from molotov will also have chance to knockback/damage special infected (or crash...), will look into it later.

I will probably not going to implement other stuff, as I'm kind of busy with real life stuff now. Other peeps feel free to make this thing better.

starstrucktiger 06-18-2014 10:11

Re: [L4D1/2]Critical Shot
 
Could you make it so a custom sound will play on hit?

TANK Killer 11-08-2017 05:10

Re: [L4D1/2]Critical Shot
 
1 Attachment(s)
At first: Thanks to [E]c for this plugin.
Secondly: I update it little
-Added a random increase in damage
-Murder of the victim, when there is 0 health, after the crit

And it have RU translate now

BloodyBlade 09-03-2019 18:19

Re: [L4D1/2]Critical Shot
 
1 Attachment(s)
* Converted plugin source from post #13 to the latest syntax. Requires SourceMod 1.8 or newer.

KleinMarquez 05-31-2020 07:01

Re: [L4D1/2]Critical Shot
 
1 Attachment(s)
Fix in post 14, where it still shows Russian translate from post 13.

SgtBeta 01-03-2021 15:28

Re: [L4D1/2]Critical Shot
 
Dunno why tho but when I try to get the plugin now it fails to compile, is that something on my end?

Kinda new here...

Marttt 01-03-2021 17:36

Re: [L4D1/2]Critical Shot
 
By manually compiling here worked. You can try to paste the source code in spider and then compile->download.
From my test will only output some harmless warnings

ddd123 07-31-2021 17:13

Re: [L4D1/2]Critical Shot
 
I found bug that if i manage to get hit multiple target such 1 special infected and tank(or two special infected) with 1 critical shot(such as shotgun's spread or sniper's pierce)
And if i kill one of the special infected with critical, the other target will also get instant kill even with full health (I kill Tank with only 100+ critical damages on one shot after i also critical and kill boomer who's hiding on tank behind)

I think "KillVictim();" also affect on multiple victim including full health victim and if i kill one of them the other victim will get instant kill

Also sometime the critical can also kill ghost mode


All times are GMT -4. The time now is 15:21.

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