View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 12-21-2006 , 15:55   Allied spy notification
Reply With Quote #1

This plugin shows a little message above the head at ally spies that are disguised as an enemy. ( see attached .jpg )

IT SHOWS THE MESSAGE ONLY TO TEAMMATES and spectators.

This is very usefull because its somtimes hard to see if its a allied spy or a enemy player especialy when he/she is walking back into your base.

1 sprite is needed, this can be changed but you need to change the name of the sprite in the plugin. ( see line 4 in the .sma file )

Cvars: tfc_allyspy 1/0 ( enables/disables the plugin )

Bugs: NONE known yet, post if you find any.

Changelog: 1.00 First release
1.10 Added a cvar + fixed disconnect while spying bug + lowered the sprite by 10 units

Unzip allyspy.spr in your "tfc/sprites" folder, this is a small file less then 2kb, so do not worry about
client downloads.

In the .jpg ignore the custom toon models i installed, they are NOT included.

Edit: Pizzahut posted an updated version, as I dont have the right tools to test it anymore, I wont delete my version just yet.
Although after taking a quick look at the code it seems valid
I suggest you use pizzahut's version over mine.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.JPG
Views:	1885
Size:	23.6 KB
ID:	12710  
Attached Files
File Type: sma Get Plugin or Get Source (allyspy.sma - 2073 views - 2.4 KB)
File Type: zip allyspy.zip (661 Bytes, 728 views)
File Type: sma Get Plugin or Get Source (allyspy_pizzahut.sma - 1387 views - 2.0 KB)
__________________
Um, hi.

Last edited by Ramono; 08-17-2010 at 15:43.
Ramono is offline