Raised This Month: $ Target: $400
 0% 

[TF2] Extended Friendly Fire Extension?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Afronanny
Veteran Member
Join Date: Aug 2009
Old 07-28-2010 , 18:37   Re: [TF2] Extended Friendly Fire Extension?
Reply With Quote #3

Quote:
Originally Posted by SuperShadow View Post
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.

Last edited by Afronanny; 07-29-2010 at 07:47.
Afronanny is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:42.


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