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

Solved [TF2] Modifying Special taunts (taunt kills) speed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-18-2017 , 21:05   [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #1

I've been trying to alter the speed of the taunt kills but had no success, i know TF2Attributes has the "gesture speed increase" attribute but that only affects the animation and not the actual attack.

I've tried to

1. set m_flPlaybackRate on client and the weapon but doesn't seem to do anything.

2. hook spawn instanced_scripted_scene and played around with it but it seems to only affect animations only.

3. set m_flNextPrimaryAttack/m_flNextSecondaryAttack on the weapon itself but taunt attacks doesn't seem to effect those.

Is it not possible to delay/alter the attack time of taunt kills? I'm out of ideas.
__________________

Last edited by Chaosxk; 03-19-2017 at 20:29.
Chaosxk is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 03-19-2017 , 06:41   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #2

https://github.com/Pelipoika/TF2-Tau...domizer.sp#L79
__________________
Pelipoika is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-19-2017 , 14:16   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #3

Thanks!

I don't know much about offsets, but can i get the function/name of the offset used so i can update it in the future?
I tried searching m_flTauntAttackTime with https://asherkin.github.io/vtable/ but nothing found.
__________________

Last edited by Chaosxk; 03-19-2017 at 14:21.
Chaosxk is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 03-19-2017 , 14:25   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #4

They're variables like m_flModelScale but secret not virtua functions, you can only find them from the server binary with IDA
__________________

Last edited by Pelipoika; 03-19-2017 at 16:44.
Pelipoika is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-19-2017 , 14:36   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #5

Ah, i see. Thanks for the info, saved me a bunch of time.

Guess i'll have to install a linux server for the .so file now.

__________________
Chaosxk is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-19-2017 , 17:05   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #6

I think i found it? Just unsure how get the offset since there isn't any vTable for it?, any help is appreciated.

https://imgur.com/a/JR0IY
__________________

Last edited by Chaosxk; 03-19-2017 at 17:07.
Chaosxk is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 03-19-2017 , 18:29   Re: [TF2] Modifying Special taunts (taunt kills) speed
Reply With Quote #7

Convert the function to pseudocode with F5 and you'll see this + 3535 whatever, that's the offset.
__________________

Last edited by Pelipoika; 03-19-2017 at 18:55.
Pelipoika 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 05:56.


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