View Single Post
Snowden42
Junior Member
Join Date: Aug 2010
Old 10-20-2010 , 19:51   Re: [TF2] Freeze Tag
Reply With Quote #50

I've made some minor modifications to the code. I added a few lines to the Freezing mechanic that should, in theory, make the TF2_AddCondition work properly. The only problem is that I have no idea if it actually works (untested) and if it does work, what sorts of problems we might get. I'm wondering if we'll get weird behaviors if there aren't players of the class being frozen (the code modifies the disguise flags to replicate the player's class, but on the enemy team) such as naming issues. Also, I'm wondering how to prevent the skin from switching. Maybe we could use the tf_wearable_item function, since apparently SetEntityModel() doesn't work in TF2.

I'd really appreciate it if someone would test this.
Attached Files
File Type: smx freezetag.smx (18.7 KB, 71 views)
File Type: sp Get Plugin or Get Source (freezetag.sp - 65 views - 31.3 KB)
Snowden42 is offline