AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [TF2] Detecting when a Spy is doing the box trot taunt? (https://forums.alliedmods.net/showthread.php?t=271888)

404UserNotFound 09-20-2015 04:12

[TF2] Detecting when a Spy is doing the box trot taunt?
 
Was hoping this was a TFCond, seems it's not (according to tf2.inc, anyway).

How do?

Chdata 09-20-2015 05:24

Re: [TF2] Detecting when a Spy is doing the box trot taunt?
 
look at my conga time limit plugin, use the box trot's item def index instead

404UserNotFound 09-20-2015 11:44

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

Originally Posted by Chdata (Post 2345025)
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...

Potato Uno 09-20-2015 12:02

Re: [TF2] Detecting when a Spy is doing the box trot taunt?
 
Let me guess, make the spy's box appear visible to other players when using FlaminSarge's taunts plugin?

Spoiler

404UserNotFound 09-20-2015 12:26

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

Originally Posted by Potato Uno (Post 2345209)
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.

11530 09-20-2015 12:34

Re: [TF2] Detecting when a Spy is doing the box trot taunt?
 
Check clients' buttons pressed or, more accurately, check players' velocities.

Pelipoika 09-20-2015 12:37

Re: [TF2] Detecting when a Spy is doing the box trot taunt?
 
Prop_Data m_vecAbsVelocity

Potato Uno 09-20-2015 12:41

Re: [TF2] Detecting when a Spy is doing the box trot taunt?
 
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).

Benoist3012 09-23-2015 09:51

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

Originally Posted by Potato Uno (Post 2345231)
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.


All times are GMT -4. The time now is 02:28.

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