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

[TF2] Humiliation Animations


Post New Thread Reply   
 
Thread Tools Display Modes
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 08-18-2009 , 07:19   Re: [TF2] Humiliation Animations
Reply With Quote #11

Only thing i can find from the models is the string "LOSER" to be a namecalling of these humiliation animations.

The only reasonable function i could find in IDA related to this name is CTFPlayerShared::IsLoser(void). Though that could be anything, as I know nothing
Chris-_- is offline
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 08-18-2009 , 08:51   Re: [TF2] Humiliation Animations
Reply With Quote #12

Have you tried loading the player model in a model viewer, and checking the animations?

Hmm, that function might actually be helpful! Someone should get a signature for it (or test it on linux) to check it out!
Matthias Vance is offline
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 08-18-2009 , 09:44   Re: [TF2] Humiliation Animations
Reply With Quote #13

Quote:
Originally Posted by Chris-_- View Post
From what i saw in IDA, there was another function called: CBaseEntity::GetTeamNumber, called before IsLoser, so i'm thinking that the IsLoser function applies to entire teams instead of per-client, would be cool to have a signature eitherway though
That's probably a loop through all players, checking if they are on the losing team, then calling CTFPlayer::IsLoser(), which is a PLAYER function.
Matthias Vance is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 08-18-2009 , 09:46   Re: [TF2] Humiliation Animations
Reply With Quote #14

Does that exist? Checked?, or do you mean CTFPlayerShared::IsLoser()
Chris-_- is offline
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 08-18-2009 , 09:52   Re: [TF2] Humiliation Animations
Reply With Quote #15

CTFPlayerShared is probably inherited from CTFPlayer, so .. yes, I mean that function.
Matthias Vance is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 08-18-2009 , 10:44   Re: [TF2] Humiliation Animations
Reply With Quote #16

Durrh, fine. Make signature nao!
Chris-_- is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 08-18-2009 , 17:11   Re: [TF2] Humiliation Animations
Reply With Quote #17

You dont need the signature. For one, you cant do CTFPlayerShared calls with SDKCall, it requires MMS. Secondly, all it does is add a condition to the player, so figure out what the condition is and you can use this to add it.

http://forums.alliedmods.net/showthread.php?t=98542
__________________
CrimsonGT is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 08-18-2009 , 17:30   Re: [TF2] Humiliation Animations
Reply With Quote #18

Well I adapted those stocks in to a plugin recently, I'll add it back to my server and experiment.
Jindo is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 08-18-2009 , 17:45   Re: [TF2] Humiliation Animations
Reply With Quote #19

Quote:
Originally Posted by CrimsonGT View Post
You dont need the signature. For one, you cant do CTFPlayerShared calls with SDKCall, it requires MMS. Secondly, all it does is add a condition to the player, so figure out what the condition is and you can use this to add it.

http://forums.alliedmods.net/showthread.php?t=98542
I recall you speaking of CTFPlayerShared in another thread about that, so i've had that in mind, though i'd totally be willing to have an MM:S plugin just to access that function. Also you were talking about the conditions in IRC for about 20 minutes ago and those who'd tested conditions were unable to "pull it off".

Hope someone figure this out

Last edited by Chris-_-; 08-18-2009 at 18:01.
Chris-_- is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 08-18-2009 , 18:30   Re: [TF2] Humiliation Animations
Reply With Quote #20

Yeah, apparently the assembly is doing something else with conditions. On second look, it looks like its actually checking for a condition rather than setting one.

Im messing around to see if I find anything else out about it.
__________________
CrimsonGT 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 01:51.


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