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

[TF2] UberSteal


Post New Thread Reply   
 
Thread Tools Display Modes
Monkeys
Veteran Member
Join Date: Jan 2010
Old 09-14-2010 , 16:05   Re: [TF2] UberSteal
Reply With Quote #11

Quote:
Originally Posted by Afronanny View Post
Allowing the stolen charge to make the stealing medic's ubercharge go over 100% could be cvar configurable.
Wouldn't that be gamebreaking? Or is the TF2 engine build to cope with that aswell?
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Death [GER]
Senior Member
Join Date: Mar 2010
Old 09-15-2010 , 04:43   Re: [TF2] UberSteal
Reply With Quote #12

Nice Picture you got there Monkeys

Eh b2t.. I dont know if its gamebreaking but it shouldnt be able to go over 100%.. My opinion
__________________
Death [GER] is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 09-15-2010 , 05:58   Re: [TF2] UberSteal
Reply With Quote #13

Added sm_uberoverload to allow users to go past 100%, but defaulted it to 0.

And yeah, lovely picture. Self portrait.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 09-23-2010 , 16:34   Re: [TF2] UberSteal
Reply With Quote #14

Quote:
Originally Posted by Monkeys View Post
Wouldn't that be gamebreaking? Or is the TF2 engine build to cope with that aswell?
Uber level is a signed int iirc. It can go quite high.
Afronanny is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 10-26-2010 , 14:36   Re: [TF2] UberSteal
Reply With Quote #15

This work with assists? If I am healing a soldier, and the soldier kills the enemy medic, do I still get his uber?
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 11-12-2010 , 14:05   Re: [TF2] UberSteal
Reply With Quote #16

L 11/11/2010 - 01:55:27: [SM] Native "GetEntProp" reported: Property "m_iClass" not found (entity 0/worldspawn)
L 11/11/2010 - 01:55:27: [SM] Displaying call stack trace for plugin "UberSteal.smx":
L 11/11/2010 - 01:55:27: [SM] [0] Line 124, /groups/sourcemod/compiler-1.3/include/tf2_stocks.inc::TF2_GetPlayerClass()
L 11/11/2010 - 01:55:27: [SM] [1] Line 42, /home/groups/alliedmodders/forums/files/6/7/0/6/8/73433.attach::EventDeath()

Fix attached, version 1.2.1t. Feel free to steal it. once you do I'll remove this.

Line 40 has the fix.
Attached Files
File Type: sp Get Plugin or Get Source (UberSteal.sp - 440 views - 2.4 KB)
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 11-14-2010 , 13:51   Re: [TF2] UberSteal
Reply With Quote #17

Found another line with same problem, here is the fix.

Version 1.2.2t
Attached Files
File Type: sp Get Plugin or Get Source (UberSteal.sp - 451 views - 2.4 KB)
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 10-29-2011 , 18:16   Re: [TF2] UberSteal
Reply With Quote #18

Wasn't actually working.. At some update point valve changed the player death event to not have a charge value. Fixed by using player_hurt to store the value which is read on player_death.

Version 1.2.3
Attached Files
File Type: sp Get Plugin or Get Source (UberSteal.sp - 440 views - 3.2 KB)
Thraka is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 10-29-2011 , 21:46   Re: [TF2] UberSteal
Reply With Quote #19

I'll add it to the first post, with credit, ofcourse.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys 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 17:35.


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