View Single Post
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-21-2008 , 19:11   Re: Gas
Reply With Quote #20

Hmm according to HLSW, it is!

This is a new test version with the friendly fire stuff.
It does this:

If FF is on, it runs the usual gas point_hurt that will kill everyone who goes into the gas cloud.

If FF is off, it runs my own version of point_hurt, which checks to see which team you're on, and if you are within 250 units before killing you (I'll do the health reduction stuff when I finish it). I've run it on CSS, DoDS and TF2 and runs fine. Make sure you have a version of SourceMod newer than r2356 especially if you are running TF2 (or your server will crash when it tries to kill the player)

I think I have covered everything, but it's a test version! Let me know if it works any better
Attached Files
File Type: sp Get Plugin or Get Source (sm_gas.sp - 700 views - 11.9 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline