AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Sleeper Extinguish (https://forums.alliedmods.net/showthread.php?t=169327)

FlaminSarge 10-11-2011 04:23

[TF2] Sleeper Extinguish
 
2 Attachment(s)
This is no longer necessary as of the Meat your Match update

Yeap.

Makes sense.
The Sleeper normally adds Jarate to hit enemies after charging for 1 second (around 27% charge), so this also allows it to extinguish burning teammates when at or above that charge.

Version cvar: tf2_slprxtngsh_version

Leonardo 10-11-2011 08:33

Re: [TF2] Sleeper Extinguish
 
* require random crits enabled. Right?

McFlurry 10-11-2011 08:45

Re: [TF2] Sleeper Extinguish
 
Would it benefit servers with HL StatsX or similar to create a "player_extinguish" event with the proper data when a player does extinguish a player with a sleeper?

Thrawn2 10-11-2011 12:08

Re: [TF2] Sleeper Extinguish
 
The IsValidClient stock you are defining, seems pretty odd.
- How (+why) do you give your replay and sourcetv bot adminrights anyway?
- Why is being an admin (with a certain username) relevant for being a valid client in the first place?

Suggestions:
- You should probably disable the plugin if friendly fire is turned on.
- An enable cvar to turn it off (this is a must have, isnt it?)
- Maybe a cvar to control the required chargelevel

FlaminSarge 10-12-2011 08:20

Re: [TF2] Sleeper Extinguish
 
For the IsValidClient questions:
I have the Admin check in there because http://forums.alliedmods.net/showthread.php?t=157485 assigns the two as admins with those names. It's an extended IsValidClient stock I'm beginning to use, just so the plugin ignores replay. It only checks if the client is an admin with the names "SourceTV" or "Replay", and marks them as invalid clients if so, that's all.

Charge level cvar, k.
Enable cvar, k.
FF check, k.

Player extinguish event, k.

Will do that as soon as I update Randomizer.

Yes, I believe this plugin requires that you have random crits enabled. If it becomes a problem I'll try swapping it out for a different method.

Thraka 10-25-2011 18:51

Re: [TF2] Sleeper Extinguish
 
Booo.. I have random crits off :( Sounds awesome though.

McFlurry 11-04-2011 18:21

Re: [TF2] Sleeper Extinguish
 
You could probably try using player_shoot event. That event is under generic source events, but if it's available and works properly in tf2 for sniper rifles it's a perfect replacement for TF2_CalcIsAttackCritical

DarthNinja 11-04-2011 19:50

Re: [TF2] Sleeper Extinguish
 
Approved, however a few changes would be good:

  • I'm not sure why any of your IsValidClient check is needed since TF2_CalcIsAttackCritical won't be called unless the client is firing a weapon.
  • Your weapon name check is redundant since you check the item index on the following 2 lines.
  • You might want to add some sort of advertisement message if a player spawns with a Sydney Sleeper so they know they can put teammates out.

Thrawn2 also makes some good suggestions especially the chargelevel cvar.

Also, in your post you have your version cvar and version number in the wrong fields.

FlaminSarge 11-05-2011 00:28

Re: [TF2] Sleeper Extinguish
 
1) Probably.
2) I could always have a tf_weapon_minigun with index 230.
3) Yeah, a cvar to have it show or not
4) Yeap, cvar for chargelevel.
5) Fixed.

DarthNinja 11-05-2011 04:42

Re: [TF2] Sleeper Extinguish
 
Quote:

Originally Posted by FlaminSarge (Post 1590290)
2) I could always have a tf_weapon_minigun with index 230.

Do tell.
How exactly?


All times are GMT -4. The time now is 13:40.

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