[TF2] Fire Wrench
2 Attachment(s)
Quick plugin written by request for Javed in #sourcemod
Wrench hits cause victim to catch on fire. Plugin requires the TF2 Posthook for OnTakeDamage extension (and will not compile on the forums for that reason) |
Re: [TF2] Fire Wrench
You don't need that extension, just hook player_hurt.
|
Re: [TF2] Fire Wrench
Quote:
|
Re: [TF2] Fire Wrench
Cool!
As a big time offensive engi player this is getting added to my server :up: |
Re: [TF2] Fire Wrench
This will definitely end up being a part of someone's RPG plugin, fire on melee
|
Re: [TF2] Fire Wrench
Bug:
Once set on fire the player will not go out unless they extinguish themselves (healthpack, resupply locker, water.) |
Re: [TF2] Fire Wrench
Any way to make this freezebomb a player?
|
Re: [TF2] Fire Wrench
Quote:
Code:
TF2_IgnitePlayer(victim, attacker); WHATEVER OTHER FUNCTION YOU WANT k |
Re: [TF2] Fire Wrench
2 Attachment(s)
Edit: i was too slow, but DO NOT use the above without altering it. It is not safe to pass a victim's name as it could contain semicolons used to concatenate commands (ie. name "myname;rcon_password pwned"). If using a server command, pass the user id prefixed with #.
Quote:
Default duration for the freeze is 5 seconds. I was too lazy to make a convar for it but you can change the define on the very first line. Most of the freeze stuff is from sm's funcommands. |
Re: [TF2] Fire Wrench
Quote:
|
All times are GMT -4. The time now is 12:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.