Quote:
Originally Posted by SuperShadow
We use this for enabling the sentries during humilitation: http://forums.alliedmods.net/showthread.php?p=879948
We have it set so that there is a 50% chance of them being active and a 50% chance of them betraying their original team. It keeps people on their toes at the end of round.
The flame thrower has never been able to damage teammates, if it could be done be an extension, then I'd be interested in running it too (plea to those that can code extensions).
|
I'll look into it. No promises about anything.
What I've found so far:
Code:
CTFFlameEntity::OnCollideWithTeammate(CTFPlayer *pTeammate)
It seems to be the function checking whether or not the teammate is a sniper with the huntsman to light the arrow on fire.
EDIT: Finding a sig is difficult for this function....blarg
EDIT EDIT: I now have a sig, thanks to ivailosp, but it still needs tested and tweaked. The extension I made for proof-of-concept on Linux works beautifully.