AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [TF2] Addcond (https://forums.alliedmods.net/showthread.php?t=98542)

jameless 09-25-2010 14:35

Re: [TF2] Addcond
 
I see so no way to turn it off then right?

bl4nk 09-25-2010 15:29

Re: [TF2] Addcond
 
Quote:

Originally Posted by psychonic (Post 1307602)
The actual loserstate logic is clientside.

This means that it's not possible using only SourceMod. You could write up a client plugin to handle it, but then you'd have to distribute it to everyone on your server for it to work.

jameless 09-25-2010 16:57

Re: [TF2] Addcond
 
Ah yes well that would cancel out what I was trying to achieve but thanks for the replies!

Snowden42 10-20-2010 17:54

Re: [TF2] Addcond
 
Is the TF2_AddCondition broken when you attempt to apply the Disguised condition to a class that isn't a spy? Sentries still target them, and they are shown as having a Scout skin.

bl4nk 10-21-2010 13:41

Re: [TF2] Addcond
 
That's just how the condition works. It only does what it should when the player's class is spy.

psychonic 10-21-2010 15:03

Re: [TF2] Addcond
 
Quote:

Originally Posted by Snowden42 (Post 1330517)
Is the TF2_AddCondition broken when you attempt to apply the Disguised condition to a class that isn't a spy? Sentries still target them, and they are shown as having a Scout skin.

Quote:

Originally Posted by bl4nk (Post 1331047)
That's just how the condition works. It only does what it should when the player's class is spy.

You might be able to also manually set some of the disguise netprops (in addition to condition) to get the desired result.

Snowden42 10-21-2010 15:09

Re: [TF2] Addcond
 
Someone had said earlier that you could modify some flags on the player to get the desired result, but I have not tested it. Really, I was trying to come up with a quick and easy way to prevent sentries from targetting only specific people under specific conditions (frozen players for the freezetag mod) short of an extension. I doubt it's possible to modify sentry behavior without one, however.

psychonic 10-21-2010 15:25

Re: [TF2] Addcond
 
Quote:

Originally Posted by Snowden42 (Post 1331126)
Someone had said earlier that you could modify some flags on the player to get the desired result, but I have not tested it. Really, I was trying to come up with a quick and easy way to prevent sentries from targetting only specific people under specific conditions (frozen players for the freezetag mod) short of an extension. I doubt it's possible to modify sentry behavior without one, however.

changing the disguise team while their condition is disguised may be enough.

Snowden42 10-21-2010 15:34

Re: [TF2] Addcond
 
However I would merely like to mimic this behavior. Ideally modify the player's flag and change their condition, while simultaneously preventing them from taking on the name of an enemy player and class (remove the disguise behavior, but maintain the sentry mechanic).


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

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