Raised This Month: $51 Target: $400
 12% 

[TF2] Detecting when a Spy is doing the box trot taunt?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-20-2015 , 04:12   [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #1

Was hoping this was a TFCond, seems it's not (according to tf2.inc, anyway).

How do?
404UserNotFound is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 09-20-2015 , 05:24   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #2

look at my conga time limit plugin, use the box trot's item def index instead
__________________
Chdata is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-20-2015 , 11:44   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #3

Quote:
Originally Posted by Chdata View Post
look at my conga time limit plugin, use the box trot's item def index instead
Will do. Had a friend ask me if it was possible to do something involving the box taunt, but I want to keep it a secret for now. I think some people may have an idea as to what was suggested to me...
404UserNotFound is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 09-20-2015 , 12:02   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #4

Let me guess, make the spy's box appear visible to other players when using FlaminSarge's taunts plugin?

Spoiler

Last edited by Potato Uno; 09-20-2015 at 12:04.
Potato Uno is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-20-2015 , 12:26   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #5

Quote:
Originally Posted by Potato Uno View Post
Let me guess, make the spy's box appear visible to other players when using FlaminSarge's taunts plugin?

Spoiler
No, someone wanted a way to make people doing the Box taunt go cloaked when they stop moving, similar to how the box works in Metal Gear Solid.

And I just realized that I don't know of a way to check if a player is not moving.

Last edited by 404UserNotFound; 09-20-2015 at 12:26.
404UserNotFound is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 09-20-2015 , 12:34   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #6

Check clients' buttons pressed or, more accurately, check players' velocities.
__________________
11530 is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 09-20-2015 , 12:37   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #7

Prop_Data m_vecAbsVelocity
__________________

Last edited by Pelipoika; 09-20-2015 at 12:38.
Pelipoika is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 09-20-2015 , 12:41   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #8

PHP Code:
TF2_AddCondition(iClientTFCond_Cloaked); 
First, apply that on the client and see if the box also gets cloaked with the spy (it should since the box counts as an attachable).
Potato Uno is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 09-23-2015 , 09:51   Re: [TF2] Detecting when a Spy is doing the box trot taunt?
Reply With Quote #9

Quote:
Originally Posted by Potato Uno View Post
PHP Code:
TF2_AddCondition(iClientTFCond_Cloaked); 
First, apply that on the client and see if the box also gets cloaked with the spy (it should since the box counts as an attachable).
Well I saw a spy ubered doing the box trot, and the box was ubered, so guess the box can be cloaked, but even evry model attached to a player can be invisible proof:
I was in a bumper with cloack cond, I was able to see my bumper car in thirdperson, but not my opponents or allies.
__________________
Benoist3012 is offline
Reply



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 06:43.


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